/* =========================================================
   Telangana LandGrid — homepage (index.html only).
   Other pages (privacy/terms/sla/village-map) keep css/style.css.
   Palette mirrors the app (land_grid_palette.dart): forest / gold / canvas.
   ========================================================= */

:root {
  --forest: #2e7d32;
  --forest-dark: #1b5e20;
  --forest-deep: #1b4d2e;
  --forest-deeper: #0f331e;
  --forest-soft: #e3efe1;
  --gold: #c9a24b;
  --gold-600: #a9852f;
  --gold-light: #e2c17a;
  --gold-soft: #f5ecd6;

  --bg: #f1f5f0;
  --bg-alt: #e9f3e7;
  --surface: #ffffff;
  --text: #16201a;
  --muted: #5b665e;
  --divider: #dfe7dd;

  --shadow-sm: 0 1px 2px rgba(15, 51, 30, 0.06), 0 1px 3px rgba(15, 51, 30, 0.05);
  --shadow-md: 0 12px 32px -14px rgba(15, 51, 30, 0.3);
  --shadow-lg: 0 40px 80px -30px rgba(15, 51, 30, 0.5);

  --radius: 20px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }

/* Land-grid motif: survey-plot lines, fading out at the edges */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 125, 50, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 50, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
}

/* ---------- Store badges ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 186px; padding: 11px 22px 11px 18px; border-radius: 14px;
  background: #0b0b0b; color: #fff; border: 1px solid #0b0b0b;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn div { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 11px; opacity: 0.8; letter-spacing: 0.02em; white-space: nowrap; }
.store-btn strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.store-btn.light { background: #fff; color: #0b0b0b; border-color: #fff; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(241, 245, 240, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--divider);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); position: relative; transition: color 0.2s; display: inline-block; padding: 12px 0; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links .nav-cta {
  padding: 12px 22px; border-radius: 999px; background: var(--forest-deeper); color: #fff;
  font-weight: 600; box-shadow: var(--shadow-md); transition: transform 0.3s var(--ease), background-color 0.3s;
}
.nav-links .nav-cta:hover { color: #fff; background: var(--forest-deep); transform: translateY(-2px); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--divider);
  background: var(--surface); flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.22), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -380px; pointer-events: none;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.16), transparent 65%);
}
.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-container > * { min-width: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--divider); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--forest-deep);
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px var(--forest-soft); }
.hero-badge-free { background: var(--gold-soft); border-color: transparent; color: #5c4610; }
.hero-badge-free::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.25); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 5.2vw, 66px); letter-spacing: -0.025em; line-height: 1.05;
}
.hero h1 .highlight {
  font-style: italic;
  background: linear-gradient(100deg, var(--forest), #43a047 40%, var(--gold) 70%, var(--forest));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.hero-description { margin: 22px 0 32px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-disclaimer { margin-top: 18px; font-size: 13px; color: var(--muted); font-style: italic; }
.hero-media-partners { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.hero-media-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-media-logo { height: 34px; width: auto; opacity: 0.75; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; }
.hero-media-partners a:hover .hero-media-logo { opacity: 1; filter: none; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-illustration { width: 100%; max-width: 560px; filter: drop-shadow(0 40px 50px rgba(15, 51, 30, 0.25)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--divider); box-shadow: var(--shadow-md);
  font-size: 13px; line-height: 1.35;
}
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--forest-soft); color: var(--forest); flex-shrink: 0; }
.fc-icon.gold { background: var(--gold-soft); color: var(--gold-600); }
.fc-icon svg { width: 20px; height: 20px; }
.fc-survey { left: 0; top: 16%; animation: bob 6s ease-in-out infinite; }
.fc-area { right: 0; bottom: 14%; animation: bob 7s ease-in-out 1s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 1; margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; position: relative; }
.trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--divider); }
.trust-item .fc-icon { width: 44px; height: 44px; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { padding: 24px 0; border-block: 1px solid var(--divider); background: var(--bg-alt); overflow: hidden; margin-top: 70px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; color: var(--muted); white-space: nowrap; }
.marquee-item svg { width: 18px; height: 18px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600);
}
.section-tag::before, .section-tag::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.left .section-tag::after, .section-tag.left::after { display: none; }
.section-header h2, .showcase-copy h2, .band h2, .cta h2 {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.1;
}
.section-header p { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.features-grid > .feature-card { grid-column: span 3; }
.features-grid > .feature-card:nth-child(2) { grid-column: span 2; }
.features-grid > * { min-width: 0; }
.feature-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius);
  padding: 30px; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 75, 0.6); }
.feature-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 162, 75, 0.12), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--forest-soft); color: var(--forest); margin-bottom: 22px; transition: transform 0.45s var(--ease);
}
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.06); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature-card p { color: var(--muted); font-size: 15px; }
.feature-card p a { color: var(--forest); font-weight: 600; border-bottom: 1px solid rgba(201, 162, 75, 0.7); }
.feature-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--gold-soft); color: #6b5212;
}
.feature-badge-free { background: var(--forest-soft); color: var(--forest-dark); }
/* Premium card: wide, with a screenshot peeking in */
.feature-card.is-premium {
  grid-column: span 4 !important; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; padding-bottom: 0;
  background: linear-gradient(160deg, var(--gold-soft), var(--surface) 70%);
}
.feature-card.is-premium .feature-icon { background: var(--gold-soft); color: var(--gold-600); }
.feature-card.is-premium .card-copy { padding-bottom: 30px; }
.feature-card.is-premium .feature-badge { background: var(--forest-deeper); color: #fff; right: auto; left: 98px; top: 45px; }
.mini-phone {
  align-self: end; justify-self: center; width: 210px; height: 250px; padding: 7px 7px 0; border-radius: 32px 32px 0 0;
  background: linear-gradient(145deg, #5b6168, #25292d 22%, #43484e 48%, #16191b 72%, #3b4046);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 30px 50px -24px rgba(0,0,0,0.5);
  transition: transform 0.5s var(--ease);
}
.mini-phone picture { display: block; height: 100%; border-radius: 26px 26px 0 0; overflow: hidden; }
.mini-phone img { width: 100%; object-fit: cover; object-position: top; }
.feature-card.is-premium:hover .mini-phone { transform: translateY(-8px); }

/* ---------- Phone mockup (CSS) ----------
   Metallic frame + thin black bezel + side buttons + glass glare. */
.phone {
  --w: 280px;
  width: var(--w); aspect-ratio: 9 / 19.6;
  padding: calc(var(--w) * 0.028);
  border-radius: calc(var(--w) * 0.155);
  background:
    linear-gradient(145deg, #5b6168 0%, #25292d 22%, #43484e 48%, #16191b 72%, #3b4046 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 calc(var(--w) * 0.012) #0b0c0d,
    0 1px 0 rgba(255, 255, 255, 0.4),
    0 50px 70px -34px rgba(0, 0, 0, 0.55),
    0 30px 60px -30px rgba(15, 51, 30, 0.45);
  position: relative; flex-shrink: 0;
}
/* power button (right) */
.phone::before {
  content: ""; position: absolute; right: calc(var(--w) * -0.012); top: 26%;
  width: calc(var(--w) * 0.014); height: 11%; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #2a2e32, #5b6168);
}
/* volume rocker (left, two keys) */
.phone::after {
  content: ""; position: absolute; left: calc(var(--w) * -0.012); top: 20%;
  width: calc(var(--w) * 0.014); height: 7%; border-radius: 3px 0 0 3px;
  background: linear-gradient(270deg, #2a2e32, #5b6168);
  box-shadow: 0 calc(var(--w) * 0.19) 0 #3a3f44;
}
.phone .screen {
  width: 100%; height: 100%; position: relative; overflow: hidden; background: #000;
  border-radius: calc(var(--w) * 0.13);
  box-shadow: 0 0 0 calc(var(--w) * 0.008) #000;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* glass glare */
.phone .screen::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 26%, transparent 42%);
}
/* camera punch-hole */
.phone .screen::after {
  content: ""; position: absolute; z-index: 5; left: 50%; top: calc(var(--w) * 0.03);
  width: calc(var(--w) * 0.042); height: calc(var(--w) * 0.042); transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3440, #050505 60%);
  box-shadow: 0 0 0 calc(var(--w) * 0.006) #0a0a0a;
}

/* ---------- Showcase (reels) ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.showcase > * { min-width: 0; }
.showcase-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.showcase-visual .blob {
  position: absolute; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 162, 75, 0.35), rgba(46, 125, 50, 0.18) 60%, transparent 70%);
  filter: blur(10px);
}
.showcase-visual .ring {
  position: absolute; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(201, 162, 75, 0.55); animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.showcase-visual .phone { z-index: 1; }
.showcase-copy .reels-lead { color: var(--muted); font-size: 17px; margin: 18px 0 26px; }
.checklist { display: grid; gap: 14px; margin-bottom: 30px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { flex-shrink: 0; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--forest-soft); color: var(--forest); margin-top: 1px; }
.checklist span { font-size: 16px; }

/* ---------- Reels phone: feed UI + motion (driven by js/home.js) ---------- */
.showcase-visual .phone.phone-reels { --w: 300px; }
.reels-hud { position: absolute; z-index: 6; inset: 0 0 auto 0; padding: calc(var(--w) * 0.025) 16px 0; color: #fff; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,0.45), transparent); padding-bottom: 26px; }
.reels-status { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; padding: 0 8px; }
.reels-status-icons { display: inline-flex; gap: 5px; align-items: center; }
.reels-status-icons svg { height: 10px; width: auto; fill: currentColor; }
.reels-progress { display: flex; gap: 4px; margin-top: 12px; }
.reels-progress i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,0.35); overflow: hidden; position: relative; }
.reels-progress i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.reels-progress i.is-done::after { transform: scaleX(1); }
.reels-progress i.is-on::after { animation: reel-fill var(--reel-ms, 5200ms) linear forwards; }
@keyframes reel-fill { to { transform: scaleX(1); } }
.reels-tabs { display: flex; justify-content: center; gap: 18px; margin-top: 10px; font-size: 14px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.reels-tabs span { opacity: 0.6; padding-bottom: 5px; position: relative; }
.reels-tabs .is-on { opacity: 1; }
.reels-tabs .is-on::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 0; height: 2px; border-radius: 2px; background: #fff; }

.reels-stage { position: absolute; inset: 0; }
.reel-card {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px 14px 20px; overflow: hidden;
  transform: translateY(100%); transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
}
.reel-card.is-active { transform: translateY(0); }
.reel-card.is-prev { transform: translateY(-100%); }
.reel-card.no-anim { transition: none; }
.reel-card .reel-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.14); }
.reel-card.is-active .reel-card-img { animation: kenburns 6.5s ease-out forwards; }
.reel-card:nth-child(2).is-active .reel-card-img { animation-name: kenburns-b; }
@keyframes kenburns { from { transform: scale(1.16) translate(2%, 2%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kenburns-b { from { transform: scale(1.02) translate(0, 3%); } to { transform: scale(1.14) translate(-1%, -2%); } }
.reel-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.78)); z-index: 1; }
.reel-card-info, .reel-card-actions { position: relative; z-index: 2; }
.reel-card-info { display: flex; flex-direction: column; gap: 7px; max-width: calc(100% - 50px); min-width: 0; color: #fff; }
.reel-user { display: flex; align-items: center; gap: 7px; min-width: 0; }
.reel-avatar { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--gold), var(--forest)); box-shadow: 0 0 0 2px #fff; }
.reel-uploader { font-size: 12.5px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.reel-follow { flex-shrink: 0; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.7); }
.reel-caption { font-size: 12px; line-height: 1.35; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.reel-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.reel-chip {
  width: fit-content; background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 20px; white-space: nowrap;
}
.reel-card-actions { position: absolute; right: 10px; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reel-action { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; }
.reel-action svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); transition: transform 0.3s var(--ease), color 0.2s; }
.reel-action b { font-size: 10px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.reel-like.is-liked svg { color: #ff3b5c; animation: like-pop 0.45s var(--ease); }
@keyframes like-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Double-tap heart */
.reel-burst { position: absolute; z-index: 7; left: 50%; top: 44%; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; opacity: 0; transform: scale(0.3); }
.reel-burst svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 8px 20px rgba(255, 59, 92, 0.6)); }
.reel-burst.is-pop { animation: burst 1s var(--ease) forwards; }
@keyframes burst { 0% { opacity: 0; transform: scale(0.3) rotate(-12deg); } 25% { opacity: 1; transform: scale(1.12) rotate(6deg); } 45% { transform: scale(0.95) rotate(0); } 75% { opacity: 1; transform: scale(1) translateY(-6px); } 100% { opacity: 0; transform: scale(1.3) translateY(-40px); } }

/* Floating cards around the reels phone */
.reels-visual .float-card { z-index: 3; }
.rc-listing { left: 0; top: 12%; animation: bob 6s ease-in-out infinite; }
.rc-listing img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.rc-comment { right: -6px; top: 30%; animation: bob 7s ease-in-out 0.8s infinite; }
.rc-comment strong { transition: opacity 0.35s; white-space: nowrap; }
.rc-comment strong.is-swap { opacity: 0; }
.rc-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; color: #fff; background: linear-gradient(135deg, #43a047, var(--forest-deep)); }
.rc-chat { left: 0; top: 52%; animation: bob 6.5s ease-in-out 1.6s infinite; }

/* ---------- Village map band ---------- */
.band {
  position: relative; overflow: hidden; border-radius: 32px;
  background: radial-gradient(circle at 85% 10%, rgba(201, 162, 75, 0.28), transparent 42%), linear-gradient(140deg, var(--forest-deep), var(--forest-deeper) 70%);
  color: #e8efe6; padding: 72px 64px;
}
.band .grid-bg {
  background-image: linear-gradient(rgba(226, 193, 122, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 193, 122, 0.08) 1px, transparent 1px);
  -webkit-mask-image: none; mask-image: none;
}
.village-map-content { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.village-map-content > * { min-width: 0; }
.band .section-tag { color: var(--gold-light); }
.band h2 { color: #fff; }
.village-map-lead { margin: 18px 0 26px; font-size: 17px; color: rgba(232, 239, 230, 0.8); }
.village-map-lead strong { color: var(--gold-light); font-weight: 600; }
.village-map-list { display: grid; gap: 12px; }
.village-map-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.village-map-list svg { flex-shrink: 0; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(226, 193, 122, 0.18); color: var(--gold-light); margin-top: 1px; }
.village-map-col-cta {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px;
  padding: 30px; text-align: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.map-preview { width: 150px; margin: -80px auto 22px; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6); transform: rotate(-4deg); border: 6px solid #fff; background: #fff; transition: transform 0.5s var(--ease); }
.village-map-col-cta:hover .map-preview { transform: rotate(0) scale(1.04); }
.village-map-buy-online {
  display: flex; justify-content: center; align-items: center; gap: 8px; padding: 16px 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2b2105; font-weight: 700; font-size: 16px;
  box-shadow: 0 16px 36px -14px rgba(201, 162, 75, 0.8); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.village-map-buy-online:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(201, 162, 75, 0.9); }
.village-map-or { margin: 18px 0 14px; font-size: 13px; color: rgba(232, 239, 230, 0.65); text-transform: uppercase; letter-spacing: 0.12em; }
.village-map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.village-map-actions .store-btn { min-width: 0; flex: 1 1 150px; justify-content: center; padding: 10px 14px; }
.village-map-actions .store-btn strong { font-size: 16px; }
.village-map-note { margin-top: 18px; font-size: 13px; color: rgba(232, 239, 230, 0.65); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 12px; }
.step-card { text-align: center; padding: 0 12px; }
.step-number {
  width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--divider); box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--forest);
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.step-card:hover .step-number { transform: scale(1.08); background: var(--forest-deeper); color: #fff; }
.step-card h3 { font-size: 20px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 15px; max-width: 320px; margin: 0 auto; }
.step-connector { width: 90px; height: 1px; margin-top: 34px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: 0.7; }

/* ---------- Video ---------- */
.video-wrapper {
  position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: 24px; overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg); outline: 10px solid var(--surface); outline-offset: 0;
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Screenshots gallery ---------- */
.screenshots-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; max-width: 900px; margin: -20px auto 20px; }
.screenshots-highlights li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--divider); font-size: 14px; font-weight: 500; }
.screenshots-highlights svg { width: 16px; height: 16px; color: var(--forest); }
.gallery {
  display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 30px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 50px;
  scrollbar-width: none; cursor: grab;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery .shot {
  margin: 0; scroll-snap-align: center; flex-shrink: 0; position: relative; overflow: hidden;
  width: 300px; height: 610px; border-radius: 30px; padding: 30px 26px 0;
  display: flex; flex-direction: column; align-items: center; isolation: isolate;
  box-shadow: 0 30px 60px -36px rgba(15, 51, 30, 0.55);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery .shot::before { /* survey-grid texture */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%);
}
.gallery .shot:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -34px rgba(15, 51, 30, 0.6); }
.shot figcaption { align-self: stretch; margin-bottom: 26px; }
.shot-num { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.shot figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -0.015em; }
.shot figcaption small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; }
.shot .phone { --w: 236px; margin-top: auto; margin-bottom: -86px; transition: transform 0.6s var(--ease); }
.shot:hover .phone { transform: translateY(-16px); }

.shot--dark { color: #fff; background: radial-gradient(circle at 85% 0%, rgba(201, 162, 75, 0.4), transparent 48%), linear-gradient(165deg, var(--forest-deep), var(--forest-deeper)); }
.shot--dark .shot-num { background: rgba(226, 193, 122, 0.18); color: var(--gold-light); }
.shot--dark small { color: rgba(232, 239, 230, 0.75); }
.shot--light { color: var(--text); background: radial-gradient(circle at 85% 0%, rgba(46, 125, 50, 0.14), transparent 50%), linear-gradient(165deg, #ffffff, var(--forest-soft)); border: 1px solid var(--divider); }
.shot--light::before, .shot--gold::before { background-image: linear-gradient(rgba(46,125,50,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(46,125,50,0.08) 1px, transparent 1px); }
.shot--light .shot-num { background: var(--forest-soft); color: var(--forest-dark); }
.shot--light small { color: var(--muted); }
.shot--gold { color: #2b2105; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.6), transparent 50%), linear-gradient(165deg, var(--gold-soft), #e8d39d); }
.shot--gold .shot-num { background: rgba(255, 255, 255, 0.6); color: #6b5212; }
.shot--gold small { color: #5c4a1c; }
.gallery-controls { display: flex; justify-content: center; gap: 12px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--divider); background: var(--surface); color: var(--text); transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: 100px 24px; border-radius: 32px; background: var(--surface); border: 1px solid var(--divider); }
.cta::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(201, 162, 75, 0.18), transparent 30%, rgba(46, 125, 50, 0.14), transparent 60%); animation: spin 30s linear infinite; }
.cta > * { position: relative; }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 24px; box-shadow: var(--shadow-md); }
.cta p { margin: 16px auto 0; max-width: 620px; font-size: 18px; color: var(--muted); }
.cta .store-badges { justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--divider); margin-top: 110px; background: var(--surface); }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-logo { height: 50px; width: auto; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 340px; font-size: 15px; }
.footer-brand .footer-disclaimer { font-size: 13px; font-style: italic; }
.footer-links-group h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer-links-group ul { display: grid; gap: 2px; }
.footer-links-group ul a { display: inline-block; padding: 7px 0; }
.footer-links-group ul a { opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.footer-links-group ul a:hover { color: var(--forest); opacity: 1; }
.footer-subhead { margin-top: 26px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--divider); color: var(--forest-deep); transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.footer-social a:hover { background: var(--forest-deeper); color: #fff; transform: translateY(-2px); }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--divider); font-size: 14px; color: var(--muted); text-align: center; }
.footer-bottom a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--gold); }
.footer-bottom a:hover { color: var(--forest); }

.to-top {
  position: fixed; right: calc(22px + env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--forest-deeper); color: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; background: linear-gradient(90deg, var(--forest), var(--gold)); transform-origin: left; transform: scaleX(0); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-intro] { opacity: 0; transform: translateY(24px); animation: intro 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes intro { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-badges, .hero .store-badges, .hero-media-partners { justify-content: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid > .feature-card, .features-grid > .feature-card:nth-child(2) { grid-column: span 1; }
  .features-grid > .feature-card.is-premium, .features-grid > .feature-card:last-child { grid-column: span 2 !important; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3)::before { display: none; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--divider); }
  .village-map-content { grid-template-columns: 1fr; gap: 70px; }
  .showcase { gap: 40px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: calc(76px + env(safe-area-inset-top)) 16px auto 16px; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--surface); border: 1px solid var(--divider); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-12px) scale(0.98); pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav-links.active { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px 16px; border-radius: 12px; color: var(--text); }
  .nav-links a:not(.nav-cta):hover { background: var(--bg); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: 6px; text-align: center; }
  .nav-toggle { display: flex; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase-visual { min-height: 540px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .section { padding: 80px 0; }
  .hero { padding: 116px 0 50px; }
  .hero-description { font-size: 17px; }
  .fc-survey { left: -4px; top: 6%; }
  .fc-area { right: -4px; bottom: 6%; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid > .feature-card.is-premium, .features-grid > .feature-card:last-child { grid-column: span 1 !important; }
  .feature-card.is-premium { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust-item::before { display: none; }
  .trust-item + .trust-item { border-top: 1px solid var(--divider); }
  .band { padding: 52px 20px; border-radius: 24px; }
  .village-map-col-cta { padding: 26px 18px; }
  .village-map-buy-online { font-size: 15px; padding: 14px 16px; white-space: nowrap; }
  .showcase-visual { min-height: 480px; }
  .showcase-visual .phone { --w: 230px; }
  .showcase-visual .phone.phone-reels { --w: 270px; }
  .reels-visual .float-card { display: none; }
  .gallery .shot { width: 264px; height: 548px; padding: 26px 22px 0; border-radius: 26px; }
  .shot figcaption strong { font-size: 23px; }
  .shot .phone { --w: 212px; margin-bottom: -80px; }
  .video-wrapper { outline-width: 6px; border-radius: 16px; }
  .cta { padding: 72px 20px; border-radius: 24px; }
  .store-btn { min-width: 0; flex: 1 1 150px; justify-content: center; padding: 11px 14px; }
  .store-btn strong { font-size: 16px; }
  .store-btn small { font-size: 10px; white-space: nowrap; }
  .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .float-card { padding: 9px 12px; font-size: 12px; }
  .float-card strong { font-size: 13px; }
  .fc-icon { width: 32px; height: 32px; }
  .showcase-visual .phone { --w: 200px; }
  .showcase-visual .phone.phone-reels { --w: 250px; }
  .gallery .shot { width: 248px; height: 520px; }
  .shot .phone { --w: 200px; }
  .feature-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-intro] { opacity: 1; transform: none; }
}
