/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #E8773A;
  --accent: #F2C94C;
  --dark: #1A1410;
  --muted: #6B6460;
  --bg: #FAF8F5;
  --white: #FFFFFF;
  --shadow: 0 2px 16px rgba(26,20,16,0.07);
  --shadow-lg: 0 8px 32px rgba(26,20,16,0.10);
  --radius: 16px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.15; }

.cursive {
  font-family: 'Cedarville Cursive', cursive;
  font-size: 1.15em;
  color: var(--primary);
}
.hero-dark .cursive { color: var(--accent); }

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 60px; font-size: 16px; font-weight: 600;
  font-family: 'DM Sans', sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: #d4682f; border-color: #d4682f; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); color: var(--white); }
.hero-portal-link {
  display: block; color: rgba(255,255,255,0.7); font-size: 14px;
  text-decoration: none; margin-top: 12px; text-align: center;
}
.hero-portal-link:hover { color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: #f0ece8; }

/* ── Navigation ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid rgba(26,20,16,0.08);
  height: var(--nav-h);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-text {
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--dark);
}
.logo-swirl { width: 28px; height: 28px; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--primary); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta { padding: 10px 24px; font-size: 14px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); flex-direction: column; align-items: center;
  justify-content: center; gap: 32px; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 600; color: var(--dark); }

/* ── Hero Sections ── */
.hero {
  padding: 100px 0 80px; text-align: center;
}
.hero h1 { font-size: 72px; margin-bottom: 24px; color: var(--dark); }
.hero p.subtitle {
  font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-dark {
  background: var(--dark); padding: 100px 0 80px; text-align: center;
}
.hero-dark h1 { font-size: 64px; color: var(--white); margin-bottom: 24px; line-height: 1.1; }
.hero-dark p.subtitle { font-size: 20px; color: var(--accent); max-width: 640px; margin: 0 auto 40px; line-height: 1.7; }

/* ── Hero Logo ── */
.hero-logo {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 32px;
}
.hero-logo .logo-text { font-size: 48px; }
.hero-logo .logo-swirl { width: 42px; height: 42px; }

/* ── Hero Phone SVG ── */
.hero-phones-svg {
  max-width: 820px; margin: 60px auto 0; width: 100%;
}
.hero-phones-svg svg { width: 100%; height: auto; }

/* ── Sections ── */
section { padding: 80px 0; }
section.alt { background: var(--white); }

.section-heading {
  font-size: 42px; text-align: center; margin-bottom: 16px;
}
.section-heading.tight { margin-bottom: 8px; }
.section-subheading {
  font-size: 18px; color: var(--muted); text-align: center; max-width: 600px;
  margin: 0 auto 48px; line-height: 1.7;
}

/* ── Pain Point Cards ── */
.cards-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pain-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border-left: 4px solid var(--primary);
  transition: transform .25s, box-shadow .25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain-card .icon { font-size: 32px; margin-bottom: 16px; }
.pain-card p { font-size: 16px; color: var(--muted); line-height: 1.7; }

/* ── Steps ── */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; padding: 24px; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary);
  color: var(--white); font-family: 'Playfair Display', serif; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-weight: 700;
}
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── Seva Section ── */
.seva-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.seva-section h2 { font-size: 42px; margin-bottom: 8px; }
.seva-heading-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.seva-section .subtitle { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.seva-features { display: flex; flex-direction: column; gap: 16px; }
.seva-feature {
  display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500;
}
.seva-feature .check {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(232,119,58,0.12);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.seva-visual {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px;
}
.seva-chat-bubble {
  padding: 16px 20px; border-radius: 16px; font-size: 15px; max-width: 85%;
}
.seva-chat-bubble.user {
  background: var(--primary); color: var(--white); align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.seva-chat-bubble.seva {
  background: #f0ece8; color: var(--dark); align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.seva-chat-bubble .seva-name {
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 4px; color: var(--primary);
}

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(232,119,58,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── Social Proof / Story ── */
.story-section { text-align: center; max-width: 720px; margin: 0 auto; }
.story-section h2 { font-size: 36px; margin-bottom: 24px; }
.story-section p { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.story-section .origin { font-style: normal; color: var(--primary); font-size: 17px; line-height: 1.8; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--primary); padding: 80px 0; text-align: center;
}
.cta-banner h2 { font-size: 48px; color: var(--white); margin-bottom: 16px; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 40px; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dark); color: var(--white); padding: 12px 24px;
  border-radius: 12px; font-size: 14px; font-weight: 600;
  transition: transform .2s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge .badge-label-small { font-size: 11px; font-weight: 400; opacity: 0.8; }
.store-badge .badge-label-big { font-size: 16px; font-weight: 700; }

/* ── Footer ── */
.footer {
  background: var(--dark); padding: 60px 0 32px; color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo-text { color: var(--white); margin-bottom: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  font-size: 13px; text-align: center;
}

/* ── Stats Cards (Builders) ── */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  text-align: center; box-shadow: var(--shadow);
}
.stat-card .stat-number {
  font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary);
  font-weight: 700; margin-bottom: 12px;
}
.stat-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── ROI Calculator ── */
.calculator {
  background: var(--white); border-radius: var(--radius); padding: 48px;
  box-shadow: var(--shadow-lg); max-width: 800px; margin: 0 auto;
}
.calculator h3 { font-size: 28px; text-align: center; margin-bottom: 32px; }
.calc-input-group { margin-bottom: 32px; text-align: center; }
.calc-input-group label { font-size: 16px; font-weight: 600; display: block; margin-bottom: 12px; }
.calc-input-group input[type="range"] {
  width: 100%; max-width: 400px; accent-color: var(--primary);
  height: 6px; cursor: pointer;
}
.calc-value {
  font-family: 'Playfair Display', serif; font-size: 48px; color: var(--primary);
  font-weight: 700; margin-top: 8px;
}
.calc-breakdown-label {
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--muted);
  text-align: center; margin-bottom: 16px;
}
.calc-results {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 36px;
}
.calc-result-card .value.muted { color: var(--muted); }
.calc-savings-hero {
  text-align: center; padding-top: 32px;
  border-top: 1px solid #E8E4DF;
}
.calc-savings-label {
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.calc-savings-amount {
  font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 700;
  color: #4CAF50; line-height: 1.1;
}
.calc-savings-note {
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--muted);
  margin-top: 4px;
}
.calc-savings-net {
  font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--dark); margin-top: 16px;
}
.calc-disclaimer {
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--muted);
  font-style: italic; text-align: center; margin-top: 28px; line-height: 1.6;
}
.calc-result-card {
  background: var(--bg); border-radius: 12px; padding: 24px; text-align: center;
}
.calc-result-card .label { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.calc-result-card .value {
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700;
  color: var(--dark);
}
.calc-result-card .value.highlight { color: var(--primary); }

/* ── Tier Cards ── */
.tiers-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow); text-align: center; transition: transform .25s, box-shadow .25s;
  position: relative; overflow: visible;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card.featured { border: 2px solid var(--primary); }
.tier-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700;
  padding: 6px 16px; border-radius: 20px; white-space: nowrap;
}
.tier-card h3 { font-size: 24px; margin-bottom: 8px; }
.tier-price {
  font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary);
  font-weight: 700; margin-bottom: 4px;
}
.tier-unit { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.tier-desc { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── Forms ── */
.form-section { padding: 80px 0; }

.form-card {
  background: var(--bg); border-radius: 20px; padding: 48px;
  box-shadow: var(--shadow); max-width: 720px; margin: 0 auto;
}
.form-section.alt .form-card { background: var(--bg); }
.form-section:not(.alt) .form-card { background: var(--white); }
.form-card h2 {
  font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px; text-align: center;
}
.form-card .form-subtitle {
  font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--muted);
  text-align: center; margin-bottom: 32px; line-height: 1.6;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.form-grid .full-width { grid-column: 1 / -1; }
.form-group { margin-bottom: 0; }
.form-group label {
  display: block; font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 700; color: var(--dark); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid #E8E4DF; border-radius: 10px;
  font-size: 15px; font-family: 'DM Sans', sans-serif; transition: border-color .2s;
  background: var(--white); color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-card .btn {
  width: 100%; margin-top: 24px; font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 700; border-radius: 12px; height: 52px;
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
}

/* ── Services Tags ── */
.services-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.service-tag {
  background: var(--white); border: 1px solid #e0dbd7; border-radius: 60px;
  padding: 14px 32px; font-size: 16px; font-weight: 500;
  transition: border-color .2s, background .2s;
}
.service-tag:hover { border-color: var(--primary); background: rgba(232,119,58,0.06); }

/* ── Pricing Card (Contractor) ── */
.pricing-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 40px;
  box-shadow: var(--shadow-lg); max-width: 480px; margin: 0 auto; text-align: center;
}
.pricing-card .price {
  font-family: 'Playfair Display', serif; font-size: 52px; color: var(--primary);
  font-weight: 700; line-height: 1;
}
.pricing-card .price-unit { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.pricing-card ul { text-align: left; margin-bottom: 24px; }
.pricing-card li {
  padding: 8px 0; border-bottom: 1px solid #f0ece8; font-size: 15px;
  display: flex; align-items: center; gap: 10px;
}
.pricing-card li:last-child { border-bottom: none; }
.pricing-card li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.pricing-card .coming-soon {
  font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 14px;
}

/* ── Investor Features List ── */
.investor-features { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.investor-feature {
  display: flex; gap: 20px; padding: 24px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .25s;
}
.investor-feature:hover { transform: translateY(-4px); }
.investor-feature .if-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(232,119,58,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.investor-feature h3 { font-size: 18px; margin-bottom: 6px; }
.investor-feature p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Scale Section ── */
.scale-section { text-align: center; }
.scale-visual {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  margin-top: 40px; flex-wrap: wrap;
}
.scale-box {
  background: var(--white); border-radius: var(--radius); padding: 32px 40px;
  box-shadow: var(--shadow); text-align: center;
}
.scale-box .number {
  font-family: 'Playfair Display', serif; font-size: 48px; color: var(--primary); font-weight: 700;
}
.scale-box .label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.scale-arrow { font-size: 36px; color: var(--primary); }

/* ── Builder Features ── */
.builder-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.builder-feature {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.builder-feature .bf-icon { font-size: 28px; margin-bottom: 14px; }
.builder-feature h3 { font-size: 18px; margin-bottom: 8px; }
.builder-feature p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 52px; }
  .hero-dark h1 { font-size: 48px; }
  .section-heading { font-size: 34px; }
  .seva-section { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-features { grid-template-columns: repeat(2, 1fr); }
  .investor-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 40px; }
  .hero-dark h1 { font-size: 36px; }
  .hero p.subtitle { font-size: 17px; }
  .section-heading { font-size: 28px; }
  .cards-row, .steps-row, .stats-row, .tiers-row, .features-grid, .builder-features {
    grid-template-columns: 1fr;
  }
  .calc-results { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-phones-svg { margin-top: 40px; }
  .seva-section { text-align: center; }
  .seva-features { align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .scale-visual { flex-direction: column; }
  .scale-arrow { transform: rotate(90deg); }
  .cta-banner h2 { font-size: 32px; }
  .hero-logo .logo-text { font-size: 36px; }
  .hero-logo .logo-swirl { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-dark h1 { font-size: 30px; }
  .hero-phones-svg { margin-top: 32px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
}
