/* ═══════════════════════════════════════════════
   MAILVANCE — BASE STYLES (shared across all pages)
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

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

:root {
  --ink:           #0D1117;
  --ink-soft:      #3A3F4B;
  --ink-muted:     #7A8194;
  --coral:         #E8472A;
  --coral-soft:    #FF6B4A;
  --coral-glow:    rgba(232,71,42,0.12);
  --sand:          #F5F0E8;
  --sand-dark:     #EDE7D9;
  --white:         #FFFFFF;
  --surface:       #FAFAF8;
  --border:        rgba(13,17,23,0.08);
  --border-strong: rgba(13,17,23,0.15);
  --green:         #1A9E6B;
  --green-glow:    rgba(26,158,107,0.1);
  --radius:        14px;
  --radius-lg:     24px;
  --font-head:     'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--surface); color: var(--ink); line-height: 1.6; overflow-x: hidden; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.logo { font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: -0.5px; display: flex; align-items: center; gap: 7px; text-decoration: none; }
.logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); display: inline-block; flex-shrink: 0; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-item-login { display: none; }
.nav-right { display: flex; gap: 10px; align-items: center; }
.btn-ghost { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--ink-soft); background: none; border: none; cursor: pointer; padding: 8px 16px; border-radius: 8px; transition: .2s; text-decoration: none; display: inline-block; }
.btn-ghost:hover { background: var(--sand); color: var(--ink); }
.btn-nav { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--white); background: var(--ink); border: none; cursor: pointer; padding: 9px 20px; border-radius: 10px; transition: .22s; text-decoration: none; display: inline-block; letter-spacing: -0.1px; }
.btn-nav:hover { background: var(--coral); }
.nav-burger { display: none; background: none; border: 1px solid var(--border-strong); padding: 6px 10px; border-radius: 8px; font-size: 16px; cursor: pointer; color: var(--ink); }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: .22s; border-radius: 12px; }
.btn-coral { font-size: 15px; color: var(--white); background: var(--coral); padding: 13px 30px; box-shadow: 0 4px 20px rgba(232,71,42,0.3); }
.btn-coral:hover { background: var(--coral-soft); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,71,42,0.4); }
.btn-dark { font-size: 15px; color: var(--white); background: var(--ink); padding: 13px 30px; }
.btn-dark:hover { background: #1e2530; transform: translateY(-2px); }
.btn-outline { font-size: 15px; color: var(--ink); background: var(--white); padding: 12px 28px; border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-sm { font-size: 13px; padding: 9px 20px; border-radius: 9px; }

/* ── SECTION COMPONENTS ── */
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: var(--coral); margin-bottom: 14px; }
.section-title { font-family: var(--font-head); font-size: clamp(32px, 4.5vw, 54px); font-weight: 800; letter-spacing: -2px; line-height: 1.05; color: var(--ink); }
.page-title { font-family: var(--font-head); font-size: clamp(38px, 5.5vw, 64px); font-weight: 800; letter-spacing: -2.5px; line-height: 1.05; color: var(--ink); }
.section-sub { font-size: 17px; font-weight: 300; color: var(--ink-muted); line-height: 1.7; margin-top: 16px; max-width: 520px; }
.section-sub strong { color: var(--ink-soft); font-weight: 500; }

/* ── CARDS ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: border-color .2s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.card-dark { background: var(--ink); border-color: transparent; }
.card-dark:hover { border-color: #2a3040; }
.card-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 20px; flex-shrink: 0; }
.card-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.3px; }
.card-desc { font-size: 14px; line-height: 1.7; color: var(--ink-muted); }
.card-dark .card-title { color: var(--white); }
.card-dark .card-desc { color: rgba(255,255,255,0.45); }
.card-tag { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--coral); background: var(--coral-glow); padding: 3px 10px; border-radius: 100px; }

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── PAGE HERO ── */
.page-hero { padding: 140px 48px 72px; max-width: 1200px; margin: 0 auto; }
.content-wrap { padding: 0 48px 80px; max-width: 1200px; margin: 0 auto; }
.divider-line { height: 1px; background: var(--border); margin: 60px 0; }

/* ── PROSE (legal pages) ── */
.prose-wrap { padding: 140px 48px 80px; max-width: 800px; margin: 0 auto; }
.prose h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--ink); margin: 40px 0 14px; letter-spacing: -0.4px; padding-top: 8px; border-top: 1px solid var(--border); }
.prose h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--ink); margin: 24px 0 10px; }
.prose p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 16px; }
.prose ul, .prose ol { margin: 10px 0 18px 22px; }
.prose li { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 6px; }
.prose a { color: var(--coral); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose-meta { font-size: 13px; color: var(--ink-muted); margin-bottom: 48px; display: flex; gap: 24px; flex-wrap: wrap; }
.prose-intro { font-size: 17px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 48px; font-weight: 300; }
.info-box { background: var(--sand); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.info-box p { margin: 0; font-size: 14px; }

/* ── CTA BAND ── */
.cta-band { background: var(--ink); margin: 0; padding: 80px 48px; text-align: center; }
.cta-band-inner { max-width: 640px; margin: 0 auto; }
.cta-band-title { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: white; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-band-sub { font-size: 16px; color: rgba(255,255,255,0.45); margin-bottom: 32px; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-coral-ghost { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); cursor: pointer; padding: 13px 28px; border-radius: 12px; transition: .22s; text-decoration: none; display: inline-block; }
.btn-coral-ghost:hover { color: white; border-color: rgba(255,255,255,0.35); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 64px 48px 32px; }
.footer-grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.footer-brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.footer-tagline { font-size: 13px; color: var(--ink-muted); line-height: 1.7; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer-col-head { font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: var(--ink-muted); text-decoration: none; transition: color .18s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-muted); flex-wrap: wrap; gap: 8px; }
.footer-badges { display: flex; gap: 10px; }
.footer-badge { background: var(--sand); border-radius: 6px; padding: 3px 10px; font-size: 11px; color: var(--ink-soft); font-weight: 500; }

/* ── COMING SOON OVERLAY ── */
.cs-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(13,17,23,0.96); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; backdrop-filter: blur(4px); overflow-y: auto; }
.cs-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(232,71,42,0.25) 0%, transparent 70%); pointer-events: none; }
.cs-logo-link { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: white; text-decoration: none; display: flex; align-items: center; gap: 8px; margin-bottom: 56px; position: relative; z-index: 1; }
.cs-logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.cs-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,71,42,0.15); border: 1px solid rgba(232,71,42,0.3); color: var(--coral-soft); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 28px; position: relative; z-index: 1; }
.cs-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: pulse 1.5s infinite; }
.cs-title { font-family: var(--font-head); font-size: clamp(36px, 7vw, 72px); font-weight: 800; color: white; letter-spacing: -2.5px; line-height: 1.0; margin-bottom: 20px; max-width: 640px; position: relative; z-index: 1; }
.cs-title em { font-style: normal; color: var(--coral); }
.cs-sub { font-size: 17px; color: rgba(255,255,255,0.4); max-width: 460px; line-height: 1.7; margin-bottom: 44px; position: relative; z-index: 1; font-weight: 300; }
.cs-form { display: flex; gap: 10px; max-width: 440px; width: 100%; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cs-input { flex: 1; min-width: 220px; padding: 13px 18px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: white; font-family: var(--font-body); font-size: 14px; outline: none; transition: .2s; }
.cs-input::placeholder { color: rgba(255,255,255,0.28); }
.cs-input:focus { border-color: var(--coral); background: rgba(255,255,255,0.09); }
.cs-submit { padding: 13px 24px; background: var(--coral); color: white; border: none; border-radius: 11px; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; white-space: nowrap; }
.cs-submit:hover { background: var(--coral-soft); }
.cs-submit.success { background: var(--green); }
.cs-note { font-size: 12px; color: rgba(255,255,255,0.22); margin-top: 14px; position: relative; z-index: 1; }
.cs-features { display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.cs-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.35); }
.cs-feature-icon { font-size: 16px; }
.cs-back { display: block; margin-top: 40px; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; position: relative; z-index: 1; }
.cs-back:hover { color: rgba(255,255,255,0.8); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.fade-up { animation: fadeUp .65s ease both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 57px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 14px; z-index: 199; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .nav-item-login { display: list-item; }
  .nav-right .btn-ghost { display: none; }
  .page-hero { padding: 110px 24px 56px; }
  .content-wrap { padding: 0 24px 60px; }
  .prose-wrap { padding: 110px 24px 60px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  footer { padding: 48px 24px 24px; }
  .cta-band { padding: 64px 24px; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 480px) {
  .nav-right .btn-nav { font-size: 13px; padding: 8px 14px; border-radius: 8px; }
  .page-hero { padding: 96px 16px 44px; }
  .content-wrap { padding: 0 16px 44px; }
  .prose-wrap { padding: 96px 16px 44px; }
  .cta-band { padding: 52px 16px; }
  footer { padding: 40px 16px 24px; }
  .footer-cols { gap: 20px; }
  .section-title { letter-spacing: -1.5px; }
  .page-title { letter-spacing: -1.5px; }
  .card { padding: 24px 20px; }
  .btn-coral, .btn-dark, .btn-outline { font-size: 14px; padding: 12px 22px; }
  .cs-form { flex-direction: column; }
  .cs-input { min-width: unset; width: 100%; }
  .cs-features { gap: 16px; margin-top: 32px; }
  .cs-logo-link { margin-bottom: 32px; }
  .cs-sub { margin-bottom: 28px; }
  .cs-back { margin-top: 24px; }
}
