/* =========================================================
   RadioPanel — stil site public
   Culorile principale vin din panou (variabile în <head>).
   ========================================================= */

:root {
  --bg: #0d0e13;
  --bg-2: #13141b;
  --surface: #181922;
  --surface-2: #1f2029;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);
  --text: #f4f4f6;
  --text-2: #b4b4c0;
  --muted: #7a7a88;
  --primary: #ff3b3b;
  --primary-rgb: 255, 59, 59;
  --secondary: #ff7a18;
  --secondary-rgb: 255, 122, 24;
  --accent: #34f5a0;
  --accent-rgb: 52, 245, 160;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
::selection { background: rgba(var(--primary-rgb), .35); }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(var(--primary-rgb), .6), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(var(--primary-rgb), .75), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.btn-outline { background: transparent; border-color: rgba(var(--primary-rgb), .5); color: var(--text); }
.btn-outline:hover { background: rgba(var(--primary-rgb), .12); border-color: var(--primary); }
.btn-light { background: #fff; color: #111; }
.btn-light:hover { box-shadow: 0 14px 40px -10px rgba(0,0,0,.5); }

/* ---------- Bara de sus ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(var(--primary-rgb), .14), rgba(var(--secondary-rgb), .08));
  border-bottom: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-2);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar-text { display: inline-flex; align-items: center; gap: 8px; }
.topbar-text .icon { color: var(--secondary); }
.topbar-contact { display: flex; gap: 20px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-contact a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 14, 19, .6);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(13, 14, 19, .88); border-bottom-color: var(--border); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: auto; max-width: 220px; object-fit: contain; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gradient); color: #fff; box-shadow: 0 8px 22px -6px rgba(var(--primary-rgb), .7);
}
.main-nav { display: flex; gap: 4px; }
.main-nav > a {
  padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--text-2);
  position: relative; transition: color .2s, background .2s;
}
.main-nav > a:hover { color: #fff; background: rgba(255,255,255,.05); }
.main-nav > a.active { color: #fff; }
.main-nav > a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gradient);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: rgba(255,255,255,.06); border: 1px solid var(--border-strong); color: #fff; border-radius: 10px; width: 42px; height: 42px; cursor: pointer; place-items: center; }
.nav-actions-mobile { display: none; }

/* ---------- Fundaluri comune ---------- */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; animation: blobFloat 16s ease-in-out infinite; }
.blob-1 { width: 520px; height: 520px; background: rgba(var(--primary-rgb), .45); top: -180px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: rgba(var(--secondary-rgb), .3); bottom: -160px; left: -140px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: rgba(var(--accent-rgb), .14); top: 40%; left: 45%; animation-delay: -9s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(.95); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 0; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-bottom: 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(var(--primary-rgb), .1); border: 1px solid rgba(var(--primary-rgb), .3);
  font-size: 13.5px; font-weight: 600; color: #ffd9cc; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); } 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 22px; }
.rotator {
  display: inline; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.caret { display: inline-block; width: 4px; height: .9em; margin-left: 4px; vertical-align: -.08em; border-radius: 2px; background: var(--secondary); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { font-size: 18px; color: var(--text-2); max-width: 560px; margin-bottom: 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); font-weight: 500; }
.tick { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); flex-shrink: 0; }

/* Vizual hero */
.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.radio-waves { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.radio-waves span {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 1.5px solid rgba(var(--primary-rgb), .5);
  animation: wave 4.8s cubic-bezier(.2, .6, .4, 1) infinite; opacity: 0;
}
.radio-waves span:nth-child(2) { animation-delay: 1.2s; }
.radio-waves span:nth-child(3) { animation-delay: 2.4s; }
.radio-waves span:nth-child(4) { animation-delay: 3.6s; }
@keyframes wave { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }

.mock-window {
  position: relative; width: 100%; max-width: 480px; z-index: 2;
  background: linear-gradient(180deg, rgba(31, 32, 41, .92), rgba(20, 21, 28, .95));
  border: 1px solid var(--border-strong); border-radius: 22px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03), 0 0 80px -20px rgba(var(--primary-rgb), .35);
  backdrop-filter: blur(10px);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.mock-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.mock-url { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); padding: 4px 12px; border-radius: 8px; }
.mock-url .icon { color: var(--accent); }
.mock-body { padding: 20px; display: grid; gap: 18px; }
.mock-station { display: flex; align-items: center; gap: 14px; }
.mock-cover { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--gradient); color: #fff; box-shadow: 0 10px 24px -8px rgba(var(--primary-rgb), .7); }
.mock-meta { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.mock-meta b { font-size: 15px; }
.mock-meta small { color: var(--muted); font-size: 12.5px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--primary); background: rgba(var(--primary-rgb), .12); border: 1px solid rgba(var(--primary-rgb), .35); padding: 5px 10px; border-radius: 999px; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: blink 1.2s infinite; }

.equalizer { display: flex; align-items: flex-end; gap: 4px; height: 64px; padding: 0 2px; }
.equalizer span {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  transform-origin: bottom; animation: eq var(--t) ease-in-out var(--dl) infinite alternate;
  opacity: .9;
}
@keyframes eq { 0% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats div { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.mock-stats small { font-size: 11.5px; color: var(--muted); }
.mock-stats b { font-size: 19px; letter-spacing: -.02em; }
.mock-stats em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.mock-chart { width: 100%; height: 70px; }
.chart-line { stroke-dasharray: 520; stroke-dashoffset: 520; animation: drawLine 2.6s var(--ease) .6s forwards; }
.chart-area { opacity: 0; animation: fadeIn 1.4s ease 1.6s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(24, 25, 34, .85); border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow); line-height: 1.3;
  animation: floatY 6s ease-in-out infinite;
}
.float-card b { font-size: 14px; display: block; }
.float-card small { font-size: 12px; color: var(--muted); }
.fc-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--primary-rgb), .15); color: var(--primary); }
.fc-icon.green { background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.fc-icon.orange { background: rgba(var(--secondary-rgb), .15); color: var(--secondary); }
.fc-1 { top: 0; left: -6%; animation-delay: -1s; }
.fc-2 { top: 60%; left: -10%; animation-delay: -3s; }
.fc-3 { bottom: 0; right: -5%; animation-delay: -4.5s; }

/* Banda tehnologii */
.tech-strip { position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.015); padding: 18px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.tech-strip:hover .marquee { animation-play-state: paused; }
.marquee-track { display: flex; gap: 56px; padding-right: 56px; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.marquee-track span:hover { color: var(--text); }
.marquee-track .icon { color: var(--primary); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secțiuni ---------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0 96px; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { color: var(--text-2); font-size: 17px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; text-align: left; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px;
}

/* Statistici */
.stats-section { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 30px 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
}
.stat b { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--text-2); font-weight: 600; font-size: 15px; }

/* Funcții */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; padding: 32px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--primary-rgb), .13), transparent 45%);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 30px 60px -30px rgba(var(--primary-rgb), .4); }
.feature-card:hover::before { opacity: 1; }
.feature-card h3 { font-size: 19px; margin-top: 20px; position: relative; }
.feature-card p { color: var(--text-2); margin: 0; font-size: 15px; position: relative; }
.feature-icon {
  position: relative; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), .2), rgba(var(--secondary-rgb), .12));
  border: 1px solid rgba(var(--primary-rgb), .3); color: var(--secondary); flex-shrink: 0;
}
.feature-icon.green { background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .3); color: var(--accent); }

/* Pași */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), .5), rgba(var(--secondary-rgb), .5), transparent);
}
.step { position: relative; text-align: center; padding: 0 20px; }
.step-num {
  position: relative; display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 26px;
  font-size: 28px; font-weight: 800; margin-bottom: 22px; color: #fff;
  background: var(--gradient); border: 6px solid var(--bg-2);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), .4), 0 20px 40px -16px rgba(var(--primary-rgb), .7);
}
.step h3 { font-size: 20px; }
.step p { color: var(--text-2); }

/* ---------- Prețuri ---------- */
.billing-toggle {
  position: relative; display: flex; width: max-content; margin: 0 auto 48px; padding: 6px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border-strong);
}
.billing-toggle button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 700;
  padding: 10px 26px; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: color .3s;
}
.billing-toggle button.active { color: #fff; }
.toggle-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 12px; background: var(--gradient); box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), .6); transition: transform .45s var(--ease), width .45s var(--ease); }
.save-badge { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(var(--accent-rgb), .16); color: var(--accent); font-weight: 800; }
.billing-toggle button.active .save-badge { background: rgba(255,255,255,.22); color: #fff; }

.pricing-grid { display: grid; gap: 22px; align-items: stretch; }
.pricing-grid.count-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.pricing-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.pricing-grid.count-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid.count-4 { grid-template-columns: repeat(4, 1fr); }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.featured {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), .14), var(--surface) 55%);
  border-color: rgba(var(--primary-rgb), .55);
  box-shadow: 0 30px 80px -30px rgba(var(--primary-rgb), .55);
}
.price-card.featured::before {
  content: ''; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--primary), transparent 40%, transparent 60%, var(--secondary));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--gradient); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px;
  letter-spacing: .03em; box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), .7);
}
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-desc { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.price { position: relative; height: 66px; margin: 8px 0 22px; }
.price-line {
  position: absolute; inset: 0; display: flex; align-items: baseline; gap: 4px;
  opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s var(--ease); pointer-events: none;
}
.price-line.show,
[data-billing-target="monthly"] .price-line[data-period="monthly"],
[data-billing-target="yearly"] .price-line[data-period="yearly"] { opacity: 1; transform: none; }
.price .amount { font-size: 50px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price .cur { font-size: 24px; font-weight: 800; color: var(--secondary); }
.price .per { color: var(--muted); font-size: 15px; font-weight: 600; margin-left: 4px; }
.price-features { list-style: none; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px dashed var(--border-strong); display: grid; gap: 12px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-2); }
.price-features .icon { color: var(--accent); margin-top: 4px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(var(--primary-rgb), .4); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .3s var(--ease); color: var(--secondary); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; color: var(--text-2); }

/* ---------- Noutăți ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.news-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.news-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; background: var(--surface-2); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85);
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--secondary-rgb), .5), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(var(--primary-rgb), .55), transparent 55%),
    var(--surface-2);
}
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.news-body h3 { font-size: 19px; }
.news-body h3 a:hover { color: var(--secondary); }
.news-body p { color: var(--text-2); font-size: 15px; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--secondary); }
.read-more .icon { transition: transform .25s var(--ease); }
.read-more:hover .icon { transform: translateX(4px); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; }
.pagination a.active, .pagination a:hover { background: var(--gradient); border-color: transparent; color: #fff; }
.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 36px; border: 1px solid var(--border); }
.back-link { margin-top: 40px; }
.flip { display: inline-flex; transform: scaleX(-1); }
.btn:hover .flip .icon { transform: translateX(3px); }

/* Text bogat (despre, articole) */
.rich-text { font-size: 17px; color: var(--text-2); }
.rich-text h1, .rich-text h2, .rich-text h3 { color: var(--text); margin-top: 1.4em; }
.rich-text h2 { font-size: 28px; }
.rich-text h3 { font-size: 22px; }
.rich-text > :first-child { margin-top: 0; }
.rich-text a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.rich-text strong { color: var(--text); }
.rich-text ul, .rich-text ol { padding-left: 1.3em; }
.rich-text li { margin-bottom: .4em; }
.rich-text img { border-radius: 14px; margin: 1.5em 0; }
.rich-text blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 3px solid var(--primary); background: rgba(var(--primary-rgb), .07); border-radius: 0 12px 12px 0; color: var(--text); }
.rich-text pre, .rich-text code { background: var(--surface-2); border-radius: 8px; padding: 2px 6px; font-size: .9em; }
.rich-text pre { padding: 16px; overflow-x: auto; }
/* Liste și aliniere generate de editorul din panou */
.rich-text li[data-list="bullet"] { list-style-type: disc; }
.rich-text li[data-list="ordered"] { list-style-type: decimal; }
.rich-text .ql-ui { display: none; }
.rich-text .ql-align-center { text-align: center; }
.rich-text .ql-align-right { text-align: right; }
.rich-text .ql-align-justify { text-align: justify; }

/* ---------- Antet pagini interioare ---------- */
.page-hero { position: relative; overflow: hidden; padding: 90px 0 70px; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero .blob-1 { top: -260px; right: 10%; }
.page-hero .blob-2 { bottom: -300px; left: 5%; }
.page-hero-inner { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.035em; }
.page-hero p { color: var(--text-2); font-size: 18px; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 6px; opacity: .5; }
.article-hero { text-align: left; }
.article-hero h1 { font-size: clamp(30px, 4.2vw, 48px); }

/* Despre */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.about-image img { border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; }
.about-visual { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; display: grid; place-items: center; border-radius: 30px; background: radial-gradient(circle, rgba(var(--primary-rgb), .18), transparent 65%); }
.about-visual .radio-waves span { width: 160px; height: 160px; }
.about-visual-icon { position: relative; z-index: 1; width: 120px; height: 120px; border-radius: 34px; display: grid; place-items: center; background: var(--gradient); color: #fff; box-shadow: 0 30px 60px -20px rgba(var(--primary-rgb), .8); animation: floatY 6s ease-in-out infinite; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .3s var(--ease); }
.info-card:hover { border-color: rgba(var(--primary-rgb), .35); transform: translateX(4px); }
.info-card small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.info-card a, .info-card b { font-weight: 700; font-size: 16px; word-break: break-word; }
.info-card a:hover { color: var(--secondary); }
.contact-form-wrap { padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-form-wrap h2 { font-size: 26px; margin-bottom: 24px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .15); }
.contact-form button { justify-self: start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; }
.alert-error { background: rgba(var(--primary-rgb), .1); border: 1px solid rgba(var(--primary-rgb), .4); color: #ffc9c9; }
.form-success { text-align: center; padding: 30px 0; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); margin-bottom: 20px; animation: popIn .6s var(--ease); }
@keyframes popIn { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.form-success p { color: var(--text-2); }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px 60px; border-radius: 28px; background: var(--gradient);
  box-shadow: 0 40px 100px -40px rgba(var(--primary-rgb), .8);
}
.cta-content { position: relative; z-index: 1; max-width: 640px; }
.cta-box h2 { font-size: clamp(28px, 3.2vw, 40px); color: #fff; }
.cta-box p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0; }
.cta-box .btn { position: relative; z-index: 1; }
.cta-waves { position: absolute; right: -80px; top: 50%; width: 0; height: 0; }
.cta-waves span { position: absolute; left: -200px; top: -200px; width: 400px; height: 400px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); animation: wave 5s ease-out infinite; opacity: 0; }
.cta-waves span:nth-child(2) { animation-delay: 1.66s; }
.cta-waves span:nth-child(3) { animation-delay: 3.33s; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 72px; }
.footer-glow { position: absolute; top: -200px; left: 50%; width: 700px; height: 300px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(var(--primary-rgb), .18), transparent 70%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 8px; }
.footer-col a, .footer-col span { color: var(--text-2); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; width: fit-content; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-col .icon { color: var(--secondary); }
.footer-about p { color: var(--text-2); margin: 14px 0 18px; max-width: 340px; font-size: 15px; }
.footer-about .brand:hover { transform: none; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-2); transition: all .25s var(--ease); }
.socials a:hover { background: var(--gradient); border-color: transparent; color: #fff; transform: translateY(-3px); }
.socials a .icon { color: inherit; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.to-top { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--border); transition: all .25s; }
.to-top .icon { transform: rotate(180deg); }
.to-top:hover { background: var(--gradient); color: #fff; border-color: transparent; }

/* ---------- Animații la scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pricing-grid.count-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 0; }
  .fc-2 { left: 0; }
  .fc-3 { right: 0; }
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); z-index: 200;
    flex-direction: column; gap: 4px; padding: 90px 20px 24px;
    background: rgba(17, 18, 24, .98); border-left: 1px solid var(--border);
    /* rămâne în ecran (nu iese în dreapta), altfel telefonul micșorează pagina */
    opacity: 0; visibility: hidden; transform: translateY(-16px);
    transition: transform .4s var(--ease), opacity .3s, visibility .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; box-shadow: -30px 0 60px rgba(0,0,0,.5); }
  .main-nav > a { padding: 12px 14px; font-size: 17px; }
  .main-nav > a.active::after { display: none; }
  .main-nav > a.active { background: rgba(var(--primary-rgb), .12); }
  .nav-actions-mobile { display: grid; gap: 10px; margin-top: 18px; }
  .nav-toggle { display: grid; position: relative; z-index: 210; }
  .header-actions .btn { display: none; }
  /* fără backdrop-filter: altfel meniul fix ar fi limitat la înălțimea header-ului */
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13, 14, 19, .96); }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; }

  .hero { padding-top: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 400px; }
  .features-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid.count-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-box { flex-direction: column; text-align: center; padding: 48px 32px; }
  .topbar-contact { display: none; }
  .topbar-inner { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0 72px; }
  .header-inner { height: 66px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 0; padding: 30px 0 60px; }
  .float-card { padding: 9px 12px 9px 9px; border-radius: 13px; }
  .float-card small { display: none; }
  .fc-icon { width: 30px; height: 30px; border-radius: 9px; }
  .fc-1 { top: 0; left: 0; }
  .fc-2 { top: auto; bottom: 10px; left: 4px; }
  .fc-3 { top: auto; bottom: 30px; right: 0; }
  .mock-body { padding: 16px; gap: 14px; }
  .mock-stats b { font-size: 16px; }
  .features-grid, .news-grid, .pricing-grid.count-2, .pricing-grid.count-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .billing-toggle button { padding: 10px 16px; }
  .section-head-row { align-items: flex-start; }
  .feature-card { padding: 26px; }
}
