/* =====================================================
   Webstatic — styles.css
   Structura:
   1. Reset + base
   2. CSS variables (default = theme-09)
   3. Theme overrides (theme-01 ... theme-10)
   4. Typography + utilities
   5. Layout primitives (container, grid)
   6. Buttons + badges
   7. Header + navigation
   8. Hero + background effects
   9. Sections (de-ce, beneficii, cum-functioneaza, pachete, extra, exemple, tehnologie, faq, contact)
   10. Footer
   11. Drawer
   12. Cookie popup
   13. Layout overrides (layout-01 / 02 / 03)
   14. Responsive (mobile, tablet)
   15. Reduced motion
   ===================================================== */


.tco-breakdown em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.78em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  margin-left: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}


/* ---------- Hero inline SVG visual ---------- */
.hero-media {
  position: relative;
}

.hero-visual-shell {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.hero-visual-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 78%, #000 22%), var(--bg));
  box-shadow: 0 28px 100px rgba(0,0,0,0.34);
  min-height: 460px;
}

.hero-tech-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 460px;
}

/* Hero SVG animations (LEDs, data flow, wifi) */
@keyframes heroLedA  { 0%,100% { opacity: 0.35; } 50% { opacity: 1;    } }
@keyframes heroLedB  { 0%,100% { opacity: 1;    } 50% { opacity: 0.35; } }
@keyframes heroLedC  { 0%,100% { opacity: 0.5;  } 50% { opacity: 1;    } }
@keyframes heroLedD  { 0%,100% { opacity: 0.4;  } 50% { opacity: 0.95; } }
@keyframes heroLedE  { 0%,100% { opacity: 0.6;  } 50% { opacity: 1;    } }
@keyframes heroLedPw { 0%,100% { opacity: 0.7;  } 50% { opacity: 1;    } }
@keyframes heroDataFlow    { to { stroke-dashoffset: -28; } }
@keyframes heroDataFlowSlw { to { stroke-dashoffset: -42; } }
@keyframes heroDataFlowRev { to { stroke-dashoffset:  28; } }
@keyframes heroWifi  { 0%,100% { opacity: 0.25; } 50% { opacity: 0.9;  } }
@keyframes heroDot   { 0%,100% { r: 2;          } 50% { r: 3.6;        } }

.hero-tech-svg .led-a    { animation: heroLedA  1.4s ease-in-out infinite; }
.hero-tech-svg .led-a2   { animation: heroLedA  1.7s ease-in-out infinite 0.3s; }
.hero-tech-svg .led-a3   { animation: heroLedA  2.0s ease-in-out infinite 0.6s; }
.hero-tech-svg .led-b    { animation: heroLedB  1.2s ease-in-out infinite; }
.hero-tech-svg .led-b2   { animation: heroLedB  1.5s ease-in-out infinite 0.2s; }
.hero-tech-svg .led-b3   { animation: heroLedB  1.1s ease-in-out infinite 0.4s; }
.hero-tech-svg .led-c    { animation: heroLedC  1.7s ease-in-out infinite; }
.hero-tech-svg .led-c2   { animation: heroLedC  1.9s ease-in-out infinite 0.5s; }
.hero-tech-svg .led-d    { animation: heroLedD  0.9s ease-in-out infinite; }
.hero-tech-svg .led-e    { animation: heroLedE  2.3s ease-in-out infinite; }
.hero-tech-svg .led-e2   { animation: heroLedE  1.3s ease-in-out infinite 0.2s; }
.hero-tech-svg .led-e3   { animation: heroLedE  1.5s ease-in-out infinite 0.4s; }
.hero-tech-svg .led-e4   { animation: heroLedE  1.6s ease-in-out infinite 0.6s; }
.hero-tech-svg .led-power{ animation: heroLedPw 1.0s ease-in-out infinite; }
.hero-tech-svg .data-1   { animation: heroDataFlow    1.4s linear infinite; }
.hero-tech-svg .data-2   { animation: heroDataFlow    1.6s linear infinite; }
.hero-tech-svg .data-3   { animation: heroDataFlowRev 1.8s linear infinite; }
.hero-tech-svg .data-4   { animation: heroDataFlowSlw 2.2s linear infinite; }
.hero-tech-svg .wifi-1   { animation: heroWifi 2.4s ease-in-out infinite; }
.hero-tech-svg .wifi-2   { animation: heroWifi 2.4s ease-in-out infinite 0.3s; }
.hero-tech-svg .dot-pulse{ animation: heroDot  2.4s ease-in-out infinite 0.6s; }

body[data-layout="layout-01"] .hero-visual-shell { max-width: 720px; }
body[data-layout="layout-01"] .hero-visual-frame { min-height: 470px; }

body[data-layout="layout-02"] .hero-visual-shell { max-width: 680px; }
body[data-layout="layout-02"] .hero-visual-frame { min-height: 430px; }

body[data-layout="layout-03"] .hero-visual-shell { max-width: 760px; }
body[data-layout="layout-03"] .hero-visual-frame { min-height: 450px; }

@media (max-width: 991px) {
  .hero-visual-shell { max-width: 100%; }
  .hero-visual-frame, .hero-tech-svg { min-height: 380px; }
}

@media (max-width: 640px) {
  .hero-visual-frame, .hero-tech-svg { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tech-svg [class^="led-"],
  .hero-tech-svg [class^="data-"],
  .hero-tech-svg [class^="wifi-"],
  .hero-tech-svg .dot-pulse {
    animation: none !important;
  }
}


/* ---------- Tech showcase + terminal section ---------- */
.tech-showcase {
  position: relative;
  overflow: hidden;
}

.tech-showcase .tech-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.tech-showcase .tech-copy > p {
  color: var(--text-dim);
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.65;
}

.tech-showcase .tech-copy > p.muted {
  color: var(--text-muted);
}

.tech-showcase .tech-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.tech-showcase .tech-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.tech-showcase .tech-points li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.tech-showcase .tech-points li strong {
  color: var(--text);
  font-weight: 600;
}

/* Terminal window */
.terminal-window {
  border-radius: 14px;
  overflow: hidden;
  background: #0b0f1a;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 60px var(--accent-soft);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  position: relative;
}

.terminal-bar {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #181c2a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.terminal-bar .t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
}

.terminal-bar .t-dot.r { background: #ff5f57; }
.terminal-bar .t-dot.y { background: #febc2e; }
.terminal-bar .t-dot.g { background: #28c840; }

.terminal-bar .t-tab {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  white-space: nowrap;
}

.terminal-body {
  padding: 16px 18px;
  height: 480px;
  overflow-y: auto;
  color: #d8def0;
  background: linear-gradient(180deg, #0b0f1a 0%, #0a0d18 100%);
  scrollbar-width: none;
}

.terminal-body::-webkit-scrollbar { display: none; }

.terminal-body .tl {
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-body .tu       { color: #6fdc8c; font-weight: 600; }
.terminal-body .th       { color: #6fdc8c; font-weight: 600; }
.terminal-body .tpath    { color: #7ab8ff; }
.terminal-body .thash    { color: #d8def0; }
.terminal-body .tcmd     { color: #f1f3f9; }
.terminal-body .tout     { color: #b6bcd2; }
.terminal-body .tok      { color: #6fdc8c; }
.terminal-body .twarn    { color: #fbbf24; }
.terminal-body .terr     { color: #f87171; }
.terminal-body .tout-dim { color: #7e88a8; }

.terminal-body .tcursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  vertical-align: -2px;
  background: #d8def0;
  margin-left: 2px;
  animation: termCursor 1s steps(2) infinite;
}

@keyframes termCursor {
  50% { opacity: 0; }
}

@media (max-width: 991px) {
  .tech-showcase .tech-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .terminal-body { height: 440px; }
}

@media (max-width: 640px) {
  .terminal-body {
    height: 380px;
    font-size: 0.74rem;
    padding: 12px 14px;
  }
  .terminal-bar .t-tab { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-body .tcursor { animation: none; }
}


/* ---------- Webstatic W logo + accent text ---------- */
.brand-wmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.webstatic-wmark {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.webstatic-wmark-header {
  width: 38px;
  height: 38px;
}

.webstatic-wmark-footer {
  width: 36px;
  height: 36px;
}

.brand-name-accent {
  color: var(--accent);
  font-family: var(--font-display), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.brand-wmark .webstatic-wmark rect,
.brand-wmark .webstatic-wmark path {
  transition: stroke 0.25s ease, fill 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.brand-wmark:hover .webstatic-wmark {
  filter: drop-shadow(0 0 10px var(--accent-soft));
}

.brand-wmark:hover .brand-name-accent {
  opacity: 0.92;
}

.footer-brand-wmark .brand-name-accent {
  font-size: 1.5rem;
}

@media (max-width: 420px) {
  .webstatic-wmark-header {
    width: 36px;
    height: 36px;
  }

  .brand-name-accent {
    font-size: 1.48rem;
  }

  .footer-brand-wmark .brand-name-accent {
    font-size: 1.4rem;
  }
}


/* ---------- 1. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #000; padding: .6rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. CSS variables (theme-09 default) ---------- */
:root,
body[data-theme="theme-09"] {
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bg: #050816;
  --bg-alt: #0a0f23;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);

  --text: #f1f3f9;
  --text-dim: #b6bcd2;
  --text-muted: #7e88a8;

  --accent: #a78bfa;          /* violet */
  --accent-2: #22d3ee;         /* cyan  */
  --accent-soft: rgba(167,139,250,0.18);
  --accent-grad: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);

  --btn-text-on-accent: #0b0d18;
  --shadow-card: 0 12px 40px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 0 1px rgba(167,139,250,0.35), 0 12px 40px rgba(167,139,250,0.18);

  --header-bg: rgba(10,15,35,0.65);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --container: 1200px;
  --container-narrow: 820px;
}

/* ---------- 3. Themes ---------- */
body[data-theme="theme-01"] { /* Alb + verde */
  --bg: #ffffff; --bg-alt: #f5f8f5;
  --surface: #ffffff; --surface-2: #fafcfa;
  --border: #e6ece6; --border-strong: #c9d7c9;
  --text: #14241a; --text-dim: #3b4a40; --text-muted: #6b7a70;
  --accent: #16a34a; --accent-2: #22c55e;
  --accent-soft: rgba(22,163,74,0.10);
  --accent-grad: linear-gradient(135deg, #16a34a 0%, #4ade80 100%);
  --btn-text-on-accent: #ffffff;
  --header-bg: rgba(255,255,255,0.78);
  --shadow-card: 0 10px 30px rgba(20,36,26,0.06);
}
body[data-theme="theme-02"] { /* Alb + portocaliu */
  --bg: #ffffff; --bg-alt: #fff7f0;
  --surface: #ffffff; --surface-2: #fffaf5;
  --border: #f1e3d6; --border-strong: #e6c8a8;
  --text: #1a1408; --text-dim: #443522; --text-muted: #7a6852;
  --accent: #ea580c; --accent-2: #f97316;
  --accent-soft: rgba(234,88,12,0.10);
  --accent-grad: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
  --btn-text-on-accent: #ffffff;
  --header-bg: rgba(255,255,255,0.78);
  --shadow-card: 0 10px 30px rgba(26,20,8,0.06);
}
body[data-theme="theme-03"] { /* Alb + albastru */
  --bg: #ffffff; --bg-alt: #f3f7ff;
  --surface: #ffffff; --surface-2: #f8fafc;
  --border: #e1e9f5; --border-strong: #b8c9e0;
  --text: #0b1430; --text-dim: #36456a; --text-muted: #6b7896;
  --accent: #2563eb; --accent-2: #3b82f6;
  --accent-soft: rgba(37,99,235,0.10);
  --accent-grad: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  --btn-text-on-accent: #ffffff;
  --header-bg: rgba(255,255,255,0.78);
  --shadow-card: 0 10px 30px rgba(11,20,48,0.06);
}
body[data-theme="theme-04"] { /* Alb + violet */
  --bg: #ffffff; --bg-alt: #f7f3ff;
  --surface: #ffffff; --surface-2: #fbfaff;
  --border: #ebe4f7; --border-strong: #cdbde8;
  --text: #1a0e2a; --text-dim: #443560; --text-muted: #756490;
  --accent: #7c3aed; --accent-2: #a78bfa;
  --accent-soft: rgba(124,58,237,0.10);
  --accent-grad: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
  --btn-text-on-accent: #ffffff;
  --header-bg: rgba(255,255,255,0.78);
  --shadow-card: 0 10px 30px rgba(26,14,42,0.06);
}
body[data-theme="theme-05"] { /* Crem + auriu */
  --bg: #fbf6ec; --bg-alt: #f5ecd9;
  --surface: #fffaf0; --surface-2: #fdf6e3;
  --border: #ead7b0; --border-strong: #c9a96a;
  --text: #2a1f0d; --text-dim: #5a4628; --text-muted: #8a7350;
  --accent: #b08240; --accent-2: #d4a85f;
  --accent-soft: rgba(176,130,64,0.14);
  --accent-grad: linear-gradient(135deg, #b08240 0%, #e5c178 100%);
  --btn-text-on-accent: #ffffff;
  --header-bg: rgba(251,246,236,0.82);
  --shadow-card: 0 10px 30px rgba(42,31,13,0.08);
}
body[data-theme="theme-06"] { /* Gri deschis + cyan */
  --bg: #f2f5f9; --bg-alt: #e8edf3;
  --surface: #ffffff; --surface-2: #f8fafc;
  --border: #d8e0ea; --border-strong: #aebccc;
  --text: #0d1a26; --text-dim: #36475a; --text-muted: #6a7a8c;
  --accent: #0891b2; --accent-2: #06b6d4;
  --accent-soft: rgba(8,145,178,0.12);
  --accent-grad: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
  --btn-text-on-accent: #ffffff;
  --header-bg: rgba(242,245,249,0.82);
  --shadow-card: 0 10px 30px rgba(13,26,38,0.07);
}
body[data-theme="theme-07"] { /* Bleumarin + cyan */
  --bg: #0a1628; --bg-alt: #0e2038;
  --surface: rgba(255,255,255,0.05); --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.12); --border-strong: rgba(255,255,255,0.22);
  --text: #f0f6ff; --text-dim: #b3c4d8; --text-muted: #7891ac;
  --accent: #22d3ee; --accent-2: #67e8f9;
  --accent-soft: rgba(34,211,238,0.18);
  --accent-grad: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%);
  --btn-text-on-accent: #062330;
  --header-bg: rgba(10,22,40,0.7);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.4);
}
body[data-theme="theme-08"] { /* Bleumarin + portocaliu */
  --bg: #0a1628; --bg-alt: #0e2038;
  --surface: rgba(255,255,255,0.05); --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.12); --border-strong: rgba(255,255,255,0.22);
  --text: #f0f6ff; --text-dim: #b8c5d6; --text-muted: #7d90a8;
  --accent: #f97316; --accent-2: #fb923c;
  --accent-soft: rgba(249,115,22,0.18);
  --accent-grad: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  --btn-text-on-accent: #1a0d00;
  --header-bg: rgba(10,22,40,0.7);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.4);
}
body[data-theme="theme-10"] { /* Antracit + verde neon soft */
  --bg: #1a1d22; --bg-alt: #22262d;
  --surface: rgba(255,255,255,0.04); --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12); --border-strong: rgba(255,255,255,0.22);
  --text: #ecf0f0; --text-dim: #b4bcbf; --text-muted: #7d8689;
  --accent: #4ade80; --accent-2: #86efac;
  --accent-soft: rgba(74,222,128,0.16);
  --accent-grad: linear-gradient(135deg, #22c55e 0%, #86efac 100%);
  --btn-text-on-accent: #082010;
  --header-bg: rgba(26,29,34,0.7);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.4);
}

/* ---------- 4. Typography + utilities ---------- */
.muted { color: var(--text-muted); }
.lead { color: var(--text-dim); font-size: 1.05rem; max-width: 620px; margin-inline: auto; }
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent);
  padding: .35rem .75rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(0.85); }
}

/* ---------- 5. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container-narrow { max-width: var(--container-narrow); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  margin-bottom: 1rem;
}

/* ---------- 6. Buttons + badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent-grad);
  color: var(--btn-text-on-accent);
  box-shadow: 0 6px 24px var(--accent-soft);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--accent-soft), 0 0 0 1px var(--accent);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ---------- 7. Header + navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-desktop ul {
  display: flex; gap: 1.4rem;
  font-size: .92rem;
}
.nav-desktop a {
  color: var(--text-dim);
  padding: .35rem 0;
  position: relative;
  transition: color .2s ease;
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent-grad); border-radius: 2px;
}

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: .5rem;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 72px;
  left: 12px;
  right: 12px;
  bottom: auto;

  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 96%, #000 4%);

  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.38);

  padding: .75rem;
  z-index: 9999;

  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-mobile::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.nav-mobile a {
  display: block;
  padding: .8rem 1rem;
  font-size: 1rem;
  color: var(--text-dim);
  border-radius: 12px;
}
.nav-mobile a:hover, .nav-mobile a:focus { background: var(--surface); color: var(--text); }
.nav-mobile a.btn { margin-top: .5rem; color: var(--btn-text-on-accent); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.bg-mesh, .bg-grid {
  position: absolute; inset: 0;
  pointer-events: none;
}
.bg-mesh {
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 30%, var(--accent-soft), transparent 65%),
    radial-gradient(ellipse 90% 60% at 50% 100%, var(--accent-soft), transparent 70%);
  opacity: .9;
}
.bg-grid {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .35;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  margin: 1rem 0;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: .75rem;
}
.hero-micro {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 2rem;
}
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  color: var(--text-dim);
  font-size: .9rem;
}
.trust-badges li { display: inline-flex; align-items: center; gap: .4rem; }
.badge-ic { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mini-dash {
  position: absolute;
  bottom: -28px; right: -16px;
  width: min(280px, 80%);
  padding: .9rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .55rem; }
.dash-row:last-child { margin-bottom: 0; }
.dash-cell {
  padding: .55rem .7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: .15rem;
}
.dash-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.dash-value {
  font-size: .95rem; font-weight: 600; color: var(--text);
}
.dash-ok { color: var(--accent); }
.dash-bar {
  height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: .25rem;
  display: block;
}
.dash-bar > span {
  display: block; height: 100%; width: var(--w, 0%);
  background: var(--accent-grad);
  border-radius: 2px;
}

/* ---------- 9. Sections ---------- */

/* De ce site static */
.static-explain {
  max-width: 720px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; gap: 1rem;
}
.static-explain p { color: var(--text-dim); font-size: 1.02rem; }

/* Cards (benefits) */
.cards .card {
  position: relative;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.cards .card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.card-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.card-ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; display: inline-flex; align-items: center; gap: .35rem; }
.card p { color: var(--text-dim); }

.info-tip {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  padding: 0; margin-left: .25rem;
}
.info-tip:hover::after, .info-tip:focus::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: 240px;
  padding: .65rem .8rem;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: .78rem; font-weight: 400; line-height: 1.45;
  box-shadow: var(--shadow-card);
  z-index: 10;
}

/* Timeline */
.timeline {
  position: relative;
  display: grid; gap: 1.5rem;
  max-width: 920px; margin-inline: auto;
}
.timeline::before {
  content: ''; position: absolute; left: 30px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent), var(--accent-2), transparent);
  opacity: .5;
}
.timeline-step {
  position: relative;
  padding-left: 80px;
  display: flex; align-items: flex-start; gap: 1rem;
}
.step-num {
  position: absolute; left: 8px; top: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  font-size: .9rem;
  letter-spacing: .03em;
  box-shadow: 0 0 0 4px var(--bg-alt);
}
.step-body { flex: 1; padding: .15rem 0; }
.step-body h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step-body p { color: var(--text-dim); }

/* Plans */
.plans { gap: 1.5rem; align-items: stretch; }
.plan {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .25s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.plan-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
  box-shadow: var(--shadow-glow);
}
.plan-badge {
  position: absolute; top: -12px; right: 20px;
  padding: .35rem .8rem;
  background: var(--accent-grad);
  color: var(--btn-text-on-accent);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px;
}
.plan-head { margin-bottom: 1.25rem; }
.plan-head h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.plan-sub { color: var(--text-muted); font-size: .92rem; margin-bottom: 1rem; }
.plan-price {
  display: flex; align-items: baseline; gap: .35rem;
  font-family: var(--font-display);
}
.plan-price .amount { font-size: 2.4rem; font-weight: 700; color: var(--text); }
.plan-price .cur { font-size: 1rem; color: var(--text-muted); }
.plan-list {
  display: flex; flex-direction: column; gap: .55rem;
  margin: 1.25rem 0 1.75rem;
  flex: 1;
}
.plan-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dim);
  font-size: .94rem;
  line-height: 1.5;
}
.plan-list li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
}

/* Extras */
.extras { gap: 1rem; }
.extra-card {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; gap: .75rem;
  font-size: .94rem; color: var(--text-dim);
  transition: border-color .2s ease, transform .2s ease;
}
.extra-card:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--text); }
.extra-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-grad);
  flex-shrink: 0;
}

/* Examples - SVG mockups */
.examples .example {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.examples .example:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18), 0 0 0 1px var(--accent-soft);
}
.example h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0; }

.example-mockup {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
  display: block;
}
.example-mockup .ex-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Tech grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  margin-bottom: 3rem;
}
.tech-grid li {
  display: flex; align-items: center; gap: .65rem;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .92rem;
  color: var(--text-dim);
}
.tech-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Compare table */
.compare {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.compare-title {
  font-size: 1.3rem; text-align: center; margin-bottom: .5rem;
}
.compare-title .vs {
  display: inline-block;
  padding: .15rem .55rem;
  margin-inline: .3rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.compare-note { text-align: center; margin-bottom: 1.75rem; font-size: .92rem; }

.compare-table { display: grid; gap: .5rem; }
.ct-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  gap: 1rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  align-items: center;
  font-size: .92rem;
}
.ct-row:nth-child(even) { background: var(--bg-alt); }
.ct-head {
  background: transparent !important;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding-bottom: 1rem;
}
.ct-row > div { display: flex; align-items: center; gap: .55rem; }
.ct-row > div:first-child { color: var(--text); font-weight: 500; }
.bar {
  display: block; flex: 1; max-width: 130px;
  height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: var(--p, 50%);
}
.bar-alt { background: var(--border-strong); }
.bar-val {
  font-size: .82rem; color: var(--text-muted); font-variant-numeric: tabular-nums;
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 500;
  color: var(--text);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic {
  position: relative; width: 18px; height: 18px; flex-shrink: 0;
}
.faq-ic::before, .faq-ic::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .25s ease;
}
.faq-ic::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-ic::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-body { padding: 0 1.4rem 1.2rem; color: var(--text-dim); }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.contact-channel {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-channel:hover { border-color: var(--accent); transform: translateY(-1px); }
.contact-channel strong { display: block; font-size: 1rem; color: var(--text); }
.contact-channel small { display: block; color: var(--text-muted); font-size: .85rem; }
.ch-ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ch-ic svg { width: 22px; height: 22px; }
.contact-note { font-size: .88rem; margin-top: .5rem; }

.contact-form {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field-full { width: 100%; }
.field > span {
  font-size: .82rem;
  color: var(--text-dim);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  padding: .75rem .9rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.field textarea { resize: vertical; min-height: 120px; }

.check {
  display: flex; align-items: flex-start; gap: .65rem;
  margin: 1rem 0 1.5rem;
  font-size: .88rem;
  color: var(--text-dim);
  cursor: pointer;
}
.check input { margin-top: .2rem; accent-color: var(--accent); }

.form-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
.form-msg { font-size: .88rem; color: var(--accent); }
.form-msg.is-error { color: #ef4444; }

/* ---------- 10. Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.foot-brand p { color: var(--text-dim); margin-top: .75rem; max-width: 320px; font-size: .94rem; }
.foot-col h4 { font-size: .95rem; margin-bottom: .9rem; color: var(--text); }
.foot-col ul { display: flex; flex-direction: column; gap: .5rem; }
.foot-col a { color: var(--text-dim); font-size: .93rem; transition: color .2s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}

/* ---------- 11. Drawer ---------- */
.drawer-tab {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  background: var(--accent-grad);
  color: var(--btn-text-on-accent);
  border: none;
  border-radius: 12px 0 0 12px;
  padding: .85rem .65rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 80;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: -4px 0 16px rgba(0,0,0,0.2);
  transition: transform .2s ease;
}
.drawer-tab:hover { transform: translateY(-50%) translateX(-2px); }
.drawer-tab svg { width: 16px; height: 16px; writing-mode: horizontal-tb; }

.design-drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: min(380px, 92vw);
  background: var(--bg-alt);
  border-left: 1px solid var(--border-strong);
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  z-index: 110;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.32,.72,.0,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.design-drawer.is-open { transform: translateX(0); }
.design-drawer[aria-hidden="true"] { visibility: hidden; }
.design-drawer.is-open { visibility: visible; }

.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.drawer-head h2 { font-size: 1.15rem; margin-bottom: .25rem; }
.drawer-head p { color: var(--text-dim); font-size: .88rem; }
.drawer-close {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 8px;
  font-size: 1.4rem; line-height: 1;
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}

.drawer-section { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.drawer-section h3 {
  font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.theme-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem;
}
.theme-swatch {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid var(--border);
  cursor: pointer;
  background: var(--bg);
  display: flex;
  overflow: hidden;
  padding: 0;
  transition: transform .2s ease, border-color .2s ease;
}
.theme-swatch:hover { transform: scale(1.06); }
.theme-swatch[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.theme-swatch .sw-bg { flex: 1; }
.theme-swatch .sw-fg { width: 35%; }
.theme-swatch::after {
  content: attr(data-label);
  position: absolute; left: 50%; bottom: -1.5rem;
  transform: translateX(-50%);
  font-size: .7rem;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.theme-swatch:hover::after { opacity: 1; }

.layout-grid { display: grid; gap: .6rem; }
.layout-option {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: .92rem;
  font-family: inherit;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.layout-option:hover { border-color: var(--border-strong); }
.layout-option[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.lo-icon {
  width: 32px; height: 24px;
  border-radius: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: grid; gap: 2px; padding: 3px;
  flex-shrink: 0;
}
.lo-icon span { background: var(--text-muted); border-radius: 1px; }
.lo-icon.lo-1 { grid-template-columns: 1fr 1fr; }
.lo-icon.lo-1 span:first-child { grid-row: 1; }
.lo-icon.lo-2 span:first-child { height: 3px; }
.lo-icon.lo-3 { grid-template-rows: auto 1fr; }

.lo-text { display: flex; flex-direction: column; gap: .1rem; }
.lo-name { font-weight: 600; }
.lo-desc { font-size: .78rem; color: var(--text-muted); }

.drawer-foot { padding: 1.25rem 1.5rem; }
.drawer-note { font-size: .78rem; text-align: center; margin-top: .65rem; }

/* ---------- 12. Cookie popup ---------- */

/* ---------- 12. Info notice ---------- */
.ws-notice {
  position: fixed;
  right: 1rem; bottom: 1rem;
  width: min(360px, calc(100vw - 2rem));
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 90;
  font-size: .88rem;
  color: var(--text-dim);
  transform: translateY(150%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.32,.72,.0,1), opacity .25s ease;
}
.ws-notice.is-visible { transform: translateY(0); opacity: 1; }
.ws-notice-text { margin-bottom: .85rem; line-height: 1.5; }
.ws-notice-row  { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ws-notice-link { font-size: .82rem; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 13. Layout overrides ---------- */

/* Layout 02 - Clean Business: hero centered, flatter cards, more breathing room */
body[data-layout="layout-02"] .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
}
body[data-layout="layout-02"] .hero-text { display: flex; flex-direction: column; align-items: center; }
body[data-layout="layout-02"] .hero-sub,
body[data-layout="layout-02"] .hero-micro { margin-inline: auto; }
body[data-layout="layout-02"] .hero-cta,
body[data-layout="layout-02"] .trust-badges { justify-content: center; }
body[data-layout="layout-02"] .hero-visual { max-width: 720px; margin: 2rem auto 0; }
body[data-layout="layout-02"] .hero-image { aspect-ratio: 16 / 9; }

body[data-layout="layout-02"] .cards .card { box-shadow: none; }
body[data-layout="layout-02"] .plan { border-radius: var(--radius); padding: 2rem 1.5rem; }
body[data-layout="layout-02"] .plan-featured { background: var(--surface); border-color: var(--accent); }
body[data-layout="layout-02"] .timeline::before { background: var(--border-strong); opacity: 1; }
body[data-layout="layout-02"] .compare { background: var(--bg-alt); }

/* Layout 03 - Bold Conversion: compact hero, big headline, plans pop early */
body[data-layout="layout-03"] .hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
body[data-layout="layout-03"] .hero-inner { grid-template-columns: 1.2fr 1fr; }
body[data-layout="layout-03"] .hero-title { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; }
body[data-layout="layout-03"] .hero-sub { font-size: 1rem; }
body[data-layout="layout-03"] .hero-cta .btn-primary { padding: 1.05rem 2rem; font-size: 1rem; }

body[data-layout="layout-03"] #pachete { padding-top: clamp(2rem, 4vw, 3rem); }
body[data-layout="layout-03"] .plan-featured {
  transform: scale(1.03);
}
body[data-layout="layout-03"] .plans { gap: 1rem; }
body[data-layout="layout-03"] .card,
body[data-layout="layout-03"] .extra-card,
body[data-layout="layout-03"] .example { background: var(--surface-2); }
body[data-layout="layout-03"] .contact-channel { background: var(--accent-soft); border-color: var(--accent); }

/* ---------- 14. Responsive ---------- */
@media (max-width: 980px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

.hero-inner {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: none;
  }
  .hero-text { display: contents !important; }
  .hero-text > .eyebrow      { order: 1; }
  .hero-text > .hero-title   { order: 2; }
  .hero-media                { order: 3; max-width: 560px; width: 100%; margin-inline: auto; }
  .hero-text > .hero-sub     { order: 4; }
  .hero-text > .hero-micro   { order: 5; }
  .hero-text > .hero-cta     { order: 6; }
  .hero-text > .trust-badges { order: 7; }

  .mini-dash { bottom: -20px; right: 8px; width: 240px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  body[data-layout="layout-03"] .hero-inner { grid-template-columns: 1fr; }
  body[data-layout="layout-03"] .plan-featured { transform: none; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .ct-row { grid-template-columns: 1fr; gap: .35rem; padding: .8rem; }
  .ct-head { display: none; }
  .ct-row > div::before {
    content: attr(data-label);
    color: var(--text-muted); font-size: .8rem; min-width: 90px;
  }
  .timeline::before { left: 22px; }
  .timeline-step { padding-left: 64px; }
  .step-num { width: 38px; height: 38px; font-size: .8rem; }
  .mini-dash {
    position: static; margin-top: 1rem; width: 100%;
  }
  .compare { padding: 1.25rem; }
  .contact-form { padding: 1.25rem; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .drawer-tab {
    top: auto; bottom: 1rem; right: 1rem;
    transform: none;
    writing-mode: horizontal-tb;
    border-radius: 999px;
    padding: .7rem 1rem;
    font-size: .8rem;
  }
  .drawer-tab:hover { transform: translateY(-2px); }
  /* Cookie popup deasupra, drawer button dedesubt - dar drawer e fixed bottom-right pe mobil.
     Cookie popup va sta deasupra cu spacing când amândouă sunt vizibile - gestionat în JS. */
.ws-notice {
    left: 1rem; right: 1rem; bottom: 1rem;
    width: auto;
  }
  body.drawer-visible-mobile .ws-notice { bottom: 5rem; }
}

@media (max-width: 420px) {
  .theme-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .eyebrow-dot { animation: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide elements helper */
[hidden] { display: none !important; }

/* =====================================================
   ADDITIONAL COMPONENTS (v2)
   - Language switcher
   - Currency toggle
   - Font picker
   - data-font overrides
   ===================================================== */

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background .2s ease, color .2s ease;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active {
  background: var(--accent-grad);
  color: var(--btn-text-on-accent);
}

/* In mobile menu */
.nav-mobile-lang {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.nav-mobile-lang .lang-switch {
  font-size: .85rem;
}
.nav-mobile-lang .lang-switch a {
  min-width: 56px;
  padding: .55rem 1rem;
}

/* On tablet+ , show the lang switch inline in header; hide on small mobile (it's in the menu) */
@media (max-width: 980px) {
  .header-inner > .lang-switch { display: none; }
}

/* ---------- Currency toggle (EN page) ---------- */
.currency-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin: 0 auto 2rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.currency-toggle button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-family: inherit;
  transition: background .2s ease, color .2s ease;
}
.currency-toggle button:hover { color: var(--text); }
.currency-toggle button.is-active {
  background: var(--accent-grad);
  color: var(--btn-text-on-accent);
}
/* center the toggle above the plans grid */
#pachete .currency-toggle {
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

/* Make sure price layout works with the new symbol structure */
.plan-price .cur-symbol {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: .15rem;
}

/* ---------- Font picker ---------- */
.font-grid {
  display: grid;
  gap: .55rem;
}
.font-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  padding: .75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.font-option:hover { border-color: var(--border-strong); }
.font-option[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.fo-name { font-size: .92rem; font-weight: 600; }
.fo-sample { font-size: .82rem; color: var(--text-muted); }
/* Apply sample font preview using the same stack the option represents */
.font-option[data-font="font-default"] .fo-sample { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.font-option[data-font="font-system"] .fo-sample { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.font-option[data-font="font-inter-like"] .fo-sample { font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.font-option[data-font="font-business"] .fo-sample { font-family: Arial, Helvetica, sans-serif; }
.font-option[data-font="font-editorial"] .fo-sample { font-family: Georgia, "Times New Roman", serif; }
.font-option[data-font="font-rounded"] .fo-sample { font-family: "Trebuchet MS", "Segoe UI", sans-serif; }

/* ---------- data-font overrides (font-default leaves the original stack intact) ---------- */
body[data-font="font-system"] {
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body[data-font="font-inter-like"] {
  --font-display: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body[data-font="font-business"] {
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}
body[data-font="font-editorial"] {
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", serif;
}
body[data-font="font-rounded"] {
  --font-display: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

/* Small responsive tuning for the new header items */
@media (max-width: 480px) {
  .header-cta { display: none; }
}

/* ===================================================================
   13. WP vs STATIC RACE
   =================================================================== */
.race-section { position: relative; overflow: hidden; }

.race-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: 2rem;
}

.race-lane {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.race-lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem;
}

.race-label { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.race-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.race-badge-good {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--btn-text-on-accent);
}
.race-badge-bad {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.race-tech {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.race-timer {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  min-width: 84px;
  text-align: right;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.race-timer small {
  font-size: 0.7em;
  font-weight: 600;
  margin-left: 0.1rem;
  color: var(--text-dim);
}
.race-lane-static .race-timer.race-timer-done {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.race-lane-wp .race-timer.race-timer-done {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
}

/* Browser frame */
.race-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.race-browser-body {
  flex: 1;
  overflow: hidden;
}
.race-browser-bar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #e8eaf0;
  border-bottom: 1px solid #d4d7de;
  gap: 6px;
}
.rb-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rb-r { background: #ff5f57; }
.rb-y { background: #febc2e; }
.rb-g { background: #28c840; }
.rb-url {
  flex: 1;
  margin-left: 10px;
  height: 18px;
  background: #ffffff;
  border-radius: 9px;
  font-size: 0.7rem;
  color: #6c727f;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.race-browser-body {
  padding: 14px;
  background: #fcfcfd;
  min-height: 300px;
  position: relative;
}

/* ---- Static (winner) content ---- */
.race-static-body {
  opacity: 0;
  transition: opacity 0.18s ease-out;
}
.race-static-body.is-loaded { opacity: 1; }

.rsb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef0f4;
  margin-bottom: 14px;
}
.rsb-logo {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.rsb-menu { display: flex; gap: 10px; flex: 1; }
.rsb-menu span { width: 28px; height: 6px; border-radius: 3px; background: #cdd2dd; }
.rsb-cta {
  width: 48px; height: 18px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.rsb-hero { display: grid; gap: 8px; padding-bottom: 14px; }
.rsb-h1 { height: 14px; width: 80%; border-radius: 4px; background: #1d2330; }
.rsb-h1-grad {
  width: 60%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.rsb-h1-short { width: 50%; }
.rsb-text { height: 6px; width: 90%; border-radius: 3px; background: #c5cbd9; margin-top: 6px; }
.rsb-text-short { width: 70%; }
.rsb-cta-row { display: flex; gap: 8px; margin-top: 10px; }
.rsb-btn { height: 24px; border-radius: 12px; }
.rsb-btn-primary { width: 86px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.rsb-btn-ghost { width: 78px; background: #ffffff; border: 1px solid #cdd2dd; }

.rsb-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 14px; }
.rsb-card { height: 44px; border-radius: 8px; background: #f3f5fa; border: 1px solid #e3e7ee; }

/* ---- WordPress (loser) content ---- */
.race-wp-body {
  background: #fcfcfd;
  position: relative;
  min-height: 300px;
}

.rwp-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.race-wp-body[data-wp-stage="1"] .rwp-loading,
.race-wp-body[data-wp-stage="2"] .rwp-loading,
.race-wp-body[data-wp-stage="3"] .rwp-loading,
.race-wp-body[data-wp-stage="4"] .rwp-loading,
.race-wp-body[data-wp-stage="5"] .rwp-loading { opacity: 1; }
.race-wp-body[data-wp-stage="6"] .rwp-loading,
.race-wp-body[data-wp-stage="7"] .rwp-loading { opacity: 0; pointer-events: none; }

.rwp-spinner {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(31, 41, 55, 0.15);
  border-top-color: #6b7280;
  animation: rwpSpin 0.9s linear infinite;
}
@keyframes rwpSpin { to { transform: rotate(360deg); } }

.rwp-loading-text {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: ui-monospace, monospace;
  text-align: center;
  min-height: 1em;
}

.rwp-progress {
  width: 80%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.rwp-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 3px;
  transition: width 0.35s cubic-bezier(0.4, 0.1, 0.6, 0.9);
}

/* Banner ad (causes CLS) */
.rwp-banner {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(90deg, #fef2f2, #fee2e2);
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  color: #991b1b;
  font-weight: 700;
  animation: rwpBannerIn 0.25s ease-out;
}
.race-wp-body[data-wp-stage="4"] .rwp-banner,
.race-wp-body[data-wp-stage="5"] .rwp-banner,
.race-wp-body[data-wp-stage="6"] .rwp-banner,
.race-wp-body[data-wp-stage="7"] .rwp-banner { display: flex; }
@keyframes rwpBannerIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.rwp-banner-tag {
  background: #dc2626;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.62rem;
}
.rwp-banner-msg { flex: 1; letter-spacing: 0.02em; }
.rwp-banner-x {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(220, 38, 38, 0.15);
  border-radius: 3px;
  font-size: 0.7rem;
  color: #991b1b;
  cursor: pointer;
}

/* WP site content */
.rwp-content {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.race-wp-body[data-wp-stage="3"] .rwp-content,
.race-wp-body[data-wp-stage="4"] .rwp-content,
.race-wp-body[data-wp-stage="5"] .rwp-content,
.race-wp-body[data-wp-stage="6"] .rwp-content,
.race-wp-body[data-wp-stage="7"] .rwp-content { opacity: 1; }

.rwp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef0f4;
  margin-bottom: 12px;
}
.rwp-logo { width: 22px; height: 22px; border-radius: 4px; background: #6b7280; }
.rwp-menu { display: flex; gap: 10px; }
.rwp-menu span { width: 28px; height: 6px; border-radius: 3px; background: #9ca3af; }

.rwp-hero { display: grid; gap: 8px; }
.rwp-img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  filter: blur(10px);
  transition: filter 0.4s ease, background 0.4s ease;
}
.race-wp-body[data-wp-stage="5"] .rwp-img { filter: blur(5px); }
.race-wp-body[data-wp-stage="6"] .rwp-img { filter: blur(2px); }
.race-wp-body[data-wp-stage="7"] .rwp-img { filter: blur(0); }
.rwp-h1 { height: 14px; width: 80%; border-radius: 4px; background: #1d2330; }
.rwp-h1-mid { width: 65%; }
.rwp-text { height: 6px; width: 90%; border-radius: 3px; background: #c5cbd9; margin-top: 4px; }
.rwp-text-2 { width: 75%; }
.rwp-btn { height: 24px; width: 86px; border-radius: 12px; background: #6b7280; margin-top: 8px; }

/* Lighthouse score panel */
.race-score {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.race-score.is-revealed { opacity: 1; transform: translateY(0); }

.rs-circle {
  display: grid;
  grid-template-rows: 56px auto;
  justify-items: center;
  position: relative;
  color: #22c55e;
  text-align: center;
}
.race-lane-wp .rs-circle[data-score-grade="bad"]  { color: #ef4444; }
.race-lane-wp .rs-circle[data-score-grade="meh"]  { color: #f59e0b; }
.race-lane-wp .rs-circle[data-score-grade="good"] { color: #22c55e; }

.rs-circle > svg {
  grid-row: 1;
  grid-column: 1;
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
}
.rs-track {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 2.6;
}
.rs-fill {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 100.5;
  stroke-dashoffset: 100.5;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}
.race-score.is-revealed .rs-fill {
  stroke-dashoffset: calc(100.5px - var(--rs-val) * 1.005px);
}

.rs-num {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: center;
  font-weight: 700;
  font-size: 1rem;
  color: currentColor;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
  font-variant-numeric: tabular-nums;
}
.race-score.is-revealed .rs-num { opacity: 1; }

.rs-circle small {
  grid-row: 2;
  font-size: 0.62rem;
  margin-top: 4px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Confetti */
.rs-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.rs-confetti i {
  position: absolute;
  top: -8px;
  width: 6px; height: 6px;
  border-radius: 2px;
  opacity: 0;
}
.rs-confetti i:nth-child(1)  { left: 8%;  background: #22c55e; }
.rs-confetti i:nth-child(2)  { left: 18%; background: #84cc16; }
.rs-confetti i:nth-child(3)  { left: 28%; background: #06b6d4; }
.rs-confetti i:nth-child(4)  { left: 40%; background: #a78bfa; }
.rs-confetti i:nth-child(5)  { left: 52%; background: #fbbf24; }
.rs-confetti i:nth-child(6)  { left: 62%; background: #ec4899; }
.rs-confetti i:nth-child(7)  { left: 72%; background: #22c55e; }
.rs-confetti i:nth-child(8)  { left: 82%; background: #84cc16; }
.rs-confetti i:nth-child(9)  { left: 92%; background: #06b6d4; }
.rs-confetti i:nth-child(10) { left: 35%; background: #fbbf24; }
.race-score.is-revealed .rs-confetti i {
  animation: rsConfetti 1.6s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}
.race-score.is-revealed .rs-confetti i:nth-child(1)  { animation-delay: 0.50s; }
.race-score.is-revealed .rs-confetti i:nth-child(2)  { animation-delay: 0.62s; }
.race-score.is-revealed .rs-confetti i:nth-child(3)  { animation-delay: 0.55s; }
.race-score.is-revealed .rs-confetti i:nth-child(4)  { animation-delay: 0.68s; }
.race-score.is-revealed .rs-confetti i:nth-child(5)  { animation-delay: 0.58s; }
.race-score.is-revealed .rs-confetti i:nth-child(6)  { animation-delay: 0.72s; }
.race-score.is-revealed .rs-confetti i:nth-child(7)  { animation-delay: 0.63s; }
.race-score.is-revealed .rs-confetti i:nth-child(8)  { animation-delay: 0.51s; }
.race-score.is-revealed .rs-confetti i:nth-child(9)  { animation-delay: 0.66s; }
.race-score.is-revealed .rs-confetti i:nth-child(10) { animation-delay: 0.56s; }

@keyframes rsConfetti {
  0%   { transform: translateY(-8px) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(90px) rotate(540deg); opacity: 0; }
}

.race-controls { display: flex; justify-content: center; margin-top: 1.5rem; }
.race-restart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .race-track { grid-template-columns: 1fr; gap: 1.5rem; }
  .race-browser { min-height: 340px; }
  .race-score { grid-template-columns: repeat(4, 1fr); padding: 0.75rem; }
.rs-circle { grid-template-rows: 48px auto; }
.rs-circle > svg { width: 48px; height: 48px; }
.rs-num { font-size: 0.88rem; }
  .race-timer { font-size: 1.15rem; min-width: 70px; }
}

@media (max-width: 480px) {
  .rs-circle small { font-size: 0.55rem; }
  .race-tech { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rwp-spinner,
  .rs-confetti i,
  .rwp-progress-bar,
  .rwp-img,
  .race-static-body,
  .rwp-content,
  .rwp-loading,
  .race-score,
  .rs-fill,
  .rs-num { animation: none !important; transition: none !important; }
}


/* Force theme colors on native select options - fixes invisible text on dark themes */
.contact-form select,
.contact-form select option,
select.form-input,
select.form-input option {
  background-color: var(--bg-alt);
  color: var(--text);
}

/* Disabled placeholder option dim */
.contact-form select option[disabled] {
  color: var(--text-muted);
}


/* ===================================================================
   14. TCO CALCULATOR
   =================================================================== */
.tco-section { position: relative; overflow: hidden; }

.tco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.tco-controls {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.tco-control { display: flex; flex-direction: column; gap: 0.6rem; }

.tco-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.tco-label strong {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.4rem;
  color: var(--text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

/* Range slider */
.tco-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
.tco-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 3px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.tco-control input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.tco-control input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 3px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.tco-range-labels {
  display: flex; justify-content: space-between;
  color: var(--text-muted);
}

.tco-toggles { display: grid; gap: 0.85rem; }

.tco-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  color: var(--text);
}
.tco-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tco-toggle-track {
  position: relative;
  width: 42px; height: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.tco-toggle-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: transform 0.2s ease, background 0.2s ease;
}
.tco-toggle input:checked ~ .tco-toggle-track {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}
.tco-toggle input:checked ~ .tco-toggle-track .tco-toggle-knob {
  transform: translateX(18px);
  background: #ffffff;
}
.tco-toggle:hover .tco-toggle-track { border-color: var(--accent); }
.tco-toggle input:focus-visible ~ .tco-toggle-track { box-shadow: 0 0 0 3px var(--accent-soft); }

/* Output cards */
.tco-output {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tco-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tco-card-static {
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
  border-color: var(--accent);
}

.tco-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tco-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tco-card-tag-good {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--btn-text-on-accent);
}
.tco-card-tag-bad {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.tco-card-total {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tco-bar {
  height: 14px;
  background: var(--surface-2);
  border-radius: 7px;
  overflow: hidden;
}
.tco-bar-fill {
  height: 100%;
  border-radius: 7px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tco-card-static .tco-bar-fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.tco-card-wp .tco-bar-fill {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.tco-breakdown {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.tco-breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.tco-breakdown li:last-child { border-bottom: none; }
.tco-breakdown li strong {
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.tco-breakdown li.tco-breakdown-zero strong { color: #22c55e; }

.tco-savings {
  text-align: center;
  padding: 1.75rem 1rem;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--accent);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}
.tco-savings-label {
  font-size: 0.92rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.tco-savings-amount {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s ease;
}
.tco-savings.is-pulse .tco-savings-amount { transform: scale(1.04); }
.tco-savings-period { font-size: 0.95rem; color: var(--text-dim); }

@media (max-width: 860px) {
  .tco-controls { grid-template-columns: 1fr; gap: 1.5rem; }
  .tco-output { grid-template-columns: 1fr; }
}


/* ===================================================================
   15. WhatsApp Floating Action Button
   =================================================================== */
.wa-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 95;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.2s ease;
  text-decoration: none;
}
.wa-fab:hover,
.wa-fab:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.25);
}
.wa-fab:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.wa-fab svg {
  width: 32px;
  height: 32px;
  display: block;
}

@media (max-width: 640px) {
  .drawer-tab { bottom: 5.5rem !important; }
  body.drawer-visible-mobile .ws-notice { bottom: 9.5rem; }
}


/* ===================================================================
   16. Industry landing pages (cabinet stomatologic etc.)
   =================================================================== */
.industry-mockup .ex-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.industry-stats { gap: 1.5rem; }
.industry-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.industry-stat-num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.industry-stat p { color: var(--text-dim); margin: 0; }

.industry-pricing { gap: 1.25rem; }
.industry-plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.industry-plan h3 { margin: 0 0 0.5rem; font-size: 1.25rem; color: var(--text); }
.industry-plan-price {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.industry-plan p.muted { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 1rem; }
.industry-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.industry-plan ul li {
  color: var(--text-dim);
  font-size: 0.92rem;
  padding-left: 1.25rem;
  position: relative;
}
.industry-plan ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.industry-plan-featured {
  border-color: var(--accent);
  box-shadow: 0 12px 40px var(--accent-soft);
}
.industry-plan-badge {
  position: absolute;
  top: -0.65rem; right: 1rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--btn-text-on-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .industry-mockup-large .ex-svg { max-width: 100%; }
}


/* ===================================================================
   17. Industry landing page - polish + dental
   =================================================================== */

/* Bulleted list cu icoane SVG inline (replacement pentru tech-points unde nu există .tech-showcase) */
.industry-checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 14px;
}
.industry-checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.industry-checks li svg.industry-check-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
}
.industry-checks li strong { color: var(--text); font-weight: 600; }

/* FAQ pe industry pages - cu padding și margin corecte */
.industry-faq { display: grid; gap: 0.75rem; max-width: 880px; margin: 0 auto; }
.industry-faq .faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.industry-faq .faq-item:hover { border-color: var(--border-strong); }
.industry-faq .faq-item summary {
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
  position: relative;
  user-select: none;
}
.industry-faq .faq-item summary::-webkit-details-marker { display: none; }
.industry-faq .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s;
}
.industry-faq .faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.industry-faq .faq-item[open] summary { border-bottom: 1px solid var(--border); }
.industry-faq .faq-item > p {
  padding: 1.25rem;
  margin: 0;
  color: var(--text-dim);
  line-height: 1.7;
}

/* Specialități stomatologice - grid de cards cu SVG icons */
.dental-specialties { gap: 1.25rem; margin-top: 2rem; }
.dental-specialty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dental-specialty:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18), 0 0 0 1px var(--accent-soft);
}
.dental-specialty-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.dental-specialty h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
  font-weight: 600;
}
.dental-specialty p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

/* Smile flourish - linie subtilă cu mini-dinți deasupra unei secțiuni */
.smile-flourish {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
.smile-flourish svg { width: 18px; height: 18px; color: var(--accent); }
.smile-flourish svg:nth-child(2n) { color: var(--accent-2); }
