* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: #0D0D11;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Previne scroll-ul orizontal din cauza width: 100vw */
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(13, 13, 17, 0.85);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #00E5FF; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: #888899; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: #00E5FF; }
.btn-nav { background: #00E5FF; color: #000 !important; padding: 8px 16px; border-radius: 8px; }

/* HERO SECTION FULL-WIDTH (ACOPERĂ TOATĂ LĂȚIMEA ECRANULUI) */
.hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    overflow: hidden;
    background: #090a0f;
}

/* Canvas-ul 3D se întinde pe tot spațiul ecranului */
#hero-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    pointer-events: none;
}

/* Conținutul (textul, butoanele) stă deasupra și rămâne lizibil/centrat */
.hero > *:not(#hero-3d-canvas) {
    position: relative;
    z-index: 2;
    max-width: 850px;
    width: 100%;
}

.badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: #00E5FF;
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
    margin-bottom: 20px;
}
.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.gradient-text {
    background: linear-gradient(90deg, #00E5FF, #E000FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { font-size: 18px; color: #888899; margin-bottom: 35px; }
.hero-actions { display: flex; justify-content: center; gap: 15px; }

/* BUTTONS */
.btn-primary {
    background: linear-gradient(90deg, #00E5FF, #00B0FF);
    color: #000; font-weight: 700; padding: 14px 28px;
    border-radius: 10px; text-decoration: none; transition: transform 0.2s;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFF; font-weight: 600; padding: 14px 28px;
    border-radius: 10px; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-block { display: block; text-align: center; margin-top: 25px; }

/* HOW IT WORKS / VISUAL DEMO */
.how-it-works {
    padding: 80px 8%;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; margin-bottom: 10px; }
.section-header p { color: #888899; }

.demo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-target-card {
    flex: 1; min-width: 300px;
    background: #13131A; border: 1px dashed #00E5FF;
    border-radius: 16px; padding: 30px; position: relative;
}
.demo-badge { position: absolute; top: -12px; left: 20px; background: #00E5FF; color: #000; font-size: 9px; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.demo-heading { font-size: 20px; margin-bottom: 10px; }
.demo-text { font-size: 13px; color: #aaa; margin-bottom: 20px; }

/* AREA BUTON + SĂGEATĂ INDICATOARE */
.demo-action-area {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}
.demo-button {
    background: #00E5FF; color: #0D0D11; border: none;
    padding: 12px 24px; font-weight: 700; border-radius: 8px; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.demo-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

.demo-arrow-pointer {
    display: flex;
    align-items: center;
    color: #00E5FF;
    font-size: 12px;
    font-weight: 700;
    animation: bounce-arrow 1.5s infinite ease-in-out;
}

/* ANIMAȚIE PULSATORIE GALBENĂ PENTRU PROMO BADGE */
@keyframes yellow-pulse {
    0% {
        border-color: rgba(255, 179, 0, 0.3);
        box-shadow: 0 0 0px rgba(255, 179, 0, 0);
        background: rgba(255, 179, 0, 0.05);
    }
    50% {
        border-color: rgba(255, 179, 0, 0.8);
        box-shadow: 0 0 15px rgba(255, 179, 0, 0.35);
        background: rgba(255, 179, 0, 0.12);
    }
    100% {
        border-color: rgba(255, 179, 0, 0.3);
        box-shadow: 0 0 0px rgba(255, 179, 0, 0);
        background: rgba(255, 179, 0, 0.05);
    }
}

.promo-badge-pulse {
    color: #FFB300 !important;
    border: 1px solid rgba(255, 179, 0, 0.4);
    animation: yellow-pulse 2.5s infinite ease-in-out;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 16px;
    text-align: center;
    width: 100%;
    display: block;
}

/* HUD MOCKUP DISPLAY */
.hud-mockup {
    flex: 1; min-width: 320px; max-width: 360px;
    background: rgba(13, 13, 17, 0.96); border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px; padding: 18px;
    font-size: 12px; transition: all 0.3s ease;
}
.hud-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.hud-tag { background: #222233; color: #00E5FF; padding: 3px 8px; border-radius: 6px; font-weight: bold; font-family: monospace; }
.hud-status { color: #00E5FF; font-size: 10px; }
.hud-controls { display: flex; gap: 4px; margin-bottom: 12px; background: rgba(255,255,255,0.03); padding: 4px; border-radius: 8px; }
.hud-btn { flex: 1; text-align: center; padding: 4px 0; font-size: 9px; font-weight: bold; border-radius: 4px; }
.hud-btn-start { background: #00E5FF; color: #000; }
.hud-btn-pause { background: #FFB300; color: #000; }
.hud-btn-stop { background: #ff3366; color: #fff; }
.hud-btn-exit { background: rgba(255,255,255,0.1); color: #aaa; }

.hud-section-title { color: #00E5FF; font-weight: 700; font-size: 9px; text-transform: uppercase; margin-top: 8px; margin-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hud-preview-box { background: rgba(255,255,255,0.04); border: 1px dashed rgba(255,255,255,0.15); border-radius: 6px; padding: 6px; font-size: 10px; margin-bottom: 6px; }
.hud-row { display: flex; justify-content: space-between; margin-bottom: 3px; color: #888899; }
.hud-value { font-weight: 600; color: #FFF; font-family: monospace; }
.hud-copyable { cursor: pointer; background: rgba(255,255,255,0.05); padding: 1px 4px; border-radius: 3px; }
.color-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.hud-footer { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 8px; color: #666; }
.hud-brand { color: #00E5FF; font-weight: bold; display: flex; align-items: center; gap: 4px; }

/* FEATURES & PRICING */
.features { padding: 80px 8%; text-align: center; }
.features h2 { font-size: 32px; margin-bottom: 50px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 30px 20px; text-align: left; }
.card-icon { font-size: 28px; margin-bottom: 15px; }
.card h3 { font-size: 18px; margin-bottom: 10px; color: #00E5FF; }
.card p { font-size: 14px; color: #888899; }

.pricing { padding: 80px 20px; display: flex; justify-content: center; }
.pricing-card { background: #13131A; border: 1px solid #00E5FF; border-radius: 20px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0px 0px 40px rgba(0, 229, 255, 0.15); text-align: center; }
.pricing-badge { background: #222233; color: #FFB300; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 10px; }
.pricing-card h3 { font-size: 24px; margin-top: 15px; }
.price { font-size: 48px; font-weight: 800; color: #00E5FF; margin: 15px 0; }
.price span { font-size: 14px; color: #888899; }
.pricing-card ul { list-style: none; text-align: left; margin: 20px 0; }
.pricing-card li { margin-bottom: 12px; font-size: 14px; color: #CCC; }

footer { text-align: center; padding: 40px; font-size: 12px; color: #555566; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* PROCESS STEPS GRID WITH PERFECT ALTERNATING COMET BORDERS */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 60px auto 0;
}

@property --comet-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Animație în sensul acelor de ceasornic (Casetele 1 & 3) */
@keyframes spin-comet {
    0% { --comet-angle: 0deg; }
    100% { --comet-angle: 360deg; }
}

/* Animație în SENS OPUS (Casetele 2 & 4) */
@keyframes spin-comet-reverse {
    0% { --comet-angle: 360deg; }
    100% { --comet-angle: 0deg; }
}

.step-card {
    position: relative;
    background: #13131A;
    border-radius: 16px;
    padding: 24px 20px;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Casetele Impare (01 și 03) - Sens Normal */
.step-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: conic-gradient(
        from var(--comet-angle),
        transparent 0deg,
        transparent 280deg,
        rgba(224, 0, 255, 0.2) 310deg,
        #E000FF 340deg,
        #FFFFFF 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: spin-comet 3.5s linear infinite;
    filter: drop-shadow(0px 0px 8px #E000FF);
}

/* Casetele Pare (02 și 04) - Sens Invers cu Gradient Oglindit */
.step-card:nth-child(even)::before {
    background: conic-gradient(
        from var(--comet-angle),
        #FFFFFF 0deg,
        #E000FF 20deg,
        rgba(224, 0, 255, 0.2) 50deg,
        transparent 80deg,
        transparent 360deg
    );
    animation: spin-comet-reverse 3.5s linear infinite;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 26px;
    font-weight: 800;
    color: #00E5FF;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.step-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #FFF;
    font-weight: 700;
}

.step-card p {
    font-size: 12px;
    color: #A0A0B5;
    line-height: 1.5;
}