:root {
    --accent: #e60000;
    --accent-glow: rgba(230, 0, 0, 0.6);
    --bg-color: #030303;
    --glass-bg: rgba(15, 15, 18, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #999999;
    /* Spatiu lateral fluid: 16px pe telefon -> 40px pe desktop */
    --gutter: clamp(16px, 4vw, 40px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* === SISTEM DE ANIMATII === */
.reveal {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

    .reveal.visible {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

/* === BACKGROUND SYSTEM === */
.site-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.global-bg-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0a0405;
    background-image: url('nw-bg.webp'), url('data:image/webp;base64,UklGRmAAAABXRUJQVlA4IFQAAADQAwCdASoYAA4APu1kqU2ppaQiMAgBMB2JQBOgA3RjvclOxu/LQsgA/u9hZsNgKo4d1zNu69m147YvNiEVG7LKV5Qj9pToalVEAx3Dnp7O/YPiSAA=');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -3;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 85%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 85%);
}

.bg-ambient {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(230,0,0,0.25) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
}

.bg-ambient-right {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(230,0,0,0.15) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.15) 50%);
    background-size: 100% 4px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.bg-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.beam {
    position: absolute;
    width: 2px;
    height: 150vh;
    top: -25vh;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    filter: blur(4px);
    opacity: 0.5;
    transform: rotate(30deg);
}

.beam-a {
    left: 20%;
    animation: slideBeam 10s linear infinite;
}

.beam-b {
    left: 60%;
    animation: slideBeam 15s linear infinite 5s;
}

@keyframes slideBeam {
    0% {
        transform: rotate(30deg) translateY(-50%);
    }

    100% {
        transform: rotate(30deg) translateY(50%);
    }
}

.text-grad-white {
    background: linear-gradient(180deg, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* spatiu invizibil in dreapta: gradientul acopera si marginea ultimei litere */
    padding-right: 0.1em;
    margin-right: -0.1em;
}

.text-glow-red {
    background: linear-gradient(180deg, #ff4d4d 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.text-glow-yellow {
    background: linear-gradient(180deg, #ffea00 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(241, 196, 15, 0.8));
}

.text-grad-red {
    background: linear-gradient(90deg, #ff3333 0%, #8b0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: -10px;
    /* spatiu invizibil in dreapta: ultima litera ("s" din impressions) nu mai e taiata */
    padding-right: 0.1em;
    margin-right: -0.1em;
}

/* === NAVBAR iOS GLASS EFFECT === */
.nav-wrap {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 850px;
    height: 65px;
    /* Efect de sticla iOS: fundal semi-transparent cu saturatie crescuta la blur */
    background: rgba(15, 15, 18, 0.45);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: none; /* Contur complet scos pentru a fi clean */
    border-radius: 100px;
    padding: 0 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Umbra redusa sa para integrat */
}

.nav-left {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

.nav-right-links {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
}

.nav a {
    color: #ffffff; /* Text alb implicit */
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}
    .nav a:hover {
        color: var(--accent); /* Se face rosu la hover */
        text-shadow: 0 0 15px var(--accent-glow); /* Glow rosu la hover */
    }

.nav-center {
    display: flex;
    justify-content: center;
    margin: 0 30px;
}

    .nav-center img {
        height: 35px;
        transition: 0.3s;
        filter: drop-shadow(0 0 10px rgba(255,255,255,0.05));
        display: block;
    }

        .nav-center img:hover {
            transform: scale(1.05);
            filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
        }

.container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    min-height: 100svh; /* svh = inaltimea reala pe telefon (fara bara de adrese) */
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 6.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -0.05em;
    color: #fff;
}

.hero-copy {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

    .btn-primary:hover {
        background: #e0e0e0;
        transform: translateY(-2px);
        box-shadow: 0 0 30px rgba(255,255,255,0.4);
    }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    perspective: 1500px;
    padding-right: 40px;
}

.hero-card {
    background: #0a0a0c;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 25px 30px;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    transform: rotateY(-6deg) rotateX(2deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

    .hero-card:hover {
        transform: rotateY(0deg) rotateX(0deg);
    }

.hero-card-inner {
    transform: translateZ(20px);
}

.hero-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.hero-featured-text {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    animation: blinkRed 1.8s infinite ease-in-out;
}

@keyframes blinkRed {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(230,0,0,0.8);
    }

    50% {
        opacity: 0.5;
        text-shadow: 0 0 5px rgba(230,0,0,0.3);
    }
}

.hero-video-shell {
    width: 100%;
    aspect-ratio: 16 / 9; /* inaltimea se calculeaza din latime -> fara benzi negre pe telefon */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #000;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-card-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.volume-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

    .volume-wrapper:hover {
        background: rgba(255,255,255,0.08);
    }

.mute-btn-icon {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

    .mute-btn-icon:hover {
        color: #fff;
        transform: scale(1.1);
    }

    .mute-btn-icon svg {
        width: 18px;
        height: 18px;
    }

.volume-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
    outline: none;
    transition: 0.3s;
    cursor: pointer;
}

    .volume-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--accent);
        cursor: pointer;
        box-shadow: 0 0 10px var(--accent-glow);
    }

/* === SHOWCASE === */
.section {
    padding: clamp(72px, 10vw, 140px) 0;
}

#showcase .section-head {
    text-align: center;
    margin: 0 auto clamp(40px, 6vw, 80px) auto;
    max-width: 800px;
}

.section-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance; /* rupe titlul pe randuri egale, nu lasa un cuvant singur */
}

.section-desc {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    overflow: hidden;
}

    .product-card:hover {
        border-color: rgba(230,0,0,0.5);
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(230,0,0,0.15);
    }

.product-cover {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--glass-border);
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: white;
}

    .product-info h3 {
        margin: 0 0 12px 0;
        font-size: 1.5rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        color: #fff;
    }

    .product-info p {
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-grow: 1;
        white-space: pre-wrap;
    }

.price {
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: auto;
}

.compat-box {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compat-text {
    font-size: 10px;
    color: #999;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.compat-logos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.c-tag {
    background: rgba(255,255,255,0.05);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    color: #eee;
    border: 1px solid rgba(255,255,255,0.1);
}

/* === VISUAL QUALITY === */
#visual .section-head {
    text-align: left;
    margin-bottom: 60px;
    max-width: 650px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.panel {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(24px, 4.5vw, 60px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.lead-title {
    font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance;
}

.lead-copy {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 5vw, 50px);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: clamp(24px, 4vw, 40px);
}

.stat-value {
    font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 8px;
    color: #fff;
}

.stat-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.visual-gallery {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    aspect-ratio: 760 / 680;
    perspective: 2000px;
}

.v-card {
    position: absolute;
    background: #0a0a0c;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

    .v-card img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.6);
        opacity: 0;
        transition: opacity 1s ease-in-out, filter 0.5s ease;
    }

        .v-card img.active {
            opacity: 1;
        }

.v-img-1 {
    width: 43.4%;
    aspect-ratio: 9 / 16;
    top: 6.6%;
    left: -1.3%;
    z-index: 1;
    transform: rotateY(-15deg) rotateX(5deg) rotateZ(-3deg);
}

.v-img-2 {
    width: 47.4%;
    aspect-ratio: 9 / 16;
    top: 1.5%;
    left: 23.7%;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(5deg);
}

.v-img-3 {
    width: 44.7%;
    aspect-ratio: 9 / 16;
    top: 4.4%;
    left: 50%;
    z-index: 3;
    transform: rotateY(10deg) rotateX(5deg) rotateZ(3deg);
}

.visual-gallery:hover .v-card:not(:hover) {
    filter: brightness(0.4);
    transform: scale(0.95);
}

.visual-gallery .v-card:hover {
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.1) translateZ(100px) rotate(0deg) !important;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 40px rgba(230,0,0,0.3);
}

    .visual-gallery .v-card:hover img {
        filter: brightness(1.15);
    }


/* === FEEDBACK CAROUSEL FARA GLOW IN SPATE === */
#feedback .section-head {
    text-align: center;
    margin: 0 auto clamp(40px, 5vw, 60px) auto;
    max-width: 800px;
}

.feedback-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.feedback-track {
    display: flex;
    width: max-content;
    animation: scrollLeftToRight 75s linear infinite;
}

@keyframes scrollLeftToRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

.feedback-item {
    height: clamp(170px, 28vw, 250px);
    margin-right: clamp(16px, 2.5vw, 30px); /* spatiul dintre poze (in loc de gap) */
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Margine simpla, curata */
    box-shadow: none; /* Glow SCOS COMPLET */
    background: #0a0a0c;
    transition: all 0.3s ease;
}

    .feedback-item:hover {
        border-color: rgba(255, 255, 255, 0.3); /* Se lumineaza putin marginea pe hover */
        transform: scale(1.03);
        box-shadow: none; /* Fara glow pe hover */
    }


/* === SERVICES === */
#services .section-head {
    text-align: center;
    margin: 0 auto clamp(40px, 6vw, 80px) auto;
    max-width: 1100px;
}

.services-showcase {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 3px solid transparent;
    border-radius: 16px;
    padding: clamp(20px, 2.5vw, 30px);
    transition: all 0.3s ease;
    text-align: left;
}

    .service-card:hover {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.1);
        transform: translateX(5px);
    }

    .service-card.active {
        border-left-color: var(--accent);
        background: linear-gradient(90deg, rgba(230,0,0,0.1) 0%, transparent 100%);
        border-color: rgba(230,0,0,0.2);
        box-shadow: 0 10px 30px rgba(230,0,0,0.05);
    }

    .service-card h3 {
        font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
        font-weight: 900;
        margin-bottom: 12px;
        letter-spacing: -0.02em;
        color: #fff;
    }

    .service-card p {
        font-size: 1rem;
        color: var(--text-muted);
        line-height: 1.6;
        margin: 0;
    }

.service-preview {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
    background: #000;
}

    .service-preview img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

        .service-preview img.active {
            opacity: 1;
        }


/* === PRODUCT PAGE STABLE & MODERN === */
.product-page-container {
    max-width: 1400px;
    margin: 150px auto 100px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Laptopul ocupa mai mult spatiu, textul ramane compact */
    gap: 80px;
    position: relative;
    z-index: 10;
    align-items: start;
}

.info-col {
    background: rgba(15, 15, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.product-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.product-desc {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    white-space: pre-wrap;
    margin-bottom: 30px;
}

.compatibility-section {
    margin-bottom: 25px;
}

.compat-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.product-c-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-c-tag {
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-details {
    margin-top: 30px;
    margin-bottom: 40px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

    .service-details h3 {
        font-size: 1.2rem;
        color: #fff;
        margin-bottom: 10px;
        font-weight: 800;
    }

    .service-details p {
        color: var(--text-muted);
        line-height: 1.8;
        font-size: 0.95rem;
    }

.discord-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(230,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0 !important;
    letter-spacing: 2px !important;
    border-radius: 12px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 16px !important;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

    .discord-btn:hover {
        background: #ff4d4d;
        box-shadow: 0 15px 30px rgba(230,0,0,0.5);
        transform: translateY(-3px);
        color: #fff;
    }

.media-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.laptop-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.laptop-screen {
    background: #000;
    border: 12px solid #1a1a1c;
    border-radius: 16px 16px 0 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #333;
}

.main-media-display {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.laptop-base {
    width: 110%;
    margin-left: -5%;
    height: 14px;
    background: linear-gradient(to bottom, #444 0%, #222 100%);
    border-radius: 2px 2px 15px 15px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
}

.laptop-base-notch {
    width: 15%;
    height: 5px;
    background: #a0a0a0;
    border-radius: 0 0 5px 5px;
}

.carousel-wrapper {
    width: 100%;
    border-radius: 12px;
    background: transparent;
}

.carousel-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-behavior: smooth;
}

    .carousel-thumbnails::-webkit-scrollbar {
        height: 6px;
    }

.carousel-thumb {
    width: 140px;
    height: 85px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    object-fit: cover;
    border: 2px solid transparent;
    flex-shrink: 0;
}

    .carousel-thumb:hover {
        opacity: 0.8;
    }

    .carousel-thumb.active {
        opacity: 1;
        border-color: var(--accent);
        box-shadow: 0 0 15px rgba(230,0,0,0.4);
    }


/* === FOOTER ACTUALIZAT FARA MAIN SITE === */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: clamp(40px, 8vw, 100px);
    padding-top: clamp(48px, 7vw, 80px);
    background: linear-gradient(0deg, rgba(10,10,10,0.9) 0%, transparent 100%);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(40px, 6vw, 60px) var(--gutter);
    text-align: left;
}

.footer-left {
    max-width: 450px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(230,0,0,0.4));
}

.footer-name {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #777;
    font-weight: 600;
}

.footer-right {
    text-align: right;
}

    .footer-right h3 {
        font-size: 13px;
        font-weight: 900;
        color: #555;
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

    .footer-links a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: 0.3s;
    }

        .footer-links a:hover {
            color: var(--accent);
            transform: translateX(-5px);
        }

/* (blocul responsive a fost mutat la finalul fisierului) */

/* === SLIDER BEFORE / AFTER (sectiunea Showcase) === */
.ba-wrap { max-width: 1200px; margin: 0 auto; }

.ba-slider {
    --pos: 50%;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #0a0a0c;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

    .ba-slider:hover {
        border-color: rgba(230, 0, 0, 0.35);
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(230, 0, 0, 0.12);
    }

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-before-clip {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-label {
    position: absolute;
    top: 22px;
    z-index: 3;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ba-label-before { left: 22px; background: rgba(10, 10, 12, 0.7); border: 1px solid rgba(255, 255, 255, 0.15); }
.ba-label-after { right: 22px; background: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.ba-slider.hide-before-label .ba-label-before, .ba-slider.hide-after-label .ba-label-after { opacity: 0; }

.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 4; pointer-events: none; }

.ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7), 0 0 30px var(--accent-glow);
}

.ba-knob {
    position: absolute;
    top: 50%;
    left: 0;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

    .ba-knob svg { width: 26px; height: 26px; }

.ba-slider:hover .ba-knob, .ba-slider.is-dragging .ba-knob {
    background: var(--accent);
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    z-index: 5;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
    touch-action: pan-y;
}

    .ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 58px; height: 100vh; cursor: ew-resize; }
    .ba-range::-moz-range-thumb { width: 58px; height: 100vh; border: 0; cursor: ew-resize; }

@media (max-width: 700px) {
    .ba-slider { border-radius: 16px; aspect-ratio: 4 / 3; }
    .ba-knob { width: 46px; height: 46px; }
    .ba-label { top: 14px; font-size: 10px; padding: 6px 12px; }
    .ba-label-before { left: 14px; }
    .ba-label-after { right: 14px; }
}

/* === Buton "Join Our Community!" cu logo Discord === */
.btn-discord-join {
    gap: 12px;
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.btn-discord-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-discord-join:hover .btn-discord-icon {
    transform: rotate(-10deg) scale(1.12);
}

/* === Slider volum: partea umpluta in rosu === */
.volume-slider {
    background: linear-gradient(to right, var(--accent) 0, var(--accent) var(--vol, 0%), rgba(255,255,255,0.15) var(--vol, 0%));
}


/* =====================================================================
   NAVIGARE MOBILA (buton hamburger + panou pe tot ecranul)
   ===================================================================== */
.nav-toggle {
    display: none; /* ascuns pe desktop; apare sub 1024px */
    position: relative;
    width: 44px;   /* 44x44px = zona minima recomandata pentru deget */
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.nav-toggle-bar {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    margin-left: -10px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease, top 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-toggle-bar:nth-child(1) { top: 15px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 27px; }

/* Cand meniul e deschis, cele 3 linii devin un "X" */
.menu-open .nav-toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle-bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
    display: none; /* exista doar pe telefon / tableta */
    position: fixed;
    inset: 0;
    z-index: 999; /* sub bara de navigare (1000), ca butonul X sa ramana vizibil */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 110px var(--gutter) 40px;
    background: rgba(5, 5, 7, 0.82);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overscroll-behavior: contain;
}

.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.3s ease, opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
    outline: none;
}

/* Linkurile apar pe rand (efect "cascada") */
.menu-open .mobile-menu-links a { opacity: 1; transform: none; }
.menu-open .mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.menu-open .mobile-menu-links a:nth-child(2) { transition-delay: 0.10s; }
.menu-open .mobile-menu-links a:nth-child(3) { transition-delay: 0.15s; }
.menu-open .mobile-menu-links a:nth-child(4) { transition-delay: 0.20s; }

.mobile-menu-cta {
    opacity: 0;
    transition: opacity 0.5s ease 0.25s, background 0.3s ease;
}

.menu-open .mobile-menu-cta { opacity: 1; }

/* Blocam derularea paginii in spatele meniului deschis */
body.menu-open { overflow: hidden; }

/* Punctele de sub caruselul de pe telefon (ascunse implicit) */
.gallery-dots { display: none; }

/* =====================================================================
   RESPONSIVE
   Breakpoints (aceleasi ca in Tailwind):
   2xl >= 1536 | xl >= 1280 | lg >= 1024 | md >= 768 | sm >= 640
   ===================================================================== */

/* ---------- Sub 1400px: cardul video fara rotire 3D ---------- */
@media (max-width: 1399.98px) {
    .hero-visual {
        padding-right: 0;
        justify-content: center;
    }

    .hero-card,
    .hero-card:hover {
        transform: none;
    }

    .hero-card {
        max-width: 700px;
    }
}

/* ---------- Laptopuri mici (1024px - 1279px) ---------- */
@media (max-width: 1279.98px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-card {
        padding: 20px;
    }

    .nav {
        max-width: 800px;
        padding: 0 32px;
    }

    .nav-left,
    .nav-right-links {
        gap: 28px;
    }
}

/* ---------- Tablete si telefoane (sub 1024px): o singura coloana + hamburger ---------- */
@media (max-width: 1023.98px) {
    /* NAVBAR: logo in stanga, hamburger in dreapta */
    .nav-wrap {
        top: 12px;
        padding: 0 12px;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        max-width: none;
        height: 60px;
        padding: 0 8px 0 22px;
    }

    .nav-left,
    .nav-right-links {
        display: none;
    }

    .nav-center {
        margin: 0;
    }

    .nav-center img {
        height: 30px;
    }

    .nav-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    /* Layout pe o coloana */
    .hero-grid,
    .split-layout,
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 48px;
    }

    .hero-copy {
        margin: 0 auto 32px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
        padding-right: 0;
    }

    .stats {
        justify-content: center;
    }

    /* Galerie "Visual Quality": 3 carduri unul langa altul (fara 3D) */
    .visual-gallery {
        aspect-ratio: auto;
        max-width: 640px;
        gap: 16px;
        perspective: none;
    }

    .v-card {
        position: relative;
        flex: 1 1 0;
        width: auto;
        top: auto;
        left: auto;
        transform: none !important;
        z-index: auto !important;
    }

    .v-card img {
        filter: brightness(0.9); /* fara hover pe touch, deci pozele nu mai sunt intunecate */
    }

    .visual-gallery:hover .v-card:not(:hover) {
        filter: none;
        transform: none;
    }

    .visual-gallery .v-card:hover {
        transform: none !important;
    }

    /* Services: lista apoi imaginea */
    .services-list {
        gap: 14px;
    }

    .service-card:hover {
        transform: none;
    }
}

/* ---------- Tablete mici / telefoane mari (sub 768px) ---------- */
@media (max-width: 767.98px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-right {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a:hover {
        transform: translateY(-3px);
    }

    .hero-card {
        padding: 14px;
        border-radius: 18px;
    }

    .hero-video-shell {
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .panel {
        border-radius: 20px;
    }

    .feedback-wrap {
        -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
        mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    }
}

/* ---------- Telefoane (sub 640px): galeria devine carusel cu swipe ---------- */
@media (max-width: 639.98px) {
    .visual-gallery {
        max-width: none;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* cardurile ajung pana la marginea ecranului */
        margin: 0 calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 8px;
        scroll-padding: 0 var(--gutter);
    }

    .visual-gallery::-webkit-scrollbar {
        display: none;
    }

    .v-card {
        flex: 0 0 72%;
        scroll-snap-align: center;
    }

    .gallery-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .gallery-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.25);
        transition: all 0.3s ease;
    }

    .gallery-dots span.active {
        width: 22px;
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent-glow);
    }

    .btn {
        padding: 16px 28px;
    }

    .stats {
        gap: 24px 40px;
    }
}

/* ---------- Ecrane foarte mici (sub 380px, ex. iPhone SE) ---------- */
@media (max-width: 379.98px) {
    .nav {
        padding-left: 16px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .volume-slider {
        width: 80px;
    }
}

/* ---------- Pagina de produs (product.html) - pastrat din versiunea veche ---------- */
@media (max-width: 1000px) {
    .product-page-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
        padding: 0 20px;
    }

    .info-col {
        padding: 20px;
    }
}

/* ---------- Accesibilitate: utilizatorii care au cerut mai putina animatie ---------- */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        filter: none;
        transform: none;
    }

    .beam {
        animation: none;
    }

    /* caruselul de feedback ramane in miscare, doar mai lent */
    .feedback-track {
        animation-duration: 120s;
    }
}

/* perf: mobile background variant */
@media (max-width: 760px) { .global-bg-img { background-image: url('nw-bg-960.webp'), url('data:image/webp;base64,UklGRmAAAABXRUJQVlA4IFQAAADQAwCdASoYAA4APu1kqU2ppaQiMAgBMB2JQBOgA3RjvclOxu/LQsgA/u9hZsNgKo4d1zNu69m147YvNiEVG7LKV5Qj9pToalVEAx3Dnp7O/YPiSAA='); } }
html, body { overflow-x: clip; }
