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

:root {
  --p: #7AB88A;
  --deep: #4A8A5E;
  --surf: #F2FAF5;
  --t1: #1A2E22;
  --t2: #5A8A6A;
  --card: #ffffff;
  --brd: #D4EBE0;
  --grid: #CAE4D2;
  --mg: #D4826A;
  --add: #7AADC8;
  --sub: #D4826A;
  --mul: #9E8EC4;
  --div: #C48E9E;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--surf);
  color: var(--t1);
  overflow-x: hidden;
}

.nb-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--surf);
  background-image:
    linear-gradient(var(--grid) .7px, transparent .7px),
    linear-gradient(90deg, var(--grid) .7px, transparent .7px);
  background-size: 28px 28px;
}

.nb-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 68px;
  width: 1.6px;
  height: 100%;
  background: var(--mg);
  opacity: .28;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 56px;
  height: 64px;
  background: rgba(45, 98, 68, .82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background .35s, border-color .35s;
}

nav.scrolled {
  background: rgba(242, 250, 245, .94);
  border-bottom: 1px solid rgba(202, 228, 210, .7);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-white { display: block; }
.logo-dark  { display: none; }
nav.scrolled .logo-white { display: none; }
nav.scrolled .logo-dark  { display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width .25s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
nav.scrolled .nav-links a { color: var(--t2); }
nav.scrolled .nav-links a::after { background: var(--p); }
nav.scrolled .nav-links a:hover { color: var(--p); }

.spacer { flex: 1; }

.btn-nav {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 22px;
  padding: 9px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .18s, background .18s, box-shadow .18s, color .35s, border-color .35s;
}

nav.scrolled .btn-nav {
  background: var(--p);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(74, 138, 94, .32);
}

.btn-nav:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

nav.scrolled .btn-nav:hover {
  background: var(--deep);
  box-shadow: 0 8px 22px rgba(74, 138, 94, .42);
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #2D6244 0%, #3D7A55 28%, #5A9B70 62%, #7BB88A 100%);
  overflow: hidden;
  padding-top: 64px;
}

.hero-circle1 {
  position: absolute;
  border-radius: 50%;
  width: 700px;
  height: 700px;
  background: rgba(255, 255, 255, .07);
  top: -250px;
  right: -160px;
  pointer-events: none;
}

.hero-circle2 {
  position: absolute;
  border-radius: 50%;
  width: 460px;
  height: 460px;
  background: rgba(255, 255, 255, .05);
  bottom: -140px;
  left: -180px;
  pointer-events: none;
}

.hero-circle3 {
  position: absolute;
  border-radius: 50%;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, .04);
  top: 40%;
  left: 42%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) .7px, transparent .7px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) .7px, transparent .7px);
  background-size: 28px 28px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 56px 100px;
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: calc(100svh - 64px);
  position: relative;
  z-index: 1;
}

.hero-left { flex: 1; min-width: 0; }
.hero-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-wave svg { display: block; width: 100%; height: auto; }

.hero-title {
  font-size: clamp(36px, 4.2vw, 68px);
  font-weight: 900;
  line-height: 1.07;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .75s .22s forwards;
}

.hero-title .line2 {
  display: inline-block;
  background: linear-gradient(100deg, #FFD23F, #FFF176);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .75s .34s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .7s .44s forwards;
}

.hstat { text-align: center; }
.hstat-v { font-size: 28px; font-weight: 900; color: #fff; line-height: 1; }
.hstat-l { font-size: 10px; color: rgba(255, 255, 255, .6); font-weight: 500; margin-top: 2px; }
.hstat-sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .2); }

/* store buttons */
.store-btns {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .75s .56s forwards;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, .45);
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 14px;
  padding: 10px 16px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
  position: relative;
  flex: 1;
  max-width: 200px;
}

.btn-store:hover:not(.disabled) {
  background: rgba(0, 0, 0, .65);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
}

.btn-store.disabled {
  opacity: .38;
  cursor: not-allowed;
  filter: grayscale(.4);
}

.store-logo { width: 26px; height: 26px; flex-shrink: 0; }
.store-top { font-size: 8.5px; color: rgba(255, 255, 255, .65); font-weight: 500; letter-spacing: .4px; line-height: 1; }
.store-name { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.2; margin-top: 1px; }

.coming-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  background: #FFD23F;
  color: #2D6244;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.hero-learn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .7s .72s forwards;
  transition: color .2s, gap .2s;
}

.hero-learn-link:hover { color: rgba(255, 255, 255, .9); gap: 10px; }

/* phone */
.hero-phone-wrap {
  position: relative;
  opacity: 0;
  transform: perspective(800px) rotateY(14deg) rotate(-5deg) translateX(60px) scale(.9);
  animation: phoneSlide 1.1s .4s cubic-bezier(.22, .68, 0, 1.15) forwards;
}

@keyframes phoneSlide {
  to {
    opacity: 1;
    transform: perspective(800px) rotateY(14deg) rotate(-5deg) translateX(0) scale(1);
  }
}

.phone-float { animation: phoneFloat 5s 1.6s ease-in-out infinite; }

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

.phone-shadow {
  width: 260px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .32) 0%, transparent 72%);
  margin: 0 auto 0 28px;
  transform: perspective(800px) rotateY(14deg) rotate(-5deg) scaleX(.82);
  animation: shadowPulse 5s 1.6s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% { opacity: .7; }
  50% { opacity: .38; }
}

.device {
  width: 255px;
  background: linear-gradient(170deg, #323234 0%, #222224 35%, #161618 70%, #101012 100%);
  border-radius: 48px;
  padding: 10px 8px;
  position: relative;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .14),
    inset 2px 0 1px rgba(255, 255, 255, .05),
    inset -2px 0 1px rgba(0, 0, 0, .25),
    inset 0 -2px 1px rgba(0, 0, 0, .4),
    0 0 0 1px rgba(255, 255, 255, .1),
    0 0 0 2px #080809,
    0 0 0 3px rgba(255, 255, 255, .05),
    0 48px 120px rgba(0, 0, 0, .75),
    0 18px 48px rgba(0, 0, 0, .5),
    0 0 100px rgba(45, 98, 68, .22);
}

.device::before {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 124px;
  width: 3.5px;
  height: 58px;
  background: linear-gradient(90deg, #1a1a1c 0%, #3a3a3c 20%, rgba(255, 255, 255, .18) 45%, #2e2e30 70%, #1a1a1c 100%);
  border-radius: 0 3px 3px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 3px rgba(0, 0, 0, .5);
}

.device::after {
  content: '';
  position: absolute;
  left: -3.5px;
  top: 96px;
  width: 3.5px;
  height: 40px;
  background: linear-gradient(270deg, #1a1a1c 0%, #3a3a3c 20%, rgba(255, 255, 255, .16) 45%, #2e2e30 70%, #1a1a1c 100%);
  border-radius: 3px 0 0 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 54px 0 0 #3a3a3c, 0 54px 0 -1px #222224, 0 54px 3px -3px rgba(0, 0, 0, .4);
}

.device-speaker {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  z-index: 10;
}

.device-speaker span {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6);
}

.device-usbc {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8);
  z-index: 10;
}

.device-screen {
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.device-hole {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle, #020203 40%, #0f0f12 100%);
  z-index: 50;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08), 0 2px 8px rgba(0, 0, 0, .9), inset 0 0 4px rgba(255, 255, 255, .14);
}

.device-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(128deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 38%, transparent 52%);
  pointer-events: none;
  z-index: 100;
  border-radius: 40px;
}

/* app screen */
.app-sbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px 18px 6px;
  position: relative;
  z-index: 1;
}

.app-sbar-t { font-size: 11px; font-weight: 700; color: var(--t2); }
.app-sbar-r span { font-size: 9px; color: var(--t2); }

.app-stats {
  margin: 4px 12px 8px;
  border-radius: 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--deep), var(--p));
  box-shadow: 0 6px 18px rgba(74, 138, 94, .35);
  position: relative;
  z-index: 1;
}

.app-stats-row { display: flex; justify-content: space-around; margin-bottom: 8px; }
.app-sv { font-size: 20px; font-weight: 900; color: #fff; text-align: center; }
.app-sl { font-size: 6.5px; color: rgba(255, 255, 255, .72); text-align: center; margin-top: 1px; }
.app-sdv { width: 1px; background: rgba(255, 255, 255, .2); }
.app-prow { display: flex; justify-content: space-between; margin-bottom: 3px; }
.app-prow span { font-size: 7px; color: rgba(255, 255, 255, .8); }
.app-bar { height: 4px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.app-fill { height: 100%; background: #FFD23F; border-radius: 2px; width: 89%; }
.app-sec { padding: 6px 14px 4px; font-size: 8px; font-weight: 700; color: var(--t1); position: relative; z-index: 1; }

.app-ops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.app-op { border-radius: 10px; padding: 7px 8px; display: flex; align-items: center; gap: 5px; border: 1.5px solid; }
.app-opic { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; flex-shrink: 0; }
.app-opname { font-size: 7.5px; font-weight: 700; }

.app-diffs { display: flex; gap: 5px; padding: 7px 12px 0; position: relative; z-index: 1; }
.app-diff { flex: 1; border-radius: 9px; padding: 5px 3px; text-align: center; border: 1.5px solid; }
.app-dname { font-size: 7px; font-weight: 700; }
.app-dmark { font-size: 9px; margin-bottom: 1px; }

.app-start {
  margin: 8px 12px 0;
  border-radius: 12px;
  padding: 9px;
  text-align: center;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--deep), var(--p));
  position: relative;
  z-index: 1;
}

.app-nav {
  display: flex;
  background: #fff;
  border-top: 1px solid var(--brd);
  padding: 5px 0 10px;
  margin-top: auto;
  flex-shrink: 0;
}

.app-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.app-tabi { font-size: 13px; }
.app-tabl { font-size: 5px; font-weight: 700; }

.screens-wrap { position: relative; height: 516px; overflow: hidden; }

/* ── Skeleton App UI ───────────────────────────────────────────────── */
@keyframes sk-shimmer {
  0%   { background-position: -200px 0; }
  100% { background-position:  200px 0; }
}

.sk-app {
  width: 100%;
  height: 100%;
  background: var(--surf);
  display: flex;
  flex-direction: column;
  padding: 8px 10px 0;
  gap: 0;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* shimmer base */
.sk-line, .sk-circle {
  background: linear-gradient(90deg, #d8e8dd 25%, #eaf4ef 50%, #d8e8dd 75%);
  background-size: 400px 100%;
  animation: sk-shimmer 1.6s infinite linear;
  border-radius: 4px;
}

.sk-line         { height: 7px; width: 80px; }
.sk-line--xs     { height: 5px; }
.sk-line--short  { width: 48px; }
.sk-line--white  { background: linear-gradient(90deg,rgba(255,255,255,.3) 25%,rgba(255,255,255,.55) 50%,rgba(255,255,255,.3) 75%); background-size: 400px 100%; animation: sk-shimmer 1.6s infinite linear; }

.sk-circle       { border-radius: 50%; }
.sk-circle--xs   { width: 8px;  height: 8px; }
.sk-circle--sm   { width: 14px; height: 14px; }

/* status bar */
.sk-sbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 2px 5px;
}
.sk-sbar-icons { display: flex; gap: 4px; align-items: center; }

/* header */
.sk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.sk-logo { display: flex; align-items: center; gap: 5px; }
.sk-header-icons { display: flex; gap: 6px; }

/* stats card */
.sk-card--green {
  background: #3a7a55;
  border-radius: 14px;
  padding: 10px 12px 8px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.sk-stats-row {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}
.sk-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.sk-num  { font-size: 18px; font-weight: 800; color: #fff; line-height: 1; text-align: center; width: 100%; }
.sk-sdiv { width: 1px; height: 28px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.sk-rating-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.sk-bar-track {
  height: 5px;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
  margin-bottom: 5px;
  overflow: hidden;
}
.sk-bar-fill {
  width: 85%;
  height: 100%;
  background: #F5C842;
  border-radius: 3px;
}
.sk-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 5px;
}
.sk-star { font-size: 8px; color: rgba(255,255,255,.25); }
.sk-star--lit { color: #F5C842; }
.sk-prog-row { display: flex; justify-content: space-between; }

/* section label */
.sk-section-lbl { padding: 6px 0 4px; }

/* ops grid */
.sk-ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 6px;
}
.sk-op-card {
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sk-op-card--active { background: var(--add); border-color: var(--add); }
.sk-op-sym {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(122,173,200,.15);
  color: var(--add);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.sk-op-sym--active { background: rgba(255,255,255,.22); color: #fff; }
.sk-op-lines { display: flex; flex-direction: column; }

/* difficulty */
.sk-diff-row {
  display: flex;
  gap: 5px;
  margin-bottom: 7px;
}
.sk-diff-card {
  flex: 1;
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: 10px;
  padding: 7px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sk-diff-card--active { background: var(--p); border-color: var(--p); }
.sk-diff-svg {
  width: 16px; height: 16px;
  color: var(--t2);
  flex-shrink: 0;
}
.sk-diff-svg--active { color: #fff; }

/* start btn */
.sk-start-btn {
  background: var(--add);
  border-radius: 10px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.sk-start-icon {
  width: 14px; height: 14px;
  color: rgba(255,255,255,.8);
  flex-shrink: 0;
}

/* bottom nav */
.sk-nav {
  margin-top: auto;
  border-top: 1px solid var(--brd);
  display: flex;
  padding: 6px 0 4px;
}
.sk-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.sk-nav-item--active .sk-line { background: var(--p); animation: none; }
.sk-nav-icon {
  width: 14px; height: 14px;
  color: #aac4b4;
  flex-shrink: 0;
}
.sk-nav-icon--active { color: var(--p); }

.app-screen,
.app-screen2 {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background-color: var(--surf);
  background-image:
    linear-gradient(var(--grid) .6px, transparent .6px),
    linear-gradient(90deg, var(--grid) .6px, transparent .6px);
  background-size: 22px 22px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-screen::before,
.app-screen2::before {
  content: '';
  position: absolute;
  top: 0; left: 42px;
  width: 1px; height: 100%;
  background: var(--mg);
  opacity: .4;
  pointer-events: none;
}

.app-screen2 { opacity: 0; transition: opacity .6s ease; pointer-events: none; }

/* floating cards */
.hf {
  position: absolute;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 9px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .14);
  border: 1.5px solid rgba(255, 255, 255, .32);
  opacity: 0;
  white-space: nowrap;
}

.hf-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; flex-shrink: 0;
  background: rgba(255, 255, 255, .25);
}

.hf-txt { font-size: 11.5px; font-weight: 700; color: #fff; }
.hf-eq { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, .7); margin-top: 1px; }

.hf1 { top: 14%; left: -18%; animation: hfIn .7s 1s forwards, driftA 6s 1.7s ease-in-out infinite; }
.hf2 { bottom: 30%; left: -14%; animation: hfIn .7s 1.15s forwards, driftC 7s 1.85s ease-in-out infinite; }
.hf1, .hf2 { transform: translateX(-24px); }

@keyframes hfIn { to { opacity: 1; transform: translateX(0); } }
@keyframes driftA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes driftC { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ══ SECTIONS ══ */
section { position: relative; z-index: 1; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 90px 48px; }

.section-tag {
  display: inline-block;
  background: rgba(122, 184, 138, .12);
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.lead { font-size: 16px; color: var(--t2); line-height: 1.7; max-width: 520px; margin-bottom: 52px; }

/* ══ FEATURE CARDS ══ */
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }

.f-card {
  background: rgba(255, 255, 255, .72);
  border-radius: 24px;
  padding: 28px 24px;
  border: 1.5px solid var(--brd);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 18px rgba(122, 184, 138, .06);
  transition: transform .32s cubic-bezier(.22, .68, 0, 1.2), box-shadow .32s ease, border-color .32s ease, background .32s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.f-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-15deg);
  transition: left .55s ease;
  pointer-events: none;
}

.f-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 56px rgba(122, 184, 138, .18), 0 0 0 1.5px var(--p);
  border-color: var(--p);
  background: rgba(255, 255, 255, .92);
}

.f-card:hover::before { left: 140%; }

.f-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
  transition: transform .32s cubic-bezier(.22, .68, 0, 1.4);
}

.f-card:hover .f-icon { transform: scale(1.18) rotate(-6deg); }
.f-title { font-size: 15px; font-weight: 800; margin-bottom: 7px; transition: color .2s; }
.f-card:hover .f-title { color: var(--deep); }
.f-desc { font-size: 13px; color: var(--t2); line-height: 1.68; }

/* ══ OPERATION CARDS ══ */
.ops-section {
  background: rgba(255, 255, 255, .45);
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
}

.o-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.o-card {
  border-radius: 22px; padding: 28px 22px; border: 2px solid;
  transition: transform .3s cubic-bezier(.22, .68, 0, 1.2), box-shadow .3s ease;
  backdrop-filter: blur(8px);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}

.o-card::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background .3s ease;
  pointer-events: none; border-radius: 20px;
}

.o-card:hover { transform: translateY(-8px) scale(1.02); }
.o-card:hover::after { background: rgba(255, 255, 255, .08); }

.o-sym {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: transform .35s cubic-bezier(.22, .68, 0, 1.5), box-shadow .3s ease;
}

.o-card:hover .o-sym { transform: scale(1.2) rotate(8deg); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.o-name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.o-desc { font-size: 13px; line-height: 1.6; }

.o-example {
  display: inline-block; margin-top: auto; padding: 5px 14px;
  border-radius: 10px; font-size: 13px; font-weight: 700;
  transition: transform .2s ease, letter-spacing .2s ease;
  align-self: flex-start;
}

.o-card:hover .o-example { transform: translateX(4px); letter-spacing: .3px; }

/* ══ STEPS ══ */
.steps-wrap { position: relative; }

.steps-line {
  position: absolute;
  top: 31px; left: calc(16.6%); right: calc(16.6%);
  height: 2px;
  background: linear-gradient(90deg, var(--p), var(--add));
  border-radius: 2px;
}

.steps-row { display: flex; gap: 0; flex-wrap: wrap; position: relative; z-index: 1; }
.step { flex: 1; min-width: 160px; text-align: center; padding: 0 16px; }

.step-n {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(140deg, var(--deep), var(--p));
  color: #fff; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(122, 184, 138, .4);
  transition: transform .3s cubic-bezier(.22, .68, 0, 1.4), box-shadow .3s ease;
}

.step:hover .step-n { transform: scale(1.15) rotate(-5deg); box-shadow: 0 14px 32px rgba(122, 184, 138, .55); }
.step-t { font-size: 14px; font-weight: 800; margin-bottom: 7px; transition: color .2s; }
.step:hover .step-t { color: var(--deep); }
.step-d { font-size: 13px; color: var(--t2); line-height: 1.6; }

/* ══ CTA ══ */
.cta-sec {
  background: linear-gradient(140deg, var(--deep) 0%, var(--p) 60%, #A8D8C0 100%);
  position: relative; overflow: hidden;
}

.cta-sec::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) .8px, transparent .8px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) .8px, transparent .8px);
  background-size: 28px 28px;
}

.cta-sec::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  top: -160px; right: -100px; pointer-events: none;
}

.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; padding: 110px 48px; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; }
.cta-inner p { color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.7; margin-bottom: 42px; }
/* CTA platforms layout */
.cta-platforms {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-platform .btn-store { margin: 0; }

/* QR card */
.cta-qr-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
}
.cta-qr-img {
  width: 108px;
  height: 108px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  display: block;
}
.cta-qr-hint {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin: 0 !important;
  text-align: center;
}

/* Disabled / demo QR (iOS) */
.cta-qr-card--disabled { opacity: .55; }
.cta-qr-demo-wrap { position: relative; }
.cta-qr-demo-overlay {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-qr-demo-badge {
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.btn-big {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--deep); border-radius: 22px; padding: 20px 42px;
  font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 800;
  text-decoration: none; box-shadow: 0 10px 34px rgba(0, 0, 0, .2);
  transition: transform .25s cubic-bezier(.22, .68, 0, 1.3), box-shadow .25s ease, gap .25s ease;
}

.btn-big:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 20px 48px rgba(0, 0, 0, .28); gap: 14px; }
.btn-big svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-note { margin-top: 20px; font-size: 12px; color: rgba(255, 255, 255, .52); }

/* ══ FOOTER ══ */
footer {
  border-top: 1px solid var(--brd);
  padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  position: relative; z-index: 1;
  background: rgba(242, 250, 245, .6);
}

.f-brand { display: flex; align-items: center; gap: 9px; }
.f-brand-name { font-size: 15px; font-weight: 800; color: var(--p); }
.f-copy { font-size: 12px; color: var(--t2); }
.f-links { display: flex; gap: 22px; }

.f-links a {
  font-size: 12px; color: var(--t2); text-decoration: none;
  position: relative; transition: color .2s;
}

.f-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--p); border-radius: 1px;
  transition: width .2s ease;
}

.f-links a:hover { color: var(--p); }
.f-links a:hover::after { width: 100%; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ RESPONSIVE ══ */
@media(max-width: 920px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero-inner {
    flex-direction: column-reverse; align-items: center; text-align: center;
    padding: 56px 24px 100px; gap: 36px;
  }

  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .hero-right .device { width: 250px; }

  .hero-phone-wrap {
    transform: perspective(600px) rotateY(0deg) rotate(-2deg) translateY(30px) scale(.9);
    animation: phoneSlideM 1s .4s cubic-bezier(.22, .68, 0, 1.15) forwards;
  }

  @keyframes phoneSlideM {
    to { opacity: 1; transform: perspective(600px) rotateY(0deg) rotate(-2deg) translateY(0) scale(1); }
  }

  .phone-float { animation: phoneFloat 5s 1.5s ease-in-out infinite; }
  .phone-shadow { margin: 0 auto; transform: perspective(600px) rotateY(0deg) rotate(-2deg) scaleX(.85); }
  .hf1, .hf2 { display: none; }
  .wrap { padding: 64px 22px; }
  .steps-line { display: none; }
  .steps-row { flex-direction: column; gap: 36px; }
  footer { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .cta-inner { padding: 76px 24px; }
}

@media(max-width: 480px) {
  .device { width: 230px; }
}

/* ── Language switcher ── */
.btn-lang {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .18s;
  margin-right: 8px;
}
.btn-lang:hover {
  background: rgba(255,255,255,.26);
  transform: translateY(-1px);
}
nav.scrolled .btn-lang {
  background: rgba(74,138,94,.12);
  color: var(--deep);
  border-color: var(--brd);
}
nav.scrolled .btn-lang:hover {
  background: rgba(74,138,94,.2);
}
