/* =========================================================
   RANGVIS — Stiluri principale
   Culorile, fonturile și spațierile se schimbă din :root
   ========================================================= */

/* Fonturi găzduite local (fără cereri către Google — conform GDPR) */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700 800; font-display: swap; src: url("../assets/fonts/unbounded-wordmark.woff2") format("woff2"); unicode-range: U+61, U+67, U+6E, U+72-73, U+76, U+131; } /* doar literele din „rangvıs” (~3 KB) */


:root {
  --bg: #05060a;
  --ink-900: #0a0c14;
  --ink-850: #0e111b;
  --ink-800: #131726;
  --ink-700: #1c2235;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e2e8f0;
  --text-soft: #cbd5e1;
  --muted: #9aa3b8;
  --faint: #64748b;
  --white: #ffffff;
  --heading: #e8ebf3; /* titluri: alb ușor estompat, mai elegant decât alb pur pe fundal închis */

  --electric: #3b82f6;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --green: #34d399;
  --wa: #25d366;
  --error: #fb7185;
  --gradient: linear-gradient(120deg, var(--electric) 0%, var(--violet) 100%);

  --font-display: "Sora", system-ui, sans-serif;
  --font-brand: "Unbounded", "Sora", system-ui, sans-serif; /* doar pentru logo („rangvis”) */
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 24px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 600;
  text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: #fff; color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { position: relative; padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }
.section--band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 12, 20, 0.4); }

.grid-2 { display: grid; gap: 56px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- Tipografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gradient); }
.h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); line-height: 1.12; letter-spacing: -0.03em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); margin-top: 20px; line-height: 1.6; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }
.heading { max-width: 760px; }
.heading--center { margin: 0 auto; text-align: center; }
.heading--center .eyebrow { justify-content: center; }

/* ---------- Butoane ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  white-space: nowrap; border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn .arrow { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 30px -8px rgba(99, 102, 241, 0.65); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -6px rgba(99, 102, 241, 0.85); }
.btn--secondary { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: #fff; }
.btn--secondary:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
.btn--wa { border-color: rgba(52, 211, 153, 0.25); background: rgba(16, 185, 129, 0.1); color: #6ee7b7; }
.btn--wa:hover { transform: translateY(-2px); border-color: rgba(52, 211, 153, 0.5); background: rgba(16, 185, 129, 0.2); }
.btn--white { background: #fff; color: var(--bg); }
.btn--white:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; transition: color 0.3s; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--electric); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-soft { font-size: 15px; color: var(--muted); text-underline-offset: 4px; transition: color 0.3s; }
.link-soft:hover { color: #fff; text-decoration: underline; }

/* ---------- Card ---------- */
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(10, 12, 20, 0.7); backdrop-filter: blur(4px);
}
.glow { position: relative; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(59, 130, 246, 0.55), rgba(139, 92, 246, 0.15) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.glow:hover::before { opacity: 1; }

/* ---------- Decor ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(130px); transform: translateZ(0); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent; transition: background 0.5s, border-color 0.5s, backdrop-filter 0.5s;
}
.header.is-scrolled, body.menu-open .header {
  background: rgba(5, 6, 10, 0.78); border-bottom-color: var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--gradient);
  box-shadow: 0 0 24px -4px rgba(139, 92, 246, 0.7); transition: transform 0.5s var(--ease);
}
.logo__mark span { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,0.9); border-radius: 3px; transform: rotate(45deg); }
.logo:hover .logo__mark { transform: rotate(8deg); }
.logo__text { font-family: var(--font-brand); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: -0.02em; color: #fff; }
/* „i” fără punct + romb în gradient în locul punctului (același romb ca în iconiță) */
/* Poziția e în „em” față de liniile fontului Unbounded: vârful lui „ı” e la 0.424em sub linia ascendentă */
.logo__i { position: relative; }
.logo__i::after {
  content: ""; position: absolute; left: 50%; top: 0.165em; width: 0.18em; height: 0.18em; border-radius: 0.03em;
  background: var(--gradient); transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 0.3em rgba(139, 92, 246, 0.8);
  transition: transform 0.5s var(--ease);
}
/* Numele „rangvis” în titluri — același font și romb ca în logo */
.brand { font-family: var(--font-brand); font-weight: 700; font-size: 0.9em; letter-spacing: -0.03em; white-space: nowrap; }
.logo:hover .logo__i::after { transform: translateX(-50%) rotate(225deg); }

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: block; } }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-soft); transition: color 0.3s, background 0.3s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1); color: #fff; transition: background 0.3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--wa { border-color: rgba(52, 211, 153, 0.25); background: rgba(16, 185, 129, 0.1); color: #6ee7b7; }
.icon-btn--wa:hover { background: rgba(16, 185, 129, 0.2); }

.burger { position: relative; }
@media (min-width: 1024px) { .burger { display: none; } }
.burger span { position: absolute; left: 12px; width: 20px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  display: none; height: calc(100dvh - var(--header-h)); overflow-y: auto;
  border-top: 1px solid var(--line); background: var(--bg);
}
body.menu-open .mobile-menu { display: block; animation: menuIn 0.35s var(--ease); }
@media (min-width: 1024px) { body.menu-open .mobile-menu { display: none; } }
.mobile-menu ul { padding-top: 24px; }
.mobile-menu li a:not(.btn) {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 24px; font-weight: 600; color: #fff;
}
.mobile-menu .btn { width: 100%; margin-top: 24px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 128px 0 64px; }
@media (min-width: 768px) { .hero { padding: 160px 0 96px; } }
@media (min-width: 1024px) { .hero { min-height: 92vh; display: flex; align-items: center; } }
.hero .blob--1 { right: -160px; top: 40px; width: 560px; height: 560px; background: rgba(139, 92, 246, 0.2); }
.hero .blob--2 { left: -160px; top: 240px; width: 420px; height: 420px; background: rgba(59, 130, 246, 0.15); }

.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; } }

.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 6px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.03);
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-soft);
}
@media (min-width: 640px) { .badge { border-radius: 999px; } }
.badge__dot { position: relative; width: 8px; height: 8px; flex-shrink: 0; }
.badge__dot::before, .badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); }
.badge__dot::before { animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite; opacity: 0.6; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.hero h1 { max-width: 15em; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.hero .lead { max-width: 580px; margin-top: 28px; }
.hero .btn-row { margin-top: 40px; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 520px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
}
.stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; white-space: nowrap; color: var(--heading); }
.stats span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--muted); }

.hero__visual { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; margin: 0 auto; }
@media (min-width: 640px) { .hero__visual { max-width: 420px; } }
@media (min-width: 1024px) { .hero__visual { max-width: none; } }
.hero__visual::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.25)); filter: blur(48px);
}
.hero__visual canvas, .hero__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__visual svg { inset: 7.5%; width: 85%; height: 85%; }
.hero__visual.is-3d svg { opacity: 0; transition: opacity 0.8s; }

/* ---------- Bandă servicii ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10,12,20,0.4); padding: 20px 0; overflow: hidden; }
.marquee__mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track li { display: flex; align-items: center; white-space: nowrap; }
.marquee__track li span { padding: 0 28px; font-family: var(--font-display); font-size: clamp(0.95rem, 1.2vw, 1.05rem); font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.marquee__track li::after { content: ""; width: 6px; height: 6px; background: var(--gradient); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   PROBLEMA
   ========================================================= */
.problem__right { display: flex; flex-direction: column; justify-content: flex-end; }
.problem__right .lead { margin-top: 0; }
.facts { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts .card { padding: 20px; }
.facts strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--heading); }
.facts p { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* =========================================================
   SERVICII
   ========================================================= */
.services { display: grid; gap: 20px; margin-top: 64px; }
@media (min-width: 768px) { .services { grid-template-columns: 1fr 1fr; } }
.service { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 28px; transition: transform 0.5s var(--ease); }
@media (min-width: 768px) { .service { padding: 36px; } }
.service:hover { transform: translateY(-4px); }
.service::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 224px; height: 224px; border-radius: 50%;
  background: rgba(139, 92, 246, 0.12); filter: blur(48px); opacity: 0; transition: opacity 0.7s; pointer-events: none;
}
.service:hover::after { opacity: 1; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15)); color: #fff;
}
.service__icon svg { width: 24px; height: 24px; }
.service__num { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.service h3 { margin-top: 28px; font-size: clamp(1.5rem, 2.2vw, 1.7rem); }
.service__desc { margin-top: 12px; color: var(--muted); }
.service__example { margin-top: 8px; font-size: 14px; color: var(--faint); }
.checklist { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-soft); }
.check {
  display: grid; place-items: center; width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; border-radius: 50%;
  background: rgba(59, 130, 246, 0.15); color: var(--electric);
}
.check svg { width: 12px; height: 12px; }
.service__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; padding-top: 32px; }

/* =========================================================
   DE CE RANGVIS
   ========================================================= */
.why { overflow: hidden; }
.why .blob { left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: rgba(59, 130, 246, 0.07); filter: blur(120px); }
.why__grid {
  position: relative; display: grid; gap: 1px; margin-top: 64px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--line);
}
@media (min-width: 640px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why__item { position: relative; padding: 32px; background: var(--ink-900); transition: background 0.5s; }
.why__item:hover { background: var(--ink-850); }
.why__item::after { content: ""; position: absolute; left: 32px; bottom: 0; height: 1px; width: 0; background: var(--gradient); transition: width 0.5s var(--ease); }
.why__item:hover::after { width: 64px; }
.why__item .mono { font-size: 12px; color: var(--faint); }
.why__item h3 { margin-top: 16px; font-size: 1.25rem; }
.why__item p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* =========================================================
   PROIECTE
   ========================================================= */
.projects { display: grid; gap: 24px; margin-top: 64px; }
@media (min-width: 1024px) { .projects { grid-template-columns: 1fr 1fr; } }
.project { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
@media (min-width: 768px) { .project__body { padding: 32px; } }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.project__cat { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--electric); }
.project h3 { margin-top: 12px; font-size: 1.5rem; }
.project__desc { margin-top: 12px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.03); font-size: 13px; color: var(--text-soft); }
.project .link-arrow { margin-top: auto; padding-top: 32px; }

.next-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  height: 100%; min-height: 360px; overflow: hidden; padding: 32px;
  border: 1px dashed rgba(255,255,255,0.15); border-radius: var(--radius);
}
@media (min-width: 768px) { .next-card { padding: 40px; } }
/* Când numărul de proiecte e par, cardul final ocupă tot rândul */
@media (min-width: 1024px) {
  .projects > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .projects > li:last-child:nth-child(odd) .next-card { min-height: 280px; }
  .projects > li:last-child:nth-child(odd) .fx-3d--next { right: 8%; top: 50%; transform: translateY(-50%); }
}
.next-card::after { content: ""; position: absolute; right: -96px; bottom: -96px; width: 288px; height: 288px; border-radius: 50%; background: var(--gradient); opacity: 0.25; filter: blur(64px); pointer-events: none; }
.next-card__plus { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 16px; font-family: var(--font-display); font-size: 24px; color: #fff; }
.next-card > div { position: relative; z-index: 1; }
.next-card > .fx-3d { position: absolute; z-index: 0; }
.next-card h3 { font-size: clamp(1.9rem, 3vw, 2.3rem); }
.next-card p { margin-top: 16px; max-width: 380px; color: var(--muted); }
.next-card .btn { margin-top: 32px; }

/* ---------- Mockup proiect (fără poze stock) ---------- */
.mock {
  --a: var(--electric); --b: #1d4ed8; --glow: rgba(59,130,246,0.28);
  position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink-850);
  background-image: radial-gradient(circle at 75% 15%, var(--glow), transparent 55%);
}
.mock--amber { --a: #f59e0b; --b: #b45309; --glow: rgba(245,158,11,0.25); }
.mock--violet { --a: #8b5cf6; --b: #6d28d9; --glow: rgba(139,92,246,0.28); }
.mock .grid-bg { opacity: 0.6; }
.mock > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project:hover .mock > img { transform: scale(1.03); }

/* Proiecte reale: captură de ecran în loc de mockup */
.mock--shot { background-image: none; }
.mock > picture { position: absolute; inset: 0; }
.mock > picture img { width: 100%; height: 100%; object-fit: cover; }
.real-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid rgba(52,211,153,0.3); border-radius: 999px; background: rgba(52,211,153,0.1); font-size: 11px; font-weight: 500; color: var(--green); }
.real-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.project__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; padding-top: 32px; }
.project .project__links .link-arrow { margin-top: 0; padding-top: 0; }
.link-arrow--muted { font-weight: 500; color: var(--muted); }
.case__live { margin-top: 28px; }
.case__live svg { width: 18px; height: 18px; }

.mock__browser {
  position: absolute; left: 7%; top: 12%; width: 72%; overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; background: var(--bg); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6); transition: transform 0.7s var(--ease);
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mock__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mock__bar b { flex: 1; height: 10px; margin-left: 12px; border-radius: 999px; background: rgba(255,255,255,0.05); }
.mock__page { display: grid; gap: 12px; padding: 16px; }
.mock__nav { display: flex; align-items: center; justify-content: space-between; }
.mock__brand { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(255,255,255,0.85); }
@media (min-width: 768px) { .mock__brand { font-size: 10px; } }
.mock__links { display: flex; gap: 6px; }
.mock__links i { width: 20px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.15); }
.mock__links i:last-child { background: var(--a); }
.mock__hero { position: relative; height: 80px; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, var(--b), var(--a) 60%, #1e1b4b); }
@media (min-width: 768px) { .mock__hero { height: 112px; } }
.mock__hero svg { position: absolute; right: 12px; top: 12px; width: 56px; height: 56px; opacity: 0.4; }
.mock__hero-text { position: absolute; left: 12px; bottom: 12px; display: grid; gap: 6px; }
.mock__hero-text i { display: block; height: 8px; width: 112px; border-radius: 3px; background: rgba(255,255,255,0.9); }
.mock__hero-text i + i { height: 6px; width: 80px; background: rgba(255,255,255,0.5); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__cards div { display: grid; gap: 6px; padding: 8px; border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; background: rgba(255,255,255,0.03); }
.mock__cards i { display: block; height: 4px; width: 75%; border-radius: 2px; background: rgba(255,255,255,0.15); }
.mock__cards i:first-child { height: 24px; width: 100%; background: rgba(255,255,255,0.06); }
.mock__cards i:last-child { width: 50%; background: rgba(255,255,255,0.1); }

.mock__phone {
  position: absolute; right: 7%; bottom: 8%; width: 24%; min-width: 84px; overflow: hidden;
  border: 3px solid var(--ink-700); border-radius: 18px; background: var(--bg);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7); transition: transform 0.7s var(--ease);
}
.mock__notch { width: 32px; height: 4px; margin: 6px auto 0; border-radius: 999px; background: var(--ink-700); }
.mock__screen { display: grid; gap: 6px; padding: 8px; }
.mock__screen-hero { height: 40px; border-radius: 6px; background: linear-gradient(135deg, var(--a), var(--b)); }
.mock__menu-row { display: flex; justify-content: space-between; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mock__menu-row i { width: 32px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); }
.mock__menu-row i + i { width: 12px; background: var(--a); }
.mock__qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: 24px; height: 24px; margin: 4px auto 0; padding: 2px; border-radius: 2px; background: #fff; }
.mock__qr i { background: var(--bg); }
.mock__qr i.w { background: #fff; }
.mock__cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.mock__cal i { height: 10px; border-radius: 2px; background: rgba(255,255,255,0.08); }
.mock__cal i.on { background: var(--a); }
.mock__cal b { grid-column: span 4; height: 12px; margin-top: 4px; border-radius: 4px; background: var(--a); }
.mock__form { display: grid; gap: 4px; }
.mock__form i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.2); }
.mock__form i:nth-child(2) { width: 75%; background: rgba(255,255,255,0.15); }
.mock__form b { display: block; height: 12px; border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; }
.mock__form b:last-child { border: 0; background: var(--a); }
.project:hover .mock__browser, .mock-wrap:hover .mock__browser { transform: translateY(-6px); }
.project:hover .mock__phone, .mock-wrap:hover .mock__phone { transform: translateY(-12px); }

/* =========================================================
   PROCES
   ========================================================= */
.steps { position: relative; display: grid; gap: 40px; margin-top: 64px; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: linear-gradient(90deg, rgba(59,130,246,0.6), rgba(139,92,246,0.5), transparent); }
}
.step { position: relative; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15); background: var(--bg); box-shadow: 0 0 0 6px var(--bg);
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: #fff;
}
.step h3 { margin-top: 24px; font-size: 1.25rem; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* =========================================================
   DESPRE
   ========================================================= */
.about { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .about { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.portrait { position: relative; max-width: 448px; margin: 0 auto 20px; width: 100%; }
.portrait::before { content: ""; position: absolute; inset: -16px; border-radius: 32px; background: var(--gradient); opacity: 0.2; filter: blur(40px); }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--ink-850); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(139,92,246,0.25), transparent 60%);
}
.portrait__initials {
  display: grid; place-items: center; width: 144px; height: 144px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, var(--ink-700), var(--ink-900)); font-family: var(--font-display); font-size: 48px; font-weight: 600; color: rgba(255,255,255,0.9);
}
.portrait__placeholder .mono { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--faint); }
.portrait__facts {
  position: absolute; left: 24px; right: 24px; bottom: -20px; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 16px; background: rgba(10,12,20,0.9); backdrop-filter: blur(12px);
}
.portrait__facts div { padding: 12px; text-align: center; }
.portrait__facts div + div { border-left: 1px solid var(--line); }
.portrait__facts small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.portrait__facts strong { display: block; margin-top: 2px; font-size: 14px; color: #fff; }
.about__text p { margin-top: 24px; font-size: 1.125rem; color: var(--text-soft); }
.about__text .btn-row { margin-top: 40px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0;
  text-align: left; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 500; color: #fff; transition: color 0.3s;
}
.faq__q:hover { color: var(--electric); }
.faq__icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.3s, border-color 0.3s, background 0.3s, color 0.3s; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); border-color: rgba(59,130,246,0.5); background: rgba(59,130,246,0.1); color: var(--electric); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: 640px; padding: 0 48px 28px 0; color: var(--muted); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.final { padding: 48px 0; }
@media (min-width: 768px) { .final { padding: 80px 0; } }
.final__box {
  position: relative; overflow: hidden; padding: 64px 24px; text-align: center;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 32px;
  background: radial-gradient(ellipse at top, rgba(59,130,246,0.28), transparent 60%), radial-gradient(ellipse at bottom right, rgba(139,92,246,0.3), transparent 55%);
}
@media (min-width: 768px) { .final__box { padding: 96px 64px; } }
.final__inner { position: relative; max-width: 760px; margin: 0 auto; }
.final h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
.final .lead { max-width: 560px; margin: 24px auto 0; color: var(--text-soft); }
.final .btn-row { margin-top: 40px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 0.85fr 1.15fr; gap: 80px; } }
.direct { display: grid; gap: 12px; margin-top: 40px; }
.direct > p { font-size: 14px; font-weight: 500; color: var(--muted); }
.direct a { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,12,20,0.6); transition: border-color 0.3s; }
.direct a:hover { border-color: rgba(59,130,246,0.4); }
.direct a.wa:hover { border-color: rgba(52,211,153,0.4); }
.direct__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(59,130,246,0.15); color: var(--electric); }
.direct a.wa .direct__icon { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.direct__icon svg { width: 20px; height: 20px; }
.direct strong { display: block; color: #fff; }
.direct small { font-size: 14px; color: var(--muted); }

.form-card { padding: 24px; overflow: hidden; }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form { display: grid; gap: 20px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label, .form legend { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--text-soft); }
.form label small { font-size: 12px; font-weight: 400; color: var(--faint); }
.field {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5,6,10,0.6);
  font-size: 16px; color: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.field::placeholder { color: var(--faint); }
.field:hover { border-color: rgba(255,255,255,0.15); }
.field:focus { outline: none; border-color: rgba(59,130,246,0.7); box-shadow: 0 0 0 3px rgba(59,130,246,0.25); }
.field[aria-invalid="true"] { border-color: rgba(251,113,133,0.6); }
select.field {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA3B8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
select.field option { background: var(--ink-900); }
textarea.field { resize: vertical; min-height: 140px; }
fieldset { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--text-soft); cursor: pointer; transition: all 0.2s; }
.chip span:hover { border-color: rgba(255,255,255,0.2); }
.chip input:checked + span { border-color: rgba(59,130,246,0.7); background: rgba(59,130,246,0.15); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--electric); outline-offset: 2px; }
.field-error { margin-top: 6px; font-size: 14px; color: var(--error); }
.form__footer { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .form__footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.form__footer p { font-size: 12px; color: var(--faint); }
.form__error { font-size: 14px; color: var(--error); }
.hp { display: none !important; }

.success { display: none; min-height: 460px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-card.is-success .form { display: none; }
.form-card.is-success .success { display: flex; animation: fadeUp 0.5s var(--ease); }
.success__icon {
  display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--gradient); color: #fff;
  box-shadow: 0 0 60px -10px rgba(139,92,246,0.8); animation: pop 0.6s var(--ease) 0.1s both;
}
.success__icon svg { width: 36px; height: 36px; }
.success h3 { margin-top: 32px; font-size: clamp(1.5rem, 2.5vw, 1.9rem); }
.success p { max-width: 380px; margin-top: 12px; color: var(--muted); }
.success .btn { margin-top: 32px; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding: 64px 0 112px; overflow: hidden; }
@media (min-width: 768px) { .footer { padding-bottom: 48px; } }
.footer__grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__tag { max-width: 300px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.footer__title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--faint); }
.footer ul { display: grid; gap: 12px; margin-top: 20px; }
.footer ul a { display: inline-flex; align-items: center; gap: 12px; color: var(--text-soft); transition: color 0.3s; }
.footer ul a:hover { color: #fff; }
.footer ul svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }
.footer__word {
  margin-top: 48px; text-align: center; font-family: var(--font-brand); font-weight: 800; font-size: 17vw; line-height: 1.1;
  letter-spacing: -0.04em; color: rgba(255,255,255,0.03); user-select: none; pointer-events: none;
}
.footer__word .logo__i::after { background: linear-gradient(120deg, rgba(59,130,246,0.35), rgba(139,92,246,0.35)); box-shadow: none; }

/* ---------- WhatsApp flotant (mobil) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #06290f; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.55);
  opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity 0.5s, transform 0.5s var(--ease);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 768px) { .wa-float { display: none; } }

/* =========================================================
   PAGINA PROIECT
   ========================================================= */
.case { padding-top: 128px; }
@media (min-width: 768px) { .case { padding-top: 160px; } }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); transition: color 0.3s; }
.back:hover { color: #fff; }
.case__head { max-width: 760px; margin-top: 32px; }
.case__head h1 { margin-top: 16px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.mock-wrap { margin-top: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.case__body { display: grid; gap: 48px; margin-top: 64px; }
@media (min-width: 1024px) { .case__body { grid-template-columns: 1fr 320px; } }
.case__blocks { display: grid; gap: 40px; }
.case__blocks h2 { font-size: 1.5rem; }
.case__blocks p { margin-top: 12px; font-size: 1.125rem; color: var(--text-soft); }
.case aside { padding: 28px; align-self: start; }
@media (min-width: 1024px) { .case aside { position: sticky; top: 112px; } }
.case aside h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.16em; color: var(--faint); }
.case aside ul { display: grid; gap: 12px; margin-top: 20px; }
.case aside li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.case + .final { margin-top: 96px; }

/* ---------- 404 ---------- */
.notfound { display: grid; place-items: center; min-height: 100vh; padding: 24px; text-align: center; }
.notfound h1 { margin-top: 16px; font-size: clamp(2.2rem, 5vw, 3rem); }
.notfound p { margin-top: 16px; color: var(--muted); }
.notfound .btn { margin-top: 32px; }

/* =========================================================
   ANIMAȚII LA SCROLL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* Mockup mai mare pe pagina de proiect */
@media (min-width: 1024px) {
  .mock-wrap .mock { aspect-ratio: 16 / 8; }
  .mock-wrap .mock__browser { width: 66%; top: 10%; }
  .mock-wrap .mock__hero { height: 210px; }
  .mock-wrap .mock__cards i:first-child { height: 64px; }
  .mock-wrap .mock__phone { width: 20%; }
}

/* =========================================================
   PAGINI SEPARATE — navigare activă + tranziții între pagini
   ========================================================= */
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.07); }
.mobile-menu li a[aria-current="page"] { color: var(--electric); }
.footer ul a[aria-current="page"] { color: #fff; }

/* Comutator de limbă EN · RO · DE */
.lang {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.lang a { padding: 7px 9px; border-radius: 999px; line-height: 1; letter-spacing: 0.06em; color: var(--muted); transition: color 0.3s, background 0.3s; }
.lang a:hover { color: #fff; }
.lang a[aria-current="true"] { background: var(--gradient); color: #fff; }
@media (max-width: 479px) { .header__actions > .lang { display: none; } }
.mobile-menu li.lang--mobile { width: max-content; margin-top: 24px; }
.mobile-menu li.lang--mobile a { display: inline-block; padding: 10px 16px; border: 0; font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.mobile-menu li.lang--mobile a[aria-current="true"] { color: #fff; }

/* Tranziție lină la schimbarea paginii (Chrome / Edge / Safari noi) — DOAR pe desktop.
   Pe telefon, captura paginii vechi o ține „înghețată” până se încarcă cea nouă → pare blocat. */
@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vtOut 0.2s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.35s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Hero pentru paginile interioare ---------- */
.page-hero { position: relative; overflow: hidden; padding: 136px 0 72px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .page-hero { padding: 168px 0 96px; } }
.page-hero .blob--1 { right: -160px; top: 0; width: 520px; height: 520px; background: rgba(139, 92, 246, 0.18); }
.page-hero .blob--2 { left: -200px; bottom: -120px; width: 420px; height: 420px; background: rgba(59, 130, 246, 0.14); }
.page-hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.25fr 0.75fr; } }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -0.035em; }
.page-hero .lead { max-width: 600px; }
.page-hero .btn-row { margin-top: 36px; }
.page-hero .hero__visual { display: none; max-width: 400px; }
@media (min-width: 1024px) { .page-hero .hero__visual { display: block; } }

/* ---------- Servicii pe scurt (pagina Acasă) ---------- */
.svc-mini { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 640px) { .svc-mini { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .svc-mini { grid-template-columns: repeat(4, 1fr); } }
.svc-mini a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px; overflow: hidden; }
.svc-mini h3 { font-size: 1.2rem; }
.svc-mini p { font-size: 15px; color: var(--muted); }
.svc-mini .link-arrow { margin-top: auto; font-size: 15px; }
.section__more { margin-top: 48px; }

/* =========================================================
   ANIMAȚII 3D
   ========================================================= */

/* Card care se înclină 3D după mouse: adaugă data-tilt pe element */
[data-tilt] { transition: transform 0.6s var(--ease); will-change: transform; }
[data-tilt].is-tilting { transition: transform 0.12s linear; }
.tilt-shine {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.13), transparent 45%);
}
[data-tilt]:hover .tilt-shine { opacity: 1; }

/* Apariție 3D la scroll: adaugă clasa reveal--3d lângă reveal */
.js .reveal--3d { transform: perspective(1200px) rotateX(16deg) translateY(48px); transform-origin: 50% 0; }
.js .reveal--3d.is-in { transform: none; }

/* ---------- Imagini: cutie cu placeholder dacă poza lipsește ---------- */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--ink-700), var(--ink-900)); }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media.is-missing {
  background:
    radial-gradient(circle at 25% 20%, rgba(139, 92, 246, 0.35), transparent 60%),
    radial-gradient(circle at 80% 85%, rgba(59, 130, 246, 0.3), transparent 60%),
    var(--ink-850);
}
.media.is-missing::after {
  content: "+ " attr(data-file); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); word-break: break-all;
}

/* ---------- Carusel 3D de imagini care se rotește ---------- */
.ring {
  --w: 96px; --h: 132px; --r: calc(var(--w) * 1.5);
  position: relative; display: grid; place-items: center; height: calc(var(--h) + 110px); margin-top: 32px;
  perspective: 1100px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
@media (min-width: 768px) { .ring { --w: 124px; --h: 170px; height: calc(var(--h) + 140px); margin-top: 40px; } }
.ring__stage { position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(-9deg); }
/* Se rotește continuu, nu se oprește la hover */
.ring__spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: ringSpin 30s linear infinite; }
.ring__item {
  position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 12px;
  transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r));
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8); backface-visibility: hidden;
}
.ring__item::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 10, 0.75));
}
.ring__item figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2;
  font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.14em; color: #fff;
}
.ring__floor {
  position: absolute; left: 50%; bottom: 16px; width: 50%; height: 60px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(ellipse, rgba(99, 102, 241, 0.35), transparent 70%); filter: blur(20px);
}
@keyframes ringSpin { to { transform: rotateY(-360deg); } }

/* ---------- Slideshow cu zoom lent (Ken Burns) ---------- */
.slideshow {
  position: relative; aspect-ratio: 4 / 3; margin-top: 56px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-850);
}
@media (min-width: 768px) { .slideshow { aspect-ratio: 16 / 8; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide > img, .slide > video { transform: scale(1.15); }
.slide.is-active > img, .slide.is-active > video { animation: kenburns 9s ease-out both; }
.slide:nth-child(even).is-active > img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.18) translate(-2%, -1.5%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kenburns2 { from { transform: scale(1.02) translate(1.5%, 0); } to { transform: scale(1.16) translate(-1%, 1.5%); } }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 64px 24px 24px;
  background: linear-gradient(transparent, rgba(5, 6, 10, 0.85)); font-family: var(--font-display); font-size: 1.1rem; color: #fff;
}
.slideshow__ui { position: absolute; right: 16px; top: 16px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.slideshow__ui button {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(5, 6, 10, 0.55); color: #fff; backdrop-filter: blur(8px); transition: background 0.3s;
}
.slideshow__ui button:hover { background: rgba(5, 6, 10, 0.85); }
.slideshow__ui svg { width: 18px; height: 18px; }
.slideshow__dots { display: flex; align-items: center; gap: 6px; padding: 0 6px; }
.slideshow__dots button { width: 8px; height: 8px; border: 0; background: rgba(255, 255, 255, 0.35); transition: width 0.3s var(--ease); }
.slideshow__dots button[aria-current="true"] { width: 22px; border-radius: 999px; background: #fff; }

/* ---------- Galerie cu imagini (hover zoom) ---------- */
.gallery { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; } }
.gallery .media { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius-sm); }
@media (min-width: 1024px) {
  .gallery .media { aspect-ratio: auto; }
  .gallery .media--tall { grid-row: span 2; }
  .gallery .media--wide { grid-column: span 2; }
}
.gallery .media > img { transition: transform 0.9s var(--ease); }
.gallery .media:hover > img { transform: scale(1.07); }

/* ---------- Bandă cu imagine parallax ---------- */
.parallax { position: relative; display: grid; place-items: center; min-height: 60vh; overflow: hidden; border-block: 1px solid var(--line); }
.parallax__media { position: absolute; inset: -18% 0; }
.parallax::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 10, 0.55), rgba(5, 6, 10, 0.75)); }
.parallax__text { position: relative; z-index: 1; max-width: 820px; padding: 96px 20px; text-align: center; }
.parallax__text p { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.15; color: #fff; letter-spacing: -0.03em; }
.parallax__text small { display: block; margin-top: 20px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-soft); }

/* ---------- Scena 3D: imagine centrală + embleme care plutesc ---------- */
.scene { position: relative; aspect-ratio: 3 / 2; max-width: 1000px; margin: 64px auto 0; perspective: 1200px; }
.scene__glow { position: absolute; inset: 15%; border-radius: 50%; background: var(--gradient); opacity: 0.22; filter: blur(80px); }
.scene__main {
  position: absolute; inset: 6% 12%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s ease-out;
}
.scene__main img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(59, 130, 246, 0.3)); }
.scene__float { position: absolute; width: 16%; animation: float 7s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@media (min-width: 768px) { .scene__float { width: 12%; } }
.scene__float img {
  width: 100%; height: auto; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 0.4s ease-out;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
}
.scene__float--1 { left: 4%; top: 6%; }
.scene__float--2 { right: 3%; top: 34%; --delay: -2.3s; }
.scene__float--3 { left: 14%; bottom: 4%; --delay: -4.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}

/* =========================================================
   FUTURIST — fundal 3D animat + forme 3D decorative
   ========================================================= */
/* Rețeaua 3D din fundal (creată de js/hero-3d.js pe fiecare pagină) */
.bg-3d { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-3d canvas { width: 100%; height: 100%; }

/* Formă 3D decorativă: <div class="fx-3d" data-3d="knot"></div> */
.fx-3d { position: absolute; z-index: 0; pointer-events: none; }
.fx-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card > .fx-3d { z-index: -1; }
.fx-3d--card { right: -50px; top: -50px; width: 240px; height: 240px; opacity: 0.55; transition: opacity 0.5s, transform 0.8s var(--ease); }
.card:hover > .fx-3d--card { opacity: 0.95; transform: scale(1.08); }
.fx-3d--mini { right: -40px; top: -40px; width: 170px; height: 170px; opacity: 0.5; transition: opacity 0.5s; }
.card:hover > .fx-3d--mini { opacity: 0.9; }
.fx-3d--left, .fx-3d--right { top: 50%; width: 380px; height: 380px; opacity: 0.5; transform: translateY(-50%); }
.fx-3d--left { left: -110px; }
.fx-3d--right { right: -110px; }
@media (max-width: 767px) { .fx-3d--left, .fx-3d--right { width: 240px; height: 240px; opacity: 0.3; } }
.fx-3d--next { right: -60px; top: -60px; width: 300px; height: 300px; opacity: 0.7; }
.fx-3d--case { right: 2%; top: 110px; width: 380px; height: 380px; display: none; }
@media (min-width: 1024px) { .fx-3d--case { display: block; } }
.case { position: relative; }
.case > .fx-3d { z-index: 0; }
.case > .container { position: relative; z-index: 1; }

/* Grila din fundal se mișcă lent — efect de „spațiu digital” */
/* (animația grilei a fost scoasă: redesena tot fundalul la fiecare cadru) */
@keyframes gridPan { to { background-position: 0 64px, 64px 0; } }

/* Linie de lumină care trece peste carduri la hover */
.card:not(.service)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(129, 140, 248, 0.09) 50%, transparent 60%);
  background-size: 250% 100%; background-position: 120% 0; transition: background-position 1s var(--ease);
}
.card:not(.service):hover::after { background-position: -20% 0; }

/* ---------- Imagini generate: carduri servicii, Acasă ---------- */
.service__media { margin: -28px -28px 28px; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .service__media { margin: -36px -36px 32px; } }
.service__media > img { transition: transform 0.9s var(--ease); }
.service:hover .service__media > img { transform: scale(1.05); }
.home-projects { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .home-projects { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.home-shot { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 100px -30px rgba(99, 102, 241, 0.5); }
.gallery figure { margin: 0; }

/* Imagini cu fundal transparent (embleme) — nu se taie */
.media--contain > img { object-fit: contain; padding: 10%; }

/* Portretul din pagina Despre: placeholder „BR” cât timp nu există poza */
.portrait__frame.is-missing::after { content: none; }
.portrait__frame .portrait__placeholder { display: none; }
.portrait__frame.is-missing .portrait__placeholder { display: flex; }

@media (prefers-reduced-motion: reduce) {
  .ring__spin { animation: none; }
  .js .reveal--3d { transform: none; }
}

/* ---------- Iconițe mici HTML / CSS / JS care plutesc pe fundal (toate paginile, create de js/main.js) ---------- */
.tech-drift { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tech-chip {
  position: absolute; left: var(--x); top: var(--y);
  padding: 2px 5px; border: 1px solid currentColor; border-radius: 5px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; line-height: 1.2; letter-spacing: 0.04em;
  opacity: 0.4; white-space: nowrap;
  animation: techDrift var(--dur, 36s) ease-in-out var(--delay, 0s) infinite;
}
.tech-chip--html { color: #F97316; }
.tech-chip--css  { color: #38BDF8; }
.tech-chip--js   { color: #FACC15; }
.tech-chip--tag  { color: #A78BFA; }
@keyframes techDrift {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  25%      { transform: translate(70px, -50px) rotate(4deg); }
  50%      { transform: translate(-30px, -100px) rotate(-2deg); }
  75%      { transform: translate(-80px, -30px) rotate(7deg); }
}
.tech-chip:nth-child(even) { animation-direction: reverse; }
@media (max-width: 767px) { .tech-chip:nth-child(n+9) { display: none; } }
@media (prefers-reduced-motion: reduce) { .tech-chip { animation: none; } }

/* Portret: contur subțire în gradientul violet–albastru al site-ului */
.portrait__frame:not(.is-missing) {
  border: 1px solid transparent;
  background: linear-gradient(var(--ink-850), var(--ink-850)) padding-box, var(--gradient) border-box;
}
.portrait__frame img { object-position: 50% 30%; border-radius: inherit; }

/* =========================================================
   PAGINA PRINCIPALĂ — PROIECTE REALE
   ========================================================= */
.home-work { display: grid; gap: 16px; }
@media (min-width: 640px) { .home-work { grid-template-columns: 1fr 1fr; } }
.home-work__item { display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.3s; }
.home-work__item:hover { border-color: var(--line-strong); }
.home-work__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink-850); }
.home-work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.home-work__item:hover .home-work__img img { transform: scale(1.04); }
.home-work__cap { display: grid; gap: 2px; padding: 16px 20px 18px; }
.home-work__cap strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: #fff; }
.home-work__cap small { font-size: 13px; color: var(--muted); }

/* ---------- Recenzii ---------- */
.testimonials { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 768px) { .testimonials { grid-template-columns: 1fr 1fr; } }
.testimonial { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px; }
.testimonial blockquote { font-size: 1.125rem; line-height: 1.6; color: var(--text-soft); }
.testimonial__who { display: grid; gap: 2px; }
.testimonial__who strong { color: #fff; }
.testimonial__who span { font-size: 14px; color: var(--muted); }

/* =========================================================
   SERVICII — PACHETE & PREȚURI
   ========================================================= */
.pricing { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 1024px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing > li { display: flex; }
.plan { display: flex; flex-direction: column; width: 100%; padding: 32px; }
.plan h3 { font-size: 1.35rem; }
.plan__desc { margin-top: 10px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; }
.plan__price small { font-size: 14px; color: var(--muted); }
.plan__price strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1; color: #fff; }
.plan .checklist { margin-bottom: 32px; }
.plan .btn { justify-content: center; margin-top: auto; }
.plan--featured { border-color: rgba(99, 102, 241, 0.55); background: linear-gradient(180deg, rgba(59,130,246,0.1), rgba(10,12,20,0.75) 45%); box-shadow: 0 30px 80px -40px rgba(99,102,241,0.7); }
.plan__badge { align-self: flex-start; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--gradient); font-size: 12px; font-weight: 600; color: #fff; }
.extras { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .extras { grid-template-columns: 1fr 1fr; } }
.extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 24px 28px; }
.extra h3 { font-size: 1.1rem; }
.extra p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.extra > div { flex: 1 1 240px; }
.extra__price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.extra__price small { font-size: 13px; color: var(--muted); }
.extra__price strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; }
.pricing__note { max-width: 680px; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--faint); }

/* =========================================================
   CONTACT — ACORD GDPR & PAȘII URMĂTORI
   ========================================================= */
.form .consent { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--electric); cursor: pointer; }
.consent a, .form__footer a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover, .form__footer a:hover { color: #fff; }
.next-steps { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,12,20,0.6); }
.next-steps__title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); }
.next-steps ol { display: grid; gap: 18px; margin-top: 18px; counter-reset: step; }
.next-steps li { position: relative; display: grid; gap: 2px; padding-left: 44px; counter-increment: step; }
.next-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(59,130,246,0.15); font-family: var(--font-mono); font-size: 13px; color: var(--electric);
}
.next-steps strong { color: #fff; font-weight: 600; }
.next-steps span { font-size: 14px; color: var(--muted); }

/* =========================================================
   PAGINI LEGALE (Impressum, Confidențialitate)
   ========================================================= */
.legal { padding-top: 160px; }
.legal__inner { max-width: 780px; }
.legal h1 { margin-top: 16px; font-size: clamp(2.2rem, 5vw, 3.25rem); line-height: 1.08; }
.legal section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.25rem; }
.legal section p, .legal section li { margin-top: 12px; line-height: 1.75; color: var(--text-soft); }
.legal ul { display: grid; gap: 4px; padding-left: 20px; list-style: disc; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--electric); }
.legal__date { margin-top: 48px; font-size: 14px; color: var(--faint); }
.todo { padding: 1px 6px; border-radius: 6px; background: rgba(245,158,11,0.15); color: var(--amber); }

/* ---------- Footer: linkuri legale ---------- */
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { transition: color 0.3s; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: #fff; }

/* =========================================================
   PERFORMANȚĂ PE TELEFON
   ========================================================= */
@media (max-width: 767px), (hover: none) {
  /* Ce e pe primul ecran apare imediat, fără animație de intrare */
  .js .reveal.is-instant { opacity: 1; transform: none; transition: none; }
  /* Blur-ul de fundal e foarte scump peste animații pe telefon → fundal aproape opac în loc */
  .card, .portrait__facts, .slideshow__ui button { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card { background: rgba(10, 12, 20, 0.92); }
  .header.is-scrolled, body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 6, 10, 0.96); }
  .js .reveal { transition-duration: 0.4s; }
}
@media (max-width: 767px), (hover: none) {
  /* Petele de culoare: gradient radial în loc de blur(130px) — arată la fel, dar e mult mai ușor de desenat */
  .blob, .hero__visual::before, .service::after, .ring__floor, .next-card::after, .portrait::before, .scene__glow {
    filter: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
  }
  .tech-chip { opacity: 0.28; }
}
@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .page-hero { padding-bottom: 48px; }
}
