/* ============================================================
   Hodi Homes — Website Stylesheet
   Design tokens mirror the mobile app theme exactly.
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  /* Clay / Terracotta — brand primary */
  --clay-50:  #FDF3EF;
  --clay-100: #FAE4D8;
  --clay-200: #F4C9B0;
  --clay-300: #EBA07A;
  --clay-400: #DE7A50;
  --clay-500: #C86B47;
  --clay-600: #A85538;
  --clay-700: #84402A;
  --clay-800: #5E2D1C;
  --clay-900: #3C1E13;

  /* Forest / Karura green — secondary */
  --forest-50:  #EBF4EE;
  --forest-100: #C9E4D0;
  --forest-400: #5A9B6A;
  --forest-500: #3D7A4D;
  --forest-600: #2F5E3A;
  --forest-700: #224528;

  /* Warm neutral ramp */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #FBF8F4;
  --neutral-100: #F2EEE9;
  --neutral-150: #EAE3D9;
  --neutral-200: #E0D8CE;
  --neutral-300: #C9BFB4;
  --neutral-400: #A89D92;
  --neutral-500: #857B70;
  --neutral-600: #5C5248;
  --neutral-700: #3D342C;
  --neutral-800: #281E18;
  --neutral-900: #140D09;

  /* Surfaces */
  --bg:     #F5F5F5;
  --canvas: #FBF8F4;
  --white:  #FFFFFF;

  /* Semantic */
  --success: #3D7A4D;
  --error:   #C2410C;
  --mpesa:   #00A651;

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(60,30,19,0.06), 0 1px 2px rgba(60,30,19,0.04);
  --shadow-md: 0 4px 12px rgba(60,30,19,0.08), 0 2px 4px rgba(60,30,19,0.04);
  --shadow-lg: 0 10px 30px rgba(60,30,19,0.10), 0 4px 8px rgba(60,30,19,0.06);
  --shadow-xl: 0 20px 60px rgba(60,30,19,0.12), 0 8px 16px rgba(60,30,19,0.06);

  /* Nav */
  --nav-h: 72px;

  /* Container */
  --container: 1160px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 180ms;
  --duration-base: 280ms;
  --duration-slow: 500ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: var(--font); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--neutral-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
p { color: var(--neutral-600); line-height: 1.75; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-600);
  background: var(--clay-50);
  border: 1px solid var(--clay-100);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: var(--space-4);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: var(--space-2);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clay-500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(200,107,71,0.30);
}
.btn-primary:hover {
  background: var(--clay-600);
  box-shadow: 0 6px 20px rgba(200,107,71,0.35);
}

.btn-outlined {
  background: transparent;
  color: var(--clay-600);
  border-color: var(--clay-300);
}
.btn-outlined:hover {
  background: var(--clay-50);
  border-color: var(--clay-400);
}

.btn-forest {
  background: var(--forest-500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(61,122,77,0.28);
}
.btn-forest:hover {
  background: var(--forest-600);
  box-shadow: 0 6px 20px rgba(61,122,77,0.33);
}

.btn-white {
  background: #fff;
  color: var(--clay-700);
  box-shadow: 0 2px 8px rgba(60,30,19,0.12);
}
.btn-white:hover {
  background: var(--neutral-50);
  box-shadow: 0 6px 20px rgba(60,30,19,0.15);
}

.btn-sm { font-size: 0.875rem; padding: 10px 20px; }
.btn-lg { font-size: 1rem; padding: 18px 36px; }

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              backdrop-filter var(--duration-base) var(--ease-out);
}
.nav.scrolled {
  background: rgba(251,248,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--neutral-150), 0 4px 20px rgba(60,30,19,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clay-700);
  letter-spacing: -0.03em;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--clay-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-600);
  transition: color var(--duration-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--clay-500);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--duration-fast) var(--ease-out);
  transform-origin: left;
}
.nav-link:hover { color: var(--neutral-900); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--clay-600); }
.nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast);
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--neutral-100);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
  z-index: 999;
}
.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-mobile .nav-link { font-size: 1rem; padding: var(--space-3) 0; border-bottom: 1px solid var(--neutral-100); }

/* ── Hero ── */
.hero {
  padding-top: calc(var(--nav-h) + var(--space-24));
  padding-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 0%, var(--clay-50) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 100% 80%, var(--forest-50) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--neutral-150) 1px, transparent 1px),
    linear-gradient(90deg, var(--neutral-150) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 80%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-flag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest-600);
  background: var(--forest-50);
  border: 1px solid var(--forest-100);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: var(--space-6);
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--neutral-900);
  margin-bottom: var(--space-6);
}
.hero-title span { color: var(--clay-500); }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-500);
}
.hero-trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--forest-400);
  flex-shrink: 0;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-wrap {
  position: relative;
  width: 280px;
}
.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--neutral-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--canvas);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: var(--neutral-200);
  border-radius: 3px;
  z-index: 10;
}
.phone-ui {
  padding: 30px 16px 16px;
  height: 100%;
  overflow: hidden;
}
.phone-header {
  background: var(--white);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.phone-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.phone-logo-text {
  font-size: 14px;
  font-weight: 800;
  color: var(--clay-700);
  letter-spacing: -0.02em;
}
.phone-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--clay-200); }
.phone-greeting { font-size: 11px; color: var(--neutral-500); font-weight: 500; }
.phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--neutral-100);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.phone-search-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--neutral-300); }
.phone-search-bar { flex: 1; height: 8px; background: var(--neutral-200); border-radius: 4px; }
.phone-card {
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.phone-card-img {
  width: 100%; height: 70px;
  background: linear-gradient(135deg, var(--clay-100) 0%, var(--clay-200) 100%);
  border-radius: 10px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.phone-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(60,30,19,0.3) 100%);
}
.phone-card-title { height: 8px; background: var(--neutral-200); border-radius: 4px; width: 70%; margin-bottom: 5px; }
.phone-card-sub { height: 6px; background: var(--neutral-100); border-radius: 3px; width: 50%; }
.phone-card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.phone-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--forest-50);
  color: var(--forest-600);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--forest-100);
}
.phone-price { height: 8px; background: var(--clay-200); border-radius: 4px; width: 40%; }

/* Floating elements around phone */
.phone-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neutral-700);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.phone-float-1 { top: 40px; right: -60px; animation-delay: 0s; }
.phone-float-2 { bottom: 100px; left: -70px; animation-delay: 1.5s; }
.phone-float-3 { top: 200px; right: -50px; animation-delay: 0.8s; }

.float-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.float-green { background: var(--forest-50); }
.float-clay  { background: var(--clay-50); }
.float-amber { background: #FFFBEB; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--neutral-100);
  border-bottom: 1px solid var(--neutral-100);
  padding: var(--space-5) 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
}
.trust-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--clay-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ── Section base ── */
.section {
  padding: var(--space-24) 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}
.section-header p { margin-top: var(--space-4); font-size: 1.0625rem; }

/* ── Feature cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-100);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-5);
}
.feature-card h3 { font-size: 1.125rem; margin-bottom: var(--space-3); }
.feature-card p { font-size: 0.9375rem; line-height: 1.7; }

/* ── How it works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--clay-200), var(--clay-100));
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--clay-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--clay-600);
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
  transition: background var(--duration-base), border-color var(--duration-base);
}
.step:hover .step-num {
  background: var(--clay-500);
  border-color: var(--clay-500);
  color: #fff;
}
.step h4 { font-size: 1rem; margin-bottom: var(--space-2); }
.step p { font-size: 0.875rem; line-height: 1.6; }

/* ── Split section ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-content { max-width: 480px; }
.split-content h2 { margin-bottom: var(--space-5); }
.split-content p { margin-bottom: var(--space-6); }
.split-list { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-8); }
.split-list-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.split-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--forest-50);
  border: 1px solid var(--forest-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--forest-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.split-list-item span {
  font-size: 0.9375rem;
  color: var(--neutral-700);
  font-weight: 500;
  line-height: 1.5;
}
.split-visual {
  display: flex;
  justify-content: center;
}
.split-card-stack { position: relative; width: 360px; height: 320px; }
.stack-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-100);
  padding: var(--space-5);
  width: 300px;
}
.stack-card-1 { bottom: 0; left: 20px; transform: rotate(-3deg); }
.stack-card-2 { top: 0; right: 0; transform: rotate(2deg); }
.stack-card-3 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(0deg); z-index: 3; }

/* ── Stats ── */
.stats-section {
  background: var(--clay-700);
  padding: var(--space-16) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neutral-0);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--clay-200);
  font-weight: 500;
}

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--clay-700) 0%, var(--clay-800) 60%, var(--neutral-900) 100%);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,107,71,0.2) 0%, transparent 70%);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,122,77,0.15) 0%, transparent 70%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-inner p { color: var(--clay-200); font-size: 1.0625rem; margin-bottom: var(--space-8); }
.cta-actions { display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }
.cta-note {
  margin-top: var(--space-5);
  font-size: 0.8rem;
  color: var(--clay-300);
}

/* ── Footer ── */
.footer {
  background: var(--neutral-900);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-8);
}
.footer-brand .nav-logo { margin-bottom: var(--space-4); }
.footer-brand .nav-logo-mark { background: var(--clay-600); }
.footer-brand .nav-logo { color: var(--neutral-0); }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.footer-col h5 {
  color: var(--neutral-300);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-link {
  font-size: 0.9rem;
  color: var(--neutral-500);
  font-weight: 500;
  transition: color var(--duration-fast);
}
.footer-link:hover { color: var(--neutral-200); }
.footer-socials { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--neutral-400);
  transition: background var(--duration-fast), color var(--duration-fast);
}
.footer-social:hover {
  background: rgba(255,255,255,0.12);
  color: var(--neutral-200);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copy { font-size: 0.825rem; color: var(--neutral-600); }
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { font-size: 0.825rem; color: var(--neutral-600); transition: color var(--duration-fast); }
.footer-legal a:hover { color: var(--neutral-400); }
.footer-ke {
  font-size: 0.825rem;
  color: var(--neutral-600);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ── Inner pages ── */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--space-24));
  padding-bottom: var(--space-16);
  background: linear-gradient(180deg, var(--clay-50) 0%, var(--canvas) 100%);
  text-align: center;
}
.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero p { max-width: 520px; margin: 0 auto; font-size: 1.0625rem; }

.content-section {
  padding: var(--space-16) 0 var(--space-24);
}
.content-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--neutral-150);
}
.prose h3 { font-size: 1.15rem; margin-top: var(--space-6); margin-bottom: var(--space-3); }
.prose p { margin-bottom: var(--space-4); font-size: 0.9625rem; }
.prose ul { margin-bottom: var(--space-4); padding-left: var(--space-5); }
.prose ul li { margin-bottom: var(--space-2); font-size: 0.9625rem; color: var(--neutral-600); position: relative; list-style: none; padding-left: var(--space-4); }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--clay-300); }
.prose a { color: var(--clay-600); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 600; color: var(--neutral-800); }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-3);
  background: var(--white);
  transition: box-shadow var(--duration-base);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  transition: color var(--duration-fast);
}
.faq-q:hover { color: var(--clay-600); }
.faq-arrow {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out), background var(--duration-fast);
  font-size: 0.75rem;
  color: var(--neutral-500);
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: var(--clay-100);
  color: var(--clay-600);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-card {
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--clay-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}
.contact-card h4 { margin-bottom: var(--space-2); }
.contact-card p { font-size: 0.875rem; }
.contact-card a { color: var(--clay-600); font-weight: 500; }

/* Form */
.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
}
.form-input, .form-textarea, .form-select {
  padding: 13px 16px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--neutral-800);
  background: var(--white);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--clay-500);
  box-shadow: 0 0 0 3px rgba(200,107,71,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

/* Scroll-reveal base */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero entrance */
.hero-content > * { animation: fadeUp 0.8s var(--ease-out) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-visual { animation: scaleIn 1s var(--ease-out) 0.3s both; }

/* ── Badges / Chips ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.badge-clay   { background: var(--clay-50);   color: var(--clay-700);   border: 1px solid var(--clay-100); }
.badge-forest { background: var(--forest-50); color: var(--forest-700); border: 1px solid var(--forest-100); }
.badge-neutral { background: var(--neutral-100); color: var(--neutral-600); }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--neutral-150);
  margin: var(--space-8) 0;
}

/* ── App store badges ── */
.store-badges { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--neutral-900);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--duration-fast);
  cursor: pointer;
}
.store-badge:hover { background: var(--neutral-700); }
.store-badge-icon { font-size: 1.4rem; }
.store-badge-text { display: flex; flex-direction: column; }
.store-badge-sub { font-size: 0.65rem; opacity: 0.7; margin-bottom: 1px; }
.store-badge-name { font-size: 0.9rem; font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .split-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .trust-bar-inner { gap: var(--space-5); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-5); }
  .section { padding: var(--space-16) 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
