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

:root {
  --midnight: #0D1B2A;
  --cream: #F7F5F0;
  --amber: #E8812D;
  --sage: #4E8C6D;
  --charcoal: #2A2A2A;
  --muted: #6B6B6B;
  --border: #E2DDD6;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--midnight);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--midnight);
  margin-bottom: 3rem;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--midnight);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--amber); }

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
  background: var(--midnight);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  color: var(--amber);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(247, 245, 240, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

/* === PHONE MOCKUP === */
.hero-actions {
  display: flex;
  justify-content: flex-start;
}

.hero-phone-mockup {
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.5));
}

.phone-bezel {
  background: #111;
  border-radius: 36px;
  padding: 12px;
  width: 260px;
  border: 2px solid #333;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 40px rgba(232, 129, 45, 0.15);
}

.phone-screen {
  background: #1A1A2E;
  border-radius: 26px;
  padding: 16px 14px;
  overflow: hidden;
}

.sms-thread { display: flex; flex-direction: column; gap: 4px; }

.sms-time {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin: 6px 0 2px;
}

.sms-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.45;
}

.sms-caller {
  background: #2A2A3E;
  color: #D4D4E0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.sms-business {
  background: var(--amber);
  color: var(--midnight);
  align-self: flex-end;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

/* === STATS === */
.stats {
  background: var(--midnight);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 1rem 2rem;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.55);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

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

.hiw-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hiw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hiw-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 280px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.hiw-step:hover {
  box-shadow: 0 8px 32px rgba(13, 27, 42, 0.08);
}

.hiw-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 1rem;
}

.hiw-step-icon { margin-bottom: 1rem; display: flex; justify-content: center; }

.hiw-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 0.6rem;
}

.hiw-step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.hiw-step-arrow {
  flex-shrink: 0;
  opacity: 0.4;
}

/* === FEATURES === */
.features {
  padding: 6rem 1.5rem;
  background: var(--white);
}

.features-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 6rem 1.5rem;
  background: var(--cream);
}

.testimonials-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

/* === PRICING === */
.pricing {
  padding: 6rem 1.5rem;
  background: var(--white);
}

.pricing-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: left;
  position: relative;
}

.pricing-card-featured {
  background: var(--midnight);
  border-color: var(--midnight);
  color: var(--cream);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--midnight);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.pricing-card-featured .pricing-tier { color: rgba(232, 129, 45, 0.8); }

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 0.4rem;
}

.pricing-card-featured .pricing-price { color: var(--cream); }

.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.pricing-card-featured .pricing-period { color: rgba(247, 245, 240, 0.5); }

.pricing-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.pricing-card-featured .pricing-tagline { color: rgba(247, 245, 240, 0.55); }

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--charcoal);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
}

.pricing-card-featured .pricing-features li { color: rgba(247, 245, 240, 0.8); }

.pricing-cta {
  display: inline-block;
  background: var(--midnight);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  cursor: default;
  opacity: 0.4;
}

.pricing-cta-featured {
  background: var(--amber);
  color: var(--midnight);
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--muted);
}

/* === CLOSING === */
.closing {
  padding: 6rem 1.5rem;
  background: var(--midnight);
}

.closing-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.closing-sub {
  font-size: 1rem;
  color: rgba(247, 245, 240, 0.6);
}

/* === FOOTER === */
.footer {
  padding: 2.5rem 1.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--midnight);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hiw-steps { flex-direction: column; }
  .hiw-step-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero-headline { font-size: 2.25rem; }
  .phone-bezel { width: 220px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 0; }
  .stat-divider { width: 50px; height: 1px; }
  .stat { padding: 1rem 0; }
  .nav-links { display: none; }
}