/* === BASE === */
:root {
  --bg: #080c18;
  --surface: #0d1426;
  --surface-2: #111b35;
  --border: rgba(37, 99, 235, 0.15);
  --border-2: rgba(34, 211, 238, 0.2);
  --fg: #e2e8f0;
  --fg-muted: #94a3b8;
  --accent: #2563eb;
  --glow: #22d3ee;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; color: #f8fafc; }
p { color: var(--fg-muted); }
a { color: inherit; text-decoration: none; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  background: rgba(8, 12, 24, 0.8);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #f8fafc;
}
.nav-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glow);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 4px 10px;
  border-radius: 100px;
}

/* === SECTION BASE === */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(28px, 4vw, 42px);
  font-family: 'Syne', sans-serif;
  color: #f8fafc;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 480px;
}

/* === HERO === */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--glow);
  letter-spacing: 0.05em;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-size: clamp(42px, 5.5vw, 68px);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 28px;
  max-width: 460px;
}
.hero-actions {
  margin-bottom: 48px;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #86efac;
  background: rgba(134, 239, 172, 0.1);
  border: 1px solid rgba(134, 239, 172, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
}
.hero-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #86efac;
  border-radius: 50%;
  box-shadow: 0 0 6px #86efac;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: #f8fafc; }
.stat-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbital-container {
  position: relative;
  width: 480px;
  height: 480px;
}
.orbital-svg {
  width: 100%;
  height: 100%;
  animation: rotate-slow 30s linear infinite;
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orbital-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.label-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glow);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 12px;
  border-radius: 100px;
}

/* === MECHANICS === */
.mechanics {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.mechanics-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mechanic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.mechanic-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}
.mechanic-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mechanic-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 12px;
}
.mechanic-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* === AUTONOMY === */
.autonomy {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.03) 100%);
}
.autonomy-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.autonomy-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-family: 'Syne', sans-serif;
  color: #f8fafc;
  line-height: 1.15;
  margin-bottom: 20px;
}
.autonomy-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.autonomy-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}
.rule-check {
  width: 24px;
  height: 24px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--glow);
  flex-shrink: 0;
}

/* === PULSE ORB === */
.autonomy-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-orb {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-core {
  position: relative;
  z-index: 2;
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.3);
  animation: ring-pulse 3s ease-out infinite;
}
.p1 { width: 80px; height: 80px; animation-delay: 0s; }
.p2 { width: 130px; height: 130px; animation-delay: 0.5s; }
.p3 { width: 190px; height: 190px; animation-delay: 1s; }
@keyframes ring-pulse {
  0% { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* === INBOX VIEW === */
.inbox-view {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.inbox-view-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}
.inbox-header {
  text-align: center;
  margin-bottom: 60px;
}
.inbox-headline {
  font-size: clamp(28px, 4vw, 42px);
  font-family: 'Syne', sans-serif;
  color: #f8fafc;
  line-height: 1.15;
  margin-bottom: 0;
}
.inbox-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(37, 99, 235, 0.1);
}
.mock-topbar {
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.mock-search {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}
.mock-sidebar {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.sidebar-item.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--glow);
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.mock-emails { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.mock-email {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.mock-email:hover { background: var(--surface-2); border-color: var(--border); }
.email-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.email-avatar.sent { background: rgba(34, 211, 238, 0.2); color: var(--glow); }
.email-avatar.followup { background: rgba(134, 239, 172, 0.2); color: #86efac; }
.email-body { flex: 1; min-width: 0; }
.email-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; }
.email-from { font-size: 13px; font-weight: 600; color: var(--fg); }
.email-time { font-size: 11px; color: #64748b; }
.email-subject { font-size: 13px; color: var(--fg); margin-bottom: 3px; }
.email-preview { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.email-ai-tag {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--glow);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 2px 8px;
  border-radius: 100px;
}
.email-sent-tag {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #86efac;
  background: rgba(134, 239, 172, 0.1);
  border: 1px solid rgba(134, 239, 172, 0.2);
  padding: 2px 8px;
  border-radius: 100px;
}
.email-followup-tag {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 2px 8px;
  border-radius: 100px;
}

/* === CLOSING === */
.closing {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
}
.closing-inner { max-width: 680px; margin: 0 auto; padding: 0 32px; }
.closing-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-family: 'Syne', sans-serif;
  color: #f8fafc;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.closing-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.closing-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}
.closing-secondary {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.closing-secondary:hover { color: var(--fg); }
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #f8fafc;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 100px;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #f8fafc;
}
.footer-copy { font-size: 13px; color: #64748b; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .autonomy-inner { grid-template-columns: 1fr; gap: 40px; }
  .autonomy-visual { display: none; }
  .mechanics-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .nav-inner { padding: 14px 20px; }
  .hero-inner, .mechanics-inner, .autonomy-inner, .inbox-view-inner, .closing-inner, .footer-inner { padding: 0 20px; }
  .section-header, .inbox-header { text-align: left; }
  .section-sub { max-width: 100%; }
  .inbox-mock { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* === ANIMATIONS === */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fade-up 0.6s ease-out 0.1s both; }
.hero-visual { animation: fade-up 0.6s ease-out 0.2s both; }
.mechanic-card:nth-child(1) { animation: fade-up 0.5s ease-out 0.1s both; }
.mechanic-card:nth-child(2) { animation: fade-up 0.5s ease-out 0.2s both; }
.mechanic-card:nth-child(3) { animation: fade-up 0.5s ease-out 0.3s both; }

/* === PRICING === */
.pricing {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.pricing-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
}
.pricing-tier { text-align: center; }
.tier-header {
  margin-bottom: 8px;
}
.tier-name {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glow);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-period {
  font-size: 20px;
  color: var(--fg-muted);
  font-weight: 400;
}
.tier-tagline {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 36px;
}
.tier-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}
.feature-check {
  width: 24px;
  height: 24px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tier-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-bottom: 16px;
}
.tier-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.tier-note {
  font-size: 13px;
  color: #64748b;
}
.pricing-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

@media (max-width: 600px) {
  .pricing-card { padding: 32px 24px; }
  .price-amount { font-size: 56px; }
  .pricing-trust { gap: 16px; }
  .pricing-inner { padding: 0 20px; }
}
