/* ═══════════════════════════════════════════════════════════════
   HOUZFLOW AI — styles.css
   Faithful port of the React/Tailwind design system
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS (mirrors index.css CSS vars + tailwind.config) ── */
:root {
  /* Colors (HSL values from original) */
  --background:          hsl(0, 0%, 100%);
  --foreground:          hsl(0, 0%, 13%);
  --card:                hsl(0, 0%, 100%);
  --card-foreground:     hsl(0, 0%, 13%);
  --primary:             hsl(218, 98%, 51%);
  --primary-foreground:  hsl(0, 0%, 100%);
  --primary-hover:       hsl(218, 98%, 45%);
  --primary-10:          hsla(218, 98%, 51%, 0.10);
  --primary-20:          hsla(218, 98%, 51%, 0.20);
  --secondary:           hsl(0, 0%, 98%);
  --secondary-foreground:hsl(0, 0%, 13%);
  --muted:               hsl(0, 0%, 96%);
  --muted-foreground:    hsl(0, 0%, 45%);
  --accent:              hsl(218, 100%, 97%);
  --accent-foreground:   hsl(218, 98%, 51%);
  --destructive:         hsl(0, 84.2%, 60.2%);
  --border:              hsl(0, 0%, 90%);
  --ring:                hsl(218, 98%, 51%);
  --radius:              1rem;

  /* Dark-section tokens */
  --section-dark-bg:     hsl(220, 20%, 10%);
  --section-dark-fg:     hsl(0, 0%, 95%);
  --section-dark-muted:  hsl(0, 0%, 65%);
  --section-dark-card:   hsl(220, 15%, 16%);
  --section-dark-border: hsl(220, 10%, 25%);

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.07), 0 8px 10px -6px rgb(0 0 0 / 0.07);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:   all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
               'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a        { text-decoration: none; color: inherit; }
button   { cursor: pointer; font-family: inherit; }
img      { max-width: 100%; display: block; }
svg      { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ── KEYFRAMES (exact values from tailwind.config.ts) ─────────────── */
@keyframes blur-in {
  0%   { opacity: 0; filter: blur(12px); transform: translateY(8px); }
  100% { opacity: 1; filter: blur(0px);  transform: translateY(0); }
}

@keyframes slide-up-fade {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-up {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  0%   { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

@keyframes scroll-x {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animation utility classes */
.animate-blur-in     { animation: blur-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-slide-up-fade { animation: slide-up-fade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-fade-in     { animation: fade-in 0.6s ease-out both; }
.animate-fade-in-up  { animation: fade-in-up 0.4s ease-out both; }
.animate-scale-in    { animation: scale-in 0.3s ease-out both; }
.animate-float       { animation: float 3s ease-in-out infinite; }
.animate-pulse-scale { animation: pulse-scale 2.5s ease-in-out infinite; }
.animate-scroll-x    { animation: scroll-x 25s linear infinite; }

/* Scroll-triggered animate-on-scroll */
.aos {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.aos.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SHADOW UTILITIES ─────────────────────────────────────────────── */
.shadow-apple    { box-shadow: var(--shadow-md); }
.shadow-apple-lg { box-shadow: var(--shadow-lg); }
.shadow-apple-xl { box-shadow: var(--shadow-xl); }

/* ── TRANSITION UTILITIES ──────────────────────────────────────────── */
.transition-smooth { transition: var(--transition-smooth); }
.transition-fast   { transition: var(--transition-fast); }

/* ── SCROLLBAR HIDE ────────────────────────────────────────────────── */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ── BTN SHIMMER ───────────────────────────────────────────────────── */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn-shimmer:hover::after { left: 120%; }

/* ── PAGE ROUTER ───────────────────────────────────────────────────── */
.page         { display: none; min-height: 100vh; }
.page.active  { display: block; }

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: var(--transition-smooth);
  background: hsla(0, 0%, 100%, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#nav.scrolled {
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
@media (min-width: 640px) {
  .nav-inner { height: 64px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}
@media (min-width: 640px) {
  .nav-logo { font-size: 1rem; }
}
.nav-logo img { width: 28px; height: 28px; }
@media (min-width: 640px) {
  .nav-logo img { width: 32px; height: 32px; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links button {
  background: none;
  border: none;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: var(--transition-fast);
  padding: 4px 0;
}
.nav-links button:hover { color: var(--primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Primary button (nav + general) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .btn-primary { font-size: 0.875rem; padding: 9px 20px; }
}
.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 7px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-fast);
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger:hover { background: var(--muted); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 1rem 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: hsla(0, 0%, 100%, 0.97);
}
.mobile-menu.open { display: flex; }
.mobile-menu button {
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  font-size: 0.875rem;
  color: var(--foreground);
  border-radius: 8px;
  transition: var(--transition-fast);
}
.mobile-menu button:hover {
  color: var(--primary);
  background: var(--secondary);
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT HELPERS
   ═══════════════════════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.container-md {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-py {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (min-width: 640px) {
  .section-py { padding-top: 128px; padding-bottom: 128px; }
}

.text-center { text-align: center; }

.section-label-block {
  margin-bottom: 56px;
}
@media (min-width: 640px) {
  .section-label-block { margin-bottom: 80px; }
}

.section-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 16px;
}
.section-heading--dark { color: var(--section-dark-fg); }

.section-subheading {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted-foreground);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.section-subheading--dark { color: var(--section-dark-muted); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  padding-top: 112px;
  padding-bottom: 40px;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  #hero { padding-top: 160px; padding-bottom: 64px; }
}

#hero h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 20px;
}
@media (min-width: 640px) { #hero h1 { margin-bottom: 32px; } }

#hero .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
@media (min-width: 640px) { #hero .hero-sub { margin-bottom: 48px; } }

.hero-cta-wrap { margin-bottom: 0; }

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 16px;
  padding: 18px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
  width: 100%;
  max-width: 340px;
}
@media (min-width: 480px) {
  .btn-hero { width: auto; }
}
@media (min-width: 640px) {
  .btn-hero { font-size: 1.2rem; padding: 20px 56px; }
}
.btn-hero:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}
.btn-hero::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn-hero:hover::after { left: 120%; }

.hero-cta-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 12px;
}
@media (min-width: 640px) { .hero-cta-note { font-size: 0.875rem; } }

/* Proof badges */
.proof-section { margin-top: 56px; }
@media (min-width: 640px) { .proof-section { margin-top: 80px; } }

.proof-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto 12px;
}
@media (min-width: 640px) {
  .proof-badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: none;
    margin-bottom: 14px;
  }
}

.proof-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--secondary);
  padding: 7px 14px;
  border-radius: 999px;
}
.proof-badge.col-span-2 { grid-column: 1 / -1; }

.proof-badge svg { width: 16px; height: 16px; color: var(--primary); }
.proof-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .proof-badge span { font-size: 0.875rem; }
}

.proof-trust-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .proof-trust-note { font-size: 0.875rem; } }

/* ═══════════════════════════════════════════════════════════════════
   CONTRACTOR SCROLL
   ═══════════════════════════════════════════════════════════════ */
#contractor-scroll {
  padding: 32px 0 48px;
  overflow: hidden;
}
@media (min-width: 640px) { #contractor-scroll { padding: 48px 0 64px; } }

.scroll-outer {
  position: relative;
  overflow: hidden;
  /* Inset left/right to align with nav logo — mirrors .nav-inner margins */
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 1rem;
}
.scroll-fade-l,
.scroll-fade-r {
  position: absolute;
  top: 0; bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}
.scroll-fade-l { left: 0;  background: linear-gradient(to right, var(--background), transparent); }
.scroll-fade-r { right: 0; background: linear-gradient(to left,  var(--background), transparent); }

.scroll-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
@media (min-width: 640px) { .scroll-track { gap: 32px; } }

.contractor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}
@media (min-width: 640px) { .contractor-item { min-width: 96px; } }

.contractor-icon {
  width: 48px; height: 48px;
  background: hsla(0, 0%, 0%, 0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) { .contractor-icon { width: 56px; height: 56px; } }
.contractor-icon svg { width: 22px; height: 22px; color: var(--primary); }
@media (min-width: 640px) { .contractor-icon svg { width: 28px; height: 28px; } }

.contractor-item span {
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--foreground);
}
@media (min-width: 640px) { .contractor-item span { font-size: 0.8rem; } }

/* ═══════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services-bg { background: hsla(0, 0%, 0%, 0.02); }

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) { .services-grid { gap: 32px; } }

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  height: 100%;
}
@media (min-width: 640px) { .service-card { padding: 32px; } }
.service-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--primary-10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .service-icon { width: 56px; height: 56px; } }
.service-icon svg { width: 24px; height: 24px; color: var(--primary); }
@media (min-width: 640px) { .service-icon svg { width: 28px; height: 28px; } }

.service-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}
@media (min-width: 640px) { .service-card h3 { font-size: 1.1rem; } }

.service-card p {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}
@media (min-width: 640px) { .service-card p { font-size: 0.875rem; } }

/* ═══════════════════════════════════════════════════════════════════
   PATH / HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.steps-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .steps-row {
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* equal height */
    gap: 32px;
  }
}
@media (min-width: 1024px) { .steps-row { gap: 48px; } }

.step-card {
  width: 100%;
  max-width: 340px;
  background: linear-gradient(135deg, var(--primary-10), hsla(218, 98%, 51%, 0.04));
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
@media (min-width: 768px) { .step-card { width: 210px; max-width: none; flex: 1; align-self: stretch; } }
@media (min-width: 1024px) { .step-card { width: 240px; padding: 40px 32px; } }
.step-card:hover { box-shadow: var(--shadow-xl); }

.step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
@media (min-width: 640px) { .step-num { width: 56px; height: 56px; font-size: 1.25rem; } }

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 6px;
}
@media (min-width: 640px) { .step-card h3 { font-size: 1.1rem; } }

.step-duration {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
@media (min-width: 640px) { .step-duration { font-size: 0.8rem; } }

.step-card p {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
@media (min-width: 640px) { .step-card p { font-size: 0.875rem; } }

.step-arrow {
  color: var(--primary);
  flex-shrink: 0;
  display: none; /* hidden on mobile */
  align-self: center; /* don't stretch to full row height */
}
.step-arrow svg { width: 28px; height: 28px; }
.step-arrow-down {
  color: var(--primary);
  display: flex;
  justify-content: center;
}
.step-arrow-down svg { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .step-arrow      { display: flex; align-items: center; align-self: center; }
  .step-arrow-down { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   PROTECTION / GUARANTEES (dark section)
   ═══════════════════════════════════════════════════════════════ */
.section-dark {
  background: var(--section-dark-bg);
}

.section-secondary {
  background: hsla(0, 0%, 0%, 0.025);
}

.guarantee-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .guarantee-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.guarantee-card {
  background: var(--section-dark-card);
  border: 1px solid var(--section-dark-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}
@media (min-width: 640px) { .guarantee-card { padding: 40px; } }
.guarantee-card:hover { box-shadow: var(--shadow-xl); }

.guarantee-icon {
  width: 64px; height: 64px;
  background: var(--primary-20);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-smooth);
}
.guarantee-card:hover .guarantee-icon { transform: scale(1.1); }
.guarantee-icon svg { width: 32px; height: 32px; color: var(--primary); }
@media (min-width: 640px) { .guarantee-icon svg { width: 36px; height: 36px; } }

.guarantee-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--section-dark-fg);
  margin-bottom: 10px;
}
@media (min-width: 640px) { .guarantee-card h3 { font-size: 1.1rem; } }

.guarantee-card p {
  font-size: 0.8rem;
  color: var(--section-dark-muted);
  line-height: 1.65;
}
@media (min-width: 640px) { .guarantee-card p { font-size: 0.875rem; } }

/* ═══════════════════════════════════════════════════════════════════
   PROOF / TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.proof-bg { background: hsla(0, 0%, 0%, 0.02); }

.testimonials-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) { .testimonial-card { padding: 32px; } }
.testimonial-card:hover { box-shadow: var(--shadow-xl); }

.quote-icon { color: var(--primary); margin-bottom: 16px; }
.quote-icon svg { width: 28px; height: 28px; }
@media (min-width: 640px) { .quote-icon svg { width: 32px; height: 32px; } }

.testimonial-result {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
@media (min-width: 640px) { .testimonial-result { font-size: 1.15rem; } }

.testimonial-quote {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
  margin-bottom: 0;
}
@media (min-width: 640px) { .testimonial-quote { font-size: 0.875rem; } }

.testimonial-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
@media (min-width: 640px) { .testimonial-name { font-size: 1rem; } }

.testimonial-location {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 14px;
}
@media (min-width: 640px) { .testimonial-location { font-size: 0.8rem; } }

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 4px;
}
@media (min-width: 640px) { .stat-row { font-size: 0.8rem; } }
.stat-label { color: var(--muted-foreground); }
.stat-after { color: var(--primary); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════
   FOUNDER
   ═══════════════════════════════════════════════════════════════ */
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background: var(--card);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .founder-card { padding: 48px; } }
@media (min-width: 768px) {
  .founder-card {
    flex-direction: row;
    gap: 48px;
  }
}

.founder-img {
  width: 128px;
  height: 128px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}
@media (min-width: 640px) { .founder-img { width: 160px; height: 160px; } }

.founder-text { text-align: center; }
@media (min-width: 768px) { .founder-text { text-align: left; } }

.founder-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 4px;
}
@media (min-width: 640px) { .founder-name { font-size: 1.4rem; } }

.founder-role {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}
@media (min-width: 640px) { .founder-role { font-size: 1rem; } }

.founder-bio {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 480px;
}
@media (min-width: 640px) { .founder-bio { font-size: 1rem; } }

/* ═══════════════════════════════════════════════════════════════════
   PUSH / SCARCITY
   ═══════════════════════════════════════════════════════════════ */
.push-card {
  background: linear-gradient(135deg, var(--primary-10), hsla(218, 98%, 51%, 0.04));
  border: 2px solid hsla(218, 98%, 51%, 0.20);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .push-card { padding: 40px; } }

.push-icon {
  width: 56px; height: 56px;
  background: var(--primary-20);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
@media (min-width: 640px) { .push-icon { width: 64px; height: 64px; } }
.push-icon svg { width: 28px; height: 28px; color: var(--primary); }
@media (min-width: 640px) { .push-icon svg { width: 32px; height: 32px; } }

.push-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}
@media (min-width: 640px) { .push-card h3 { font-size: 1.15rem; } }

.push-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 16px;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
  margin-bottom: 40px;
  width: 100%;
  max-width: 320px;
}
@media (min-width: 480px) { .faq-cta-btn { width: auto; } }
@media (min-width: 640px) { .faq-cta-btn { margin-bottom: 56px; font-size: 1.1rem; padding: 18px 48px; } }
.faq-cta-btn:hover { background-color: var(--primary-hover); }
.faq-cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.faq-cta-btn:hover::after { left: 120%; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--section-dark-card);
  border-radius: 12px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--section-dark-fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
  cursor: pointer;
}
@media (min-width: 640px) {
  .faq-trigger { padding: 22px 28px; font-size: 1rem; }
}
.faq-trigger:hover { color: var(--primary); }
.faq-trigger.open  { color: var(--primary); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: inherit;
}
.faq-trigger.open .faq-chevron { transform: rotate(180deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-body-inner {
  padding: 0 24px 20px;
  font-size: 0.8rem;
  color: var(--section-dark-muted);
  line-height: 1.7;
}
@media (min-width: 640px) {
  .faq-body-inner { padding: 0 28px 22px; font-size: 0.875rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  padding: 40px 1rem;
  background: hsla(0, 0%, 0%, 0.025);
  border-top: 1px solid hsla(0, 0%, 0%, 0.06);
}
@media (min-width: 640px) { footer { padding: 48px 1rem; } }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .footer-copy { font-size: 0.875rem; } }

.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: var(--transition-fast);
}
@media (min-width: 640px) { .footer-links a { font-size: 0.875rem; } }
.footer-links a:hover { color: var(--foreground); }

.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  color: var(--muted-foreground);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--foreground); }
.footer-social svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════════════════════
   BOOKING PAGE
   ═══════════════════════════════════════════════════════════════ */
.booking-header {
  padding: 96px 1rem 28px;
  text-align: center;
}
@media (min-width: 640px) { .booking-header { padding: 112px 1rem 36px; } }

.booking-header h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}
.booking-header p {
  font-size: 0.975rem;
  color: var(--muted-foreground);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (min-width: 640px) { .booking-header p { font-size: 1.1rem; } }

.cal-wrapper {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 24px auto 0;
  padding: 8px;
  overflow: hidden;
}
@media (min-width: 640px) { .cal-wrapper { padding: 16px; } }

/* Cal.com mounts an iframe inside #cal-inline-embed — style it via the wrapper */
#cal-inline-embed {
  width: 100%;
  min-height: 700px;
  border-radius: 10px;
  overflow: hidden;
}
/* Cal.com's own iframe inside the embed div */
#cal-inline-embed iframe {
  width: 100% !important;
  border: none !important;
  border-radius: 10px;
}
@media (min-width: 640px) {
  #cal-inline-embed { min-height: 740px; }
}

.booking-expect {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 1rem 56px;
}
.booking-expect h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}
@media (min-width: 640px) { .booking-expect h2 { font-size: 1.2rem; } }

.expect-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--secondary);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
}
@media (min-width: 640px) { .expect-item { padding: 14px 18px; } }

.expect-num {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  padding-top: 1px;
}
.expect-item p {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
@media (min-width: 640px) { .expect-item p { font-size: 0.925rem; } }

/* ═══════════════════════════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════════════════════ */
.ty-header {
  padding: 96px 1rem 0;
  text-align: center;
}
@media (min-width: 640px) { .ty-header { padding: 128px 1rem 0; } }

.ty-check-circle {
  width: 64px; height: 64px;
  background: var(--primary-10);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
@media (min-width: 640px) { .ty-check-circle { width: 80px; height: 80px; } }
.ty-check-circle svg { width: 32px; height: 32px; color: var(--primary); }
@media (min-width: 640px) { .ty-check-circle svg { width: 40px; height: 40px; } }

.ty-header h1 {
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}
.ty-header p {
  font-size: 0.975rem;
  color: var(--muted-foreground);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (min-width: 640px) { .ty-header p { font-size: 1.1rem; } }

.ty-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 1rem 64px;
}

.ty-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-xl);
  margin-bottom: 32px;
}
@media (min-width: 640px) { .ty-card { padding: 40px 36px; } }

.ty-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
@media (min-width: 640px) { .ty-card h2 { font-size: 1.2rem; margin-bottom: 12px; } }

.ty-card .card-sub {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .ty-card .card-sub { font-size: 0.925rem; } }

.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-10), hsla(218, 98%, 51%, 0.12));
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}
@media (min-width: 640px) { .play-btn { width: 80px; height: 80px; } }
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; }
@media (min-width: 640px) { .play-btn svg { width: 30px; height: 30px; } }

.video-soon {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 14px;
}

/* Confirm flex */
.confirm-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 640px) {
  .confirm-flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}

.sms-mock {
  background: var(--secondary);
  border-radius: 16px;
  padding: 16px;
  min-width: 270px;
  max-width: 290px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.sms-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.sms-header svg { width: 18px; height: 18px; color: var(--primary); }
.sms-header span { font-size: 0.85rem; font-weight: 600; }
.sms-bubble { margin-bottom: 8px; }
.sms-in {
  background: var(--primary-10);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 12px;
  font-size: 0.775rem;
  line-height: 1.5;
  color: var(--foreground);
}
.sms-out {
  background: var(--muted);
  border-radius: 12px 12px 4px 12px;
  padding: 10px 12px;
  font-size: 0.775rem;
  font-weight: 600;
  margin-left: 36px;
  color: var(--foreground);
}
.confirm-text { text-align: center; }
@media (min-width: 640px) { .confirm-text { text-align: left; } }
.confirm-text h3 { font-size: 0.975rem; font-weight: 600; margin-bottom: 10px; }
@media (min-width: 640px) { .confirm-text h3 { font-size: 1.05rem; } }
.confirm-text p  { font-size: 0.8rem; color: var(--muted-foreground); line-height: 1.65; }
@media (min-width: 640px) { .confirm-text p { font-size: 0.9rem; } }
.text-primary { color: var(--primary); font-weight: 600; }

/* Objection videos */
.ty-sub-heading {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
@media (min-width: 640px) { .ty-sub-heading { font-size: 1.4rem; } }
.ty-sub-note {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .ty-sub-note { font-size: 0.925rem; margin-bottom: 32px; } }

.objection-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .objection-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.objection-card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .objection-card { padding: 20px; } }

.mini-video {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-10), hsla(218, 98%, 51%, 0.12));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.mini-play {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-lg);
  border: none;
}
.mini-play:hover { transform: scale(1.06); }
.mini-play svg { width: 18px; height: 18px; color: #fff; margin-left: 2px; }

.objection-card h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.objection-card p  { font-size: 0.775rem; color: var(--muted-foreground); line-height: 1.5; }

/* Thank You testimonials */
.ty-testimonials-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) { .ty-testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.ty-testimonial {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .ty-testimonial { padding: 24px; } }
.ty-testimonial .quote-icon { margin-bottom: 12px; }
.ty-testimonial .quote-icon svg { width: 24px; height: 24px; }
.ty-testimonial .testimonial-quote { font-size: 0.8rem; }
.ty-testimonial .testimonial-name  { font-size: 0.85rem; }
.ty-testimonial .ty-result {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.legal-wrap {
  padding: 96px 1rem 64px;
  max-width: 680px;
  margin: 0 auto;
}
@media (min-width: 640px) { .legal-wrap { padding: 128px 1rem 80px; } }

.legal-wrap h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 6px;
}
.legal-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 32px;
}
.legal-wrap h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 32px 0 10px;
}
.legal-wrap p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-wrap a { color: var(--primary); }
.legal-wrap a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   NOT FOUND
   ═══════════════════════════════════════════════════════════════ */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.not-found h1 { font-size: 4rem; font-weight: 700; color: var(--primary); }
.not-found h2 { font-size: 1.5rem; font-weight: 600; margin: 8px 0 16px; }
.not-found p  { color: var(--muted-foreground); margin-bottom: 24px; }