/* Charging Park Tycoon – landing page. No external fonts, scripts or trackers. */
:root {
  --bg: #040b1c;
  --bg2: #061426;
  --surface: #0b1f36;
  --raised: #102a46;
  --cyan: #42e8ff;
  --blue: #22b8ff;
  --gold: #ffc84a;
  --orange: #ff884d;
  --green: #35d07f;
  --text: #f5faff;
  --muted: #9db3c8;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 22px;
  --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif; line-height: 1.1; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(4, 11, 28, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 18px rgba(66, 232, 255, .35); }
.nav .links { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav .links a { color: var(--muted); }
.nav .links a:hover { color: var(--text); text-decoration: none; }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 760px) { .nav .links a:not(.lang) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 100px; padding-bottom: 60px; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cyan); background: rgba(66, 232, 255, .08); border: 1px solid rgba(66, 232, 255, .25); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s ease-in-out infinite; }
.hero h1 { font-size: clamp(44px, 7vw, 86px); font-weight: 800; letter-spacing: -0.035em; margin: 22px 0 18px; }
.hero h1 .glow { background: linear-gradient(100deg, var(--cyan), #9ff6ff 40%, var(--gold) 75%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; filter: drop-shadow(0 0 28px rgba(66, 232, 255, .35)); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 18px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 0 0 0 rgba(66, 232, 255, .5), 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .2s, box-shadow .3s;
  animation: ring 3.2s ease-out infinite;
}
.store:hover { transform: translateY(-2px) scale(1.02); text-decoration: none; box-shadow: 0 0 34px rgba(66, 232, 255, .45), 0 14px 34px rgba(0, 0, 0, .5); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 12px; line-height: 1.1; opacity: .85; }
.store strong { display: block; font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.free { color: var(--muted); font-size: 15px; }
.free b { color: var(--green); }

/* Phone mockup */
.phone {
  position: relative; width: min(330px, 78vw); aspect-ratio: 1320 / 2868; margin: 0 auto;
  border-radius: 54px; padding: 11px; background: linear-gradient(145deg, #2a3548, #0d1422 45%, #1d2638);
  box-shadow: 0 0 0 2px #39475e inset, 0 40px 80px rgba(0, 0, 0, .6), 0 0 120px rgba(66, 232, 255, .25);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #000; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 6s ease; }
.phone .screen img.on { opacity: 1; transform: scale(1); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 32%; height: 30px; background: #000; border-radius: 20px; z-index: 2; }
.hero .phone { animation: float 7s ease-in-out infinite; }
.hero .phone::after { content: ""; position: absolute; inset: -14% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(66, 232, 255, .3), transparent 70%); filter: blur(10px); animation: breathe 5s ease-in-out infinite; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero .phone { width: min(280px, 70vw); }
  .scroll-hint { display: none; }
}
.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg2); overflow: hidden; white-space: nowrap; }
.ticker .track { display: inline-flex; gap: 48px; padding: 16px 0; animation: marquee 40s linear infinite; }
.ticker span { color: var(--muted); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.ticker span b { color: var(--gold); font-weight: 700; }

/* ---------- Sections ---------- */
section { position: relative; padding: 120px 0; }
.kicker { color: var(--cyan); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 18px; }
.sub { color: var(--muted); font-size: 19px; max-width: 640px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.stat { background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.stat .n { font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(180deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 110px; }
.feature.flip .media { order: -1; }
.feature h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.025em; margin: 10px 0 16px; }
.feature p { color: var(--muted); margin: 0 0 18px; }
.feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; }
.feature li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: rgba(66, 232, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M11.5 2 5 11h4l-1 7 6.5-9h-4z' fill='%23ffc84a'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid rgba(66, 232, 255, .3); }
.feature .media { position: relative; display: flex; justify-content: center; }
.feature .media .phone { width: min(300px, 72vw); }
.feature .media::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, var(--halo, rgba(66, 232, 255, .22)), transparent); filter: blur(20px); z-index: -1; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; margin-top: 90px; }
  .feature.flip .media { order: 0; }
}

/* Gallery */
.gallery { margin-top: 48px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 24px 40px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: none; margin: 0; scroll-snap-align: center; width: 250px; transition: transform .4s; }
.gallery figure:hover { transform: translateY(-8px); }
.gallery img { width: 100%; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.gallery figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }
.gallery-wrap { position: relative; }
.gallery-wrap::before, .gallery-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.gallery-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.gallery-wrap::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; overflow: hidden; transition: transform .3s, border-color .3s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(66, 232, 255, .35); }
.plan.hl { background: linear-gradient(160deg, #0f3155, var(--surface) 60%); border-color: rgba(66, 232, 255, .45); box-shadow: 0 0 60px rgba(66, 232, 255, .15); }
.plan .tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.plan h3 { font-size: 26px; margin: 8px 0 10px; }
.plan p { color: var(--muted); margin: 0; font-size: 16px; }
.plan .flags { font-size: 22px; letter-spacing: 4px; margin-top: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Promise */
.promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.promise span { border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.promise span::before { content: "✕ "; color: var(--orange); }

/* Final CTA */
.final { text-align: center; padding: 140px 0; overflow: hidden; }
.final .icon { width: 132px; height: 132px; margin: 0 auto 28px; border-radius: 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 80px rgba(66, 232, 255, .55); animation: float 6s ease-in-out infinite; }
.final .cta { justify-content: center; margin-top: 30px; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; background: conic-gradient(from 0deg, transparent, rgba(66, 232, 255, .12), transparent 30%, rgba(255, 200, 74, .1), transparent 60%); border-radius: 50%; animation: spin 24s linear infinite; z-index: -1; }

/* Support */
.support { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.support details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.support summary { cursor: pointer; font-weight: 600; list-style: none; }
.support summary::-webkit-details-marker { display: none; }
.support summary::after { content: "+"; float: right; color: var(--cyan); font-size: 20px; line-height: 1; transition: transform .2s; }
.support details[open] summary::after { transform: rotate(45deg); }
.support details p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
@media (max-width: 760px) { .support { grid-template-columns: 1fr; } }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer.site .copy { margin-left: auto; }

/* Legal pages */
.legal { padding: 130px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #c9d7e6; }
.legal .card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.legal .card p { margin: 0; }
.legal .summary { border-color: rgba(66, 232, 255, .35); background: linear-gradient(160deg, #0f3155, var(--surface)); }
.legal address { font-style: normal; line-height: 1.7; }
.legal .meta { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes shimmer { 50% { background-position: 100% 0; } }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes breathe { 50% { opacity: .55; transform: scale(.92); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(66, 232, 255, .45), 0 10px 30px rgba(0, 0, 0, .4); } 70%, 100% { box-shadow: 0 0 0 16px rgba(66, 232, 255, 0), 0 10px 30px rgba(0, 0, 0, .4); } }

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