:root {
  --bg: #0a0a0f;
  --text: #f5f5f5;
  --muted: rgba(220, 230, 255, 0.75);

  --red: #ff3c38;
  --cyan: #00f0ff;

  --glass: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  --neon-gradient: conic-gradient(
    from 0deg,
    #ff3c38,
    #ff7a18,
    #00f0ff,
    #8b5cf6,
    #ff3c38
  );
}

/* ============ Base ============ */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-x: hidden;
  background: #050b16;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.7;
  color: var(--muted);
}

.lead {
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 70ch;
  line-height: 1.6;
}

/* ============ Background ============ */
.bg-layer {
  position: fixed;
  inset: 0;
  background: url("assets/bg.png") center / cover no-repeat;
  z-index: -10;
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(5, 11, 22, 0.6),
    rgba(5, 11, 22, 0.4)
  );
}

/* ============ Glass helper ============ */
.glass {
  background: var(--glass2);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

/* ============ Navbar ============ */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: min(1100px, calc(100% - 20px));
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.nav.is-solid {
  background: rgba(10, 10, 15, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.brand-mark {
  font-weight: 800;
  letter-spacing: 0.08em;

  background: linear-gradient(
    90deg,
    #ff3c38,
    /* red */ #ff7a18,
    /* orange glow */ #00f0ff,
    /* cyan */ #8b5cf6 /* purple */
  );

  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* 🔥 neon glow */
  text-shadow:
    0 0 6px rgba(255, 60, 56, 0.6),
    0 0 12px rgba(0, 240, 255, 0.4),
    0 0 18px rgba(139, 92, 246, 0.3);
}

.brand-sub {
  color: #f5f5f5;
  font-weight: 600;
  opacity: 0.95;
}

.brand:hover .brand-mark {
  text-shadow:
    0 0 10px rgba(255, 60, 56, 0.8),
    0 0 20px rgba(0, 240, 255, 0.6),
    0 0 30px rgba(139, 92, 246, 0.5);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  opacity: 0.92;
}

.nav-links a {
  position: relative;
  padding: 8px 10px;
  border-radius: 10px;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 18px rgba(0, 240, 255, 0.1);
  transform: translateY(-0.5px);
}

/* --- ACTIVE PREMIUM (un singur sistem: is-active) --- */
.nav-links a.is-active {
  color: rgba(235, 255, 255, 0.98);
  background: linear-gradient(
    180deg,
    rgba(0, 240, 255, 0.1),
    rgba(139, 92, 246, 0.06)
  );

  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.14) inset,
    0 0 22px rgba(0, 240, 255, 0.14),
    0 0 28px rgba(139, 92, 246, 0.1);
}

/* underline neon */
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;

  background: linear-gradient(90deg, #00f0ff, #8b5cf6, #ff3c38);
  background-size: 220% 100%;

  box-shadow:
    0 0 10px rgba(0, 240, 255, 0.55),
    0 0 16px rgba(139, 92, 246, 0.35);

  animation:
    navGlow 2.6s ease-in-out infinite alternate,
    navShimmer 2.2s linear infinite;
}

.nav-links a.is-active::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 4px;
  border-radius: 999px;

  background: radial-gradient(
    circle at 20% 50%,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0) 55%
  );

  opacity: 0.35;
  filter: blur(0.2px);
  transform: translateX(-30%);
  animation: navSweep 1.9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes navGlow {
  from {
    opacity: 0.6;
    transform: scaleX(0.92);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes navShimmer {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes navSweep {
  0% {
    transform: translateX(-30%);
    opacity: 0.18;
  }
  45% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(30%);
    opacity: 0.18;
  }
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.92;
}

.sep {
  opacity: 0.35;
}

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: rgba(245, 245, 245, 0.92);
  margin: 6px auto;
  border-radius: 99px;
}

/* Mobile menu */
.mobile-menu {
  pointer-events: auto;
  width: min(1100px, calc(100% - 20px));
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  opacity: 0.95;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-lang {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  opacity: 0.8;
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 90px;
}

.hero-inner {
  width: min(920px, calc(100% - 40px));
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo {
  position: relative;
  width: min(400px, 86vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  box-shadow:
    0 0 40px rgba(255, 60, 56, 0.25),
    0 0 60px rgba(0, 240, 255, 0.25),
    inset 0 0 25px rgba(0, 0, 0, 0.4);
}

.ring::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: var(--neon-gradient);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: spinRing 4s linear infinite;
  filter: blur(1px) drop-shadow(0 0 10px #ff3c38) drop-shadow(0 0 20px #00f0ff);
}

/* LET (un singur bloc, fără dubluri) */
.let {
  font-size: clamp(72px, 10vw, 124px);
  font-weight: 700;
  display: flex;
  gap: 8px;
  transform: translateY(6px);
  font-family: "Exo 2", sans-serif;
  letter-spacing: 0.02em;

  background: var(--neon-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  background-size: 200% 200%;
  animation: moveGradient 20s ease-in-out infinite alternate;

  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6))
    drop-shadow(0 0 12px rgba(139, 92, 246, 0.6))
    drop-shadow(0 0 20px rgba(255, 60, 56, 0.8));
}

.digital {
  position: absolute;
  bottom: 22%;
  font-size: 16px;
  letter-spacing: 0.55em;
  font-weight: 200;
  opacity: 0.92;
  transform: translateX(0.27em);
}

.hero-title {
  font-size: clamp(20px, 2.4vw, 30px);
  margin: 20px auto 10px;
  max-width: 40ch;
  line-height: 1.25;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 3;

  opacity: 0;
  filter: blur(12px);
  transform: scale(0.95);
  transition:
    opacity 0.8s ease,
    filter 0.8s ease,
    transform 0.8s ease;
}

.hero-title.show {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  animation: pixelReveal 1.2s steps(12) forwards;
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: inherit;
  opacity: 0;
}

.hero-title.show::before {
  animation: glitchTop 0.4s ease forwards;
}
.hero-title.show::after {
  animation: glitchBottom 0.4s ease forwards;
}

.hero-sub {
  margin: 0 auto 22px;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.btn-primary {
  border-color: rgba(255, 60, 56, 0.38);
  background: linear-gradient(
    180deg,
    rgba(255, 60, 56, 0.95),
    rgba(255, 107, 53, 0.92)
  );
  box-shadow: 0 0 24px rgba(255, 60, 56, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 60, 56, 0.45);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.18);
}

.scroll-hint {
  margin-top: 26px;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-hint i {
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  position: relative;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  animation: wheel 1.2s infinite;
}

/* ============ Cards / grids ============ */
.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--glass);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* p deja are muted, deci nu mai repetăm color aici */
.card p {
  margin: 0;
  line-height: 1.6;
  font-size: 13.5px;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.card li {
  font-size: 13.5px;
}

.card--featured {
  border-color: rgba(255, 60, 56, 0.24);
  box-shadow: 0 0 36px rgba(255, 60, 56, 0.12);
}

.mini-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 60, 56, 0.28);
  background: rgba(255, 60, 56, 0.1);
}

.link-card {
  position: relative;
}

.pill {
  display: inline-flex;
  margin-top: 12px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: rgba(0, 240, 255, 0.08);
  color: rgba(220, 255, 255, 0.92);
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: start;
}

.form label {
  display: block;
  font-size: 12px;
  color: rgba(245, 245, 245, 0.9);
  margin-bottom: 10px;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08);
}

.fine {
  margin: 12px 0 0;
  color: rgba(245, 245, 245, 0.65);
  font-size: 12px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ============ Footer ============ */
.footer {
  padding: 34px 0;
  color: rgba(245, 245, 245, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ Animations ============ */
@keyframes wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pixelReveal {
  0% {
    -webkit-mask-size: 80px 80px;
    mask-size: 80px 80px;
  }
  100% {
    -webkit-mask-size: 4px 4px;
    mask-size: 4px 4px;
  }
}

/* dacă ai deja aceste keyframes în altă parte, lasă-le aici doar o dată */
@keyframes glitchTop {
  0% {
    transform: translateY(-10px) skewX(10deg);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@keyframes glitchBottom {
  0% {
    transform: translateY(10px) skewX(-10deg);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ============ Reveal (hero) ============ */
.hero-sub,
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.hero-sub.show,
.hero-cta.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 920px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .digital {
    bottom: 24%;
  }
}

@media (min-width: 900px) {
  .hero-title {
    transform: translateY(-28px);
  }
}

/* ===== Premium cards ===== */
.card {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.card::before {
  /* gradient border highlight */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.55),
    rgba(139, 92, 246, 0.35),
    rgba(255, 60, 56, 0.35)
  );
  mask: var(--glass);
  -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 220ms ease;
  pointer-events: none;
}

.card::after {
  /* soft spotlight */
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 240, 255, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(0, 240, 255, 0.12);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

/* nice micro highlight on headings */
.card h3 {
  transition:
    transform 220ms ease,
    letter-spacing 220ms ease;
}
.card:hover h3 {
  transform: translateY(-1px);
  letter-spacing: -0.01em;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;

  filter: blur(10px);

  will-change: transform, opacity, filter;

  transform: translate3d(0, 18px, 0);
  transition:
    opacity 700ms ease,
    transform 900ms ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}
.reveal-delay-2 {
  transition-delay: 160ms;
}
.reveal-delay-3 {
  transition-delay: 240ms;
}

/* ===== Premium background feel ===== */
.bg-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(139, 92, 246, 0.18),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(0, 240, 255, 0.14),
      transparent 48%
    ),
    radial-gradient(circle at 50% 85%, rgba(255, 60, 56, 0.1), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.bg-layer::after {
  /* păstrezi overlay-ul tău, dar îl facem puțin mai “vignette” */
  background: radial-gradient(
    circle at 50% 45%,
    rgba(5, 11, 22, 0.45),
    rgba(5, 11, 22, 0.78)
  );
}

/* subtle noise without an image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -5;
  opacity: 0.12;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 2px
  );
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== NEON v2 (aggressive but premium) ===== */
:root {
  --neonA: rgba(0, 240, 255, 0.55);
  --neonB: rgba(139, 92, 246, 0.45);
  --neonC: rgba(255, 60, 56, 0.35);
}

/* scanline layer inside cards */
.card.neon-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 2px,
    transparent 6px
  );
  mix-blend-mode: overlay;
  transition: opacity 220ms ease;
}

/* animated border shimmer */
.card.neon-v2::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(
    120deg,
    var(--neonA),
    var(--neonB),
    var(--neonC),
    var(--neonA)
  );
  background-size: 260% 260%;
  mask: var(--glass);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

/* subtle idle pulse for featured cards only */
.card--featured.neon-v2 {
  animation: neonPulse 2.6s ease-in-out infinite;
}

@keyframes neonPulse {
  0%,
  100% {
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.45),
      0 0 22px rgba(0, 240, 255, 0.1);
  }
  50% {
    box-shadow:
      0 24px 75px rgba(0, 0, 0, 0.55),
      0 0 36px rgba(0, 240, 255, 0.18);
  }
}

/* hover effect: shimmer + scanline + “energy” */
.card.neon-v2:hover {
  transform: translateY(-7px);
  box-shadow:
    0 26px 85px rgba(0, 0, 0, 0.62),
    0 0 42px rgba(0, 240, 255, 0.18),
    0 0 60px rgba(139, 92, 246, 0.12);
}

.card.neon-v2:hover::before {
  opacity: 1;
  animation: neonShimmer 1.35s linear infinite;
}

@keyframes neonShimmer {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

.card.neon-v2:hover::after {
  opacity: 0.18;
}

/* micro glitch on heading (only on hover) */
.card.neon-v2 h3 {
  position: relative;
}

.card.neon-v2:hover h3 {
  text-shadow:
    0 0 14px rgba(0, 240, 255, 0.25),
    0 0 18px rgba(139, 92, 246, 0.18);
}

.card.neon-v2:hover h3::before,
.card.neon-v2:hover h3::after {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.22;
  pointer-events: none;
}

.card.neon-v2:hover h3::before {
  transform: translate(1px, -1px);
  color: rgba(0, 240, 255, 0.85);
}

.card.neon-v2:hover h3::after {
  transform: translate(-1px, 1px);
  color: rgba(255, 60, 56, 0.65);
}

/* optional: stronger CTA chips */
.mini-cta.neon-v2 {
  border-color: rgba(0, 240, 255, 0.22);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.1);
}
.mini-cta.neon-v2:hover {
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.16);
}

/* ===== HERO ULTRA WOW: Elegant Neon Portal ===== */
.hero-inner {
  position: relative;
}

.hero-portal {
  position: absolute;
  inset: -40px -20px -140px -20px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
  transform: translate3d(0, 0, 0);
}

.hero-portal .blob {
  position: absolute;
  width: clamp(220px, 34vw, 520px);
  height: clamp(220px, 34vw, 520px);
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(0, 240, 255, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 60% 60%,
      rgba(139, 92, 246, 0.14),
      transparent 60%
    ),
    radial-gradient(circle at 40% 70%, rgba(255, 60, 56, 0.1), transparent 62%);
  mix-blend-mode: screen;
  filter: blur(2px);
  animation: blobFloat 10s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
}

.hero-portal .b1 {
  left: 10%;
  top: 8%;
  animation-duration: 11s;
}
.hero-portal .b2 {
  right: 8%;
  top: 16%;
  animation-duration: 13s;
  opacity: 0.78;
}
.hero-portal .b3 {
  left: 32%;
  bottom: 2%;
  animation-duration: 15s;
  opacity: 0.62;
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.03);
  }
}

.hero-portal .gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(255, 255, 255, 0.14),
      transparent 55%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.12) 0 1px,
      transparent 1px 72px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.1) 0 1px,
      transparent 1px 72px
    );
  mask: radial-gradient(circle at 50% 45%, #000 0 38%, transparent 72%);
}

/* keep content above portal */
.logo,
.hero-title,
.hero-sub,
.hero-cta {
  position: relative;
  z-index: 2;
}

/* ===== Magnetic CTA (Elegant) ===== */
.btn {
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.btn::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: var(--bx, 50%);
  top: var(--by, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 0.55;
}

.btn-primary::after {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.22),
    transparent 62%
  );
  opacity: 0;
}
.btn-primary:hover::after {
  opacity: 0.45;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.14);
}

/* ============ BLOG (extras) ============ */
.blog-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 20px; /* spacing between tools and cards */
}

.blog-tools input[type="search"] {
  flex: 1;
  min-width: 220px;
  margin-top: 0;
  color: var(--text);
}

.blog-tools input[type="search"]::placeholder {
  color: rgba(245, 245, 245, 0.5);
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text); /* FIX: no black text */
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 240, 255, 0.22);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.12);
}

.chip.is-active {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(0, 240, 255, 0.12);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.14) inset,
    0 0 18px rgba(0, 240, 255, 0.12);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(245, 245, 245, 0.7);
  padding-bottom: 5px;
}

.post-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: rgba(0, 240, 255, 0.08);
  color: rgba(220, 255, 255, 0.92);
}

/* Empty state */
.blog-empty {
  margin-top: 14px;
  color: rgba(245, 245, 245, 0.65);
  font-size: 12px;
  line-height: 1.6;
}

/* Language switch (RO/EN) inside .nav-actions */
.nav-actions .lang {
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text);
  opacity: 0.85;
}

.nav-actions .lang:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.nav-actions .lang.active {
  opacity: 1;
  border-color: rgba(0, 240, 255, 0.22);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.14) inset;
}

.nav .brand-mark {
  font-weight: 800 !important;
}

.card.neon-v2:hover h3::before,
.card.neon-v2:hover h3::after {
  content: none !important;
}
