/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #1A1A2E;
  --charcoal-light: #252540;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --cream: #FAFAF8;
  --cream-dark: #F0EFE9;
  --slate: #6B7280;
  --slate-light: #9CA3AF;
  --white: #FFFFFF;
}

html { font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 800; }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid rgba(26,26,46,0.08);
  position: sticky;
  top: 0;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand { display: flex; align-items: center; gap: 0.625rem; color: var(--charcoal); }
.brand-icon { display: flex; color: var(--amber); }
.brand-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.125rem; }

.nav-right { display: flex; align-items: center; }
.nav-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
  background: var(--cream-dark);
  border: 1px solid rgba(26,26,46,0.1);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2.5rem 6rem;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.12) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat { padding: 0 1.5rem; }
.stat:first-child { padding-left: 0; }

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* === QUOTE CARD === */
.quote-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(245,158,11,0.4), transparent 50%);
  z-index: -1;
}

.quote-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.quote-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-placeholder { width: 40px; height: 40px; }
.business-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: var(--charcoal); }
.business-tagline { font-size: 0.75rem; color: var(--slate); }

.quote-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--charcoal);
  color: var(--amber);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

.quote-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--slate-light);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26,26,46,0.08);
  margin-bottom: 1rem;
}

.quote-lines { margin-bottom: 1rem; }

.quote-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26,26,46,0.05);
  font-size: 0.8125rem;
}

.line-desc { color: var(--charcoal); }
.line-price { font-weight: 600; color: var(--charcoal); font-variant-numeric: tabular-nums; }

.quote-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0 0;
  border-top: 2px solid var(--charcoal);
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
}

.total-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  color: var(--charcoal);
}

.quote-footer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26,26,46,0.08);
  font-size: 0.7rem;
  color: var(--slate);
}

.craft-badge { color: var(--amber); font-weight: 600; }

/* === SECTIONS COMMON === */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.875rem;
}

.section-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--charcoal);
  max-width: 640px;
}

/* === HOW IT WORKS === */
.hiw {
  padding: 6rem 2.5rem;
  background: var(--cream);
}

.hiw .section-headline { max-width: 600px; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.step {
  flex: 1;
  min-width: 200px;
  padding: 0 2rem;
  border-left: 2px solid rgba(245,158,11,0.2);
}

.step:first-child { border-left: none; padding-left: 0; }

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(26,26,46,0.1);
  margin-bottom: 1rem;
  line-height: 1;
}

.step h3 {
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
}

/* === THE DIFFERENCE === */
.difference {
  padding: 6rem 2.5rem;
  background: var(--charcoal);
}

.diff-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.diff-left .section-headline { color: var(--white); }
.diff-left .section-label { color: var(--amber); }

.diff-body {
  font-size: 0.875rem;
  color: var(--slate-light);
  background: rgba(255,255,255,0.05);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--amber);
  margin: 1.5rem 0 0.75rem;
  font-style: italic;
}

.ai-arrow { margin: 0.5rem 0; }

.ai-result {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.ai-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 0.625rem;
}

.ai-result p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

.diff-features { display: flex; flex-direction: column; gap: 0.875rem; }
.diff-feature { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; color: rgba(255,255,255,0.7); }
.check-icon { flex-shrink: 0; margin-top: 2px; }

/* === PHONE FRAME === */
.phone-frame {
  width: 280px;
  background: var(--cream);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  margin: 0 auto;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: var(--charcoal);
  border-radius: 20px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: var(--cream-dark);
  border-radius: 24px;
  padding: 1.25rem;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.screen-label { font-size: 0.75rem; font-weight: 700; color: var(--charcoal); }

.toggle-track {
  width: 40px; height: 22px;
  background: rgba(26,26,46,0.15);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-track.active { background: var(--amber); }

.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle-track.active .toggle-thumb { transform: translateX(18px); }

.screen-input {
  background: white;
  border-radius: 12px;
  padding: 0.875rem;
  margin-bottom: 0.875rem;
  border: 1px solid rgba(26,26,46,0.08);
}

.input-label, .output-label { font-size: 0.65rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.375rem; }
.input-text { font-size: 0.8125rem; color: var(--charcoal); line-height: 1.5; }

.screen-output { background: rgba(245,158,11,0.06); border-radius: 12px; padding: 0.875rem; margin-bottom: 0.875rem; border: 1px solid rgba(245,158,11,0.15); }
.output-text { font-size: 0.7rem; color: var(--charcoal); line-height: 1.6; }

.screen-cta {
  background: var(--amber);
  border-radius: 10px;
  padding: 0.625rem;
  text-align: center;
}

.cta-line { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); }

/* === PRICING === */
.pricing {
  padding: 6rem 2.5rem;
  background: var(--cream);
  text-align: center;
}

.pricing-sub { font-size: 1rem; color: var(--slate); margin: 0.75rem 0 3rem; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.plan {
  background: white;
  border: 2px solid rgba(26,26,46,0.08);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26,26,46,0.12);
}

.plan-featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.1);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--charcoal);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; margin-bottom: 0.5rem; }
.plan-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.25rem; color: var(--charcoal); }
.per-mo { font-size: 0.875rem; font-weight: 500; color: var(--slate); }
.plan-desc { font-size: 0.875rem; color: var(--slate); margin: 0.5rem 0 1.5rem; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.plan-features li { font-size: 0.875rem; color: var(--charcoal); display: flex; align-items: center; gap: 0.625rem; }
.plan-features li::before { content: ''; display: inline-block; width: 16px; height: 16px; background: var(--amber); border-radius: 50%; flex-shrink: 0; }

.annual-note { font-size: 0.875rem; color: var(--slate); margin-top: 2rem; }

/* === TEMPLATES === */
.templates-section {
  padding: 6rem 2.5rem;
  background: var(--cream-dark);
}

.templates-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.templates-left .section-headline { margin-bottom: 1.25rem; }
.templates-left > p { font-size: 1rem; color: var(--slate); line-height: 1.7; margin-bottom: 2.5rem; max-width: 520px; }

.template-examples { display: flex; flex-direction: column; gap: 1.5rem; }

.template-item { border-left: 2px solid var(--amber); padding-left: 1.25rem; }
.template-cat { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 0.375rem; }
.template-line { font-size: 0.875rem; color: var(--charcoal); line-height: 1.6; }

/* === LIBRARY VISUAL === */
.library-visual {
  background: white;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 8px 40px rgba(26,26,46,0.08);
  border: 1px solid rgba(26,26,46,0.06);
}

.lib-header {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.lib-count { font-size: 0.75rem; color: var(--slate); margin-bottom: 1.25rem; }

.lib-items { display: flex; flex-direction: column; gap: 0; }

.lib-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(26,26,46,0.06);
}

.lib-item:last-child { border-bottom: none; }

.item-name { font-size: 0.8125rem; color: var(--charcoal); }
.item-price { font-size: 0.8125rem; font-weight: 600; color: var(--charcoal); font-variant-numeric: tabular-nums; }

.lib-hint { font-size: 0.7rem; color: var(--amber); font-weight: 600; margin-top: 1rem; text-align: center; }

/* === CLOSING === */
.closing {
  padding: 7rem 2.5rem;
  background: var(--charcoal);
  text-align: center;
}

.closing-inner { max-width: 760px; margin: 0 auto; }

.closing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245,158,11,0.3);
  padding: 0.35rem 1rem;
  border-radius: 100px;
}

.closing-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.closing-body { font-size: 1.0625rem; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 2rem; }

.closing-final {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--amber);
  border-top: 1px solid rgba(245,158,11,0.2);
  padding-top: 2rem;
}

/* === FOOTER === */
.footer {
  padding: 2.5rem;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-name { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--white); }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.footer-links { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .diff-inner { grid-template-columns: 1fr; }
  .templates-inner { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .phone-frame { margin: 0 auto; }
}

@media (max-width: 640px) {
  .nav { padding: 1rem 1.25rem; }
  .hero { padding: 3rem 1.25rem 4rem; }
  .hiw, .difference, .pricing, .templates-section, .closing { padding: 4rem 1.25rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
  .step { min-width: 160px; }
}