/* ============================================================
   Korean Power — المشترك الكوري · Marketing design system
   Brand tokens match the Android app (Tokens.kt)
   ============================================================ */
:root {
  --p50: #F0FDF6; --p100: #DCFCE9; --p200: #BBF7D6; --p300: #7DEBCD;
  --p400: #34D399; --p500: #10B981; --p600: #248B5F; --p700: #1A6B48;
  --p800: #155439; --p900: #103E29; --p950: #0A2818;
  --bg: #F0F4F8; --surface: #FFFFFF; --soft: #F8FAFC;
  --ink: #0F0A25; --muted: #6B7280; --faint: #94A3B8;
  --border: #E5E7EB; --danger: #DC2626; --warn: #D97706;
  --d950: #050807; --d900: #07110D; --d800: #0A1812;
  --grad: linear-gradient(135deg, #248B5F 0%, #7DEBCD 100%);
  --grad-dark: linear-gradient(150deg, #0A1812 0%, #103E29 55%, #1A6B48 100%);
  --shadow-s: 0 1px 2px rgba(15,10,37,.05), 0 1px 3px rgba(15,10,37,.06);
  --shadow-m: 0 4px 6px -2px rgba(15,10,37,.05), 0 12px 28px -8px rgba(16,62,41,.14);
  --shadow-l: 0 24px 60px -16px rgba(10,40,24,.28);
  --r-s: 12px; --r-m: 16px; --r-l: 22px; --r-xl: 30px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22,.68,.32,1);
}
[dir="rtl"] { --font: 'Cairo','Tajawal',system-ui,sans-serif; }
[dir="ltr"] { --font: 'Inter','Cairo',system-ui,sans-serif; }
[lang="ko"] { --font: 'Noto Sans KR','Inter',system-ui,sans-serif; word-break: keep-all; }
[lang="ko"] .fcard { white-space: nowrap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg); color: var(--ink);
  font-size: 17px; line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
[dir="rtl"] .num, [dir="rtl"] time { font-family: 'Inter','Cairo',sans-serif; letter-spacing: .01em; }
[dir="ltr"] .num, [dir="ltr"] time { font-family: 'Inter',sans-serif; }
.en-only { display: none; } [dir="ltr"] .en-only { display: initial; }
:focus-visible { outline: 3px solid var(--p400); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--p200); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
  color: var(--p700); background: var(--p100);
  border: 1px solid var(--p200); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 18px;
}
[dir="ltr"] .eyebrow { letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--p500); box-shadow: 0 0 0 3px var(--p200); }
h1, h2, h3 { line-height: 1.28; font-weight: 800; letter-spacing: -.01em; }
.h1 { font-size: clamp(34px, 6.4vw, 62px); }
.h2 { font-size: clamp(27px, 4.4vw, 42px); }
.h3 { font-size: clamp(19px, 2.6vw, 24px); }
.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); margin-top: 18px; }
.sub { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15.5px; border-radius: 999px;
  padding: 13px 26px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-p {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px -6px rgba(36,139,95,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(36,139,95,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-g { background: var(--surface); color: var(--ink); border: 1.5px solid var(--border); box-shadow: var(--shadow-s); }
.btn-g:hover { border-color: var(--p400); color: var(--p700); transform: translateY(-2px); }
.btn-d { background: rgba(255,255,255,.09); color: #fff; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-d:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.link-arrow { color: var(--p700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(calc(4px * var(--dir-mult, 1))); }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 100; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(15,10,37,.07), 0 8px 30px -12px rgba(10,40,24,.18); }
.nav-in { display: flex; align-items: center; gap: 26px; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; }
.nav-logo img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #374151; transition: .2s; }
.nav-links a:hover { background: var(--p50); color: var(--p700); }
.nav-links a.active { color: var(--p700); background: var(--p100); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang-sw { display: flex; background: var(--soft); border: 1px solid var(--border); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 700; }
.lang-sw a { padding: 5px 12px; border-radius: 999px; color: var(--muted); }
.lang-sw a.on { background: #fff; color: var(--p700); box-shadow: var(--shadow-s); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; align-items: center; justify-content: center; }
.nav-burger svg { width: 22px; height: 22px; }
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10,20,15,.45); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(320px, 86vw);
  background: #fff; padding: 24px; box-shadow: var(--shadow-l);
  transform: translateX(calc(-100% * var(--dir-mult, 1))); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
[dir="ltr"] .drawer-panel { transform: translateX(100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { padding: 13px 14px; border-radius: 12px; font-weight: 600; font-size: 16px; }
.drawer-panel a:hover, .drawer-panel a.active { background: var(--p50); color: var(--p700); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(120px, 15vw, 170px) 0 clamp(70px, 8vw, 110px); overflow: hidden; background:
  radial-gradient(1100px 500px at 85% -10%, var(--p100), transparent 60%),
  radial-gradient(800px 420px at 8% 20%, #e7f6ef, transparent 55%), var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy h1 { margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-note svg { width: 16px; height: 16px; color: var(--p600); }

/* product composition */
.stage { position: relative; min-height: 520px; }
.strip-wrap { position: absolute; bottom: 8%; inset-inline-start: -4%; width: min(330px, 62%); filter: drop-shadow(0 30px 40px rgba(10,40,24,.3)); z-index: 2; }
.phone-wrap { position: absolute; top: 0; inset-inline-end: 0; width: min(280px, 55%); filter: drop-shadow(0 40px 60px rgba(10,40,24,.35)); z-index: 3; animation: floaty 7s ease-in-out infinite; }
.conn-svg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fcard {
  position: absolute; z-index: 4; background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 16px; padding: 10px 16px;
  box-shadow: var(--shadow-m); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px; animation: floaty 6s ease-in-out infinite;
}
.fcard .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p500); box-shadow: 0 0 0 4px var(--p200); animation: pulse 2.2s infinite; }

/* sitemap page */
.sm-group { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-m); }
.sm-group.cur { border-color: var(--p200); }
.sm-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.sm-link { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: #FAFBFC; transition: .2s; }
.sm-link:hover { border-color: var(--p300); background: var(--p50); }
.sm-t { font-weight: 800; font-size: 14px; color: var(--ink); }
.sm-u { font-family: 'Inter', sans-serif; font-size: 11.5px; color: var(--muted); direction: ltr; text-align: end; }
.fcard small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px var(--p200); } 50% { box-shadow: 0 0 0 7px rgba(187,247,214,.4); } }

/* CSS smart strip */
.strip {
  background: linear-gradient(160deg, #fdfdfd, #eef1f4); border-radius: 34px;
  border: 1px solid #dde3e8; box-shadow: inset 0 2px 0 #fff, inset 0 -6px 14px rgba(15,10,37,.06);
  padding: 22px 20px; position: relative;
}
.strip::after { content: ''; position: absolute; top: 14px; inset-inline-start: 18px; width: 40px; height: 8px; border-radius: 4px; background: var(--p500); box-shadow: 0 0 12px var(--p400); }
.strip-brand { font-size: 10px; letter-spacing: .18em; color: var(--faint); font-weight: 800; text-align: end; margin-bottom: 10px; }
.strip-outlets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.skt {
  aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1.5px solid #dfe4e9;
  box-shadow: inset 0 3px 8px rgba(15,10,37,.1), 0 1px 0 #fff;
  display: grid; place-items: center; position: relative; cursor: pointer; transition: .25s;
}
.skt::before { content: ''; width: 34%; height: 34%; border-radius: 50%; border: 2px solid #d3dae0;
  background: radial-gradient(circle at 50% 32%, #cfd6dc 2.5px, transparent 3px), radial-gradient(circle at 32% 68%, #cfd6dc 2.5px, transparent 3px), radial-gradient(circle at 68% 68%, #cfd6dc 2.5px, transparent 3px); }
.skt.on { border-color: var(--p400); box-shadow: inset 0 3px 8px rgba(15,10,37,.08), 0 0 0 4px var(--p100), 0 0 18px rgba(52,211,153,.45); }
.skt.on::before { border-color: var(--p500);
  background: radial-gradient(circle at 50% 32%, var(--p500) 2.5px, transparent 3px), radial-gradient(circle at 32% 68%, var(--p500) 2.5px, transparent 3px), radial-gradient(circle at 68% 68%, var(--p500) 2.5px, transparent 3px); }
.skt .led { position: absolute; bottom: 14%; width: 5px; height: 5px; border-radius: 50%; background: #dfe4e9; transition: .25s; }
.skt.on .led { background: var(--p500); box-shadow: 0 0 8px var(--p400); }
.strip-cord { position: absolute; bottom: 10%; inset-inline-end: -16%; width: 40%; height: 10px; border-radius: 8px; background: linear-gradient(90deg, #e3e8ec, #cfd6dc); z-index: -1; }

/* CSS phone with real-app-like UI */
.phone { background: #0c1015; border-radius: 40px; padding: 10px; border: 1px solid #262d36; box-shadow: inset 0 0 0 1.5px #000; }
.phone-scr { background: var(--bg); border-radius: 32px; overflow: hidden; aspect-ratio: 9/19.4; display: flex; flex-direction: column; position: relative; }
.phone-scr::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 10px; background: #0c1015; z-index: 5; }
.pscr-head { padding: 34px 16px 10px; display: flex; align-items: center; justify-content: space-between; }
.pscr-head .ttl { font-size: 13px; font-weight: 800; }
.pscr-head .bell { width: 26px; height: 26px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-s); display: grid; place-items: center; color: var(--p600); }
.pscr-head .bell svg { width: 13px; height: 13px; }
.pcard { background: #fff; border-radius: 16px; margin: 6px 12px; padding: 12px; box-shadow: var(--shadow-s); border: 1px solid rgba(229,231,235,.8); }
.pcard .prow { display: flex; align-items: center; gap: 9px; }
.pcard .pname { font-size: 12px; font-weight: 800; flex: 1; }
.pcard .pstatus { font-size: 9.5px; font-weight: 700; color: var(--p700); background: var(--p100); padding: 3px 9px; border-radius: 999px; }
.pcard .pwatts { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pcard .pwatts b { color: var(--ink); font-family: 'Inter',sans-serif; }
.poutlets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.pout {
  border-radius: 12px; background: var(--soft); border: 1.5px solid var(--border);
  padding: 8px 4px; text-align: center; font-size: 9px; font-weight: 700; color: var(--muted);
  transition: .25s; position: relative;
}
.pout .pico { width: 24px; height: 24px; margin: 0 auto 4px; border-radius: 8px; background: #eef1f4; display: grid; place-items: center; color: var(--faint); transition: .25s; }
.pout .pico svg { width: 12px; height: 12px; }
.pout.on { border-color: var(--p300); background: var(--p50); color: var(--p700); }
.pout.on .pico { background: var(--p100); color: var(--p600); }
.pout.on::after { content: ''; position: absolute; top: 5px; inset-inline-end: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--p500); }
.pnav { margin: auto 12px 12px; background: #fff; border-radius: 999px; padding: 7px; display: flex; justify-content: space-around; box-shadow: var(--shadow-m); border: 1px solid rgba(229,231,235,.8); }
.pnav span { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; color: var(--faint); font-size: 12px; }
.pnav span.on { background: var(--p600); color: #fff; }
.pnav svg { width: 14px; height: 14px; }

/* sync highlight between strip + phone */
.skt.lit, .pout.lit { outline: 3px solid var(--p400); outline-offset: 3px; }
.demo-hint { position: absolute; bottom: -8px; inset-inline: 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- platform bar ---------- */
.plat-bar { background: #fff; border-block: 1px solid var(--border); padding-block: 34px; }
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plat {
  border: 1.5px solid var(--border); border-radius: var(--r-l); padding: 22px;
  display: flex; flex-direction: column; gap: 12px; background: var(--soft);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.plat:hover { transform: translateY(-4px); border-color: var(--p300); box-shadow: var(--shadow-m); }
.plat .pi { width: 46px; height: 46px; border-radius: 14px; background: var(--p100); color: var(--p700); display: grid; place-items: center; }
.plat .pi svg { width: 22px; height: 22px; }
.plat b { font-size: 17px; }
.plat small { color: var(--muted); font-size: 13px; }
.plat .go { margin-top: auto; }
.plat .soon { display: inline-block; font-size: 12px; font-weight: 800; color: var(--warn); background: #fef3c7; padding: 4px 12px; border-radius: 999px; }

/* ---------- value strip ---------- */
.values { padding-block: clamp(48px, 6vw, 70px); }
.values-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.val { display: flex; align-items: center; gap: 13px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-m); }
.val .vi { width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--p50); color: var(--p600); display: grid; place-items: center; }
.val .vi svg { width: 20px; height: 20px; }
.val b { font-size: 15px; display: block; }
.val small { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: block; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: #374151; }
.checks li svg { width: 21px; height: 21px; flex: none; color: var(--p500); margin-top: 3px; }
.outlet-list { display: grid; gap: 10px; }
.orow {
  display: flex; align-items: center; gap: 13px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-m); padding: 14px 16px; transition: .25s;
}
.orow .oi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--faint); transition: .25s; }
.orow .oi svg { width: 19px; height: 19px; }
.orow .oname { flex: 1; }
.orow .oname b { display: block; font-size: 15px; }
.orow .oname small { color: var(--muted); font-size: 12px; }
.orow.on { border-color: var(--p300); background: var(--p50); }
.orow.on .oi { background: var(--p100); color: var(--p600); }
.tgl { width: 48px; height: 28px; border-radius: 999px; background: #d1d8de; position: relative; transition: .25s; flex: none; }
.tgl::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: .25s var(--ease); }
.orow.on .tgl { background: var(--p500); }
.orow.on .tgl::after { transform: translateX(calc(20px * var(--dir-mult, 1))); }

/* ---------- schedule timeline ---------- */
.timeline { position: relative; padding-inline-start: 30px; max-width: 460px; }
.timeline::before { content: ''; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 8px; width: 2px; background: linear-gradient(var(--p300), var(--p600)); border-radius: 2px; }
.tl-item { position: relative; padding: 14px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-m); margin-bottom: 14px; box-shadow: var(--shadow-s); }
.tl-item::before { content: ''; position: absolute; inset-inline-start: -27px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--p500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--p300); }
.tl-item time { font-size: 13px; font-weight: 800; color: var(--p700); display: block; }
.tl-item b { font-size: 15px; }
.tl-item small { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- timer ---------- */
.timer-demo { display: flex; gap: 14px; flex-wrap: wrap; }
.tmr { background: #fff; border: 1px solid var(--border); border-radius: var(--r-m); padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-s); }
.tmr .ring { width: 54px; height: 54px; position: relative; }
.tmr .ring svg { transform: rotate(-90deg); }
.tmr .ring .cnt { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 800; font-family: 'Inter',sans-serif; }
.tmr b { font-size: 14.5px; display: block; }
.tmr small { color: var(--muted); font-size: 12px; }

/* ---------- scenes ---------- */
.scenes-stage { display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 18px; align-items: center; }
.scene-btn {
  background: var(--grad-dark); color: #fff; border-radius: var(--r-l); padding: 26px;
  text-align: center; box-shadow: var(--shadow-l); cursor: pointer; transition: transform .25s var(--ease);
  border: 1px solid rgba(125,235,205,.25);
}
.scene-btn:hover { transform: scale(1.03); }
.scene-btn .si { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 18px; background: rgba(125,235,205,.16); display: grid; place-items: center; color: var(--p300); }
.scene-btn .si svg { width: 26px; height: 26px; }
.scene-flow { display: grid; gap: 8px; }
.sf-line { height: 2px; background: linear-gradient(90deg, var(--p300), var(--p500)); position: relative; border-radius: 2px; }
.sf-line::after { content: ''; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--p400); animation: flow 2.4s linear infinite; }
[dir="rtl"] .sf-line::after { animation-name: flow-r; }
[dir="ltr"] .sf-line::after { left: 0; }
[dir="rtl"] .sf-line::after { right: 0; }
@keyframes flow { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
@keyframes flow-r { from { right: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { right: calc(100% - 8px); opacity: 0; } }
.scene-targets { display: grid; gap: 10px; }

/* ---------- dark energy section ---------- */
.dark { background: var(--d950); color: #e8f0ec; }
.dark .eyebrow { background: rgba(125,235,205,.1); border-color: rgba(125,235,205,.22); color: var(--p300); }
.dark .lead, .dark .sub { color: #9db5a8; }
.dark-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.energy-panel {
  background: linear-gradient(160deg, var(--d800), var(--d900));
  border: 1px solid rgba(125,235,205,.14); border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 30px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(125,235,205,.08);
}
.ep-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.ep-stat { background: rgba(125,235,205,.05); border: 1px solid rgba(125,235,205,.1); border-radius: var(--r-m); padding: 14px; }
.ep-stat .v { font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; font-family: 'Inter',sans-serif; color: #fff; }
.ep-stat .v i { font-style: normal; font-size: .55em; color: var(--p300); font-weight: 700; }
.ep-stat .l { font-size: 12px; color: #8fa89a; margin-top: 3px; }
.ep-chart { background: rgba(0,0,0,.25); border: 1px solid rgba(125,235,205,.08); border-radius: var(--r-m); padding: 16px; }
.ep-chart .bars { display: flex; align-items: flex-end; gap: 5px; height: 120px; direction: ltr; }
.ep-chart .bars i { flex: 1; background: linear-gradient(180deg, var(--p300), var(--p600)); border-radius: 4px 4px 2px 2px; min-height: 4%; opacity: .85; animation: grow 1.2s var(--ease) backwards; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
.ep-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.ep-tabs span { font-size: 12.5px; font-weight: 700; color: #8fa89a; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(125,235,205,.12); }
.ep-tabs span.on { background: rgba(125,235,205,.14); color: var(--p300); }
.budget-ring { display: flex; align-items: center; gap: 18px; margin-top: 18px; background: rgba(125,235,205,.05); border: 1px solid rgba(125,235,205,.1); border-radius: var(--r-m); padding: 16px; }
.bring { width: 84px; height: 84px; flex: none; position: relative; }
.bring svg { transform: rotate(-90deg); }
.bring .bv { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-family: 'Inter',sans-serif; font-size: 17px; color: #fff; }
.est-note { font-size: 12px; color: #7d9488; margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.est-note svg { width: 14px; height: 14px; flex: none; }

/* ---------- automations ---------- */
.if-then { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ift { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-l); padding: 22px; position: relative; }
.ift .tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 4px 11px; border-radius: 999px; display: inline-block; }
.ift .tag.if { background: var(--p100); color: var(--p700); }
.ift .tag.then { background: #eef2ff; color: #4338ca; }
.ift p { margin-top: 10px; font-size: 15px; font-weight: 600; color: #374151; }
.ift .sep { display: block; margin: 12px 0 0; }
.soon-badge { position: absolute; top: 16px; inset-inline-end: 16px; font-size: 11.5px; font-weight: 800; color: var(--warn); background: #fef3c7; padding: 4px 12px; border-radius: 999px; }

/* ---------- locations ---------- */
.loc-tree { display: grid; gap: 0; max-width: 520px; }
.loc { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-m); padding: 15px 18px; display: flex; align-items: center; gap: 12px; }
.loc + .loc { margin-top: 26px; position: relative; }
.loc + .loc::before { content: ''; position: absolute; top: -27px; inset-inline-start: 26px; width: 2px; height: 26px; background: var(--p300); }
.loc .li { width: 38px; height: 38px; border-radius: 12px; background: var(--p50); color: var(--p600); display: grid; place-items: center; flex: none; }
.loc .li svg { width: 18px; height: 18px; }
.loc b { font-size: 15px; }
.loc small { display: block; color: var(--muted); font-size: 12.5px; }
.loc .cnt { margin-inline-start: auto; font-size: 12.5px; font-weight: 700; color: var(--p700); background: var(--p100); padding: 4px 12px; border-radius: 999px; }
.demo-tag { font-size: 11.5px; color: var(--faint); margin-top: 12px; }

/* ---------- use cases ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.uc {
  border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); position: relative; overflow: hidden;
  border: 1px solid var(--border); background: #fff;
}
.uc.biz { background: var(--grad-dark); color: #fff; border-color: rgba(125,235,205,.2); }
.uc .ui { width: 52px; height: 52px; border-radius: 17px; background: var(--p100); color: var(--p700); display: grid; place-items: center; margin-bottom: 18px; }
.uc.biz .ui { background: rgba(125,235,205,.14); color: var(--p300); }
.uc h3 { font-size: clamp(21px, 2.6vw, 27px); margin-bottom: 8px; }
.uc.biz p, .uc.biz li { color: #b8cec2; }
.uc ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.uc li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: #4b5563; }
.uc li svg { width: 17px; height: 17px; color: var(--p500); flex: none; }
.uc.biz li svg { color: var(--p300); }
.uc .note { margin-top: 16px; font-size: 12.5px; color: var(--faint); }
.uc.biz .note { color: #6d8579; }

/* ---------- offer ---------- */
.offer { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--grad-dark); color: #fff; padding: clamp(30px, 4.5vw, 56px); }
.offer::before { content: ''; position: absolute; inset: -40% -20%; background: radial-gradient(closest-side, rgba(125,235,205,.14), transparent 70%); pointer-events: none; }
.offer-in { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.offer .price { font-size: clamp(40px, 6vw, 64px); font-weight: 900; font-family: 'Inter',sans-serif; line-height: 1; }
.offer .price i { font-style: normal; font-size: .4em; font-weight: 700; color: var(--p300); }
.offer ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.offer li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #c3d9cd; }
.offer li svg { width: 17px; height: 17px; color: var(--p300); flex: none; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-l); padding: 26px; position: relative; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; margin-bottom: 14px; font-family: 'Inter',sans-serif; box-shadow: 0 8px 18px -6px rgba(36,139,95,.5); }
.step b { display: block; font-size: 17px; margin-bottom: 5px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- app showcase ---------- */
.showcase { background: #fff; border-block: 1px solid var(--border); }
.show-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot { border-radius: var(--r-l); overflow: hidden; }
.shot .phone { border-radius: 30px; }
.shot .phone-scr { border-radius: 22px; aspect-ratio: 9/19; }
.shot figcaption { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: 12px; }
.shot .pscr-mini { padding: 30px 12px 10px; display: grid; gap: 7px; align-content: start; height: 100%; }
.mini { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px; font-size: 8.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mini .mi { width: 16px; height: 16px; border-radius: 5px; background: var(--p100); color: var(--p600); display: grid; place-items: center; flex: none; }
.mini .mi svg { width: 9px; height: 9px; }
.mini.g { background: var(--p50); border-color: var(--p200); color: var(--p700); }
.mini .bar { flex: 1; height: 4px; border-radius: 3px; background: var(--p100); }
.mini .bar i { display: block; height: 100%; border-radius: 3px; background: var(--p500); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-m); margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; font-size: 15.5px; text-align: start; }
.faq-q .fx { margin-inline-start: auto; width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--soft); display: grid; place-items: center; transition: .3s var(--ease); }
.faq-q .fx svg { width: 14px; height: 14px; }
.faq-item.open .fx { transform: rotate(45deg); background: var(--p100); color: var(--p700); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a > div { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* ---------- final CTA ---------- */
.final-cta { background: var(--d950); color: #fff; text-align: center; overflow: hidden; position: relative; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 340px at 50% 110%, rgba(36,139,95,.4), transparent 70%); }
.final-cta .wrap { position: relative; }
.final-cta .qr-row { display: flex; gap: 26px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.qr-card { background: #fff; border-radius: var(--r-m); padding: 12px; text-align: center; }
.qr-card img { width: 130px; height: 130px; }
.qr-card span { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 8px; }

/* ---------- footer ---------- */
.footer { background: var(--d900); color: #9db5a8; padding: 54px 0 30px; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.f-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; font-size: 18px; }
.f-brand img { width: 38px; height: 38px; border-radius: 10px; }
.f-col b { display: block; color: #fff; font-size: 14px; margin-bottom: 14px; }
.f-col a { display: block; padding: 5px 0; font-size: 14px; transition: color .2s; }
.f-col a:hover { color: var(--p300); }
.footer svg { width: 16px; height: 16px; flex: none; }
.f-brand img { flex: none; }
.orow > svg { width: 20px; height: 20px; color: var(--p600); flex: none; }
.drawer-panel svg { width: 20px; height: 20px; flex: none; }
.drawer-close { color: var(--ink); }
.f-bottom { border-top: 1px solid rgba(125,235,205,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(120px, 15vw, 160px) 0 clamp(44px, 6vw, 70px); background:
  radial-gradient(900px 400px at 80% -10%, var(--p100), transparent 60%), var(--bg); }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(21px, 3vw, 27px); margin: 34px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: #4b5563; font-size: 15.5px; }
.prose ul, .prose ol { padding-inline-start: 22px; display: grid; gap: 7px; margin: 10px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-l); padding: 24px; transition: .25s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--p300); }
.feat .fi { width: 46px; height: 46px; border-radius: 14px; background: var(--p50); color: var(--p600); display: grid; place-items: center; margin-bottom: 14px; }
.feat .fi svg { width: 22px; height: 22px; }
.feat b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--muted); }
.cta-band { background: var(--grad-dark); border-radius: var(--r-xl); color: #fff; padding: clamp(28px, 4vw, 46px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dl-card .pi { width: 60px; height: 60px; border-radius: 19px; background: var(--p50); color: var(--p700); display: grid; place-items: center; }
.dl-card .pi svg { width: 28px; height: 28px; }
.dl-card img.qr { width: 120px; height: 120px; }

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

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .dark-grid, .offer-in, .split { grid-template-columns: 1fr; }
  .stage { min-height: 480px; width: min(560px, 100%); margin-inline: auto; }
  .values-in, .if-then, .feat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .timeline { max-width: none; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .plat-grid, .duo, .dl-cards { grid-template-columns: 1fr; }
  .values-in, .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .if-then { grid-template-columns: 1fr; }
  .scenes-stage { grid-template-columns: 1fr; }
  .scenes-stage .sf-col { display: none; }
  .show-grid { grid-template-columns: repeat(2, 1fr); }
  /* Mobile hero: center the phone, let the strip peek from behind,
     park floating cards at safe edge positions, hide the
     desktop-space connection curve. */
  .stage { min-height: 460px; }
  .conn-svg { display: none; }
  .phone-wrap { inset-inline-start: auto; inset-inline-end: 4%; margin-inline: 0; width: min(178px, 47%); top: 4px; }
  .strip-wrap { bottom: 48px; inset-inline-start: -2%; width: min(215px, 58%); }
  .fcard { padding: 8px 12px; font-size: 11.5px; }
  /* !important: card positions are set inline in the markup */
  .stage .fcard:nth-child(4) { top: 0 !important; inset-inline-start: -6px !important; bottom: auto !important; }
  .demo-hint { bottom: 2px; }
  .f-grid { grid-template-columns: 1fr; gap: 24px; }
  .f-bottom { flex-direction: column; text-align: center; }
  .cta-band { flex-direction: column; text-align: center; }
  .hero-cta .btn { flex: 1 1 auto; }
  .nav-end .btn, .nav-end .lang-sw { display: none; }
  .section { padding-block: 52px; }
}
@media (max-width: 430px) {
  .values-in { grid-template-columns: 1fr; }
  .ep-stats { grid-template-columns: 1fr 1fr 1fr; }
  .ep-stat { padding: 10px 8px; }
  .ep-stat .v { font-size: 17px; }
  .stage { min-height: 400px; }
  .strip-wrap { width: min(190px, 56%); bottom: 44px; inset-inline-start: -3%; }
  .phone-wrap { width: min(165px, 46%); }
  .budget-ring { flex-wrap: wrap; }
  .qr-card img { width: 110px; height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
[dir="ltr"] { --dir-mult: 1; }
[dir="rtl"] { --dir-mult: -1; }
