/* =====================================================================
   FusionTeamRomania · strat de identitate (02.11.2026)
   Direcție: semnal TV / „test card”. Unbounded pentru titluri (lat, de broadcast),
   Manrope pentru text, JetBrains Mono pentru cronometre și MAC.
   ===================================================================== */
:root {
  --f-display: "Unbounded", "Sora", system-ui, sans-serif;
  --pink: #ff6fb5;
  --spring: cubic-bezier(.32,.72,0,1);
  --hair: rgba(255,255,255,.08);
}
h1, h2, h3 { letter-spacing: -.035em; }
a { color: var(--accent); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* granulație fină (fixă, fără cost la scroll) */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- logo ---------- */
.brand { font: 600 16px var(--f-display); letter-spacing: -.02em; }
.brand-ro { color: var(--muted); font-weight: 400; margin-left: 1px; }
.brand .bm::after { content: ""; position: absolute; right: -9px; top: -6px; width: 12px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #2b6bff 0 33%, #ffd23f 33% 66%, #ff3b4e 66%); box-shadow: 0 0 8px rgba(255,210,63,.4); }

/* ---------- meniul-insulă ---------- */
.nav { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 14px; pointer-events: none; }
.nav .wrap { pointer-events: auto; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(10, 14, 28, .66);
  border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px -24px rgba(0,0,0,.8);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); max-width: 1100px; }
body::before { display: none; }
.links .ln { border-radius: 999px; transition: color .3s var(--spring), background .3s var(--spring); }
.links .btn { white-space: nowrap; }
.links .ln:hover { background: rgba(255,255,255,.05); }

/* ---------- butoane ---------- */
.btn { border-radius: 999px; transition: transform .45s var(--spring), box-shadow .45s var(--spring), background .3s var(--spring); }
.btn:active { transform: scale(.97); }
.btn .arr { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -6px -12px -6px 4px; border-radius: 50%;
  background: rgba(4, 18, 29, .14); font: 600 14px var(--f-body); transition: transform .5s var(--spring); }
.btn.gh .arr { background: rgba(255,255,255,.08); }
.btn:hover .arr { transform: translate(3px, -2px) scale(1.06); }

/* ---------- hero ---------- */
.hero .wrap { padding-block: 64px 90px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 58px); font-weight: 600; line-height: 1.06; }
.hero h1 em { background: linear-gradient(92deg, var(--accent) 10%, var(--accent-2) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; }
.hcopy .eb, .shead .eb { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 5px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: .18em; background: rgba(106,215,255,.07); border: 1px solid rgba(106,215,255,.18); }
.hcopy .eb::before, .shead .eb::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* mira TV la pornire */
.bars { position: absolute; inset: 0; z-index: 2; opacity: 0; display: grid; grid-template-rows: 67% 8% 25%; }
.bars i { display: block; }
.bars i:nth-child(1) { background: linear-gradient(90deg, #c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%, #c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0); }
.bars i:nth-child(2) { background: linear-gradient(90deg, #0000c0 0 14.28%, #131313 0 28.57%, #c000c0 0 42.85%, #131313 0 57.14%, #00c0c0 0 71.42%, #131313 0 85.71%, #c0c0c0 0); }
.bars i:nth-child(3) { background: linear-gradient(90deg, #00214c 0 18%, #fff 0 36%, #32006a 0 54%, #131313 0 72%, #090909 0 80%, #1d1d1d 0); }
.bars b { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); padding: .35em .9em; background: #000; color: #fff;
  font: 600 clamp(8px, 1.3vw, 12px) var(--f-mono); letter-spacing: .14em; white-space: nowrap; }
.stage.on .bars { animation: bars 2.1s steps(1, end) .25s both; }
@keyframes bars { 0% { opacity: 1; } 100% { opacity: 0; } }
.noise { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; pointer-events: none; image-rendering: pixelated; }
.noise.go { opacity: .9; }
.aur { filter: blur(20px) hue-rotate(var(--hue, 0deg)); }
.chan small { opacity: .7; font-weight: 500; margin-left: 6px; }
.remote { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; border-radius: 999px;
  background: rgba(10,14,28,.85); border: 1px solid var(--hair); box-shadow: 0 14px 30px -14px #000; z-index: 2; }
.remote button { border: 0; cursor: pointer; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted);
  font: 600 11px var(--f-mono); letter-spacing: .08em; transition: background .3s var(--spring), color .3s var(--spring), transform .3s var(--spring); }
.remote button:hover { background: rgba(106,215,255,.14); color: var(--ink); }
.remote button:active { transform: scale(.94); }
.remote .pw { color: #ff5a6e; }
.stage { padding-bottom: 78px; }
.stage .foot { bottom: 46px; }
.stage::before { bottom: 44px; }

/* ---------- banda cu dispozitive ---------- */
.devices { border-block: 1px solid var(--hair); overflow: hidden; padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.devices .track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.devices span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font: 500 14px var(--f-display); color: var(--faint); white-space: nowrap; }
.devices span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); opacity: .6; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- secțiuni ---------- */
.sec { padding-block: 96px; }
@media (max-width: 760px) { .sec { padding-block: 60px; } }
.shead h2 { font-size: clamp(23px, 3.1vw, 40px); }

/* pașii: o linie de semnal cu un puls care o parcurge */
.steps { position: relative; gap: 20px; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); }
.steps::after { content: ""; position: absolute; top: 42px; left: 4%; width: 80px; height: 5px; border-radius: 9px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: pulse 4.5s var(--spring) infinite; }
@keyframes pulse { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(min(1000px, 84vw)); opacity: 0; } }
@media (max-width: 780px) { .steps::before, .steps::after { display: none; } }
.step { position: relative; padding: 24px; background: rgba(12,17,32,.78); border-color: var(--hair); backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.step .n { position: relative; z-index: 1; font-family: var(--f-mono); background: #0b1224; }

/* plăci cu ramă dublă (ramă + miez) */
.bezel { padding: 6px; border-radius: 30px; background: rgba(255,255,255,.025); border: 1px solid var(--hair); min-width: 0; }
.plans { gap: 14px; }
.plan { border-radius: 24px; background: linear-gradient(180deg, rgba(20,27,48,.92), rgba(10,14,28,.95)); border: 0; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: transform .6s var(--spring); height: 100%; }
.plan:hover { border-color: transparent; }
.bezel:hover .plan { transform: translateY(-4px); }
.plan .dur b { font-family: var(--f-display); font-size: 50px; letter-spacing: -.05em; }
.plan .tot { font-family: var(--f-mono); font-weight: 500; }
.bezel.best { background: linear-gradient(160deg, rgba(255,203,107,.35), rgba(255,111,181,.12) 40%, rgba(255,255,255,.03)); border-color: rgba(255,203,107,.3); }
.bezel.best .plan { background: radial-gradient(120% 70% at 50% 0%, rgba(255,203,107,.14), transparent 60%), linear-gradient(180deg, rgba(24,26,44,.96), rgba(10,14,28,.96)); box-shadow: inset 0 1px 0 rgba(255,220,150,.2); }
@media (min-width: 1001px) { .plans { grid-template-columns: 1fr 1fr 1fr 1.3fr; } .bezel.best .dur b { font-size: 62px; } }

.faq details { border-radius: 20px; background: rgba(12,17,32,.78); border-color: var(--hair); transition: border-color .4s var(--spring); }
.faq details[open] { border-color: rgba(106,215,255,.25); }
.faq summary { font-family: var(--f-body); font-weight: 700; }

.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: 44px; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
.cta-band > * { position: relative; }
@media (max-width: 560px) { .cta-band { padding: 28px 22px; } }

/* apariție la scroll */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--spring), transform .9s var(--spring); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* cod de acces după înscriere */
.pinbox { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: rgba(255,203,107,.08); border: 1px solid rgba(255,203,107,.35); }
.pinbox b { font-size: clamp(26px, 7vw, 38px); letter-spacing: .25em; color: var(--gold); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sheet { border-radius: 28px; }
.card { border-radius: 26px; border-color: var(--hair); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.big { font-weight: 500; }

@media (max-width: 440px) { .brand-ro { display: none; } .nav .wrap { padding-left: 14px; } .links .btn.sm { padding: 8px 12px; font-size: 12px; } }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; filter: none; }
  .devices .track, .steps::after { animation: none; }
}

label .opt { color: var(--muted); font-weight: 400; }

/* Sigla FusionTeam Romania (varianta pentru fundal închis, din sigla originală a aplicației; 09.11.2026) */
.brand .logo { display: block; height: 46px; width: auto; margin-block: -4px; }
@media (max-width: 440px) { .brand .logo { height: 36px; } }
.splash img { width: 46cqw; height: auto; }
.stage.on .splash img { animation: splashT 1.2s cubic-bezier(.32,.72,0,1) .5s both; }
