/* === VARIABLES === */
:root {
  --bg: #09090B;
  --surface: #111115;
  --surface-2: #1A1A1F;
  --border: #27272A;
  --fg: #FAFAFA;
  --fg-2: #A1A1AA;
  --fg-3: #71717A;
  --accent: #FF6B35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; line-height: 1.15; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-brand { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--fg-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 70%);
  top: -100px; left: -150px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  bottom: 0; right: 100px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
}
.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e; font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px; width: fit-content;
}
.hero-headline {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  background: linear-gradient(160deg, #FAFAFA 30%, #A1A1AA 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px; color: var(--fg-2); line-height: 1.7; max-width: 480px;
  margin-bottom: 0;
}

/* === INBOX MOCKUP === */
.hero-inbox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}
.inbox-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-3); font-size: 13px;
  background: var(--surface-2);
}
.inbox-count {
  margin-left: auto;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 100px;
}
.inbox-thread { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.inbox-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s;
}
.inbox-item-replied { border-color: rgba(34,197,94,0.2); }
.inbox-item-pending { border-color: rgba(245,158,11,0.2); }
.inbox-item-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.inbox-from { font-size: 13px; font-weight: 600; color: var(--fg); }
.inbox-time { font-size: 12px; color: var(--fg-3); }
.inbox-subject { font-size: 14px; color: var(--fg-2); margin-bottom: 8px; }
.inbox-label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 100px;
}
.replied-label { background: rgba(34,197,94,0.1); color: #22c55e; }
.pending-label { background: rgba(245,158,11,0.1); color: #f59e0b; }

/* === PROOF STRIP === */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 32px;
}
.proof-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 48px;
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-number {
  font-family: 'Syne', sans-serif; font-size: 40px; font-weight: 800;
  color: var(--accent); line-height: 1;
  margin-bottom: 8px;
}
.proof-label { font-size: 14px; color: var(--fg-2); max-width: 200px; }
.proof-divider { width: 1px; height: 60px; background: var(--border); }

/* === FEATURES === */
.features { padding: 100px 32px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}
.section-sub { font-size: 18px; color: var(--fg-2); line-height: 1.7; }
.feature-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(255,107,53,0.4);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--fg-2); line-height: 1.7; }

/* === HOW IT WORKS === */
.howitworks { padding: 100px 32px; background: var(--surface); }
.steps {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-number {
  font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800;
  color: var(--border);
  line-height: 1;
}
.step-content h3 { font-size: 22px; margin-bottom: 12px; }
.step-content p { font-size: 16px; color: var(--fg-2); line-height: 1.7; max-width: 560px; }
.step-connector {
  position: absolute; left: 38px; top: 100%;
  width: 1px; height: 40px; background: var(--border);
}

/* === PRICING === */
.pricing { padding: 100px 32px; }
.pricing-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(255,107,53,0.05) 100%);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  font-size: 12px; font-weight: 600;
  padding: 4px 16px; border-radius: 100px;
}
.pricing-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.pricing-price { font-family: 'Syne', sans-serif; font-size: 56px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.pricing-price span { font-size: 20px; font-weight: 500; color: var(--fg-2); }
.pricing-desc { font-size: 14px; color: var(--fg-2); margin-bottom: 28px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-2); }

/* === CLOSING === */
.closing {
  padding: 100px 32px;
  position: relative; overflow: hidden;
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.closing-orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  filter: blur(80px); pointer-events: none;
}
.closing-headline {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 20px;
}
.closing-sub { font-size: 18px; color: var(--fg-2); line-height: 1.7; margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto; }
.closing-stats { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.closing-stat {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--fg-2);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; }
.footer-copy { font-size: 14px; color: var(--fg-3); }
.footer-legal { font-size: 12px; color: var(--fg-3); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .proof-inner { gap: 24px; }
  .proof-divider { display: none; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-number { font-size: 32px; }
}