/* ezFlux homepage 2027 — static, fără resurse externe. */

:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --surface: rgb(255 255 255 / 0.04);
  --surface-2: rgb(255 255 255 / 0.07);
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --text: #eef2fa;
  --text-2: #a7b0c4;
  --text-3: #6d7891;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --cyan: #67e8f9;
  --amber: #fbbf24;
  --green: #34d399;
  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --font: "Inter var", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.grad {
  background: linear-gradient(100deg, #93c5fd 0%, #67e8f9 45%, #fde68a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--text-3);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease), border-color 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn span {
  transition: transform 0.35s var(--ease);
}
.btn:hover span {
  transform: translateX(4px);
}
.btn-primary {
  background: linear-gradient(180deg, #4f8ff7, #2563eb);
  color: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset, 0 10px 30px -8px rgb(37 99 235 / 0.7);
}
.btn-primary:hover {
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.3) inset, 0 16px 40px -8px rgb(37 99 235 / 0.85);
}
.btn-ghost {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid var(--line-2);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgb(255 255 255 / 0.1);
}
.btn-light {
  background: var(--text);
  color: var(--bg);
}
.btn-sm {
  --pad: 9px 16px;
  font-size: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled .nav-shell {
  background: rgb(10 15 28 / 0.62);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px -20px rgb(0 0 0 / 0.8);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.brand b {
  font-weight: 750;
}
.brand-mark {
  width: 32px;
  height: 32px;
  color: var(--blue);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.06);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-login {
  font-size: 14.5px;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 10px;
}
.nav-login:hover {
  color: var(--text);
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.06);
  cursor: pointer;
  place-content: center;
  gap: 6px;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}
.mobile-menu {
  inset: 74px var(--gutter) auto;
  width: auto;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: rgb(10 15 28 / 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--text);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8);
}
.mobile-menu:popover-open {
  display: grid;
}
.mobile-menu a {
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 550;
}
.mobile-menu a:hover {
  background: rgb(255 255 255 / 0.06);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: clip;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}
.hero-media img {
  object-fit: cover;
  object-position: 68% 50%;
  animation: hero-zoom 2.4s var(--ease) both;
}
@keyframes hero-zoom {
  from {
    transform: scale(1.08);
    filter: saturate(0.6) brightness(0.7);
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgb(7 11 20 / 0.92) 0%, rgb(7 11 20 / 0.62) 38%, rgb(7 11 20 / 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgb(7 11 20 / 0.4) 26%, rgb(7 11 20 / 0) 50%),
    linear-gradient(180deg, rgb(7 11 20 / 0.6) 0%, rgb(7 11 20 / 0) 18%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 20% 60%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 60%, #000 0%, transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 48px;
  padding-block: 140px clamp(72px, 10vh, 120px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
  margin-bottom: 26px;
}
.pulse,
.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgb(52 211 153 / 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgb(52 211 153 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(52 211 153 / 0);
  }
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 680;
}
.lede {
  max-width: 600px;
  margin-top: 26px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-2);
}
.lede strong {
  color: var(--text);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-2);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-2);
}

/* Live feed */
.live-feed {
  justify-self: end;
  width: min(100%, 380px);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: rgb(12 18 32 / 0.5);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.08);
  animation: rise 1s 0.9s var(--ease) both;
}
.feed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 12px;
  font-size: 13px;
  font-weight: 600;
}
.feed-head small {
  margin-left: auto;
  font-weight: 450;
  color: var(--text-3);
}
.live-feed ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feed-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid var(--line);
  animation: rise 0.8s calc(1.2s + var(--i) * 0.25s) var(--ease) both;
}
.feed-card b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.feed-card span:not(.feed-ico) {
  display: block;
  font-size: 12.5px;
  color: var(--text-2);
}
.feed-card time {
  font-size: 12px;
  color: var(--text-3);
  align-self: start;
}
.feed-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 15px;
}
.ico-green {
  background: rgb(52 211 153 / 0.15);
  color: var(--green);
}
.ico-amber {
  background: rgb(251 191 36 / 0.15);
  color: var(--amber);
}
.ico-blue {
  background: rgb(96 165 250 / 0.15);
  color: var(--blue-2);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--text);
  animation: cue 1.8s infinite var(--ease);
}
@keyframes cue {
  60%,
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* Hero entrance */
.hero .reveal {
  animation: rise 1s var(--ease) both;
}
.hero .reveal:nth-child(2) {
  animation-delay: 0.1s;
}
.hero .reveal:nth-child(3) {
  animation-delay: 0.2s;
}
.hero .reveal:nth-child(4) {
  animation-delay: 0.3s;
}
.hero .reveal:nth-child(5) {
  animation-delay: 0.4s;
}

/* ---------- Marquee ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0 22px 28px;
  font-size: 15px;
  font-weight: 550;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee li::after {
  content: "✦";
  color: var(--blue);
  font-size: 11px;
}
.strip:hover .marquee {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
section {
  position: relative;
}
.statement,
.platform,
.field,
.saga,
.faq {
  padding-block: clamp(80px, 12vw, 160px) 0;
}
.big {
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.04;
  max-width: 1100px;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2,
.field h2,
.saga h2 {
  font-size: clamp(34px, 4.6vw, 64px);
}
.section-head > p:last-child:not(.eyebrow) {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 580px;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(48px, 7vw, 88px);
}
.trio-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.trio-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgb(96 165 250 / 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}
.trio-num {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 40px;
}
.trio-card h3 {
  font-size: 23px;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.trio-card p {
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 16px;
}
.tile {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 100% 0%, rgb(59 130 246 / 0.1), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.tile:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.tile h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 10px;
}
.tile p {
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 440px;
}
.tile-stock {
  grid-column: span 7;
  grid-row: span 2;
}
.tile-nir {
  grid-column: span 5;
}
.tile-price {
  grid-column: span 5;
}
.tile-alert {
  grid-column: span 4;
}
.tile-field {
  grid-column: span 4;
}
.tile-efactura {
  grid-column: span 4;
}
.tile-saga {
  grid-column: span 7;
}
.tile-fleet {
  grid-column: span 5;
}
.note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-3);
}

/* Bento visuals */
.viz-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 14px;
  height: min(340px, 60cqi);
  padding-top: 20px;
}
.viz-bars div {
  position: relative;
  height: var(--h);
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, rgb(96 165 250 / 0.9), rgb(37 99 235 / 0.25));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3);
  transform-origin: bottom;
}
.viz-bars div:nth-child(3) {
  background: linear-gradient(180deg, rgb(251 191 36 / 0.95), rgb(251 191 36 / 0.2));
}
.viz-bars span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
}
.is-in .viz-bars div {
  animation: grow 1.2s var(--ease) both;
}
.is-in .viz-bars div:nth-child(2) {
  animation-delay: 0.1s;
}
.is-in .viz-bars div:nth-child(3) {
  animation-delay: 0.2s;
}
.is-in .viz-bars div:nth-child(4) {
  animation-delay: 0.3s;
}
@keyframes grow {
  from {
    transform: scaleY(0.05);
  }
}

.viz-doc {
  position: relative;
  height: 120px;
}
.doc {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 150px;
  height: 120px;
  padding: 18px 16px;
  border-radius: 14px 14px 0 0;
  background: #e8edf7;
  display: grid;
  align-content: start;
  gap: 9px;
  z-index: 1;
  box-shadow: 0 -10px 30px -10px rgb(0 0 0 / 0.6);
}
.doc i {
  height: 6px;
  border-radius: 6px;
  background: #b9c3d6;
}
.doc i.short {
  width: 55%;
}
.doc em {
  position: absolute;
  right: 12px;
  top: 12px;
  font-style: normal;
  font-size: 11px;
  font-weight: 750;
  color: #fff;
  background: var(--blue);
  padding: 3px 8px;
  border-radius: 6px;
}
.doc-back {
  right: 60px;
  height: 96px;
  background: rgb(232 237 247 / 0.25);
  transform: rotate(-6deg);
  z-index: 0;
}

.viz-price {
  position: relative;
  display: grid;
  gap: 8px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid var(--line);
  font-size: 14.5px;
}
.price-row span {
  color: var(--text-2);
}
.price-row.warn {
  border-color: rgb(251 191 36 / 0.4);
  background: rgb(251 191 36 / 0.07);
}
.price-delta {
  position: absolute;
  right: -6px;
  top: -18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a1203;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 20px -6px rgb(251 191 36 / 0.6);
}

.viz-alerts {
  display: grid;
  gap: 8px;
}
.viz-alerts span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 550;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid var(--line);
}
.viz-alerts span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.viz-alerts .a1::before {
  background: #f87171;
}
.viz-alerts .a2::before {
  background: var(--amber);
}
.viz-alerts .a2 {
  margin-left: 18px;
  opacity: 0.75;
}

.viz-scan {
  position: relative;
  height: 120px;
  border-radius: 16px;
  background: rgb(0 0 0 / 0.3);
  border: 1px solid var(--line);
  overflow: hidden;
}
.viz-scan .paper,
.ph-paper {
  position: absolute;
  inset: 16px 22%;
  border-radius: 6px;
  background: #e8edf7;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 7px;
  transform: rotate(-3deg);
}
.viz-scan .paper i,
.ph-paper i {
  height: 5px;
  border-radius: 5px;
  background: #b9c3d6;
}
.viz-scan .paper i:nth-child(2n),
.ph-paper i:nth-child(2n) {
  width: 70%;
}
.beam,
.ph-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgb(103 232 249 / 0.35), transparent);
  border-bottom: 2px solid var(--cyan);
  animation: scan 2.6s infinite var(--ease);
}
@keyframes scan {
  0% {
    top: -36px;
  }
  100% {
    top: 100%;
  }
}

.viz-match,
.viz-handoff {
  display: flex;
  align-items: center;
  gap: 10px;
}
.viz-match span,
.viz-handoff span {
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 650;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid var(--line-2);
}
.viz-match i,
.viz-handoff i {
  position: relative;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
}
.viz-match i::after,
.viz-handoff i::after,
.pipe-line i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 3px var(--cyan);
  animation: travel 2.4s infinite var(--ease);
}
@keyframes travel {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 8px);
  }
}
.viz-handoff .hf-a {
  background: rgb(59 130 246 / 0.2);
  border-color: rgb(96 165 250 / 0.5);
}
.viz-handoff .hf-b {
  background: rgb(52 211 153 / 0.12);
  border-color: rgb(52 211 153 / 0.4);
}

.viz-fleet {
  display: flex;
  gap: 10px;
}
.viz-fleet {
  flex-direction: column;
  gap: 8px;
}
.viz-fleet span {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  overflow: hidden;
}
.viz-fleet span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 60%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(251 191 36 / 0.35), var(--amber));
}
.viz-fleet span:nth-child(2) {
  --w: 85%;
}
.viz-fleet span:nth-child(3) {
  --w: 35%;
}

/* ---------- Flow ---------- */
.flow {
  margin-top: clamp(80px, 12vw, 160px);
  padding-block: clamp(80px, 10vw, 140px);
  background: radial-gradient(60% 80% at 50% 0%, rgb(37 99 235 / 0.18), transparent 70%), var(--bg-2);
  border-block: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber));
  opacity: 0.5;
}
.step {
  position: relative;
  padding: 0 4px;
}
.step-n {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font-weight: 650;
  font-size: 15px;
  color: var(--blue-2);
  box-shadow: 0 0 0 8px var(--bg-2);
}
.step h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------- Field ---------- */
.field {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.checks {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding-left: 38px;
  color: var(--text-2);
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgb(59 130 246 / 0.18);
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 700;
}
.checks b {
  color: var(--text);
  font-weight: 600;
}
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 20px;
}
.phone-stage::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(37 99 235 / 0.4), transparent 65%);
  filter: blur(20px);
}
.phone {
  position: relative;
  width: min(320px, 82vw);
  aspect-ratio: 9 / 19;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(160deg, #2a3448, #0e1422);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset, 0 50px 100px -30px rgb(0 0 0 / 0.9);
  transform: rotate(-4deg);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  translate: -50% 0;
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 38px;
  background: #f5f7fb;
  color: #0b1220;
  padding: 50px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.ph-top {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 26px;
  left: 36px;
  right: 36px;
  font-size: 12px;
  font-weight: 650;
}
.ph-top span:last-child {
  display: none;
}
.ph-hello {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ph-hello small {
  font-size: 13px;
  font-weight: 450;
  color: #5b6478;
}
.ph-cam {
  position: relative;
  flex: 1;
  min-height: 150px;
  border-radius: 20px;
  background: #121a2b;
  overflow: hidden;
}
.ph-paper {
  inset: 18px 16%;
}
.ph-tag {
  position: absolute;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
  background: var(--cyan);
  color: #04202a;
  animation: rise 0.6s var(--ease) both;
}
.t1 {
  top: 26%;
  left: 10%;
  animation-delay: 0.6s;
}
.t2 {
  bottom: 18%;
  right: 10%;
  animation-delay: 1.2s;
  background: var(--amber);
  color: #1a1203;
}
.ph-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3e8f1;
  font-size: 12.5px;
}
.ph-row b {
  font-weight: 650;
  white-space: nowrap;
}
.ph-btn {
  border: 0;
  border-radius: 14px;
  padding: 13px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}
.float-pill {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgb(12 18 32 / 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13.5px;
  font-weight: 600;
  animation: bob 5s ease-in-out infinite;
}
.fp1 {
  top: 18%;
  right: 4%;
  color: var(--green);
}
.fp2 {
  bottom: 20%;
  left: 2%;
  color: var(--cyan);
  animation-delay: -2.5s;
}
@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- SAGA ---------- */
.saga-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 40px;
  border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 0% 0%, rgb(52 211 153 / 0.1), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgb(59 130 246 / 0.16), transparent 60%), var(--bg-2);
}
.saga-copy p:last-child {
  margin-top: 22px;
  color: var(--text-2);
  font-size: 17px;
}
.pipeline {
  display: grid;
  gap: 0;
  justify-items: center;
}
.pipe-node {
  width: min(100%, 300px);
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.05);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.pipe-node b {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.pipe-node span {
  font-size: 13px;
  color: var(--text-2);
}
.pipe-core {
  background: linear-gradient(180deg, rgb(59 130 246 / 0.35), rgb(37 99 235 / 0.15));
  border-color: rgb(96 165 250 / 0.6);
  box-shadow: 0 20px 50px -20px rgb(37 99 235 / 0.8);
  transform: scale(1.06);
}
.pipe-line {
  position: relative;
  width: 2px;
  height: 46px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}
.pipe-line i::after {
  left: 50% !important;
  margin-left: -4px;
  animation-name: travel-y;
}
@keyframes travel-y {
  from {
    top: 0;
  }
  to {
    top: 100%;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 0.3s, border-color 0.3s;
}
.faq details[open] {
  background: var(--surface-2);
  border-color: var(--line-2);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.07);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 22px 22px;
  color: var(--text-2);
}
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}
:root {
  interpolate-size: allow-keywords;
}

/* ---------- CTA ---------- */
.cta {
  margin-top: clamp(80px, 12vw, 160px);
  padding-block: clamp(100px, 14vw, 200px);
  text-align: center;
  isolation: isolate;
  overflow: clip;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgb(7 11 20 / 0.55) 40%, rgb(7 11 20 / 0.85) 100%),
    url("/home/assets/hero-1600.webp") 70% 40% / cover no-repeat;
}
.cta h2 {
  font-size: clamp(38px, 6vw, 84px);
  letter-spacing: -0.045em;
}
.cta p {
  margin-top: 22px;
  font-size: 19px;
  color: var(--text-2);
}
.cta .hero-cta {
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 40px calc(40px + env(safe-area-inset-bottom));
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  color: var(--text-2);
  font-size: 14.5px;
}
.footer-small {
  margin-left: auto;
  color: var(--text-3);
}

/* ---------- Scroll reveal ---------- */
.js .reveal:not(.hero .reveal) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-in:not(.hero .reveal) {
  opacity: 1;
  transform: none;
}
.js .bento .reveal:nth-child(3n + 2),
.js .trio .reveal:nth-child(2),
.js .steps .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.js .bento .reveal:nth-child(3n),
.js .trio .reveal:nth-child(3),
.js .steps .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.js .steps .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@supports (animation-timeline: view()) {
  .hero-media img {
    animation: hero-zoom 2.4s var(--ease) both, hero-parallax linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 100vh;
  }
  @keyframes hero-parallax {
    to {
      transform: translateY(12%) scale(1.06);
    }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .menu-btn {
    display: grid;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .live-feed {
    justify-self: start;
  }
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .tile-stock {
    grid-column: span 6;
    grid-row: auto;
  }
  .tile-nir,
  .tile-price,
  .tile-alert,
  .tile-field,
  .tile-efactura,
  .tile-saga,
  .tile-fleet {
    grid-column: span 3;
  }
  .viz-bars {
    height: 220px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }
  .steps::before {
    display: none;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .site-header {
    inset: 8px 0 auto;
  }
  .nav-shell {
    padding: 8px 8px 8px 14px;
    gap: 12px;
    background: rgb(10 15 28 / 0.55);
    border-color: var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .nav-actions .btn {
    display: none;
  }
  .mobile-menu {
    inset: 70px var(--gutter) auto;
  }
  .hero {
    min-height: auto;
  }
  .hero-media img {
    object-position: 74% 50%;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgb(7 11 20 / 0.55) 0%, rgb(7 11 20 / 0.35) 30%, rgb(7 11 20 / 0.85) 62%, var(--bg) 100%);
  }
  .hero-inner {
    padding-block: 120px 64px;
  }
  .hero h1 {
    font-size: clamp(38px, 11.5vw, 46px);
  }
  .hero h1 .grad br {
    display: none;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .live-feed {
    width: 100%;
  }
  .scroll-cue {
    display: none;
  }
  .trio,
  .bento,
  .steps,
  .field,
  .saga-card {
    grid-template-columns: 1fr;
  }
  .bento > .tile {
    grid-column: auto;
    min-height: 0;
  }
  .bento {
    grid-auto-rows: auto;
  }
  .tile {
    padding: 24px;
    border-radius: 26px;
  }
  .viz-bars {
    height: 180px;
  }
  .trio-num {
    margin-bottom: 20px;
  }
  .steps {
    row-gap: 28px;
  }
  .step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
  }
  .step-n {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    margin: 0;
  }
  .step h3 {
    font-size: 19px;
    margin: 4px 0 6px;
  }
  .phone {
    transform: none;
    width: min(280px, 76vw);
  }
  .fp1 {
    right: 0;
  }
  .fp2 {
    left: 0;
  }
  .saga-card {
    border-radius: 28px;
  }
  .footer-small {
    margin-left: 0;
    width: 100%;
  }
}

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

/* ---------- v2: logo, hero materiale, foto teren ---------- */
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 0 6px 20px -6px rgb(34 211 238 / 0.55);
}
.wordmark {
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.045em;
  color: var(--text-2);
}
.wordmark b {
  font-weight: 760;
  color: var(--text);
}
.hero-inner {
  grid-template-columns: minmax(0, 1fr);
}
.hero-copy {
  max-width: 680px;
}
.field-photo {
  position: relative;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgb(37 99 235 / 0.6);
}
.field-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 62% 50%;
}
.field-photo .fp1 {
  top: 20px;
  right: 20px;
}
.field-photo .fp2 {
  bottom: 20px;
  left: 20px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .field-photo {
    border-radius: 26px;
  }
}

/* ---------- v3: funcționalități mari ---------- */
.hero-callouts {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgb(10 15 28 / 0.58);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.1);
  white-space: nowrap;
  animation: rise 0.9s calc(0.8s + var(--d, 0s)) var(--ease) both, bob 6s calc(2s + var(--d, 0s)) ease-in-out infinite;
}
.co-body {
  display: grid;
  gap: 2px;
}
.co-body b {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.co-body span {
  font-size: 13px;
  color: var(--text-2);
}
.co-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 17px;
}
.ico-cyan {
  background: rgb(103 232 249 / 0.15);
  color: var(--cyan);
}
.ico-saga {
  background: rgb(52 211 153 / 0.12);
  color: var(--green);
}
.co-1 {
  --d: 0s;
  right: 9%;
  top: 26%;
}
.co-2 {
  --d: 0.15s;
  right: 30%;
  top: 40%;
}
.co-3 {
  --d: 0.3s;
  right: 6%;
  top: 52%;
}
.co-4 {
  --d: 0.45s;
  right: 24%;
  top: 68%;
}
.co-5 {
  --d: 0.6s;
  right: 8%;
  top: 83%;
}
.tile-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-2);
  background: rgb(59 130 246 / 0.14);
}
.tile h3 {
  font-size: 30px;
}
.tile p {
  font-size: 16.5px;
}
.tile-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--text);
}
.tile-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
  font-weight: 700;
}
.bento {
  grid-auto-rows: minmax(320px, auto);
}
.photo-callout {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgb(10 15 28 / 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.9);
  animation: bob 6s ease-in-out infinite;
}
.photo-callout b {
  font-size: 16px;
  font-weight: 650;
}
.photo-callout span {
  font-size: 12.5px;
  color: var(--text-2);
}
.pc-1 {
  top: 22px;
  left: 22px;
}
.pc-2 {
  top: 50%;
  right: 22px;
  animation-delay: -2s;
}
.pc-3 {
  bottom: 22px;
  left: 22px;
  animation-delay: -4s;
}
.pc-1 b,
.pc-2 b {
  color: var(--cyan);
}
.pc-3 b {
  color: var(--green);
}
@media (max-width: 1080px) {
  .hero-callouts {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 40px;
  }
  .callout {
    position: static;
    white-space: normal;
    animation: none;
  }
  .co-5 {
    grid-column: span 2;
  }
  .tile h3 {
    font-size: 26px;
  }
}
@media (max-width: 760px) {
  .hero-callouts {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .co-5 {
    grid-column: auto;
  }
  .tile h3 {
    font-size: 24px;
  }
  .bento {
    grid-auto-rows: auto;
  }
  .photo-callout {
    padding: 10px 14px;
  }
  .photo-callout span {
    display: none;
  }
  .pc-2 {
    top: 14px;
    right: 14px;
  }
  .pc-1,
  .pc-3 {
    left: 14px;
  }
}

/* ---------- v4: review mobil ---------- */
@media (max-width: 760px) {
  .big {
    font-size: clamp(28px, 8.4vw, 34px);
  }
  .big .muted {
    display: block;
    margin-top: 14px;
    font-size: clamp(17px, 5vw, 20px);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--text-2);
  }
  .section-head h2,
  .field h2,
  .saga h2 {
    font-size: clamp(30px, 8.6vw, 36px);
  }
  .section-head > p:last-child:not(.eyebrow),
  .saga-copy p:last-child {
    font-size: 16px;
  }
  .callout {
    padding: 12px 16px 12px 12px;
    gap: 12px;
    border-radius: 18px;
  }
  .co-ico {
    width: 38px;
    height: 38px;
  }
  .co-body b {
    font-size: 16px;
  }
  .co-body span {
    font-size: 12.5px;
  }
  .viz-bars {
    height: 150px;
    padding-top: 10px;
  }
  .tile-list {
    font-size: 14.5px;
  }
  .cta h2 {
    font-size: clamp(34px, 9.6vw, 40px);
  }
  .cta p {
    font-size: 17px;
  }
  .chip {
    font-size: 12.5px;
    margin-bottom: 20px;
  }
}
@media (max-width: 380px) {
  :root {
    --gutter: 14px;
  }
  .nav-shell {
    padding-left: 12px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .wordmark {
    font-size: 20px;
  }
  .btn {
    font-size: 15px;
  }
}

/* Numele produsului păstrează scrierea „ezFlux” și în etichetele cu majuscule. */
.brand-case {
  text-transform: none;
  letter-spacing: 0.02em;
}
