/* ───────────── TOKENS ───────────── */
:root {
  --primary: #00C853;
  --primary-light: #69F0AE;
  --primary-dark: #009624;
  --bg: #0D1117;
  --card: #161B22;
  --surface: #21262D;
  --border: #30363D;
  --text: #F0F6FC;
  --text-2: #8B949E;
  --text-3: #6E7681;
  --live: #FF6D00;
  --radius: 18px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ───────────── BACKGROUND ORBS ───────────── */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.orb-1 { width: 520px; height: 520px; background: var(--primary); top: -160px; right: -120px; animation: float 18s var(--ease) infinite; }
.orb-2 { width: 420px; height: 420px; background: var(--primary-dark); bottom: -140px; left: -100px; animation: float 22s var(--ease) infinite reverse; }
.orb-3 { width: 360px; height: 360px; background: #1f6feb; top: 40%; left: 50%; opacity: .18; animation: float 26s var(--ease) infinite; }

@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.1); }
}

/* ───────────── LAYOUT ───────────── */
section { position: relative; z-index: 1; }
.section { max-width: var(--maxw); margin: 0 auto; padding: 110px 24px; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary-light);
  background: rgba(0,200,83,.1); border: 1px solid rgba(0,200,83,.25);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.section-head p { color: var(--text-2); margin-top: 16px; font-size: 1.08rem; }

.grad-text {
  background: linear-gradient(120deg, var(--primary-light), var(--primary) 60%, var(--primary-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ───────────── BUTTONS ───────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: .98rem; padding: 14px 24px; border-radius: 12px;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-primary { background: var(--primary); color: #04130a; box-shadow: 0 10px 30px -8px rgba(0,200,83,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(0,200,83,.75); }
.btn-ghost { color: var(--text); border-color: var(--border); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); transform: translateY(-2px); }

/* ───────────── NAV ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  transition: padding .3s var(--ease);
}
.nav.scrolled {
  padding: 10px 24px; background: rgba(13,17,23,.72);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.brand strong { color: var(--primary-light); font-weight: 800; }
.brand-mark { filter: drop-shadow(0 4px 10px rgba(0,200,83,.4)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 0; }

/* nav actions: lang switch + cta + hamburger */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: .86rem; font-weight: 600; padding: 8px 13px; border-radius: 100px;
  transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--primary); }
.lang-btn .chev { transition: transform .25s var(--ease); opacity: .7; }
.lang-switch.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px;
  list-style: none; background: rgba(22,27,34,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 14px; padding: 7px; z-index: 60;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  cursor: pointer; color: var(--text-2); font-weight: 600; font-size: .92rem; transition: background .18s, color .18s;
}
.lang-menu li:hover { background: var(--surface); color: var(--text); }
.lang-menu li.active { color: var(--primary-light); background: rgba(0,200,83,.1); }
.lang-menu li .flag { font-size: 1.15rem; line-height: 1; }
.lang-menu li .check { margin-left: auto; color: var(--primary); opacity: 0; }
.lang-menu li.active .check { opacity: 1; }

/* hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 9px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu panel */
.mobile-menu {
  position: fixed; top: 64px; left: 12px; right: 12px; z-index: 55;
  background: rgba(13,17,23,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 18px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.8);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu > a { color: var(--text); font-weight: 600; font-size: 1rem; padding: 13px 12px; border-radius: 10px; transition: background .18s; }
.mobile-menu > a:hover { background: var(--surface); }
.mobile-menu > a.btn { justify-content: center; margin-top: 6px; }
.mobile-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.mobile-langs button {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
  font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 100px; transition: all .18s;
}
.mobile-langs button.active { color: var(--primary-light); border-color: var(--primary); background: rgba(0,200,83,.1); }
.mobile-langs button .flag { font-size: 1.05rem; }

/* scroll progress bar */
.icon-sprite { position: absolute; width: 0; height: 0; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--primary-light), var(--primary)); box-shadow: 0 0 10px rgba(0,200,83,.6); transition: width .1s linear; }

/* city marquee */
.marquee { max-width: var(--maxw); margin: 10px auto 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee-track span { color: var(--text-3); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; text-transform: uppercase; }
.marquee-track .dot { color: var(--primary); font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ───────────── HERO ───────────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 70px 24px 90px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.hero-copy { max-width: 560px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 24px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(0,200,83,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,200,83,.6);} 70%{ box-shadow: 0 0 0 9px rgba(0,200,83,0);} 100%{ box-shadow:0 0 0 0 rgba(0,200,83,0);} }

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; }
.lead { color: var(--text-2); font-size: 1.14rem; margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg);
  margin-left: -12px; background:
    linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2){ background: linear-gradient(135deg,#1f6feb,#0d419d);}
.avatars span:nth-child(3){ background: linear-gradient(135deg,#ffb300,#ff6d00);}
.avatars span:nth-child(4){ background: linear-gradient(135deg,#ff5252,#9d0d3a);}
.trust p { color: var(--text-2); font-size: .92rem; }
.trust strong { color: var(--text); }

/* ───────────── PHONE MOCKUP ─────────────
   A static 1:1 reproduction of the app's Explore screen. Every value below is
   the literal dp from mobile/lib/core/theme/app_theme.dart and session_card.dart,
   so the mockup and the shipped UI cannot drift apart. Intentionally unanimated. */
.hero-phone { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.phone {
  position: relative; width: 375px; height: 748px; border-radius: 46px;
  background: linear-gradient(160deg, #1c2230, #0d1117);
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 0 0 6px #05080d;
  padding: 12px; z-index: 2;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 148px; height: 28px; background: #05080d; border-radius: 0 0 18px 18px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; background: #0D1117; overflow: hidden;
  display: flex; flex-direction: column;
  font-family: Inter, system-ui, sans-serif;
  text-align: start;
}
.phone-glow {
  position: absolute; inset: 12% 0 20%;
  background: radial-gradient(circle, rgba(0,200,83,.34), transparent 70%);
  filter: blur(60px); z-index: 1;
}

/* status bar */
.ph-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 26px 6px; height: 44px;
}
.ph-clock { font-size: 14px; font-weight: 600; color: #F0F6FC; letter-spacing: .01em; }
.ph-sys { display: inline-flex; align-items: center; gap: 5px; }

/* app bar — AppBar(title: 'Nearby Games') */
.ph-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 16px 10px;
}
.ph-appbar-title { font-size: 20px; font-weight: 600; color: #F0F6FC; letter-spacing: -.01em; }
.ph-bell { position: relative; display: inline-flex; }
.ph-bell-dot {
  position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; border-radius: 50%;
  background: #FF5252; border: 1.5px solid #0D1117;
}

/* SegmentedButton<ExploreView> */
.ph-seg {
  display: grid; grid-template-columns: repeat(3,1fr);
  margin: 0 16px 12px; border: 1px solid #30363D; border-radius: 20px; overflow: hidden;
}
.ph-seg-item {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 4px; font-size: 13px; font-weight: 500; color: #8B949E;
  border-right: 1px solid #30363D;
}
.ph-seg-item:last-child { border-right: 0; }
.ph-seg-item.is-on { background: rgba(0,200,83,.15); color: #00C853; font-weight: 600; }

/* quick filter chips (height 48, horizontal padding 16) */
.ph-chips {
  display: flex; gap: 8px; padding: 0 16px; height: 48px; align-items: center;
  overflow: hidden;
}
.ph-chip {
  flex: none; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
  background: #21262D; border: 1px solid #30363D; color: #8B949E; white-space: nowrap;
}
.ph-chip.is-on { background: rgba(0,200,83,.15); border-color: rgba(0,200,83,.45); color: #00C853; font-weight: 600; }

/* count + sort row — EdgeInsets.fromLTRB(16,16,16,8) */
.ph-sortbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 8px;
}
.ph-count { font-size: 14px; color: #8B949E; }
.ph-count strong { color: #8B949E; font-weight: 600; }
.ph-sort { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: #00C853; }

/* session list — SliverPadding(16, 0, 16, 96), 12dp gap */
.ph-list { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 0 16px; overflow: hidden; }

/* SessionCard: #161B22, 1px #30363D, radius 16, padding 16 */
.ph-card { background: #161B22; border: 1px solid #30363D; border-radius: 16px; padding: 16px; }
.ph-card-top { display: flex; align-items: center; justify-content: space-between; }
.ph-fmt {
  font-size: 12px; font-weight: 600; color: #00C853;
  background: rgba(0,200,83,.15); border-radius: 6px; padding: 4px 8px;
}
.ph-when { font-size: 12px; color: #00C853; }
.ph-name {
  margin-top: 12px; font-size: 16px; font-weight: 500; color: #F0F6FC;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ph-loc {
  margin-top: 4px; display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: #6E7681;
}
.ph-loc svg { flex: none; color: #6E7681; }
.ph-card-foot { margin-top: 12px; display: flex; align-items: center; gap: 4px; }
.ph-ppl { flex: none; color: #8B949E; }
.ph-ratio { font-size: 12px; color: #F0F6FC; }
.ph-spots {
  font-size: 10px; font-weight: 600; color: #00C853;
  background: rgba(0,200,83,.15); border-radius: 4px; padding: 2px 6px;
}
.ph-cost { margin-left: auto; font-size: 14px; font-weight: 600; color: #00C853; }
.ph-host { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6E7681; }
.ph-av {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #F0F6FC; background: #21262D;
}
.ph-av-1 { background: #1f6feb; }
.ph-av-2 { background: #8957e5; }
.ph-av-3 { background: #d29922; }

/* BottomNavigationBar — 4 destinations */
.ph-nav {
  margin-top: 12px; display: grid; grid-template-columns: repeat(4,1fr);
  padding: 8px 0 20px; border-top: 1px solid #30363D; background: #161B22;
}
.ph-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: #8B949E;
}
.ph-nav-item.is-on { color: #00C853; }

/* ───────────── STATS ───────────── */
.stats {
  max-width: var(--maxw); margin: 0 auto; padding: 30px 24px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.stat {
  text-align: center; background: rgba(22,27,34,.6); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 16px; backdrop-filter: blur(6px);
}
.stat .num { font-size: clamp(1.8rem,3.4vw,2.6rem); font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(120deg,var(--primary-light),var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat p { color: var(--text-2); font-size: .9rem; margin-top: 4px; }

/* ───────────── FEATURES ───────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card {
  background: linear-gradient(180deg, rgba(33,38,45,.5), rgba(22,27,34,.5));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at top right, rgba(0,200,83,.08), transparent 60%); opacity: 0; transition: opacity .35s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(0,200,83,.5); box-shadow: 0 24px 50px -22px rgba(0,200,83,.4); }
.feature-card:hover::before { opacity: 1; }
.fi { width: 54px; height: 54px; display: grid; place-items: center;
  background: rgba(0,200,83,.1); border: 1px solid rgba(0,200,83,.25); border-radius: 14px; margin-bottom: 18px;
  transition: transform .35s var(--ease), background .35s, border-color .35s; }
.fi svg { width: 27px; height: 27px; display: block; }
.feature-card:hover .fi { transform: translateY(-2px) scale(1.06); background: rgba(0,200,83,.16); border-color: rgba(0,200,83,.5); }
.feature-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: .96rem; }

/* ───────────── HOW IT WORKS ───────────── */
.how .steps { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; }
.step { flex: 1; min-width: 240px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step-no { font-size: 2.4rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--primary); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .96rem; }
.step-line { width: 60px; align-self: center; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); margin: 0 -2px; }

/* ───────────── SPLIT / DISCOVER ───────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 10px 0; }
.ticks { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-2); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #04130a; background: var(--primary); border-radius: 50%; }

.map-card { position: relative; aspect-ratio: 1/1; border-radius: 24px; background: radial-gradient(circle at 30% 20%, #16241c, #0d1117 70%); border: 1px solid var(--border); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 44px 44px; opacity: .25; }
.map-pin { position: absolute; font-size: 1.3rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); animation: drop .6s var(--ease) both; }
.map-pin.p1 { top: 26%; left: 30%; animation-delay: .1s; }
.map-pin.p2 { top: 54%; left: 62%; animation-delay: .25s; }
.map-pin.p3 { top: 70%; left: 28%; animation-delay: .4s; }
@keyframes drop { from { transform: translateY(-20px) scale(.5); opacity: 0; } }
.map-you { position: absolute; top: 46%; left: 46%; transform: translate(-50%,-50%); font-size: .72rem; font-weight: 700; color: #04130a; background: var(--primary); padding: 6px 12px; border-radius: 100px; box-shadow: 0 0 0 8px rgba(0,200,83,.18), 0 0 0 16px rgba(0,200,83,.08); }
.map-chip { position: absolute; bottom: 18px; left: 18px; background: rgba(13,17,23,.82); backdrop-filter: blur(8px); border: 1px solid var(--border); padding: 9px 14px; border-radius: 12px; font-size: .85rem; font-weight: 600; }

/* ───────────── FIELD MANAGEMENT PLATFORM ───────────── */
.owner-platform { background: #f5f8f4; color: #102016; overflow: hidden; }
.owner-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 72px; align-items: center; }
.owner-copy { max-width: 520px; }
.owner-platform .eyebrow { color: #087f3e; background: rgba(0,128,61,.08); border-color: rgba(0,128,61,.2); }
.owner-copy h2 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 900; }
.owner-platform .lead { color: #52645a; }
.owner-ticks { margin-top: 26px; }
.owner-ticks li { color: #3e5145; }
.owner-ticks li::before { color: #f5f8f4; background: #087f3e; }
.owner-platform .btn-primary { background: #087f3e; color: #f5fff8; box-shadow: 0 12px 30px -10px rgba(8,127,62,.45); }
.ops-console { position: relative; padding: 28px; border: 1px solid #d5e1d6; border-radius: 24px; background: #ffffff; box-shadow: 0 32px 70px -38px rgba(24,57,35,.45); transform: rotate(1.5deg); }
.ops-console::before { content: ''; position: absolute; width: 180px; height: 180px; top: -80px; right: -70px; background: #b9edc8; opacity: .5; filter: blur(50px); pointer-events: none; }
.ops-topline { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ops-topline > div { display: grid; gap: 4px; }
.ops-kicker { color: #087f3e; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.ops-topline strong { font-size: 1.15rem; color: #102016; }
.ops-topline small { color: #7b8a80; font-size: .78rem; }
.ops-status { display: inline-flex; align-items: center; gap: 7px; color: #087f3e; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.ops-status i { width: 7px; height: 7px; border-radius: 50%; background: #17b85b; box-shadow: 0 0 0 4px rgba(23,184,91,.12); }
.ops-metrics { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; margin-top: 25px; }
.ops-metric { min-width: 0; padding: 14px; border: 1px solid #e1e9e1; border-radius: 14px; background: #f8fbf8; }
.ops-metric span, .ops-metric small { display: block; color: #718176; font-size: .7rem; }
.ops-metric strong { display: block; margin: 7px 0 2px; color: #102016; font-size: 1.18rem; letter-spacing: -.03em; }
.ops-metric-primary { background: #eaf8ed; border-color: #c9e8cf; }
.ops-metric-primary strong { color: #087f3e; }
.ops-board { position: relative; margin-top: 14px; padding: 16px; border-radius: 16px; background: #112219; color: #f0f7f1; }
.ops-board-head { display: flex; justify-content: space-between; color: #8fa899; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.ops-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.ops-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.ops-row span { display: inline-flex; align-items: center; gap: 8px; }
.ops-row b { font-size: .76rem; }
.ops-row em { min-width: 54px; color: #8fe2a6; font-size: .68rem; font-style: normal; text-align: right; }
.ops-row:nth-child(3) em { color: #f5d27f; }
.ops-row:nth-child(4) em { color: #ffb16a; }
.ops-dot { width: 7px; height: 7px; border-radius: 50%; background: #46d873; }
.ops-dot.yellow { background: #f5c94b; }
.ops-dot.orange { background: #ff873e; }
.ops-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: #718176; font-size: .73rem; }
.ops-bottomline strong { color: #d56a2e; font-size: .74rem; }

/* ───────────── LANGUAGES ───────────── */
#languages { max-width: none; background: #ffffff; color: #102016; }
#languages .section-head p { color: #64756a; }
.lang-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lang-chip { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #26392c; background: #f5f8f4; border: 1px solid #d5e1d6; padding: 12px 22px; border-radius: 100px; transition: transform .25s var(--ease), border-color .25s; }
.lang-chip span { font-size: 1.3rem; }
.lang-chip:hover { transform: translateY(-3px); border-color: #087f3e; }

/* ───────────── TESTIMONIALS ───────────── */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), border-color .3s; }
.quote:hover { transform: translateY(-4px); border-color: rgba(0,200,83,.4); }
.quote .stars { color: #FFC83D; font-size: .95rem; letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 1rem; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-2); font-size: .9rem; font-weight: 600; }
.q-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #04130a; background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); }

/* ───────────── FIELD OWNER DEMO ───────────── */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demo-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .3s var(--ease), border-color .3s;
}
.demo-card:hover { transform: translateY(-4px); border-color: rgba(0,200,83,.4); }
.demo-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(0,200,83,.12); color: var(--primary-light); margin-bottom: 16px;
}
.demo-card h3 { font-size: 1.05rem; font-weight: 700; }
.demo-card p { margin-top: 8px; font-size: .92rem; color: var(--text-2); }
.demo-phone {
  display: inline-block; margin-top: 16px; padding: 7px 12px; border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem;
  letter-spacing: .04em; color: var(--primary-light);
  background: rgba(0,200,83,.1); border: 1px solid rgba(0,200,83,.25);
  user-select: all; /* one click selects the whole number */
}

.demo-foot { margin-top: 40px; text-align: center; }
.demo-code {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 12px 22px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: .95rem;
}
.demo-code strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.15rem; letter-spacing: .18em; color: var(--primary-light); user-select: all;
}
.demo-actions { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.demo-note { max-width: 620px; margin: 24px auto 0; font-size: .86rem; color: var(--text-3); line-height: 1.7; }

/* ───────────── CTA ───────────── */
.cta { max-width: var(--maxw); margin: 40px auto 0; padding: 0 24px 110px; }
.cta-inner { position: relative; text-align: center; padding: 70px 24px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,200,83,.16), rgba(31,111,235,.1)); border: 1px solid rgba(0,200,83,.3); }
.cta-inner::after { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,200,83,.35), transparent 70%); top: -200px; left: 50%; transform: translateX(-50%); filter: blur(40px); z-index: 0; }
.cta-inner h2 { position: relative; z-index: 1; font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.cta-inner p { position: relative; z-index: 1; color: var(--text-2); margin: 16px 0 32px; font-size: 1.1rem; }
.store-btns { position: relative; z-index: 1; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store { display: flex; align-items: center; gap: 12px; background: #04130a; color: var(--text); border: 1px solid var(--border); padding: 12px 22px; border-radius: 14px; transition: transform .25s var(--ease), border-color .25s; }
.store:hover { transform: translateY(-3px); border-color: var(--primary); }
.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: .68rem; color: var(--text-2); }
.store strong { font-size: 1.05rem; }

/* ───────────── FOOTER ───────────── */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 60px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-2); font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: .88rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text-2); transition: all .25s; }
.socials a:hover { border-color: var(--primary); color: var(--primary-light); transform: translateY(-2px); }

/* ───────────── REVEAL ANIMATION ───────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ───────────── RESPONSIVE ───────────── */
/* large laptops */
@media (max-width: 1024px) {
  .hero { gap: 36px; padding: 56px 24px 70px; }
  /* Scale the device rather than resizing it, so the screen stays 1:1 with the app. */
  .phone { transform: scale(.78); transform-origin: top center; margin-bottom: -170px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .owner-inner { grid-template-columns: 1fr; gap: 42px; }
  .owner-copy { max-width: 680px; }
  .ops-console { max-width: 680px; width: 100%; margin: 0 auto; }
}

/* tablets — show hamburger, hide inline nav links */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .lang-switch { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-copy { margin: 0 auto; }
  .hero-cta, .trust { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
}

/* small tablets / large phones */
@media (max-width: 640px) {
  .section { padding: 70px 18px; }
  .feature-grid, .quotes { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .ops-console { padding: 20px; transform: none; }
  .ops-metrics { grid-template-columns: 1fr; }
  .ops-metric-primary { grid-column: auto; }
  .ops-bottomline { align-items: flex-start; flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 24px 18px; }
  .hero { padding: 28px 18px 56px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .store-btns { flex-direction: column; align-items: stretch; }
  .store { justify-content: center; }
  .cta-inner { padding: 50px 20px; }
  .mobile-menu { left: 8px; right: 8px; }
}

/* small phones */
@media (max-width: 400px) {
  .phone { transform: scale(.62); transform-origin: top center; margin-bottom: -293px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav { padding: 12px 16px; }
  .lang-chip { padding: 10px 16px; font-size: .9rem; }
  .marquee-track span { font-size: .92rem; }
}

/* ───────────── RTL (Arabic) ───────────── */
[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-menu { right: auto; left: 0; transform-origin: top left; }
[dir="rtl"] .lang-menu li .check { margin-left: 0; margin-right: auto; }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 32px; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; }
[dir="rtl"] .map-chip { left: auto; right: 18px; }
[dir="rtl"] .store span { text-align: right; }
[dir="rtl"] .hero-cta .btn svg { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
