:root {
  --primary: #4a90d9;
  --accent: #7eb8e0;
  --dark: #0a0e17;
  --darker: #050810;
  --light: #f0f4f8;
  --muted: #8899aa;
  --gold: #c8a84e;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #ffffff;
  background: var(--dark);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, #0d1525 0%, transparent 70%),
    linear-gradient(180deg, #050a14 0%, #0a1220 40%, #0d1a2e 70%, #0a0e17 100%);
}

/* Cloud layers */
.clouds {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.clouds::before, .clouds::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 100%;
  background:
    radial-gradient(ellipse 600px 200px at 20% 30%, rgba(15,20,35,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 800px 300px at 70% 50%, rgba(10,18,30,0.8) 0%, transparent 65%),
    radial-gradient(ellipse 500px 250px at 40% 70%, rgba(12,16,28,0.85) 0%, transparent 60%),
    radial-gradient(ellipse 700px 200px at 85% 20%, rgba(8,14,24,0.7) 0%, transparent 68%),
    radial-gradient(ellipse 600px 180px at 10% 80%, rgba(14,22,36,0.75) 0%, transparent 62%);
  animation: drift 90s linear infinite;
  opacity: 0.9;
}

.clouds::after {
  width: 300%;
  animation: drift 130s linear infinite reverse;
  opacity: 0.6;
  top: 10%;
  background:
    radial-gradient(ellipse 500px 150px at 30% 40%, rgba(18,24,40,0.7) 0%, transparent 65%),
    radial-gradient(ellipse 900px 250px at 60% 60%, rgba(10,15,26,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 400px 200px at 90% 30%, rgba(16,20,34,0.65) 0%, transparent 58%);
}

@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.33%); }
}

/* Lightning */
.lightning {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.lightning-flash {
  position: absolute;
  inset: 0;
  background: rgba(180, 200, 255, 0);
  opacity: 0;
  animation: flash 12s infinite;
}

.lightning-flash:nth-child(2) {
  animation-delay: 7s;
  animation-name: flash2;
}

@keyframes flash {
  0%, 89%, 91%, 93%, 100% { background: rgba(180, 200, 255, 0); }
  90%  { background: rgba(180, 200, 255, 0.15); }
  90.5%{ background: rgba(180, 200, 255, 0); }
  91.5%{ background: rgba(180, 200, 255, 0.1); }
  92%  { background: rgba(180, 200, 255, 0); }
}

@keyframes flash2 {
  0%, 74%, 76%, 78%, 100% { background: rgba(160, 190, 255, 0); }
  75%  { background: rgba(160, 190, 255, 0.12); }
  75.5%{ background: rgba(160, 190, 255, 0); }
  76.8%{ background: rgba(160, 190, 255, 0.08); }
  77%  { background: rgba(160, 190, 255, 0); }
}

/* Rain overlay */
.rain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(transparent, transparent 2px, rgba(150,170,200,0.08) 2px, rgba(150,170,200,0.08) 3px);
  background-size: 1px 18px;
  animation: rain 0.6s linear infinite;
}

@keyframes rain {
  from { background-position: 0 0; }
  to   { background-position: 2px 40px; }
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 8px rgba(100,160,255,0.3));
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

nav { display: flex; gap: 28px; }

nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

nav a:hover { color: #fff; }
nav a:hover::after { width: 100%; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8), 0 0 80px rgba(40,80,160,0.15);
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 40px;
  font-style: italic;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border-radius: 4px;
  background: rgba(74, 144, 217, 0.12);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: rgba(74, 144, 217, 0.3);
  box-shadow: 0 0 30px rgba(74, 144, 217, 0.2);
  transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 32px;
}

section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.6);
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 16px;
}

section p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ===== DIVIDER ===== */
.section-divider {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-divider hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* ===== COMPLIANCE LINKS ===== */
.compliance-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.compliance-links a {
  display: block;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  background: rgba(255,255,255,0.02);
}

.compliance-links a:hover {
  border-color: rgba(74, 144, 217, 0.4);
  color: #fff;
  background: rgba(74, 144, 217, 0.08);
}

.compliance-links a span {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

/* ===== CONTACT ===== */
.contact-email {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.contact-email a {
  color: var(--accent);
  text-decoration: none;
}

.contact-email a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(126,184,224,0.5);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5, 8, 16, 0.6);
}

footer p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

footer .footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  header { padding: 10px 16px; }
  nav { gap: 16px; }
  nav a { font-size: 0.8rem; }
  .logo-text { font-size: 0.95rem; }
  .logo-svg { width: 40px; height: 40px; }
  section { padding: 60px 20px; }
  .compliance-links { grid-template-columns: 1fr; }
}
