/* ==========================================================
   POPICA ADELIN — Emby Downloads
   Premium glassmorphism theme · Dark/Light · Emerald accent
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { min-height: 100vh; line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input { font: inherit; }
svg { display: block; }

/* ============ TOKENS ============ */
:root {
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius:    24px;
  --radius-lg: 32px;
  --radius-xl: 42px;

  --tr-fast: 180ms cubic-bezier(.4,0,.2,1);
  --tr:      320ms cubic-bezier(.4,0,.2,1);
  --tr-slow: 600ms cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* DARK */
[data-theme="dark"] {
  --bg: #07100c;
  --bg-2: #0a1612;
  --surface: rgba(20, 38, 31, 0.45);
  --surface-2: rgba(28, 52, 42, 0.55);
  --surface-3: rgba(40, 70, 58, 0.6);
  --surface-solid: #0e1d18;
  --border: rgba(110, 231, 183, 0.18);
  --border-strong: rgba(110, 231, 183, 0.32);
  --text: #e6f7ef;
  --text-muted: #9bb5a8;
  --text-dim: #6f8b80;
  --accent: var(--emerald-400);
  --accent-strong: var(--emerald-300);
  --accent-soft: rgba(16, 185, 129, 0.18);
  --grid-color: rgba(110, 231, 183, 0.06);
  --glass-bg: rgba(16, 32, 26, 0.35);
  --glass-bg-strong: rgba(10, 22, 18, 0.55);
  --glass-border: rgba(110, 231, 183, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.06);
}

/* LIGHT */
[data-theme="light"] {
  --bg: #f6fbf8;
  --bg-2: #eef7f1;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-2: rgba(244, 250, 246, 0.7);
  --surface-3: rgba(233, 245, 238, 0.75);
  --surface-solid: #ffffff;
  --border: rgba(6, 78, 59, 0.14);
  --border-strong: rgba(6, 78, 59, 0.28);
  --text: #0a1f17;
  --text-muted: #436055;
  --text-dim: #6c8579;
  --accent: var(--emerald-600);
  --accent-strong: var(--emerald-700);
  --accent-soft: rgba(16, 185, 129, 0.14);
  --grid-color: rgba(6, 78, 59, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-bg-strong: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(6, 78, 59, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.7);
}

/* ===== BACKGROUND IMAGE LAYER (fade on scroll) ===== */
[data-theme="dark"] body::before {
  content: '';
  position: fixed; inset: 0; height: 100vh; z-index: -2; pointer-events: none;
  background-image: url('https://cdn.adelin.org/public/pages-wp/www/amb-darkmode-v7-PH-REDUCE.png');
  background-size: cover; background-position: center top; background-repeat: no-repeat;
  transform: scale(var(--bg-zoom, 1)); opacity: var(--bg-opacity, 1);
  transform-origin: center top;
  transition: transform 0.05s linear, opacity 0.05s linear;
}
[data-theme="light"] body::before {
  content: '';
  position: fixed; inset: 0; height: 100vh; z-index: -2; pointer-events: none;
  background-image: url('https://cdn.adelin.org/public/pages-wp/www/65f7a48a-3425-43a9-9c81-605a7cced051-v3.png');
  background-size: cover; background-position: center top; background-repeat: no-repeat;
  transform: scale(var(--bg-zoom, 1)); opacity: var(--bg-opacity, 1);
  transform-origin: center top;
  transition: transform 0.05s linear, opacity 0.05s linear;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(16,185,129,.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(110,231,183,.06), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  transition: background-color var(--tr), color var(--tr);
}

::selection { background: var(--accent); color: #06281d; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--emerald-700), var(--emerald-500)); border-radius: 8px; }

/* ============ GLASS UTILITY ============ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), inset 0 1px 0 var(--glass-highlight);
  position: relative;
}
.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28), inset 0 1px 0 var(--glass-highlight);
}

/* ============ CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 8px; height: 8px; background: var(--emerald-300); transition: transform var(--tr-fast); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid var(--emerald-400);
  transition: transform 220ms var(--ease-out), width var(--tr), height var(--tr), border-color var(--tr);
}
.cursor-hover .cursor-ring { width: 64px; height: 64px; border-color: var(--emerald-300); }
.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(2.2); }
@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto !important; }
}
@media (min-width: 901px) {
  body, body * { cursor: none; }
  body input, body textarea { cursor: text; }
}

/* ============ LOADER ============ */
.page-loader {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .8s ease, visibility .8s ease;
}
.page-loader.gone { opacity: 0; visibility: hidden; }
.loader-orb {
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--emerald-300), var(--emerald-700));
  box-shadow: 0 0 80px var(--emerald-500);
  animation: orbPulse 1.4s ease-in-out infinite;
}
.loader-text {
  position: absolute; bottom: 28%;
  font-family: var(--font-mono); letter-spacing: .4em;
  font-size: 12px; color: var(--text-muted);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(.85); filter: blur(0); }
  50% { transform: scale(1.1); filter: blur(2px); }
}
@keyframes blink { 50% { opacity: .35; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--emerald-300), var(--emerald-500), var(--emerald-700));
  z-index: 999; box-shadow: 0 0 12px var(--emerald-400);
  transition: width .1s linear;
}

/* ============ PARTICLES ============ */
.particle-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }
[data-theme="light"] .particle-canvas { opacity: .35; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; z-index: 100;
  border-radius: 999px;
  transition: all var(--tr);
}
.navbar.scrolled {
  width: min(1100px, calc(100% - 32px));
  box-shadow: 0 12px 40px rgba(0,0,0,.49);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -.02em; color: var(--text);
}
.logo-mark {
  background: linear-gradient(135deg, #34d399, #036549);
  border-radius: 14px; color: #04231b;
  box-shadow: 0 4px 16px rgba(16,185,129,.35), inset 0 1px 0 rgba(255,255,255,.2);
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-700));
  padding: 4px;
}
.logo-text { display: inline-flex; align-items: baseline; gap: 1px; }
.logo-dot { color: var(--accent); font-size: 1.1em; line-height: 0; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 156x; font-weight: 500; color: var(--text-muted);
  transition: color var(--tr-fast), background var(--tr-fast);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--accent-soft); }
.nav-link:hover::after, .nav-link.active::after { width: 18px; }

.nav-controls { display: flex; gap: 8px; align-items: center; }
.ctrl-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 14px; background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  color: var(--text); transition: all var(--tr-fast);
}
.ctrl-btn:hover { background: var(--accent-soft); border-color: var(--border-strong); transform: translateY(-2px); }

.lang-btn { width: auto; padding: 0 12px; gap: 4px; display: flex; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.lang-current { color: var(--accent); }
.lang-divider { color: var(--text-dim); }
.lang-other { color: var(--text-muted); }

.theme-btn .icon-sun { display: none; }
[data-theme="light"] .theme-btn .icon-sun { display: block; }
[data-theme="light"] .theme-btn .icon-moon { display: none; }

.menu-btn { display: none; }

/* navbar mouse-glow */
.navbar { isolation: isolate; overflow: visible !important; }
.navbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(16,185,129,.25), transparent 70%);
  opacity: 0; transition: opacity .35s ease-out; pointer-events: none;
}
.navbar:hover::before { opacity: 1; }
.navbar > * { position: relative; z-index: 1; }










/* ============ MOBILE BOTTOM SHEET ============ */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transition: opacity var(--tr); z-index: 200;
  backdrop-filter: blur(8px);
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-sheet {
  position: fixed;
  left: 50%;
  bottom: -100%;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 16px));
  max-height: 78vh;
  z-index: 201;
  padding: 14px 22px 22px;
  display: flex; flex-direction: column;
  border-radius: 32px 32px 0 0;
  transition: bottom 480ms var(--ease-out);
  border-bottom: 0;
}
.mobile-sheet.open { bottom: 0; }
.sheet-handle {
  width: 44px; height: 5px; border-radius: 99px;
  background: var(--border-strong);
  margin: 0 auto 12px;
}
.sheet-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.sheet-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.sheet-title img {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-700));
  padding: 3px;
}
.sheet-close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 16px; color: var(--text);
  transition: all var(--tr-fast);
}
.sheet-close:hover { background: var(--accent); color: #04231b; }
.sheet-links {
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
  padding-bottom: 8px;
}
.sheet-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 18px;
  font-size: 15px; font-weight: 600; color: var(--text);
  background: var(--surface);
  transition: all var(--tr-fast);
}
.sheet-links a > i:first-child {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 10px; font-size: 14px;
}
.sheet-links a > span { flex: 1; }
.sheet-links a .arrow { color: var(--text-dim); font-size: 12px; transition: transform var(--tr); }
.sheet-links a:hover { background: var(--accent-soft); border-color: var(--border-strong); transform: translateX(4px); }
.sheet-links a:hover .arrow { transform: translateX(4px); color: var(--accent); }
.sheet-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-dim); font-size: 12px;
}
.sheet-socials { display: flex; gap: 8px; }
.sheet-socials a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--tr-fast);
}
.sheet-socials a:hover { background: var(--accent); color: #04231b; transform: translateY(-2px); }










/* ============ HERO (downloads) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 24px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}










.hero-bg-grid {
  position: absolute; inset: -1px; z-index: -1;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 35%, transparent 75%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px);
  z-index: -1; pointer-events: none;
}
.hero-glow-1 { width: 540px; height: 540px; left: -120px; top: -100px; background: radial-gradient(var(--emerald-500), transparent 70%); opacity: .35; }
.hero-glow-2 { width: 600px; height: 600px; right: -160px; bottom: -120px; background: radial-gradient(var(--emerald-700), transparent 70%); opacity: .3; }

.hero-inner-dl {
  width: 100%; max-width: 920px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 22px;
}

.hero-badge-dl {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--accent-strong);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-400);
  box-shadow: 0 0 0 0 var(--emerald-400); animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-logo-wrap {
  position: relative;
  width: 130px; height: 130px;
  display: grid; place-items: center;
  margin-bottom: 8px;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-logo-img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(16,185,129,.45));
  position: relative; z-index: 2;
}
.hero-logo-glow {
  position: absolute; inset: -25%; z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.5), transparent 60%);
  filter: blur(35px);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .5; transform: scale(.9); }
  50%      { opacity: 1;  transform: scale(1.1); }
}

.hero-title-dl {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(44px, 7vw, 96px);
  letter-spacing: -.03em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px 20px;
}

.hero-title-dl .title-line {
  display: inline-block;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9em;
  letter-spacing: -.02em;
}

.hero-title-dl .title-name {
  display: inline-block;
  background: linear-gradient(120deg, var(--text) 30%, var(--emerald-300) 50%, var(--text) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s ease-in-out infinite;
  font-weight: 800;
}



.name-text {
  background: linear-gradient(120deg, var(--text) 30%, var(--emerald-300) 50%, var(--text) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { background-position: 200% center; }
  50% { background-position: 0% center; }
}

.hero-desc-dl { font-size: 18px; color: var(--text-muted); max-width: 620px; }
.hero-desc-dl b { color: var(--text); font-weight: 600; }

.hero-cta-dl { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: all var(--tr); overflow: hidden; isolation: isolate;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  color: #04231b;
  box-shadow: 0 8px 24px rgba(16,185,129,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--emerald-300), var(--emerald-500));
  opacity: 0; transition: opacity var(--tr);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(16,185,129,.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  color: var(--text);
  border-color: var(--glass-border);
}
.btn-ghost:hover { background: var(--accent-soft); transform: translateY(-3px); border-color: var(--accent); }



























.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-dim);
  text-transform: uppercase;
  z-index: 5;
  pointer-events: auto;
  background: rgba(0,0,0,0);
  padding: 8px 12px;
  border-radius: 32px;
  backdrop-filter: blur(4px);
  animation: bobVertical 2.4s ease-in-out infinite;
  will-change: transform;
}

.scroll-hint:hover {
  opacity: 1;
  animation-play-state: paused;
}

@keyframes bobVertical {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}



















/* ============ PLATFORM SELECTOR - REFĂCUT COMPLET ============ */
.platform-selector {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 20px;
  scroll-margin-top: 100px;
}

.section-head-mini { 
  text-align: center; 
  margin-bottom: 28px; 
}

.section-eyebrow {
  display: inline-block; 
  padding: 6px 16px; 
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-mono); 
  font-size: 11px; 
  letter-spacing: .2em;
  text-transform: uppercase; 
  margin-bottom: 14px;
  border: 1px solid var(--border-strong);
}

.section-title-sm {
  font-family: var(--font-display); 
  font-weight: 700;
  font-size: clamp(28px, 4vw, 62px); 
  letter-spacing: -.025em; 
  line-height: 1.1;
  color: var(--text);
}

.accent-green {
  background: linear-gradient(135deg, #6ee7b7, #10b981);
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent;
}

/* DESKTOP - pills orizontal mai scurt */
/* DESKTOP - pills orizontal mai scurt */
.platform-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  max-width: 700px; /* FORȚEAZĂ O LĂȚIME MAI MICĂ */
  margin: 0 auto; /* CENTREAZĂ */
}

/* Stil pentru fiecare pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px; /* REDUS de la 10px 20px */
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 13px; /* REDUS */
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.pill .pill-icon {
  width: 20px; /* REDUS */
  height: 20px; /* REDUS */
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.pill .pill-icon img {
  width: 18px; /* REDUS */
  height: 18px; /* REDUS */
  object-fit: contain;
}

.pill .pill-icon i {
  font-size: 16px; /* REDUS */
}

.pill .pill-label {
  font-size: 12px; /* REDUS */
  font-weight: 600;
}







/* Hover + Active states */
.pill:hover {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.pill.active {
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  border-color: var(--emerald-400);
  color: #04231b;
  box-shadow: 0 6px 16px rgba(16,185,129,.35);
}

.pill.active .pill-icon {
  color: #04231b;
}



/* ===== MOBILE (refăcut complet) ===== */
@media (max-width: 768px) {
  .platform-selector {
    padding: 20px 16px;
  }
  
  .platform-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
  }
  
  .pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 20px;
    white-space: normal;
    text-align: center;
  }
  
  .pill .pill-icon {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  
  .pill .pill-icon img {
    width: 28px;
    height: 28px;
  }
  
  .pill .pill-icon i {
    font-size: 24px;
  }
  
  .pill .pill-label {
    font-size: 11px;
    font-weight: 600;
  }
  
  /* Pentru ecrane foarte mici (sub 480px) */
  @media (max-width: 480px) {
    .platform-pills {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
    
    .pill {
      padding: 10px 6px;
    }
    
    .pill .pill-label {
      font-size: 10px;
    }
  }
}

/* Tablet landscape (între 768px și 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .platform-pills {
    gap: 10px;
    padding: 18px 22px;
  }
  
  .pill {
    padding: 8px 16px;
  }
  
  .pill .pill-label {
    font-size: 12px;
  }
}







/* ============ DOWNLOAD AREA ============ */
.download-area {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.card-wrapper { position: relative; }

.platform-card {
  display: none;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  animation: cardIn .55s var(--ease-out) both;
}
.platform-card.active { display: block; }
@keyframes cardIn {
  0% { opacity: 0; transform: translateY(24px) scale(.985); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

.card-stripe {
  height: 4px;
  background: var(--stripe, linear-gradient(90deg, var(--emerald-400), var(--emerald-700)));
}

.card-body { padding: 36px 36px 32px; }
.card-header {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 26px;
}
.card-platform-icon {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: var(--ic, var(--accent-soft));
  border: 1px solid var(--icb, var(--border-strong));
  color: var(--accent);
  flex-shrink: 0;
  font-size: 28px;
}
.card-platform-icon img { width: 40px; height: 40px; object-fit: contain; }

.card-title-group h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: -2px;
}
.req {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-dim);
}
.req i { color: var(--accent); }

/* main download buttons */
.main-buttons {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 18px;
}
.main-dl-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  color: #04231b;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 28px rgba(16,185,129,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: all var(--tr);
  position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.main-dl-btn > i:first-child,
.main-dl-btn > img:first-child { font-size: 18px; width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.main-dl-btn > span { flex: 1; }
.main-dl-btn .end {
  margin-left: auto; opacity: .6; transition: transform var(--tr), opacity var(--tr);
  font-size: 14px;
}
.main-dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16,185,129,.5);
}
.main-dl-btn:hover .end { transform: translateX(4px); opacity: 1; }
.main-dl-btn.alt {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 8px 24px rgba(0,0,0,.18), inset 0 1px 0 var(--glass-highlight);
}
.main-dl-btn.alt:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(16,185,129,.22);
}

/* alt buttons row */
.alt-buttons {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.alt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px; font-weight: 600;
  transition: all var(--tr-fast);
}
.alt-btn img { width: 16px; height: 16px; object-fit: contain; }
.alt-btn i { color: var(--accent); font-size: 13px; }
.alt-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 26px 0 22px;
}

/* steps */
.steps-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
}
.steps-title i { color: var(--accent); }
.steps-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-bottom: 22px;
}
.step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--tr-fast);
}
.step:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.step-num {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  color: #04231b;
  font-family: var(--font-display);
  font-weight: 800; font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(16,185,129,.35);
}
.step-text {
  font-size: 13.5px; line-height: 1.55; color: var(--text-muted);
}
.step-text strong { color: var(--text); }
.step-text code {
  font-family: var(--font-mono); font-size: 12px;
  padding: 2px 6px; border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid var(--border);
}

/* doc links */
.doc-link-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 6px;
}
.doc-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 20px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent-strong);
  font-weight: 600; font-size: 13px;
  transition: all var(--tr-fast);
}
.doc-link i { font-size: 11px; transition: transform var(--tr); }
.doc-link:hover {
  background: var(--accent);
  color: #04231b;
  transform: translateX(4px);
}
.doc-link:hover i { transform: translateX(2px); }

/* ============ NEXT STEPS ============ */
.next-section {
  max-width: 1240px; margin: 0 auto;
  padding: 80px 24px 60px;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.025em; line-height: 1.1;
  color: var(--text);
}
.section-sub {
  font-size: 17px; color: var(--text-dim); max-width: 520px;
  margin: 14px auto 0; line-height: 1.6;
}

.next-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.next-card {
  position: relative;
  padding: 28px 24px 70px;
  border-radius: var(--radius-lg);
  transition: all var(--tr);
  display: flex; flex-direction: column; gap: 12px;
  isolation: isolate; overflow: hidden;
}
.next-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.next-card:hover::before { opacity: 1; }
.next-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 50px rgba(0,0,0,.25);
}
.next-card-num {
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 42px;
  color: var(--text); opacity: .08;
  letter-spacing: -.04em;
}
.next-card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 23px;
  border: 1px solid var(--glass-border);
  margin-bottom: 4px;
}
.next-card-icon.green  { background: rgba(16,185,129,.18); color: #34d399; border-color: rgba(16,185,129,.4); }
.next-card-icon.blue   { background: rgba(59,130,246,.18); color: #60a5fa; border-color: rgba(59,130,246,.4); }
.next-card-icon.orange { background: rgba(251,146,60,.18); color: #fb923c; border-color: rgba(251,146,60,.4); }
.next-card-icon.purple { background: rgba(168,85,247,.18); color: #c084fc; border-color: rgba(168,85,247,.4); }
.next-card h4 {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--text);
}
.next-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.next-card-arrow {
  position: absolute; bottom: 22px; left: 24px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  transition: all var(--tr);
}
.next-card:hover .next-card-arrow {
  background: var(--accent);
  color: #04231b;
  transform: translateX(4px);
  border-color: var(--accent);
}

/* ============ FAQ ============ */
.section { max-width: 1240px; margin: 0 auto; padding: 80px 24px; }
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  border-radius: 30px;
  overflow: hidden;
  transition: all var(--tr);
}
.faq-item:has(.faq-summary[aria-expanded="true"]) {
  border-color: var(--border-strong);
}
.faq-summary {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; color: var(--text);
  text-align: left;
  transition: all var(--tr-fast);
}
/* .faq-summary:hover { background: var(--accent-soft); } */
.faq-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 17px;
  border: 1px solid var(--border-strong);
  transition: transform var(--tr), background var(--tr);
  flex-shrink: 0;
}
.faq-summary[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #04231b;
}
.faq-body-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
}
.faq-summary[aria-expanded="true"] + .faq-body-wrap { grid-template-rows: 1fr; }
.faq-body {
  overflow: hidden;
  font-size: 14.5px; color: var(--text-muted); line-height: 1.65;
  padding: 0 24px;
  transition: padding .35s var(--ease-out);
}
.faq-summary[aria-expanded="true"] + .faq-body-wrap .faq-body {
  padding: 0 24px 22px;
}
.faq-body a { color: var(--accent); font-weight: 600; }
.faq-body a:hover { text-decoration: underline; }

/* ============ NEWSLETTER ============ */
.newsletter-strip {
  max-width: 1240px; margin: 30px auto;
  border-radius: var(--radius-xl);
  padding: 0;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  box-shadow: 0 22px 60px rgba(16,185,129,.35);
  position: relative; overflow: hidden;
}
.newsletter-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.ns-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 28px;
  padding: 36px 44px;
  position: relative;
}
.ns-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; color: #fff;
  margin-bottom: 6px;
}
.ns-inner p { color: rgba(255,255,255,.9); font-weight: 500; font-size: 15px; }
.ns-form {
  display: flex; gap: 8px;
  background: rgba(255,255,255,.95);
  padding: 6px;
  border-radius: 999px;
}
.ns-form input {
  flex: 1; padding: 13px 20px;
  border: 0; border-radius: 999px;
  background: transparent; font-size: 15px; color: #04231b;
  outline: none;
}
.ns-form input::placeholder { color: rgba(4,35,27,.55); }
.ns-form button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: #04231b; color: #fff; font-weight: 700;
  transition: all var(--tr);
}
.ns-form button:hover { background: var(--emerald-900); gap: 12px; }
.ns-success {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: rgba(255,255,255,.95);
  color: #04231b; font-weight: 600;
  border-radius: 999px;
  grid-column: 1 / -1;
  justify-self: start;
}
.ns-success i { color: var(--emerald-700); font-size: 20px; }








/* ============ FOOTER ============ */
.footer {
  padding: 60px 24px 0;
  margin-top: 40px;
  position: relative;
  isolation: isolate;
  font-family: 'Sora', system-ui, sans-serif;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: rgba(16, 32, 26, 0.35);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 55%, black 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 55%, black 100%);
}

[data-theme="light"] .footer::before {
  background: rgb(184 220 202 / 97%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.footer > * { position: relative; z-index: 1; }

.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}

/* ============ H5 — normal, NU uppercase, divider simplu gri ============ */
.f-col h5 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #cfd8d4;
  text-transform: none;
  letter-spacing: normal;
  margin: 0 0 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
[data-theme="light"] .f-col h5 {
  color: #2a3e36;
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* Linkuri — compacte vertical */
.f-col a {
  display: block;
  padding: 5px 0;
  color: #9bb5a8;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 15px;
  transition: color 0.2s ease;
}
.f-col a:hover { color: #34d399; }
[data-theme="light"] .f-col a { color: #436055; }
[data-theme="light"] .f-col a:hover { color: #059669; }













.f-brand .f-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700; font-size: 20px;
  margin-bottom: 14px;
  color: #e6f7ef;
}
[data-theme="light"] .f-brand .f-logo { color: #0a1f17; }
.f-brand .f-logo img {
  width: 40px; height: 40px; border-radius: 14px;
  background: linear-gradient(135deg, #34d399, #047857);
  padding: 4px;
}
.f-brand p {
  color: #9bb5a8;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 14px; max-width: 280px;
}
[data-theme="light"] .f-brand p { color: #436055; }

.f-socials { display: flex; gap: 10px; margin-top: 18px; }
.f-socials a {
  width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  background: rgba(28, 52, 42, 0.55);
    border: 1px solid rgb(110 231 183 / 7%);
  border-radius: 15px;
  transition: all 0.3s ease;
  color: #e6f7ef;
  font-size: 18px;
}



[data-theme="light"] .f-socials a {
  background: rgba(244, 250, 246, 0.7);
  border-color: rgba(6, 78, 59, 0.14);
  color: #0a1f17;
}







/* ============ LOGO MARE — VIZIBIL + fade stânga→dreapta ============ */
.footer-bigLogo {
    position: relative;
    max-width: 1340px;
    margin: -30px auto 10px;
    padding: 0 24px;
    text-align: center;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
.footer-bigLogo img {
  width: 100%;
  height: auto;
  display: none;
}
.footer-bigLogo-desktop { display: inline-block !important; }
.footer-bigLogo-mobile  { display: none !important; }

/* overlay care acoperă logo-ul și se retrage la dreapta = efect fade L→R */
.footer-bigLogo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #07100c 0%,
    #07100c 60%,
    rgba(7,16,12,0) 100%);
  transform: translateX(0);
  animation: footerLogoSweep 0.9s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% cover 35%;
  pointer-events: none;
}
[data-theme="light"] .footer-bigLogo::after {
  background: linear-gradient(90deg,
    #b8dcca 0%,
    #b8dcca 60%,
    rgba(184,220,202,0) 100%);
}
@keyframes footerLogoSweep {
  from { transform: translateX(0); }
  to   { transform: translateX(110%); }
}

/* ============ FOOTER BOTTOM ============ */
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 13px;
  color: #6f8b80;
}
[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.1);
  color: #6c8579;
}

.footer-legal-links { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-legal-links a { color: #6f8b80; transition: color 0.2s ease; }
.footer-legal-links a:hover { color: #34d399; }
[data-theme="light"] .footer-legal-links a { color: #6c8579; }
[data-theme="light"] .footer-legal-links a:hover { color: #059669; }
.footer-legal-links .footer-sep { opacity: 0.4; }

/* ============ MOBILE ============ */
@media (max-width: 760px) {
  .footer { padding: 50px 18px 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .f-brand { grid-column: 1 / -1; }

  .f-col h5 { font-size: 20px; margin-bottom: 10px; padding-bottom: 8px; }
  .f-col a  { padding: 4px 0; font-size: 13.5px; }

  /* schimbă logo-ul pe mobil */
  .footer-bigLogo { margin: -50px auto -10px; padding: 0 18px; }
  .footer-bigLogo-desktop { display: none !important; }
  .footer-bigLogo-mobile  { display: inline-block !important; width: 60%; max-width: 210px; }

  .footer-bottom { justify-content: center; text-align: center; font-size: 12px; }
}










/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .next-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* navbar */
  .navbar {
    top: 10px; left: 10px; right: 10px;
    transform: none; width: auto; max-width: none;
    padding: 8px 10px 8px 14px;
  }
  .navbar.scrolled { left: 10px; right: 10px; transform: none; width: auto; }
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-controls { gap: 6px; }
  .ctrl-btn { width: 36px; height: 36px; }
  .lang-btn { padding: 0 9px; font-size: 11px; }

  /* mobile lang flag */
  .lang-btn .lang-current,
  .lang-btn .lang-divider,
  .lang-btn .lang-other {
    display: none !important;
  }
  .lang-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
  .lang-btn::before {
    content: 'RO'; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent);
  }
  html[lang="en"] .lang-btn::before { content: 'EN'; }

  /* hero */
  .hero { padding: 100px 16px 50px; min-height: auto; }
  .hero-logo-wrap { width: 100px; height: 100px; }
  .hero-title-dl { font-size: clamp(36px, 11vw, 60px); }

  /* platform pills - allow scroll */
  .platform-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 14px;
    scrollbar-width: none;
  }
  .platform-pills::-webkit-scrollbar { display: none; }
  .pill { flex-shrink: 0; padding: 10px 16px; font-size: 13px; }

  /* download card */
  .download-area { padding: 30px 12px 40px; }
  .card-body { padding: 26px 22px; }
  .card-header { gap: 14px; }
  .card-platform-icon { width: 54px; height: 54px; font-size: 22px; }
  .card-platform-icon img { width: 28px; height: 28px; }
  .card-title-group h2 { font-size: 22px; }
  .main-dl-btn { padding: 14px 18px; font-size: 14.5px; }
  .steps-list { grid-template-columns: 1fr; }
  .step { padding: 14px 16px; }

  /* next */
  .next-grid { grid-template-columns: 1fr; }

  /* newsletter */
  .newsletter-strip { margin: 30px 16px; max-width: calc(100% - 32px); border-radius: 28px; }
  .ns-inner { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; }
  .ns-form { flex-direction: column; border-radius: 22px; padding: 6px; gap: 6px; }
  .ns-form input, .ns-form button { border-radius: 16px; width: 100%; text-align: center; justify-content: center; }

  /* footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* faq */
  .faq-summary { padding: 18px 20px; font-size: 15px; }
  .scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero-title-dl { font-size: 42px; }
  .hero-desc-dl { font-size: 15px; }
  .btn { font-size: 14px; padding: 12px 18px; }
  .alt-buttons { gap: 8px; }
  .alt-btn { font-size: 12px; padding: 8px 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}




































/* ==========================================================
   ✨ PREMIUM SUBTLE ANIMATIONS — SAFE EDITION
   - Animații elegante fără să strice afișarea
   - Toate textele rămân vizibile chiar dacă JS nu rulează
   ========================================================== */

:root {
  --ease-rev: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .8, .3, 1);
}

/* ============== KEYFRAMES ============== */

@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(8px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0);    filter: blur(0); }
}
@keyframes fadeUpSm {
  from { opacity: 0; transform: translate3d(0, 14px, 0); filter: blur(6px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0);    filter: blur(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translate3d(-22px, 0, 0); filter: blur(6px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0);     filter: blur(0); }
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(.96); filter: blur(8px); }
  to   { opacity: 1; transform: scale(1);   filter: blur(0); }
}
@keyframes fadeZoomSoft {
  from { opacity: 0; transform: scale(.94); filter: blur(10px); }
  to   { opacity: 1; transform: scale(1);   filter: blur(0); }
}


/* ==========================================================
   1) HERO — animăm direct (pentru că au deja .reveal.in inline)
   Nu folosim opacity:0 ca regulă separată — animația se ocupă
   ========================================================== */

.hero .hero-logo-wrap.reveal.in {
  animation: fadeZoomSoft .9s var(--ease-soft) .10s both;
}
.hero .hero-title-dl .title-line {
  display: inline-block;
  animation: fadeUp .75s var(--ease-rev) .25s both;
}
.hero .hero-title-dl .title-name {
  display: inline-block;
  animation: fadeUp .75s var(--ease-rev) .35s both;
}
.hero .hero-desc-dl.reveal.in {
  animation: fadeUp .75s var(--ease-rev) .50s both;
}
.hero .hero-cta-dl.reveal.in {
  animation: fadeUp .75s var(--ease-rev) .60s both;
}
.hero .hero-cta-dl .btn:nth-child(1) {
  animation: fadeUpSm .65s var(--ease-rev) .68s both;
}
.hero .hero-cta-dl .btn:nth-child(2) {
  animation: fadeUpSm .65s var(--ease-rev) .76s both;
}
.hero .hero-cta-dl .btn:nth-child(3) {
  animation: fadeUpSm .65s var(--ease-rev) .84s both;
}

/* HERO override: NU lăsa regula globală .reveal{opacity:0} să strice nimic */
.hero .reveal,
.hero .reveal.in {
  opacity: 1;
}


/* ==========================================================
   2) GLOBAL .reveal → .in (pentru elemente sub fold)
   ========================================================== */

.reveal:not(.in) {
  opacity: 0;
}
.reveal.in {
  animation: fadeUp .7s var(--ease-rev) both;
}


/* ==========================================================
   3) SECTION HEADERS (FAQ are .section-head.reveal)
   ========================================================== */

.section-head.reveal.in .section-eyebrow {
  animation: fadeUpSm .55s var(--ease-rev) 0s both;
}
.section-head.reveal.in .section-title {
  display: inline-block;
  animation: fadeUp .75s var(--ease-rev) .10s both;
}
.section-head.reveal.in .section-sub {
  animation: fadeUpSm .65s var(--ease-rev) .22s both;
}


/* ==========================================================
   4) PLATFORM SELECTOR — pills în cascadă
   ========================================================== */

.platform-selector.reveal.in .section-head-mini .section-eyebrow {
  animation: fadeUpSm .55s var(--ease-rev) 0s both;
}
.platform-selector.reveal.in .section-head-mini .section-title-sm {
  animation: fadeUp .75s var(--ease-rev) .10s both;
}

.platform-selector.reveal.in .platform-pills .pill {
  animation: fadeUp .6s var(--ease-rev) both;
}
.platform-selector.reveal.in .platform-pills .pill:nth-child(1) { animation-delay: .25s; }
.platform-selector.reveal.in .platform-pills .pill:nth-child(2) { animation-delay: .31s; }
.platform-selector.reveal.in .platform-pills .pill:nth-child(3) { animation-delay: .37s; }
.platform-selector.reveal.in .platform-pills .pill:nth-child(4) { animation-delay: .43s; }
.platform-selector.reveal.in .platform-pills .pill:nth-child(5) { animation-delay: .49s; }
.platform-selector.reveal.in .platform-pills .pill:nth-child(6) { animation-delay: .55s; }


/* ==========================================================
   5) NEXT STEPS — carduri cascadă
   ========================================================== */

.next-section.reveal.in .next-grid .next-card {
  animation: fadeUp .7s var(--ease-rev) both;
}
.next-section.reveal.in .next-grid .next-card:nth-child(1) { animation-delay: .25s; }
.next-section.reveal.in .next-grid .next-card:nth-child(2) { animation-delay: .35s; }
.next-section.reveal.in .next-grid .next-card:nth-child(3) { animation-delay: .45s; }
.next-section.reveal.in .next-grid .next-card:nth-child(4) { animation-delay: .55s; }


/* ==========================================================
   6) FAQ — items cascadă
   ========================================================== */

.faq-list.reveal.in .faq-item {
  animation: fadeUpSm .6s var(--ease-rev) both;
}
.faq-list.reveal.in .faq-item:nth-child(1) { animation-delay: .00s; }
.faq-list.reveal.in .faq-item:nth-child(2) { animation-delay: .08s; }
.faq-list.reveal.in .faq-item:nth-child(3) { animation-delay: .16s; }
.faq-list.reveal.in .faq-item:nth-child(4) { animation-delay: .24s; }
.faq-list.reveal.in .faq-item:nth-child(5) { animation-delay: .32s; }
.faq-list.reveal.in .faq-item:nth-child(6) { animation-delay: .40s; }


/* ==========================================================
   7) PLATFORM CARD ACTIVĂ — animație la schimbare platformă
   ========================================================== */

.platform-card.active .main-buttons .main-dl-btn {
  animation: fadeUp .55s var(--ease-rev) both;
}
.platform-card.active .main-buttons .main-dl-btn:nth-child(1) { animation-delay: .08s; }
.platform-card.active .main-buttons .main-dl-btn:nth-child(2) { animation-delay: .16s; }

.platform-card.active .alt-buttons .alt-btn {
  animation: fadeUpSm .5s var(--ease-rev) both;
}
.platform-card.active .alt-buttons .alt-btn:nth-child(1) { animation-delay: .22s; }
.platform-card.active .alt-buttons .alt-btn:nth-child(2) { animation-delay: .27s; }
.platform-card.active .alt-buttons .alt-btn:nth-child(3) { animation-delay: .32s; }
.platform-card.active .alt-buttons .alt-btn:nth-child(4) { animation-delay: .37s; }
.platform-card.active .alt-buttons .alt-btn:nth-child(5) { animation-delay: .42s; }
.platform-card.active .alt-buttons .alt-btn:nth-child(6) { animation-delay: .47s; }

.platform-card.active .steps-list .step {
  animation: fadeLeft .55s var(--ease-rev) both;
}
.platform-card.active .steps-list .step:nth-child(1) { animation-delay: .40s; }
.platform-card.active .steps-list .step:nth-child(2) { animation-delay: .48s; }
.platform-card.active .steps-list .step:nth-child(3) { animation-delay: .56s; }
.platform-card.active .steps-list .step:nth-child(4) { animation-delay: .64s; }

.platform-card.active .doc-link-row .doc-link {
  animation: fadeUpSm .5s var(--ease-rev) both;
}
.platform-card.active .doc-link-row .doc-link:nth-child(1) { animation-delay: .72s; }
.platform-card.active .doc-link-row .doc-link:nth-child(2) { animation-delay: .78s; }


/* ==========================================================
   8) MOBILE — mai snappy
   ========================================================== */

@media (max-width: 760px) {
  .hero .hero-logo-wrap.reveal.in        { animation-duration: .75s; animation-delay: .10s; }
  .hero .hero-title-dl .title-line       { animation-duration: .55s; animation-delay: .22s; }
  .hero .hero-title-dl .title-name       { animation-duration: .55s; animation-delay: .30s; }
  .hero .hero-desc-dl.reveal.in          { animation-duration: .55s; animation-delay: .40s; }
  .hero .hero-cta-dl.reveal.in           { animation-duration: .55s; animation-delay: .48s; }
  .hero .hero-cta-dl .btn:nth-child(1)   { animation-delay: .54s; }
  .hero .hero-cta-dl .btn:nth-child(2)   { animation-delay: .60s; }
  .hero .hero-cta-dl .btn:nth-child(3)   { animation-delay: .66s; }
  .hero .scroll-hint                     { animation-delay: .85s; }

  .reveal.in { animation-duration: .55s; }
}


/* ==========================================================
   9) SAFETY NET — dacă JS nu rulează deloc, după 2s tot e vizibil
   ========================================================== */

@keyframes failsafeShow {
  to { opacity: 1; }
}
.reveal:not(.in) {
  animation: failsafeShow 0s 2s forwards;
}


/* ==========================================================
   10) Reduced motion
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal,
  [class*="reveal"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


















/* ============ RESPONSIVE PENTRU TELEFON - OPTIMIZAT ============ */
@media (max-width: 768px) {
  /* Hero section - fullscreen pe telefon */
  .hero {
    min-height: 100vh;
    height: 100vh;
    padding: 100px 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .hero-inner-dl {
    gap: 24px;
    padding: 0 12px;
  }
  
  /* Logo - puțin mai mare */
  .hero-logo-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
  }
  

  /* ===== MOBILE SHEET (meniul hamburger) — fix dimensiune ===== */
  .mobile-sheet {
    width: calc(100% - 12px);
    max-width: 100%;
    max-height: 82vh;
    padding: 12px 16px 18px;
    border-radius: 28px 28px 0 0;
    bottom: -100%;
  }
  .mobile-sheet.open { bottom: 0; }
  .sheet-handle { width: 40px; height: 4px; margin-bottom: 10px; }
  .sheet-head {
    padding-bottom: 12px;
    margin-bottom: 10px;
  }
  .sheet-title { font-size: 27px; gap: 10px; }
  .sheet-title img { width: 38px; height: 38px; }
  .sheet-close { width: 34px; height: 34px; font-size: 18px; }
  .sheet-links { gap: 5px; }
  .sheet-links a {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 14px;
    gap: 12px;
  }
  .sheet-links a > i:first-child {
    width: 32px; height: 32px;
    font-size: 13px;
    border-radius: 9px;
  }
  .sheet-footer {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 11px;
  }
  .sheet-socials a { width: 36px; height: 36px; font-size: 19px; }



  /* Titlu - mai mare */
  .hero-title-dl {
    font-size: clamp(42px, 10vw, 56px);
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-title-dl .title-line {
    font-size: 0.85em;
    display: inline-block;
  }
  
  .hero-title-dl .title-name {
    font-size: 1em;
  }
  
  /* Descriere - text mai mare și mai lizibil */
  .hero-desc-dl {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 16px;
    max-width: 320px;
  }
  
  /* Butoanele - mai mari */
  .hero-cta-dl {
    gap: 14px;
    margin-top: 8px;
  }
  
  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }
  
  .btn i {
    font-size: 14px;
  }
  
  /* Scroll hint - vizibil și accesibil */
  .scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    gap: 8px;
  }
  
  .scroll-hint span {
    font-size: 11px;
    letter-spacing: 4px;
  }
  
  .scroll-hint i {
    font-size: 16px;
  }
  
  /* Platform selector - vizibil complet */
  .platform-selector {
    padding: 30px 16px 20px;
    scroll-margin-top: 80px;
  }
  
  .section-head-mini {
    margin-bottom: 24px;
  }
  
  .section-eyebrow {
    font-size: 12px;
    padding: 6px 14px;
  }
  
  .section-title-sm {
    font-size: 28px;
  }
  
  /* Platform pills - 3 coloane, vizibile */
  .platform-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
  }
  
  .pill {
    flex-direction: column;
    padding: 14px 8px;
    gap: 8px;
  }
  
  .pill .pill-icon {
    width: 36px;
    height: 36px;
  }
  
  .pill .pill-icon img,
  .pill .pill-icon i {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }
  
  .pill .pill-label {
    font-size: 12px;
    font-weight: 600;
  }
  
  /* Download cards - complet vizibile */
  .download-area {
    padding: 30px 16px 40px;
  }
  
  .platform-card .card-body {
    padding: 24px 20px;
  }
  
  .card-header {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .card-platform-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .card-platform-icon img {
    width: 34px;
    height: 34px;
  }
  
  .card-title-group h2 {
    font-size: 22px;
  }
  
  .req {
    font-size: 12px;
  }
  
  /* Butoane principale - mai mari */
  .main-buttons {
    gap: 12px;
    margin: 20px 0 16px;
  }
  
  .main-dl-btn {
    padding: 14px 18px;
    font-size: 14px;
  }
  
  .main-dl-btn i,
  .main-dl-btn img {
    font-size: 16px;
    width: 20px;
    height: 20px;
  }
  
  /* Alternative buttons */
  .alt-buttons {
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .alt-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  /* Steps - text mai mare */
  .steps-title {
    font-size: 18px;
    margin: 20px 0 16px;
  }
  
  .steps-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .step {
    padding: 16px;
  }
  
  .step-num {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .step-text {
    font-size: 14px;
  }
  
  .step-text code {
    font-size: 12px;
  }
  
  .doc-link-row {
    margin-top: 20px;
  }
  
  .doc-link {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  /* Next section */
  .next-section {
    padding: 40px 16px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .section-sub {
    font-size: 15px;
    padding: 0 16px;
  }
  
  .next-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  
  .next-card {
    padding: 24px 20px 70px;
  }
  
  .next-card-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
  
  .next-card h4 {
    font-size: 18px;
  }
  
  .next-card p {
    font-size: 14px;
  }
  
  .next-card-num {
    font-size: 32px;
    top: 20px;
    right: 20px;
  }
  
  /* FAQ */
  .section {
    padding: 40px 16px;
  }
  
  .faq-summary {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .faq-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .faq-body {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .faq-summary[aria-expanded="true"] + .faq-body-wrap .faq-body {
    padding: 0 20px 20px;
  }
  
  /* Newsletter */
  .newsletter-strip {
    margin: 20px 16px 0;
    border-radius: 28px;
  }
  
  .ns-inner {
    padding: 28px 20px;
    gap: 20px;
  }
  
  .ns-inner h3 {
    font-size: 22px;
  }
  
  .ns-inner p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .ns-form {
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    background: white;
    padding: 8px;
  }
  
  .ns-form input {
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 16px;
  }
  
  .ns-form button {
    padding: 14px 20px;
    font-size: 15px;
    justify-content: center;
  }
  
  .ns-success {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  /* Footer */
  .footer {
    margin-top: 40px;
    padding: 40px 20px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding-bottom: 30px;
  }
  
  .f-brand .f-logo {
    justify-content: center;
  }
  
  .f-brand p {
    margin: 0 auto;
    font-size: 14px;
    max-width: 280px;
  }
  
  .f-col h5 {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .f-col a {
    font-size: 14px;
    padding: 8px 0;
  }
  
  .f-socials {
    justify-content: center;
    margin-top: 20px;
  }
  
  .f-socials a {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px 0;
    font-size: 12px;
  }
}

/* Pentru ecrane foarte mici (sub 380px) */
@media (max-width: 380px) {
  .platform-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .hero-title-dl {
    font-size: 38px;
  }
  
  .hero-desc-dl {
    font-size: 14px;
  }
  
  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  
  .card-title-group h2 {
    font-size: 20px;
  }
  
  .main-dl-btn {
    font-size: 13px;
    padding: 12px 14px;
  }
}






/* Pe telefon - border-radius mai mare pentru platform cards */
@media (max-width: 768px) {
  .platform-card {
    border-radius: 30px !important;
  }
  
  .platform-card .card-stripe {
    border-radius: 30px 30px 0 0;
  }
}





/* CÂND ESTE SUS DE TOT (fără scroll) - background închis */
.navbar:not(.scrolled) {
  background: rgba(0, 0, 0, 0.46) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(110, 231, 183, 0.2) !important;
}

/* LIGHT MODE - când e sus (închis) */
[data-theme="light"] .navbar:not(.scrolled) {
  background: rgb(255 255 255 / 55%) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(110, 231, 183, 0.25) !important;
}







/* Asigură scroll-padding pentru navbar */
html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

/* Efectul de highlight pe card */
.platform-highlight {
  animation: platformGlow 0.6s ease-out 2;
  border-radius: 50px;
}

@keyframes platformGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    border-color: transparent;
  }
  50% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.5), inset 0 0 0 1px rgba(16, 185, 129, 0.3);
    border-color: var(--accent);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    border-color: transparent;
  }
}















.nav-links{ overflow: visible !important; }

.nav-links .nav-item.has-mega{
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-links .nav-item.has-mega > .nav-link{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15.5px;
  letter-spacing: .01em;
  cursor: pointer;
}
.nav-links .nav-caret{
  font-size: 10px;
  opacity: .65;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s, color .25s;
}
.nav-links .nav-item.has-mega.is-open > .nav-link .nav-caret{
  transform: rotate(-180deg);
  opacity: 1;
  color: var(--accent-green, #22c55e);
}

/* ====== PANEL ======
   Va fi mutat în <body> de JS — folosim position: fixed.
   Folosim un wrapper de blur (mega-blur) ca să asigurăm blur real
   indiferent ce părinte are transform/filter. */
.mega-panel{
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, 14px) scale(.96);
  transform-origin: top center;
  width: 380px;
  padding: 18px;
  border-radius: 26px;

  /* Blur garantat: backdrop-filter pe element (panoul însuși) */
  background: radial-gradient(120% 80% at 0% 0%, rgba(34, 197, 94, .10), transparent 55%), radial-gradient(120% 80% at 100% 100%, rgba(16, 185, 129, .08), transparent 55%), rgb(11 13 16 / 60%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);

  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.65),
    0 10px 30px -10px rgba(34,197,94,.18),
    inset 0 1px 0 rgba(255,255,255,.08);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .28s ease,
    transform .42s cubic-bezier(.2,.8,.2,1),
    visibility .28s;
  z-index: 9999;
}
.mega-panel[data-cols="2"]{ width: 560px; }

/* Light theme */
html[data-theme="light"] .mega-panel{
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(34,197,94,.12), transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(16,185,129,.10), transparent 55%),
    rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 30px 80px -20px rgba(15,23,42,.20),
    0 10px 30px -10px rgba(34,197,94,.18),
    inset 0 1px 0 rgba(255,255,255,.65);
}

/* Săgeată */
.mega-arrow{
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: inherit;
  border-left: 1px solid rgba(255,255,255,.10);
  border-top: 1px solid rgba(255,255,255,.10);
  border-top-left-radius: 4px;
}
html[data-theme="light"] .mega-arrow{
  border-color: rgba(15,23,42,.08);
}

/* OPEN state (controlat de JS) */
.mega-panel.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

/* ====== HEAD ====== */
.mega-head{
  padding: 4px 10px 14px;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  margin-bottom: 12px;
}
html[data-theme="light"] .mega-head{
  border-bottom-color: rgba(15,23,42,.10);
}
.mega-head h4{
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}
html[data-theme="light"] .mega-head h4{ color: #0b1220; }
.mega-head p{
  margin: 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.62);
}
html[data-theme="light"] .mega-head p{ color: rgba(15,23,42,.62); }

/* ====== GRID ====== */
.mega-grid{ display: grid; grid-template-columns: 1fr; gap: 4px; }
.mega-grid-2{ grid-template-columns: 1fr 1fr; gap: 6px; }

/* ====== ITEM ====== */
.mega-panel a{
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 23px;
  text-decoration: none;
  color: rgba(255,255,255,.92);
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .28s ease, color .25s ease;
}
html[data-theme="light"] .mega-panel a{ color: #0b1220; }

/* fade verde prin ::before (nu pe :hover direct -> tranziție în ambele sensuri) */
.mega-panel a::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(16,185,129,.06));
  opacity: 0;
  transition: opacity .4s ease;
  z-index: -1;
}
.mega-panel a:hover::before{ opacity: 1; }

/* entrance staggered, doar când panoul este deschis */
.mega-panel.is-open a{
  animation: megaIn .45s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes megaIn{ to{ transform: translateY(0); opacity: 1; } }

/* Icon — simplu, fără shadow verde */
.m-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--accent-green, #22c55e);
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.22);
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
html[data-theme="light"] .m-ico{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.30);
}

/* la hover pe item -> iconița se "aprinde" cu verde, fără shadow */
.mega-panel a:hover .m-ico{
  background: rgba(34,197,94,.22);
  border-color: rgba(34,197,94,.45);
  color: #fff;
}

/* Text */
.m-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m-text b{
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
}
.m-text em{
  font-style: normal;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-theme="light"] .m-text em{ color: rgba(15,23,42,.58); }

/* Săgeată item */
.m-arrow{
  font-size: 15px;
  color: rgba(255,255,255,.30);
  transform: translateX(-6px);
  opacity: 0;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s, color .25s;
}
html[data-theme="light"] .m-arrow{ color: rgba(15,23,42,.30); }
.mega-panel a:hover .m-arrow{
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-green, #22c55e);
}

/* Mobile */
@media (max-width: 980px){
  .mega-panel{ display: none !important; }
  .nav-caret{ display: none; }
}



#cursorDot,
.cursor-dot,
#cursorRing,
.cursor-ring{
  z-index: 2147483647 !important;  /* max int */
  pointer-events: none !important;
}