/* =====================================================================
   Pagina principală v2.1 — design premium, dinamic
   ===================================================================== */
.page-home { --lime: #b7ff41; --lime-2: #8fd62d; --ink: #f4f4f4; --mute: rgba(255,255,255,.62); --line: rgba(255,255,255,.08); }
.page-home h1, .page-home h2, .page-home h3 { color: #fff; letter-spacing: -.035em; }

/* ---------- reveal la scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.h-hero { position: relative; overflow: hidden; padding: 72px 0 90px; min-height: min(calc(100vh - var(--bar-h)), 860px); display: flex; align-items: center; }
.h-aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .9; }
.h-aurora i { position: absolute; border-radius: 50%; }
.h-aurora i:nth-child(1) { width: 560px; height: 560px; left: -160px; top: -180px; background: rgba(183,255,65,.16); animation: hDrift1 18s ease-in-out infinite alternate; }
.h-aurora i:nth-child(2) { width: 480px; height: 480px; right: -120px; top: 40px; background: rgba(64,220,170,.10); animation: hDrift2 22s ease-in-out infinite alternate; }
.h-aurora i:nth-child(3) { width: 420px; height: 420px; left: 40%; bottom: -260px; background: rgba(183,255,65,.09); animation: hDrift1 26s ease-in-out infinite alternate-reverse; }
@keyframes hDrift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes hDrift2 { to { transform: translate(-140px, 60px) scale(.9); } }
.h-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.h-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.h-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); }
.h-live { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(183,255,65,.6); animation: hPulse 2s ease-out infinite; }
@keyframes hPulse { 70% { box-shadow: 0 0 0 9px rgba(183,255,65,0); } 100% { box-shadow: 0 0 0 0 rgba(183,255,65,0); } }
.h-hero h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; font-weight: 800; margin: 22px 0 22px; --d: .08s; }
.h-hl { position: relative; white-space: nowrap; background: linear-gradient(100deg, #e4ff9e 0%, var(--lime) 40%, #6fd36b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 99px; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform 1s .7s cubic-bezier(.7,0,.2,1); }
.in .h-hl::after, h1.in .h-hl::after { transform: scaleX(1); }
.h-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--mute); max-width: 590px; --d: .16s; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; --d: .24s; }
.h-actions.center { justify-content: center; }
.h-btn-primary, .h-btn-dark { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 26px 0 30px; border-radius: 18px; font-weight: 800; font-size: 18px; isolation: isolate; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.h-btn-primary { color: #0a0a0a; background: linear-gradient(115deg, #d4ff7a, var(--lime) 45%, var(--lime-2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 18px 40px rgba(143,214,45,.28); }
.h-btn-primary::before, .h-btn-dark::before { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 35%; z-index: -1; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: hShine 5s 1.5s ease-in-out infinite; }
.h-btn-dark::before { background: linear-gradient(90deg, transparent, rgba(183,255,65,.35), transparent); }
@keyframes hShine { 0%, 65% { left: -45%; } 100% { left: 120%; } }
.h-btn-primary:hover, .h-btn-dark:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 26px 50px rgba(143,214,45,.38); }
.h-btn-primary svg, .h-btn-dark svg { transition: transform .25s; }
.h-btn-primary:hover svg, .h-btn-dark:hover svg { transform: translateX(4px); }
.h-btn-ghost, .h-btn-line { display: inline-flex; align-items: center; gap: 10px; min-height: 62px; padding: 0 24px; border-radius: 18px; font-weight: 700; font-size: 17px; color: #fff; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); transition: border-color .25s, color .25s, transform .25s; }
.h-btn-ghost:hover, .h-btn-line:hover { border-color: rgba(183,255,65,.45); color: var(--lime); transform: translateY(-3px); }
.h-trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); --d: .32s; }
.h-trust li { display: grid; gap: 2px; padding-left: 26px; position: relative; }
.h-trust li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(183,255,65,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23b7ff41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.h-trust b { color: #fff; font-size: 16px; }
.h-trust span { color: rgba(255,255,255,.5); font-size: 13.5px; }

/* vizual dreapta */
.h-hero-visual { position: relative; aspect-ratio: 4 / 5; max-height: 620px; --d: .2s; }
.h-hero { overflow: hidden; }
.h-photo { position: absolute; inset: 6% 4% 0 10%; border-radius: 32px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 90px rgba(0,0,0,.55); transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .4s ease-out; }
.h-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.in .h-photo img { transform: scale(1); }
.h-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,7,7,.75)), linear-gradient(120deg, rgba(183,255,65,.12), transparent 40%); }
.h-orbit { position: absolute; left: 53%; top: 53%; width: 112%; aspect-ratio: 1; transform: translate(-50%, -50%); color: rgba(183,255,65,.35); pointer-events: none; }
.h-orbit svg { width: 100%; height: 100%; animation: cdSpin 60s linear infinite; }
.h-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(18,18,18,.78); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.h-chip b { display: block; color: #fff; font-size: 15px; line-height: 1.2; }
.h-chip small { color: rgba(255,255,255,.55); font-size: 12.5px; }
.h-chip-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(183,255,65,.12); color: var(--lime); }
.h-chip-ok { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: #0a0a0a; font-weight: 900; font-size: 18px; }
.h-chip-a { left: -4%; top: 22%; animation: hFloat 6s ease-in-out infinite; }
.h-chip-b { right: -2%; bottom: 14%; animation: hFloat 7s 1s ease-in-out infinite reverse; }
@keyframes hFloat { 50% { transform: translateY(-14px); } }
.h-badge { position: absolute; right: 0; top: 0; width: 124px; height: 124px; border-radius: 50%; background: #0b0b0b; border: 1px solid rgba(183,255,65,.25); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.h-badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: cdSpin 22s linear infinite; }
.h-badge-text text { fill: rgba(255,255,255,.75); font-size: 10.5px; font-weight: 700; letter-spacing: 2.1px; }
.h-badge-ic { width: 44px; height: 44px; color: var(--lime); animation: cdSpin 9s linear infinite reverse; }

/* ---------- MARQUEE ---------- */
.h-marquee-wrap { overflow: hidden; padding: 26px 0; }
.h-marquee { position: relative; overflow: hidden; background: var(--lime); color: #0a0a0a; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -2% ; box-shadow: 0 20px 50px rgba(143,214,45,.18); }
.h-marquee-track { display: flex; width: max-content; animation: hMarquee 38s linear infinite; }
.h-marquee:hover .h-marquee-track { animation-play-state: paused; }
.h-marquee ul { display: flex; flex-shrink: 0; }
.h-marquee li { display: flex; align-items: center; gap: 26px; padding-right: 26px; font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.h-marquee li::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid #0a0a0a; }
@keyframes hMarquee { to { transform: translateX(-50%); } }

/* ---------- SECȚIUNI ---------- */
.h-section { padding: 110px 0 0; }
.h-head { max-width: 720px; margin-bottom: 44px; }
.h-head h2, .h-cover h2, .h-company h2, .h-final h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; font-weight: 800; margin: 18px 0 12px; }
.h-head p, .h-cover p { color: var(--mute); font-size: 18px; }
.h-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.h-head-row p { max-width: 360px; }

/* pași */
.h-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.h-steps li { position: relative; padding: 34px 30px 32px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s; }
.h-steps li:nth-child(2) { --d: .1s; } .h-steps li:nth-child(3) { --d: .2s; }
.h-steps li:hover { border-color: rgba(183,255,65,.3); transform: translateY(-4px); }
.h-steps li::after { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 2px; background: linear-gradient(90deg, var(--lime), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1s .3s cubic-bezier(.7,0,.2,1); }
.h-steps li.in::after { transform: scaleX(1); }
.h-step-no { display: block; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(180deg, var(--lime), rgba(183,255,65,.15)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 26px; }
.h-steps h3 { font-size: 23px; margin-bottom: 8px; }
.h-steps p { color: var(--mute); font-size: 16px; }

/* tipuri */
.h-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.h-type { --x: 50%; --y: 50%; position: relative; display: grid; align-content: start; gap: 18px; text-align: left; padding: 22px 20px 20px; border-radius: 22px; background: rgba(255,255,255,.025); border: 1px solid var(--line); color: #fff; font: inherit; cursor: pointer; overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.h-type::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--x) var(--y), rgba(183,255,65,.16), transparent 60%); opacity: 0; transition: opacity .3s; }
.h-type:hover { transform: translateY(-5px); border-color: rgba(183,255,65,.35); }
.h-type:hover::before { opacity: 1; }
.h-type:nth-child(5n+2) { --d: .05s; } .h-type:nth-child(5n+3) { --d: .1s; } .h-type:nth-child(5n+4) { --d: .15s; } .h-type:nth-child(5n+5) { --d: .2s; }
.h-type-ic { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(183,255,65,.1); color: var(--lime); transition: background .3s, color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.h-type:hover .h-type-ic { background: var(--lime); color: #0a0a0a; transform: rotate(-6deg) scale(1.06); }
.h-type-t { position: relative; display: grid; gap: 2px; }
.h-type-t b { font-size: 16.5px; line-height: 1.25; }
.h-type-t small { color: rgba(255,255,255,.48); font-size: 13px; }
.h-type-plus { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); font-size: 18px; transition: all .3s; }
.h-type:hover .h-type-plus { background: var(--lime); color: #0a0a0a; border-color: var(--lime); transform: rotate(90deg); }

/* acoperire */
.h-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px; border-radius: 36px; background: radial-gradient(circle at 80% 50%, rgba(183,255,65,.08), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid var(--line); overflow: hidden; }
.h-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 36px; margin-top: 34px; }
.h-stats b { display: block; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; color: var(--lime); letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.h-stats span { color: rgba(255,255,255,.55); font-size: 14px; }
.h-cover-map { position: relative; display: grid; place-items: center; }
.h-cover-map img { position: relative; width: 100%; max-width: 520px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); animation: hFloat 9s ease-in-out infinite; }
.h-map-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(183,255,65,.16); filter: blur(60px); animation: hBreath 6s ease-in-out infinite; }
@keyframes hBreath { 50% { transform: scale(1.15); opacity: .7; } }

/* companie */
.h-company { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-company h2 { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 0; }
.h-company dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-company dt { color: rgba(255,255,255,.45); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 4px; }
.h-company dd { color: #fff; font-weight: 700; font-size: 16px; }

/* CTA final */
.h-final { position: relative; overflow: hidden; text-align: center; padding: 84px 32px; border-radius: 40px; background: linear-gradient(120deg, #d4ff7a, var(--lime) 45%, #8fd62d); color: #0a0a0a; margin-bottom: 40px; isolation: isolate; }
.h-final h2 { color: #0a0a0a; margin-top: 0; }
.h-final p { font-size: 19px; color: rgba(10,10,10,.72); font-weight: 500; }
.h-final-ring { position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; border: 70px solid rgba(10,10,10,.06); animation: cdSpin 40s linear infinite; }
.h-final-ring::after { content: ""; position: absolute; inset: 120px; border-radius: 50%; border: 2px dashed rgba(10,10,10,.12); }
.h-btn-dark { color: var(--lime); background: #0a0a0a; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.h-btn-dark:hover { box-shadow: 0 26px 50px rgba(0,0,0,.35); }
.h-btn-line { color: #0a0a0a; border-color: rgba(10,10,10,.25); background: transparent; backdrop-filter: none; }
.h-btn-line:hover { color: #0a0a0a; border-color: #0a0a0a; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .h-types { grid-template-columns: repeat(3, 1fr); }
    .h-hero-in { gap: 40px; }
}
@media (max-width: 900px) {
    .h-hero { padding: 40px 0 70px; min-height: 0; }
    .h-hero-in { grid-template-columns: 1fr; }
    .h-hero-visual { max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 1 / 1; }
    .h-orbit { width: 100%; }
    .h-chip-a { left: 0; } .h-chip-b { right: 0; }
    .h-steps { grid-template-columns: 1fr; }
    .h-cover { grid-template-columns: 1fr; padding: 34px 24px; }
    .h-company { grid-template-columns: 1fr; gap: 20px; }
    .h-section { padding-top: 80px; }
}
@media (max-width: 640px) {
    .h-hero h1 { font-size: clamp(36px, 10vw, 46px); }
    .h-eyebrow-x { display: none; }
    .h-step-no { font-size: 48px; margin-bottom: 16px; }
    .h-steps li { padding: 26px 22px; }
    .h-hl { white-space: normal; }
    .h-actions > a { flex: 1 1 100%; justify-content: center; }
    .h-trust { grid-template-columns: 1fr; gap: 14px; }
    .h-types { grid-template-columns: 1fr 1fr; gap: 10px; }
    .h-type { padding: 16px 14px; gap: 14px; border-radius: 18px; }
    .h-type-ic { width: 44px; height: 44px; border-radius: 13px; }
    .h-type-t b { font-size: 15px; }
    .h-type-plus { width: 26px; height: 26px; right: 12px; top: 12px; }
    .h-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .h-company dl { grid-template-columns: 1fr; gap: 12px; }
    .h-chip { padding: 9px 14px 9px 9px; border-radius: 14px; }
    .h-chip-ic, .h-chip-ok { width: 34px; height: 34px; }
    .h-chip b { font-size: 13.5px; }
    .h-badge { width: 96px; height: 96px; }
    .h-final { padding: 56px 22px; border-radius: 28px; }
    .h-final-ring { width: 420px; height: 420px; border-width: 50px; right: -200px; top: -200px; }
}
@media (prefers-reduced-motion: reduce) {
    .h-aurora i, .h-orbit, .h-chip, .h-badge-text, .h-badge-ic, .h-marquee-track, .h-cover-map img, .h-map-glow, .h-final-ring, .h-btn-primary::before, .h-btn-dark::before, .h-live { animation: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
