body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background elements for neon atmosphere */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(114, 9, 183, 0.15), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(114, 9, 183, 0.15), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(76, 201, 240, 0.08), transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: bg-pulse-glow 15s ease-in-out infinite alternate;
}

@keyframes bg-pulse-glow {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

.global-parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    /* Tech Grid Pattern */
    background-image: 
        linear-gradient(rgba(114, 9, 183, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(114, 9, 183, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-pan 20s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes grid-pan {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

/* Add vignette effect over the grid so it fades at the edges */
.global-parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-dark) 90%);
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* TYPOGRAPHY */
h1 {
    font-size: 3.2em;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0px;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.highlight {
    display: inline;
    color: transparent;
    -webkit-text-stroke: 0.8px var(--neon-purple-light);
    background: linear-gradient(to top, var(--neon-purple) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    padding: 0;
    margin: 0;
    text-shadow: none;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    z-index: 1;
    transition: all 0.6s ease;
}

.btn:hover::before {
    left: 150%;
}

.btn-primary {
    background: none;
    color: #fff;
    border: 1px solid var(--neon-purple-light);
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px var(--neon-purple), 0 0 50px rgba(114, 9, 183, 0.5);
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple-light));
    transform: translateY(-2px);
}

.btn-purple {
    background: linear-gradient(to right, #560bad, #b864f5);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 5px 15px rgba(114, 9, 183, 0.4);
}

.btn-purple:hover {
    box-shadow: 0 0 25px rgba(114, 9, 183, 0.5), 0 0 50px rgba(184, 100, 245, 0.6);
    transform: translateY(-2px);
}

/* Define custom angle property for the spinning gradient */
@property --btn-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Running Light Border & Inner Glow for Header Button */
.btn.header-btn {
    font-size: 0.9rem;
    border: 1px solid transparent;
    border-radius: 100px;
    /* Pill shape */
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: relative;
    /* Two backgrounds: one for the inside (padding-box), one for the border (border-box) */
    animation: spin-btn-angle 3s linear infinite;
    background-image:
        /* Inside: Opaque solid colors to block the white ray from showing in the center */
        conic-gradient(from var(--btn-angle),
            #3b095e 0%,
            #07070a 40%,
            #07070a 60%,
            #3b095e 100%),
        conic-gradient(from var(--btn-angle),
            #ffffff 0%,
            rgba(114, 9, 183, 0.8) 15%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0.05) 60%,
            rgba(114, 9, 183, 0.8) 85%,
            #ffffff 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
}

.btn.header-btn:hover {
    box-shadow: 0 0 20px rgba(114, 9, 183, 0.4);
}

@keyframes spin-btn-angle {
    0% {
        --btn-angle: 0deg;
    }

    100% {
        --btn-angle: 360deg;
    }
}

.btn-large {
    height: 42px;
    font-size: 1.1rem;
    padding: 0 28px;
    border-radius: 20px;
    margin-top: 50px;
    /* text-transform: uppercase; */
}

.btn-purple.btn-large {
    box-shadow: 0 6px 20px rgba(114, 9, 183, 0.7);
    border-radius: 20px;
    font-weight: 600 !important;
}

@keyframes shake-discord {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-15deg) scale(1.1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }

    75% {
        transform: rotate(-15deg) scale(1.1);
    }
}

.cta-btn .fa-discord,
a[href="#services"] i {
    display: inline-block;
    transition: transform 0.2s;
}

.cta-btn:hover .fa-discord,
a[href="#services"]:hover i {
    animation: shake-discord 0.5s ease-in-out infinite;
}

/* LIQUID GLASS CARD */
.liquid-glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.liquid-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.hover-glow {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.hover-glow:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(114, 9, 183, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.glow-element {
    box-shadow: 0 0 15px var(--neon-purple-glow);
}

/* SCROLL PROGRESS BAR */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--neon-purple-light);
    box-shadow: 0 0 10px var(--neon-purple-glow), 0 0 20px var(--neon-purple-glow);
    transition: width 0.1s;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: rgba(7, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-right: 10px; /* To prevent clipping if letters are slightly wider */
}

.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    animation: shine-logo 4s infinite;
    pointer-events: none;
}

@keyframes shine-logo {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-top: -16px;

}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-left: -6px !important;
}

.text-strike {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.text-os {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    margin-left: -6px !important;

}

nav {
    display: flex;
    gap: 60px;
}

nav a {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s, text-shadow 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-purple-light);
    transition: width 0.3s ease, left 0.3s ease;
    box-shadow: 0 0 8px var(--neon-purple-light);
    border-radius: 2px;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
    left: 0;
}

nav a:hover, nav a.active {
    color: var(--neon-purple-light);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

nav a.active::before {
    content: '\f0e7';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-purple-light);
    animation: flash-bolt 1.5s infinite;
}

@keyframes flash-bolt {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--neon-purple-light); }
    50% { opacity: 0.3; text-shadow: none; }
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
}

.hero-left {
    flex: 1;
    max-width: 500px;
    /* Reduce left column size */
}

@keyframes float-h1 {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes text-shine {
    0% { background-position: -200% center; }
    30% { background-position: 200% center; }
    100% { background-position: 200% center; }
}

.hero-left h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(110deg, #ffffff 30%, #e0e0e0 45%, #ffffff 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float-h1 4s ease-in-out infinite, text-shine 4s linear infinite;
}

.hero-left h1 .highlight {
    background: linear-gradient(110deg, #9209c9 30%, #e9caf5 45%, #9209c9 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(134, 25, 223, 0.4);
    position: relative;
    display: inline-block;
    animation: text-shine 4s linear infinite;
}

.hero-left .desc {
    font-size: 1.15rem;
    color: #a0a0b0;
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.6;
}

/* Enhanced Game Badges */
.hero-logos-marquee {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    align-items: center;
    width: max-content;
    animation: scroll-marquee 15s linear infinite;
}

.game-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.game-badge:hover {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.2);
}

.marquee-track img {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(1.5);
}

.game-badge:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 10px));
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--neon-purple);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    animation: scroll-pulse 1.5s infinite;
}

@keyframes scroll-pulse {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

.hero-right {
    flex: 1.4;
    /* Give right side a bit more breathing room */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-slider {
    width: 750px;
    /* Fixed frame width */
    height: 600px;
    /* Fixed frame height */
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1), filter 1s;
    transform: translate(50%, -50%);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(114, 9, 183, 0.7));
    border-radius: 20px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 75%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 45%, transparent 85%);
}

.slide-img.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 30;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(114, 9, 183, 0.7));
    border-radius: 20px;
}

.slide-img.prev {
    transform: translate(-80%, -50%) scale(0.65) perspective(600px) rotateY(15deg);
    opacity: 0.5;
    z-index: 20;
    filter: blur(5px) drop-shadow(0 0 10px rgba(114, 9, 183, 0.3));
}

.slide-img.next {
    transform: translate(-20%, -50%) scale(0.65) perspective(600px) rotateY(-15deg);
    opacity: 0.9;
    z-index: 20;
    filter: blur(5px) drop-shadow(0 0 10px rgba(114, 9, 183, 0.3));
}

.slide-img.hidden {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

.bg-blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.bg-blur-1 {
    width: 400px;
    height: 400px;
    background: var(--neon-purple);
    top: 20%;
    right: 10%;
}

.bg-blur-2 {
    width: 300px;
    height: 300px;
    background: #4cc9f0;
    /* Accent color */
    bottom: -10%;
    left: 5%;
}

/* PERFORMANCE SECTION */
.section-title {
    margin-bottom: 60px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 20px;
}


/* 3D SLIDER */
.benchmark-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 0 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    perspective: 1500px;
}

.slider-bottom-right {
    position: absolute;
    bottom: -120px;
    right: -10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 50;
}

.see-services-link {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.see-services-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

.slider-logos {
    display: flex;
    gap: 12px;
    align-items: center;
}

.slider-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0.5;
    transition: all 0.4s ease;
    cursor: pointer;
}

.slider-logo.active {
    width: 48px;
    height: 48px;
    opacity: 1;
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple-glow);
}

.benchmark-3d-slider {
    position: relative;
    width: 100%;
    max-width: 850px;
    height: 100%;
    transform-style: preserve-3d;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #020510;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s, filter 0.5s;
    will-change: transform, opacity;
    backface-visibility: hidden;
    cursor: pointer;
}

.slider-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.7s;
    display: block;
    outline: none;
    transform: scale(1.02);
    /* Stretch slightly to hide edge sub-pixels */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.05); */
}

/* Slider states */
.slider-item.active {
    transform: translate3d(0, 0, 0) rotateY(-8deg) rotateX(3deg) scale(1);
    opacity: 1;
    z-index: 30;
    filter: brightness(1) saturate(1.2);
    box-shadow: rgba(0, 0, 0, 0.65) -15px 24px 70px;
}

.slider-item.prev {
    transform: translate3d(-35%, 0, -150px) rotateY(25deg) rotateX(3deg) scale(0.85);
    opacity: 0.7;
    z-index: 20;
    filter: brightness(0.6) saturate(0.8);
}

.slider-item.next {
    transform: translate3d(35%, 0, -150px) rotateY(-35deg) rotateX(3deg) scale(0.85);
    opacity: 0.7;
    z-index: 20;
    filter: brightness(0.6) saturate(0.8);
}

.slider-item.hidden {
    transform: translate3d(0, 0, -300px) rotateY(0deg) scale(0.6);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

/* Watermark */
.slider-watermark {
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
}

.slider-watermark::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.fps-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
}

.fps-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    vertical-align: super;
}

.fps-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    font-weight: 600;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 50;
    pointer-events: none;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-nav-btn:hover {
    background: var(--neon-purple);
    border-color: var(--neon-purple-light);
    box-shadow: 0 0 15px var(--neon-purple-glow);
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.service-card {
    grid-column: span 12;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Removed overflow: hidden so it doesn't conflict with reveal */
    border-radius: 24px;
    background: var(--bg-card);
}

@keyframes rotate-border {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 1. We repurpose the .card-inner-bg as a stationary mask wrapper */
.card-inner-bg {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    /* border thickness */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 5;
    /* Sit on top of card background, under content if needed */
}

/* 2. The actual spinning element inside the mask wrapper */
.card-inner-bg::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    /* Default static border */
    background: rgba(157, 78, 221, 0.4);
    transform: translate(-50%, -50%);
    transition: background 0.3s ease;
}

/* 3. Hover state for the card changes the child */
.service-card:hover .card-inner-bg::before {
    background: conic-gradient(transparent 70%, rgba(157, 78, 221, 1) 100%);
    animation: rotate-border 4s linear infinite;
}

.service-img,
.service-content {
    position: relative;
    z-index: 3;
}

.service-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* Tweak the Tuning Bios image position to hide the bottom text */
.services-grid .service-card:nth-child(4) .service-img img {
    object-position: center -90px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.services-grid .service-card:nth-child(2) .service-img img {
    object-position: center -115px;
}

.btn-tag {
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(90deg, #ff007a, #7000ff);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 12px;
    z-index: 10;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(112, 0, 255, 0.4);
    pointer-events: none;
    overflow: hidden;
}

.btn-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
}

@keyframes tag-shine {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.service-card:hover .btn-tag::after {
    animation: tag-shine 1.5s infinite;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--neon-purple) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.15;
    pointer-events: none;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card:hover::after {
    transform: scale(1.1);
    opacity: 0.3;
}

.service-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.service-card h3 i {
    color: var(--neon-purple-light);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--neon-purple-glow));
}

.service-subtitle,
.service-list,
.cpu-tags-wrapper {
    position: relative;
    z-index: 1;
}

.flex-column-between {
    justify-content: space-between;
}

.service-subtitle {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
    font-size: 0.95rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    color: #e0e0e0;
}

.service-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0;
    color: #d946ef;
    filter: drop-shadow(0 0 4px #d946ef);
}

.cpu-tags-wrapper {
    margin-top: 30px;
    background: rgba(114, 9, 183, 0.05);
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
}

.badge-title {
    display: block;
    font-weight: 700;
    color: var(--neon-purple-light);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

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

.service-badge {
    background: rgba(114, 9, 183, 0.15);
    border: 1px solid var(--neon-purple);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(114, 9, 183, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.service-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--neon-purple), 0 0 25px rgba(114, 9, 183, 0.3);
}

#services {
    padding-bottom: 40px;
}

.neon-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 800px;
    margin: 20px auto 40px;
    gap: 15px;
    opacity: 0.8;
}

@keyframes pulse-divider-line {
    0%, 100% { opacity: 0.3; transform: scaleX(0.7); box-shadow: 0 0 5px var(--neon-purple); }
    50% { opacity: 1; transform: scaleX(1); box-shadow: 0 0 15px var(--neon-purple-light); }
}

@keyframes pulse-divider-icon {
    0%, 100% { filter: drop-shadow(0 0 2px var(--neon-purple)); transform: scale(1); color: var(--neon-purple); }
    50% { filter: drop-shadow(0 0 12px var(--neon-purple-light)); transform: scale(1.3); color: #fff; }
}

.neon-divider .line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple-light), transparent);
    animation: pulse-divider-line 3s ease-in-out infinite;
}

.neon-divider .line:first-child {
    transform-origin: right center;
}

.neon-divider .line:last-child {
    transform-origin: left center;
}

.neon-divider .icon {
    font-size: 1.2rem;
    animation: pulse-divider-icon 3s ease-in-out infinite;
}

/* Feedback section top padding removed to inherit .section-padding and fix scroll positioning */

/* FEEDBACK SECTION */
.slider-container {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -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);
    border-radius: 20px;
}

.feedback-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    padding-bottom: 20px;
}

.feedback-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.feedback-card {
    flex: 0 0 380px;
    height: 240px;
    padding: 30px;
    background: rgba(20, 20, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(114, 9, 183, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feedback-card::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 180px;
    color: rgba(157, 78, 221, 0.05);
    font-family: serif;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.feedback-card > * {
    position: relative;
    z-index: 1;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-purple);
}

.user-meta {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.username {
    font-size: 0.95rem;
    color: #dfb2f2;
    /* Light purple */
    margin-bottom: 0px;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -2px;
}

.stars {
    color: #ffb703;
    /* Neon/light yellow-gold */
    font-size: 0.8rem;
    display: flex;
    gap: 2px;
    margin-top: 10px;
}

.feedback-body {
    font-size: 14px;
    color: #d0d0d0;
    font-style: italic;
    line-height: 1.5;
    margin-top: 10px;
}

.feedback-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 0.85rem;
    margin-top: auto;
}

.verify {
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verify i {
    color: var(--neon-purple-light);
}



.social-icons {
    display: flex;
    gap: 12px;
    color: #555;
    font-size: 1.1rem;
}

.social-icons i {
    cursor: pointer;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: var(--neon-purple-light);
}

/* Pro Choice Badge */
.pro-choice-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #0f0f15;
    padding: 8px 30px 8px 12px;
    border-radius: 50px;
    margin: 0px auto 0;
    position: relative;
    overflow: hidden;
    border: none;
}

/* Top & Bottom fading border */
.pro-choice-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 1.5px;
    /* Border thickness */
    background: linear-gradient(90deg, transparent 10%, var(--neon-purple-light) 50%, transparent 90%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Sweeping light animation */
.pro-choice-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: sweep-light 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

@keyframes sweep-light {
    0% {
        left: -100%;
    }

    40% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-group img,
.avatar-more {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #0f0f15;
    margin-left: -12px;
    object-fit: cover;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.avatar-more {
    background: #2a2a3e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.pro-choice-text {
    font-size: 0.95rem;
    color: #a0a0b0;
}

.pro-choice-text strong {
    color: #fff;
    font-weight: 700;
}

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

/* CTA SECTION */
.cta-section {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.highlight-gradient {
    background: linear-gradient(90deg, #c084fc, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 32px auto;
}

/* FOOTER */
footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050508;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 1025px) {
    .service-card.span-12 {
        grid-column: span 12;
    }

    .service-card.span-7 {
        grid-column: span 7;
    }

    .service-card.span-5 {
        grid-column: span 5;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-right {
        margin-top: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header nav {
        display: none;
    }

    /* Hide menu on mobile for simplicity, or add burger menu later */
    h1 {
        font-size: 2.2rem;
    }

    .logo-placeholder {
        width: 250px;
        height: 250px;
    }

    .logo-text-large {
        font-size: 2rem;
    }

    .feedback-card {
        flex: 0 0 300px;
    }

    .benchmark-3d-wrapper {
        height: 350px;
    }

    .benchmark-3d-slider {
        height: 350px;
    }

    .slider-item.prev {
        transform: translate3d(-15%, 0, -200px) rotateY(35deg) scale(0.85);
    }

    .slider-item.next {
        transform: translate3d(15%, 0, -200px) rotateY(-35deg) scale(0.85);
    }

    .slider-bottom-right {
        bottom: -80px;
        right: 0px;
        transform: scale(0.8);
        transform-origin: bottom right;
    }
}

@media (max-width: 1024px) {
    .benchmark-3d-wrapper {
        height: 400px;
    }

    .benchmark-3d-slider {
        height: 400px;
    }
}

/* SERVICES SECTION */
.services-section {
    position: relative;
    z-index: 2;
}

.services-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title.text-left {
    text-align: left;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.1;
}

.section-desc.text-left {
    text-align: left;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card.bento-featured {
    grid-column: span 3;
    flex-direction: row;
}

.service-card.bento-featured .service-img {
    width: 35%;
    height: auto;
    border-radius: 24px 0 0 24px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.service-card.bento-featured .service-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.08);
}

.service-card.bento-featured .service-content {
    width: 60%;
    padding: 50px;
    justify-content: center;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-card.bento-featured {
        grid-column: span 2;
        flex-direction: column;
    }

    .service-card.bento-featured .service-img {
        width: 100%;
        height: 250px;
        border-radius: 24px 24px 0 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .service-card.bento-featured .service-content {
        width: 100%;
        padding: 35px 35px 40px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.bento-featured {
        grid-column: span 1;
    }
}

.service-card {
    background: linear-gradient(160deg, rgba(25, 25, 35, 0.9), rgba(10, 10, 15, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: visible;
    /* so badge can stick out */
    display: flex;
    flex-direction: column;
    position: relative;
    grid-column: auto;
    /* override old span 12 */
    padding: 0;
    /* override old padding 40px */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 30%, rgba(114, 9, 183, 0) 70%, rgba(114, 9, 183, 0.8) 100%);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(114, 9, 183, 0.3);
    border-color: rgba(114, 9, 183, 0.6);
}

.service-card:hover::before {
    opacity: 1;
}

.service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-img img {
    transform: scale(1.15);
}

.service-video-placeholder {
    height: 220px;
    background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSYLQ0KCKLJamLEfcpjaE4qkqiBrnK-WDJ7Xkfxge-aA_Ikpy1Rv1DY7uw&s=10') center/cover no-repeat;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    overflow: hidden;
}

.service-video-placeholder.placeholder-2 {
    background: url('../assets/benchmark_1.webp') center/cover no-repeat;
}

.service-video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.video-overlay-text {
    position: absolute;
    bottom: 15px;
    left: 25px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    z-index: 1;
}

.service-content {
    padding: 25px 25px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-subtitle.text-blue {
    color: var(--neon-purple-light);
}

.service-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 25px;
}

.price-val {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.price-dur {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.service-desc {
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.5;
}

.service-features li::before {
    content: '•';
    color: #4da6ff;
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.5rem;
    line-height: 1;
}

.service-features.features-blue li::before {
    color: var(--neon-purple);
}

/* Flagship Card special styles */
.flagship-card {
    border: 1.5px solid transparent;
    box-shadow: 0 0 30px rgba(114, 9, 183, 0.2), inset 0 0 20px rgba(114, 9, 183, 0.1);
}

.flagship-card:hover {
    box-shadow: 0 10px 40px rgba(114, 9, 183, 0.4), inset 0 0 20px rgba(114, 9, 183, 0.2);
}

.flagship-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, #1a0235, var(--neon-purple-light));
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 6px 24px;
    border-radius: 30px;
    box-shadow: 0 0 15px var(--neon-purple-glow);
    z-index: 10;
}

.services-grid>.service-card {
    margin-top: 15px;
    /* room for the badge */
}

/* Buttons */
.w-100 {
    width: 100%;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-blue {
    background: transparent;
    border: 1px solid var(--neon-purple);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(114, 9, 183, 0.2);
}

.btn-blue:hover {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-purple {
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 800;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section Glassmorphism */
.cta-section {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--border-glass);
    padding-bottom: 120px;
    padding-top: 60px;
    /* Add extra padding to account for footer overlap */
    position: relative;
    z-index: 1;
}

/* FOOTER */
.main-footer {
    background: transparent;
    padding: 95px 0 10px;
    border-top: none;
    position: relative;
    margin-top: -80px;
    /* Pull up to overlap cta-section */
    filter: drop-shadow(0 -10px 20px rgba(114, 9, 183, 0.5));
    z-index: 10;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050508;
    background-image:
        radial-gradient(circle at center, rgba(114, 9, 183, 0.1) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='103.923' viewBox='0 0 60 103.923' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgba(114, 9, 183, 0.08)' fill-rule='evenodd' d='M30 103.923L0 86.6025V51.9615L30 34.641L60 51.9615V86.6025L30 103.923ZM30 101.923L58.268 85.6025V52.9615L30 36.641L1.732 52.9615V85.6025L30 101.923ZM30 51.9615L0 34.641V0L30 -17.3205L60 0V34.641L30 51.9615ZM30 49.9615L58.268 33.641V1L30 -15.3205L1.732 1V33.641L30 49.9615Z'/%3E%3C/svg%3E");
    background-size: 100% 100%, 60px 103.923px;
    clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
    z-index: -2;
}

.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple-light), var(--neon-purple));
    clip-path: polygon(0 80px, 100% 0, 100% 3px, 0 83px);
    z-index: -1;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    max-width: 500px;
}

.footer-brand .logo {
    margin-bottom: 25px;
    display: inline-flex;
}

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

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--neon-purple);
    border-color: var(--neon-purple-light);
    box-shadow: 0 0 15px var(--neon-purple-glow);
    transform: translateY(-3px);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 300px;
}

.footer-cta {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    border: 1px solid rgba(114, 9, 183, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    border-color: var(--neon-purple);
}

.footer-cta .cta-icon {
    width: 40px;
    height: 40px;
    background: rgba(114, 9, 183, 0.2);
    color: var(--neon-purple-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 15px;
}

.footer-cta .cta-text-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.footer-cta .cta-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.footer-cta .cta-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-cta .chevron {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.footer-cta:hover .chevron {
    transform: translateX(5px);
    color: var(--neon-purple-light);
}

.btn-back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: transparent;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back-to-top:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
    margin: 0 0 30px 0;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Replaced by unified responsive section */

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95) rotateX(10deg);
    filter: blur(8px) brightness(1.2);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
}

.reveal.reveal-left {
    transform: translateX(-60px) scale(0.95) rotateY(-10deg);
}

.reveal.reveal-right {
    transform: translateX(60px) scale(0.95) rotateY(10deg);
}

.reveal.reveal-scale {
    transform: scale(0.85) rotateX(15deg);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0);
    filter: blur(0px) brightness(1);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-light);
}

.lang-btn.active {
    color: var(--neon-purple-light);
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* =====================================================================
   RESPONSIVE DESIGN (1024px, 820px, 768px, 480px, 360px)
   ===================================================================== */

/* --- 1024px (Laptops & Large Tablets) --- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding-top: 150px;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .new-bm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-3d-slider {
        width: 600px;
        height: 350px;
    }

    .footer-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 820px (iPads / Tablets Portrait) --- */
@media (max-width: 820px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        max-width: 100%;
    }

    .hero-left {
        text-align: center;
        margin-bottom: 40px;
    }

    h1 {
        font-size: 3rem;
    }

    .desc {
        margin: 20px auto;
    }

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

    .hero-3d-slider {
        width: 100%;
        height: 300px;
    }

    .slide-img {
        width: 100%;
    }
}

/* --- 768px (Mobile Landscape & Small Tablets) --- */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .new-bm-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        margin: 0 auto;
        text-align: center;
    }

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

    .footer-actions {
        width: 100%;
        margin-top: 20px;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .main-footer::before {
        clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    }

    .main-footer {
        margin-top: -40px;
        padding: 70px 0 10px;
    }
}

/* --- 480px (Large Mobiles) --- */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-3d-slider {
        height: 220px;
    }

    .slide-img.prev,
    .slide-img.next {
        opacity: 0.2;
        transform: translate(0, -50%) scale(0.6);
    }

    .slide-img.active {
        transform: translate(-50%, -50%) scale(0.9);
    }

    .service-card {
        padding: 20px;
    }

    .feedback-card {
        padding: 20px;
    }

    .pro-choice-badge {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }

    .avatar-group {
        margin-bottom: 10px;
    }
}

/* --- 360px (Small Mobiles) --- */
@media (max-width: 360px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero-content {
        padding-top: 120px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .hero-3d-slider {
        height: 180px;
    }

    .cta-section {
        padding-bottom: 80px;
    }
}

/* SECTION DIVIDER MARQUEE (Style 3) */
.section-divider-marquee {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: transparent;
    position: relative;
    z-index: 1;
    margin-top: -30px;
    margin-bottom: 20px;
}

.divider-marquee-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-divider 30s linear infinite;
    width: max-content;
}

.divider-marquee-track span {
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    padding-right: 50px;
    letter-spacing: 5px;
}

@keyframes scroll-divider {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* DIAGONAL SECTION (Style 1) */
.diagonal-section {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 14, 0.9);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
    padding-top: 100px !important;
    padding-bottom: 80px !important;
    margin-top: -50px;
}

.diagonal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    z-index: 3;
}

/* CUSTOM TOOLTIP */
.custom-tooltip {
    position: absolute;
    background: rgba(7, 7, 10, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--neon-purple);
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10000;
    box-shadow: 0 0 15px rgba(114, 9, 183, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(10px);
}

.custom-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* TYPEWRITER CURSOR */
.typewriter-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background-color: var(--neon-purple-light);
    vertical-align: middle;
    margin-left: 4px;
    animation: blink-cursor 1s step-end infinite;
    box-shadow: 0 0 8px var(--neon-purple-light);
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}