/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand colours extracted from logo */
  --navy-900: #071120;
  --navy-800: #0a1a33;
  --navy-700: #0d2147;
  --navy-600: #122a5e;
  --cyan-500:  #06b6d4;
  --cyan-400:  #22d3ee;
  --cyan-100:  #cffafe;

  /* Neutrals */
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --gray-800:  #1e293b;

  /* Semantic */
  --bg:        var(--gray-50);
  --surface:   var(--white);
  --border:    var(--gray-200);
  --text-head: var(--navy-800);
  --text-body: var(--gray-600);
  --text-muted:var(--gray-400);
  --accent:    var(--cyan-500);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 50%, #0e3a7a 100%);
  --grad-accent: linear-gradient(90deg, var(--cyan-500), var(--cyan-400));

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1100px;
  --max-w-text: 680px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 24px rgba(7,17,32,.10);
  --shadow-lg:  0 16px 48px rgba(7,17,32,.16);
  --shadow-glow:0 0 40px rgba(6,182,212,.25);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* Fade-up animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy-800);
  line-height: 1.2;
}
.header-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-500);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--gray-100); color: var(--navy-800); }

.nav-cta {
  background: var(--navy-800) !important;
  color: var(--white) !important;
  border-radius: 100px !important;
  padding: 7px 18px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.82; background: var(--navy-800) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 12vw, 120px);
}

/* Subtle dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Cyan glow blob */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(6,182,212,.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* — Logo card — */
.hero-logo-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-card img {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* — Text — */
.hero-text {
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-400);
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.3);
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero-title em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 44ch;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-accent);
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(6,182,212,.4);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,182,212,.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

/* ============================================================
   STRIP (statistics / trust bar)
   ============================================================ */
.strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 40px;
}
.strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}
.strip-item {
  text-align: center;
}
.strip-item strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy-800);
  line-height: 1;
}
.strip-item span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}
.strip-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ============================================================
   ABOUT / INFO SECTION
   ============================================================ */
.about {
  padding-block: clamp(64px, 10vw, 96px);
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--cyan-500);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-head);
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
  max-width: 52ch;
}
.about-body p:last-child { margin-bottom: 0; }

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.feature-item:hover {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--cyan-100);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--navy-700);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.feature-item p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-cta {
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 80px);
}
.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.contact-cta .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.contact-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.2;
  max-width: 18ch;
}
.contact-cta h2 em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  max-width: 44ch;
}
.contact-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.contact-link:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}
.contact-link svg { width: 16px; height: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  padding-block: 36px;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan-400); }

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.page-header {
  background: var(--grad-brand);
  padding-block: clamp(48px, 8vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.page-header .container { position: relative; z-index: 1; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--cyan-400); }
.back-link svg { transition: transform 0.2s; }
.back-link:hover svg { transform: translateX(-3px); }

.page-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 8px;
}
.page-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.45);
  max-width: none;
}

.legal-content {
  padding-block: clamp(48px, 8vw, 72px);
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.legal-section {
  padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.legal-section:last-child { border-bottom: none; }
.legal-section:hover { background: var(--gray-50); }

.legal-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-num::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--cyan-500);
  border-radius: 2px;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-head);
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 0.925rem;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 72ch;
}

.legal-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 32px;
  margin-top: 16px;
  font-size: 0.925rem;
}
.legal-dl dt {
  font-weight: 600;
  color: var(--text-head);
  white-space: nowrap;
}
.legal-dl dd { color: var(--text-body); }
.legal-dl a { color: var(--cyan-500); transition: opacity .2s; }
.legal-dl a:hover { opacity: .7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 840px) {
  .hero .container,
  .about .container {
    grid-template-columns: 1fr;
  }
  .hero-logo-card { max-width: 400px; margin-inline: auto; }
  .strip-divider  { display: none; }

  .legal-dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .legal-dl dt { margin-top: 12px; }
}

@media (max-width: 540px) {
  .site-nav .nav-cta-hide { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .contact-links { flex-direction: column; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}
