:root {
    --bg-dark: #050505;
    --accent: #a6ff00;
    /* Toxic Green */
    --accent-rgb: 166, 255, 0;
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    opacity: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

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

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

/* Refined Industrial Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    user-select: none;
    /* Protection */
    -webkit-user-select: none;
}

img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Background Elements */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 90%;
    opacity: 0;
    /* Initial state for GSAP Reveal */
}

.btn-primary-v5 {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    z-index: 1;
    cursor: pointer;
}

.btn-primary-v5::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn-primary-v5:hover {
    color: #000;
}

.btn-primary-v5:hover::before {
    left: 0;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
    background: #000;
    overflow: hidden;
}

.grid-layer {
    position: absolute;
    inset: -100px;
    background-image:
        linear-gradient(rgba(166, 255, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 255, 0, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.noise-layer {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    pointer-events: none;
}

/* Glass Helper */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

/* Loader V5 - Premium Version */
.loader-v5 {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
}

.loader-content {
    width: 300px;
    text-align: center;
}

.loader-logo {
    margin-bottom: 20px;
    animation: l-pulse 2s infinite ease-in-out;
}

.loader-logo img {
    height: 60px;
    pointer-events: none;
}

.loader-line {
    width: 0%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    margin: 0 auto 15px;
}

.loader-status {
    font-size: 0.6rem;
    letter-spacing: 0.3rem;
    color: #fff;
    opacity: 0.3;
    text-transform: uppercase;
}

@keyframes l-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header V5 */
/* Header V5 - Sticky Glassmorphism */
header.header-v5 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 1.2rem 5% !important;
    z-index: 1000 !important;
    background: rgba(5, 5, 5, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-area img {
    height: 35px;
}

.logo-area span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.6rem;
        letter-spacing: 0.1rem;
    }
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    opacity: 0.4;
    transition: 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Hero V5 */
.hero-v5 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-content {
    z-index: 10;
    position: relative;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 9rem);
    line-height: 0.85;
    letter-spacing: -4px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #fff;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
}

.hero-tagline .accent {
    color: var(--accent);
    text-shadow: 0 0 50px rgba(212, 255, 0, 0.4);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 1200px) {
    .hero-split {
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        gap: 3rem;
        padding: 0 5%;
    }

    .hero-visual-side {
        order: 1 !important;
        height: auto !important;
        min-height: 350px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-text-side {
        order: 2 !important;
        text-align: center !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc-text {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-text-side {
    text-align: left;
    z-index: 20;
}

.hero-visual-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    z-index: 10;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hero-slide.next {
    z-index: 5;
    opacity: 0.1;
    transform: translate(10%, -30%) scale(0.5);
    filter: blur(15px);
}

.hero-img {
    max-height: 500px;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.8));
    animation: productFloat 6s ease-in-out infinite;
}

.hero-img-blur {
    max-height: 400px;
    max-width: 80%;
    object-fit: contain;
}

.hero-pagination {
    position: absolute;
    bottom: 5rem;
    right: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.page-line {
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

#hero-page-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
}

.hero-label {
    font-size: 0.6rem;
    letter-spacing: 0.6rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 2rem;
    display: block;
}

.hero-main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.hero-main-title .outlined {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.hero-desc-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    max-width: 500px;
}

.btn-hero-v5 {
    background: #fff;
    color: #000;
    border: none;
    padding: 1.2rem 3rem;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.3rem;
    cursor: pointer;
    transition: 0.4s;
    text-transform: uppercase;
    border-radius: 4px;
}

.btn-hero-v5:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 9rem);
    line-height: 0.85;
    letter-spacing: -4px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 10;
}

.hero-tagline .accent {
    color: var(--accent);
    text-shadow: 0 0 50px rgba(212, 255, 0, 0.4);
}

.featured-section {
    padding: 10rem 5%;
    background: #050505;
    position: relative;
    z-index: 10;
    scroll-margin-top: 65px;
}

.grid-section {
    padding: 5rem 5% 10rem;
    background: #000;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-label {
    font-size: 0.6rem;
    letter-spacing: 0.6rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-main-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text-side {
    text-align: left;
}

.hero-visual-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    z-index: 10;
    opacity: 1;
}

.hero-slide.next {
    z-index: 5;
    opacity: 0.1;
    transform: translate(20%, -30%) scale(0.6);
    filter: blur(15px);
}

.hero-img {
    max-height: 500px;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.8));
    animation: productFloat 6s ease-in-out infinite;
}

.hero-img-blur {
    max-height: 400px;
    max-width: 80%;
    object-fit: contain;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.scroll-hint {
    position: absolute;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0.3;
}

.scroll-hint p {
    font-size: 0.6rem;
    letter-spacing: 0.4rem;
    font-weight: 700;
}

.hint-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

/* Showcase V5 */
.showcase-v5 {
    padding: 10rem 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 2rem;
}

@media (max-width: 1200px) {
    .showcase-v5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .showcase-v5 {
        grid-template-columns: 1fr;
        gap: 6rem 0;
    }
}

.mockup-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mockup-block:nth-child(even) {
    flex-direction: column;
}

.mockup-info {
    width: 100%;
    margin-top: 2rem;
}

.m-no {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 1.5rem;
    display: block;
}

.mockup-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-col {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.m-desc {
    display: none;
    /* Hide long descriptions in grid view */
}

.mockup-visual {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background-color: transparent;
    overflow: visible;
}

.product-item-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.gallery-wrapper {
    position: relative;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img {
    width: 100%;
    height: auto;
    max-height: 90%;
    object-fit: contain;
    display: none;
    /* Hide all by default */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.8s ease, opacity 0.5s ease;
    will-change: transform, filter, opacity;
    animation: productFloat 6s ease-in-out infinite;
    z-index: 5;
    position: relative;
}

.product-img.active {
    display: block;
}

@keyframes productFloat {

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

    50% {
        transform: translateY(-15px) rotate(1.5deg);
    }
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    transition: 0.3s;
}

.mockup-block:hover .gallery-controls {
    opacity: 1;
}

.gallery-controls button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.gallery-controls button:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.g-dots {
    display: flex;
    gap: 8px;
}

.g-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.g-dot.active {
    background: var(--accent);
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--accent);
}

.mockup-block:hover .product-img.active {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.8));
}

.mockup-visual:hover {
    transform: scale(1.02);
}

.image-placeholder {
    font-size: 0.7rem;
    letter-spacing: 0.5rem;
    opacity: 0.2;
    font-weight: 800;
}

/* Identity V5 */
.identity-v5 {
    padding: 8rem 10%;
    background: linear-gradient(to bottom, transparent, #000);
    text-align: center;
    scroll-margin-top: 65px;
}

.id-content {
    max-width: 900px;
    margin: 0 auto;
}

.id-tag {
    font-size: 0.7rem;
    letter-spacing: 0.5rem;
    color: var(--accent);
    font-weight: 800;
}

.identity-v5 h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
    margin: 2rem 0;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.identity-v5 h2 .accent {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
}

.identity-v5 p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 5rem;
    font-weight: 300;
}

.brand-stats {
    display: flex;
    justify-content: center;
    gap: 8rem;
}

.stat span {
    font-size: 0.6rem;
    letter-spacing: 0.3rem;
    opacity: 0.3;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

.stat p {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Footer V5 */
.footer-v5 {
    padding: 8rem 5% 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.f-logo img {
    height: 40px;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.footer-v5 p {
    font-size: 0.6rem;
    letter-spacing: 0.3rem;
    opacity: 0.2;
    font-weight: 700;
    text-transform: uppercase;
}

/* Tape System */
.tape-system {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -5;
    overflow: hidden;
    opacity: 0;
    /* Hidden during load */
    transition: opacity 1.5s ease;
}

.tape {
    position: absolute;
    width: 200%;
    height: 45px;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.3rem;
    white-space: nowrap;
    text-transform: uppercase;
}

.tape-track {
    display: flex;
    white-space: nowrap;
    animation: tapeScroll 30s linear infinite;
}

.tape-2 .tape-track {
    animation-direction: reverse;
    animation-duration: 40s;
}

@keyframes tapeScroll {
    0% {
        transform: translateX(0);
    }

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

.tape-track span {
    padding-right: 15rem;
    /* Large spacing for a clean look */
}

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

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

.tape-1 {
    top: 25%;
    left: -10%;
    transform: rotate(-8deg);
}

.tape-2 {
    bottom: 25%;
    left: -10%;
    transform: rotate(8deg);
    background: #000;
    color: var(--accent);
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
}

/* Responsive */
@media (max-width: 1000px) {
    .header-v5 {
        padding: 1.5rem 5%;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.6rem;
        letter-spacing: 0.1rem;
    }

    .mockup-block,
    .mockup-block:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        margin-bottom: 10rem;
    }

    .mockup-info h3 {
        font-size: 2.8rem;
    }

    .mockup-visual {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .brand-stats {
        gap: 4rem;
    }

    .stat p {
        font-size: 1.5rem;
    }

    .identity-v5 h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-area img {
        height: 25px;
    }

    .logo-area span {
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-tagline {
        font-size: 2.8rem;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .showcase-v5 {
        padding: 5rem 5%;
    }

    .mockup-info h3 {
        font-size: 2.2rem;
    }

    .identity-v5 {
        padding: 10rem 5%;
    }

    .identity-v5 h2 {
        font-size: 2.8rem;
    }

    .identity-v5 p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .brand-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .stat {
        flex: 1 1 100px;
    }

    .tape-system {
        opacity: 0.1;
    }

    .tape {
        height: 35px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .stat p {
        font-size: 1.2rem;
    }
}

@media (max-width: 1200px) {
    .showcase-v5 {
        grid-template-columns: repeat(2, 1fr);
        padding: 5rem 5%;
    }
}

@media (max-width: 768px) {
    .showcase-v5 {
        grid-template-columns: 1fr;
        padding: 5rem 5%;
        gap: 3rem;
    }
}
