/* SMTPing landing — base styles
   Brand palette (from official guidelines):
   - Dark Slate Grey #243444 (primary)
   - Azure #089DFF (primary blue)
   - Medium Teal Blue #0358A7
   - Picton Blue #19B9FF
   - Blue Diamond #50D9FF
   Background is a soft, low-saturation off-white tinted toward Picton/Diamond
   so the brand reads as airy and easy on the eyes.
*/
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Soft, eye-friendly canvas — barely-blue off-white aligned with brand */
  --bg: #f4f7fb;
  --bg-2: #ffffff;
  --bg-3: #eaf0f8;
  --surface: rgba(36,52,68,0.03);
  --surface-2: rgba(36,52,68,0.05);
  --border: rgba(36,52,68,0.08);
  --border-2: rgba(36,52,68,0.14);
  --text: #243444;        /* brand slate */
  --text-dim: #4a5a72;
  --text-mute: #7c8aa1;

  /* Brand accents */
  --slate: #243444;
  --azure: #089DFF;
  --teal-blue: #0358A7;
  --picton: #19B9FF;
  --diamond: #50D9FF;

  /* Aliases */
  --blue: #089DFF;       /* Azure — primary blue */
  --blue-2: #19B9FF;     /* Picton */
  --green: #19B9FF;
  --green-2: #50D9FF;
  --grad: linear-gradient(135deg, #089DFF 0%, #50D9FF 100%);
  --grad-soft: linear-gradient(135deg, rgba(8,157,255,0.10), rgba(80,217,255,0.10));

  /* Status semantic colors (for verdicts) — calibrated for light bg */
  --st-valid:        #16a34a;   /* emerald */
  --st-invalid:      #dc2626;   /* red */
  --st-risky:        #d97706;   /* amber */
  --st-spamtrap:     #b91c1c;   /* deep red */
  --st-disposable:   #ea580c;   /* orange */
  --st-catchall:     #7c3aed;   /* violet */
  --st-vcatchall:    #2563eb;   /* blue */
  --st-complainer:   #db2777;   /* pink */
  --st-fullinbox:    #ca8a04;   /* yellow */
  --st-alias:        #475569;   /* slate */
  --st-spambot:      #991b1b;   /* dark red */
  --st-blacklisted:  #581c87;   /* purple */
  --st-unknown:      #64748b;   /* neutral */

  --radius: 14px;
  --shadow-soft: 0 1px 2px rgba(36,52,68,0.04), 0 8px 24px rgba(36,52,68,0.06);
  --shadow-strong: 0 4px 12px rgba(36,52,68,0.06), 0 24px 64px rgba(36,52,68,0.10);
  --shadow-glow: 0 0 60px rgba(8,157,255,0.12), 0 0 100px rgba(80,217,255,0.06);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(8,157,255,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(80,217,255,0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 70%, rgba(3,88,167,0.05), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Typography */
.h-display {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--text);
}
.h-grotesk {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--slate);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 8px 20px rgba(36,52,68,0.18);
}
.btn-primary:hover { background: #1c2939; box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 12px 28px rgba(36,52,68,0.24); }
.btn-ghost {
  background: rgba(36,52,68,0.04);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(36,52,68,0.08); border-color: var(--border-2); }
.btn-grad {
  background: var(--grad);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(8,157,255,0.32), 0 4px 12px rgba(80,217,255,0.18);
}
.btn-grad:hover { box-shadow: 0 12px 32px rgba(8,157,255,0.42), 0 6px 18px rgba(80,217,255,0.28); }

/* Glass card — bright variant */
.glass {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.glass-strong {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

/* Gradient text */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Pills/badges */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  box-shadow: 0 1px 2px rgba(36,52,68,0.04);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 8px var(--azure); }

/* Section spacing */
section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azure); font-weight: 600;
  margin-bottom: 16px;
}

/* Grid bg */
.grid-bg {
  background-image:
    linear-gradient(rgba(36,52,68,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,52,68,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Aurora glow */
.aurora {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.aurora::before, .aurora::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.aurora::before { background: var(--azure); width: 500px; height: 500px; top: -200px; left: -100px; }
.aurora::after { background: var(--diamond); width: 400px; height: 400px; bottom: -150px; right: -100px; }

/* Animations */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-glow { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes count-bounce { 0% { transform: scale(0.95); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes feedIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tw-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.fade-in { animation: fade-up .8s ease-out both; }

/* Tab content animation */
@keyframes tab-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-content { animation: tab-in 0.3s ease both; }

/* Email row hover */
.email-row { transition: background .15s ease, padding .15s ease; }
.email-row:hover { background: rgba(36,52,68,0.04); }

/* Pulsing live dot */
@keyframes live-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(8,157,255,0.6), 0 0 8px var(--azure); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(8,157,255,0), 0 0 12px var(--azure); }
}
.live-dot { animation: live-pulse 1.6s ease-in-out infinite; }

/* Mobile nav */
.mobile-toggle { display: none; }
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .mobile-toggle { display: grid !important; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(36,52,68,0.04); border: 1px solid var(--border); }
}
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(244,247,251,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 80px 24px 32px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%); opacity: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  z-index: 99;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a {
  padding: 16px 8px; font-size: 18px; color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* Sticky email capture bar */
.email-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 12px 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-2);
  display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -10px 40px rgba(36,52,68,0.10);
}
.email-bar.visible { transform: translateY(0); }
.email-bar input {
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--text);
  padding: 10px 14px; border-radius: 8px; font-size: 13px;
  font-family: inherit; min-width: 240px;
}
.email-bar input:focus { outline: none; border-color: var(--azure); }

/* Pricing — Pro card emphasis */
.pricing-pro {
  transform: scale(1.04);
  padding: 40px !important;
  box-shadow: 0 0 60px rgba(8,157,255,0.20), 0 0 0 1px rgba(8,157,255,0.40) !important;
  z-index: 2;
}
@media (max-width: 768px) { .pricing-pro { transform: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(36,52,68,0.14); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(36,52,68,0.24); }

/* Verdict chip */
.verdict-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

/* Theme variants via data-accent */
[data-accent="violet"] {
  --azure: #8b5cf6; --picton: #a78bfa; --diamond: #ec4899;
  --blue: #8b5cf6; --blue-2: #a78bfa; --green: #ec4899; --green-2: #f472b6;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}
[data-accent="amber"] {
  --azure: #f59e0b; --picton: #fbbf24; --diamond: #ef4444;
  --blue: #f59e0b; --blue-2: #fbbf24; --green: #ef4444; --green-2: #f87171;
  --grad: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}
[data-accent="cyan"] {
  --azure: #06b6d4; --picton: #22d3ee; --diamond: #10b981;
  --blue: #06b6d4; --blue-2: #22d3ee; --green: #10b981; --green-2: #34d399;
  --grad: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
}

[data-density="cozy"] section { padding: 140px 0; }
[data-density="compact"] section { padding: 72px 0; }

/* ── Motion energy ─────────────────────────────────────────────────────────
   Lively  = defaults (no override)
   Calm    = slow everything 2.5×, drop blinking caret
   Static  = freeze all motion (typewriter still types — text changes, just no
             animated decorations)
*/
[data-motion="calm"] *,
[data-motion="calm"] *::before,
[data-motion="calm"] *::after {
  animation-duration: 2.5s !important;
  transition-duration: .4s !important;
}
[data-motion="calm"] .live-dot,
[data-motion="calm"] .animate-pulse-glow { animation-duration: 4s !important; }

[data-motion="static"] *,
[data-motion="static"] *::before,
[data-motion="static"] *::after {
  animation-play-state: paused !important;
  animation-duration: 0s !important;
  animation-iteration-count: 1 !important;
}
[data-motion="static"] .aurora { opacity: 0.2 !important; }

/* ── Hero focus ────────────────────────────────────────────────────────────
   Verdicts = default (both panels)
   Live     = swap emphasis — promote feed, demote distribution
   Minimal  = hide the dashboard entirely, let the headline + verify card breathe
*/
[data-hero-focus="minimal"] .hero-dashboard { display: none; }
[data-hero-focus="live"] .hero-dashboard-body {
  grid-template-columns: 1fr 1.35fr !important;
}
[data-hero-focus="live"] .hero-dashboard-body > div:first-child { order: 2; opacity: 0.85; }
[data-hero-focus="live"] .hero-dashboard-body > div:last-child  { order: 1; }

[data-bg="grid"] body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(8,157,255,0.12), transparent 60%),
    var(--bg);
}
[data-bg="grid"] body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(36,52,68,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,52,68,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 80%);
}
[data-bg="mesh"] body {
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(8,157,255,0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(80,217,255,0.10), transparent 60%),
    radial-gradient(ellipse 50% 30% at 50% 90%, rgba(3,88,167,0.06), transparent 60%),
    var(--bg);
}

[data-headline="serif"] .hero-title { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.02em; }
[data-headline="grotesk"] .hero-title { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.04em; }
[data-headline="mono"] .hero-title { font-family: 'JetBrains Mono', monospace; font-weight: 500; letter-spacing: -0.04em; }
