/* =========================================================
   ETOK · etok.uz — EV charging network
   Theme: MIDNIGHT AMBER — BYDECO dizayn tizimi, ETOK sariq palitrasi
   ========================================================= */

:root {
  --bg: #0a1013;
  --bg-soft: #0d1619;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f5ef;
  --muted: #a2b4af;
  --muted-2: #7b8f8a;
  --amber: #ffc400;
  --amber-2: #ffe27a;
  --lime: #b8f552;
  --grad: linear-gradient(120deg, #ffc400 0%, #ffe27a 60%, #b8f552 100%);
  --grad-solid: linear-gradient(120deg, #ffc400 0%, #ff9d00 100%);
  --shadow: 0 34px 70px -42px rgba(0, 0, 0, 0.95);
  --shadow-sm: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
  --glow: 0 14px 40px -18px rgba(255, 196, 0, 0.55);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(255, 196, 0, 0.12), transparent 62%),
    radial-gradient(760px 520px at -6% 42%, rgba(184, 245, 82, 0.09), transparent 62%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5 { font-family: "Sora", "Manrope", sans-serif; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bolt { color: var(--amber); }

/* ---------- Ambient orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,196,0,.22), transparent 70%); top: -160px; right: -120px; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(184,245,82,.16), transparent 70%); top: 40%; left: -170px; }
.orb-3 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,157,0,.14), transparent 70%); bottom: -140px; right: 8%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--grad-solid); color: #1a1400; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -18px rgba(255,196,0,.65); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); background: rgba(10,16,19,.72); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 68px; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 36px; width: auto; filter: drop-shadow(0 4px 12px rgba(255,196,0,.35)); transition: transform .3s var(--ease), filter .3s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.06); filter: drop-shadow(0 6px 18px rgba(255,196,0,.55)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-word { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.05em; }
.brand-word em { font-style: normal; color: var(--amber); }
.brand-tag { font-size: 0.72rem; color: var(--muted-2); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 0.95rem; height: 100%; }
.nav-links a { position: relative; display: inline-flex; align-items: center; height: 100%; color: var(--muted); transition: color .3s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; border-radius: 2px; background: var(--grad-solid); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-partners { height: 38px; padding: 0 16px; color: var(--lime) !important; border: 1px solid rgba(184,245,82,.35); border-radius: 999px; transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.nav-links a.nav-partners::after { display: none; }
.nav-links a.nav-partners:hover { background: rgba(184,245,82,.12); border-color: rgba(184,245,82,.6); transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 14px; height: 100%; }
.lang-switch { display: flex; align-items: center; gap: 4px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.lang-btn { background: transparent; border: none; color: var(--muted); font-weight: 700; font-size: 0.8rem; padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: all .3s var(--ease); font-family: inherit; }
.lang-btn.active { background: var(--grad-solid); color: #1a1400; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: 86px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,196,0,.12); border: 1px solid rgba(255,196,0,.22); color: var(--amber); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 1.12rem; margin-bottom: 26px; max-width: 540px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

/* Stats (BYDECO uslubida) */
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 26px; }
.hero-stats li strong { display: block; font-family: "Sora", sans-serif; font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats li span { color: var(--muted-2); font-size: 0.85rem; font-weight: 600; }

/* Hero glass cards */
.hero-cards { display: grid; gap: 18px; }
.gcard { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.gcard-label { color: var(--muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.gcard-value { font-size: 2.4rem; margin: 6px 0 16px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gcard-value span { font-size: 1.1rem; }
.gcard-list { display: grid; gap: 8px; }
.gcard-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 0.95rem; }
.gcard-list li::before { content: "⚡"; position: absolute; left: 0; color: var(--amber); font-size: 0.8rem; }
.session-card { border-color: rgba(184,245,82,.28); }
.session-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.session-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.session-card h4 { font-size: 1.25rem; margin-bottom: 4px; }
.session-meta { color: var(--amber); font-weight: 700; margin-bottom: 4px; }
.session-station { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.session-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border-strong); padding-top: 12px; }
.session-foot strong { color: #ff8a80; font-size: 1.05rem; }
.session-foot span { color: var(--muted); font-size: 0.85rem; }
.session-receipt { color: var(--lime); font-size: 0.85rem; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: 88px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-weight: 800; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.14em; margin-bottom: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.section h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 640px; margin-bottom: 46px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: all .35s var(--ease); }
.step:hover { transform: translateY(-5px); border-color: rgba(255,196,0,.4); box-shadow: var(--shadow-sm); }
.step-num { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-solid); color: #1a1400; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: var(--glow); }
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Banner */
.banner { position: relative; z-index: 1; padding: 16px 0 40px; }
.banner-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.banner-media img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,16,19,.6)); }
.banner-tag { position: absolute; left: 26px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(10,16,19,.72); backdrop-filter: blur(10px); border: 1px solid var(--border); padding: 10px 18px; border-radius: 999px; font-weight: 700; }

/* Tariffs */
.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tariff { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: all .35s var(--ease); }
.tariff:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.tariff-popular { border-color: var(--amber); background: linear-gradient(170deg, rgba(255,196,0,.09), var(--surface)); box-shadow: 0 24px 54px -30px rgba(255,196,0,.35); }
.popular-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-solid); color: #1a1400; font-weight: 800; font-size: 0.72rem; padding: 6px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.1em; }
.tariff-type { color: var(--lime); font-weight: 800; letter-spacing: 0.05em; font-size: 0.92rem; }
.tariff-price { font-size: 2.6rem; }
.tariff-price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.tariff-text { color: var(--muted); font-size: 0.95rem; flex: 1; }

/* Partners */
.partners { display: grid; gap: 22px; }
.partner-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; max-width: 760px; transition: all .35s var(--ease); }
.partner-card:hover { border-color: rgba(184,245,82,.45); box-shadow: var(--shadow-sm); }
.partner-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.partner-logo { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #37c79b, #2fae89); color: #06251c; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(55,199,155,.3); }
.partner-head h3 { font-size: 1.4rem; }
.partner-role { color: var(--muted); font-size: 0.9rem; }
.partner-badge { margin-left: auto; background: rgba(255,196,0,.12); border: 1px solid rgba(255,196,0,.25); color: var(--amber); font-weight: 700; font-size: 0.76rem; padding: 7px 14px; border-radius: 999px; }
.partner-text { color: var(--muted); margin-bottom: 16px; }
.partner-list { display: grid; gap: 8px; margin-bottom: 22px; }
.partner-list li { position: relative; padding-left: 26px; font-weight: 600; font-size: 0.95rem; }
.partner-list li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 800; }

/* Download */
.download-inner { text-align: center; background: linear-gradient(160deg, rgba(255,196,0,.10), rgba(184,245,82,.05)); border: 1px solid rgba(255,196,0,.22); border-radius: 28px; padding: 70px 30px; }
.download-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.download-inner p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.store-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.store-btn { background: #000; border: 1px solid var(--border-strong); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 700; transition: all .3s var(--ease); }
.store-btn:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* Footer */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); background: rgba(10,16,19,.7); padding: 50px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.footer-brand { display: flex; gap: 14px; align-items: center; max-width: 320px; }
.footer-brand .brand-logo, .brand-logo { height: 36px; width: auto; }

/* ---------- Logo stack + chaqmoq "tok" animatsiyasi ---------- */
.logo-stack { position: relative; display: inline-block; }
.logo-letters { height: 36px; width: auto; display: block; }
.logo-bolt { position: absolute; inset: 0; height: 100%; width: 100%; pointer-events: none; }

@keyframes boltCharge {
  0%   { filter: brightness(1) drop-shadow(0 0 0 rgba(255,196,0,0)); transform: translate(0,0) scale(1); }
  6%   { filter: brightness(1.6) drop-shadow(0 0 6px rgba(255,196,0,.55)); }
  10%  { filter: brightness(.9) drop-shadow(0 0 2px rgba(255,196,0,.3)); }
  16%  { filter: brightness(2.1) drop-shadow(0 0 14px rgba(255,196,0,.85)); transform: translate(.4px,-.4px) scale(1.02); }
  22%  { filter: brightness(1.1) drop-shadow(0 0 5px rgba(255,196,0,.4)); }
  32%  { filter: brightness(2.4) drop-shadow(0 0 20px rgba(255,226,122,.95)); transform: translate(-.4px,.3px) scale(1.04); }
  46%  { filter: brightness(1.35) drop-shadow(0 0 10px rgba(255,196,0,.6)); }
  60%  { filter: brightness(2.0) drop-shadow(0 0 16px rgba(255,196,0,.9)); transform: translate(.3px,0) scale(1.02); }
  100% { filter: brightness(1.5) drop-shadow(0 0 12px rgba(255,196,0,.75)); transform: translate(0,0) scale(1.01); }
}

@keyframes boltIdle {
  0%, 88%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(255,196,0,0)); }
  92%  { filter: brightness(1.35) drop-shadow(0 0 5px rgba(255,196,0,.45)); }
  96%  { filter: brightness(1.05) drop-shadow(0 0 1px rgba(255,196,0,.15)); }
}

.logo-bolt { animation: boltIdle 6s var(--ease) infinite; transition: filter .2s; }
.brand:hover .logo-bolt,
.footer-brand:hover .logo-bolt {
  animation: boltCharge 1.6s linear infinite;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.footer-contacts p { margin-bottom: 8px; color: var(--muted); font-size: 0.95rem; }
.footer-contacts a { color: var(--text); font-weight: 600; }
.footer-contacts a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,.06); padding-top: 22px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--muted); transition: color .3s var(--ease); }
.footer-legal a:hover { color: var(--amber); }

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

/* Burger + mobil menyu */
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: border-color .3s var(--ease); }
.burger span { display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.burger:hover { border-color: rgba(255,196,0,.4); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--amber); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--amber); }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .burger { display: flex; }
  .mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; background: rgba(10,16,19,.96); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: max-height .45s var(--ease), padding .45s var(--ease), border-color .45s var(--ease); }
  .mobile-menu.open { max-height: 380px; padding: 14px 24px 20px; border-bottom-color: var(--border); }
  .mobile-menu a { padding: 12px 4px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border); transition: color .3s var(--ease); }
  .mobile-menu a:hover { color: var(--amber); }
  .mobile-menu a:last-of-type { border-bottom: none; }
  .mobile-menu .mobile-cta { margin-top: 12px; text-align: center; color: #1a1400; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .steps, .tariffs { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .tariff-popular { order: -1; }
  .hero-stats { gap: 22px; }
}
