/* CSS Variables for Theme */
:root {
    --bg-dark: #050505;
    --bg-darker: #020202;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    
    --neon-magenta: #ff00ff;
    --neon-magenta-glow: rgba(255, 0, 255, 0.6);
    --neon-magenta-dim: rgba(255, 0, 255, 0.15);
    
    --neon-teal: #00ffcc;
    --neon-teal-glow: rgba(0, 255, 204, 0.6);
    --neon-teal-dim: rgba(0, 255, 204, 0.15);
    
    --glass-bg: rgba(20, 20, 20, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Syncopate', sans-serif;
    --font-logo: 'Cinzel Decorative', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Glowing Cursor Follower */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-magenta-dim) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: screen;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-text {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-magenta), 0 0 20px var(--neon-magenta), 0 0 40px var(--neon-magenta);
}

.neon-text-teal {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-teal), 0 0 20px var(--neon-teal), 0 0 40px var(--neon-teal);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 5%;
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid var(--glass-border);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 40px; /* Adjust this height as needed based on your logo's proportion */
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: var(--transition-smooth);
}

.logo-link:hover .brand-logo {
    filter: drop-shadow(0 0 15px var(--neon-teal));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-teal);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--neon-teal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    padding: 10px 24px;
    border: 1px solid var(--neon-magenta);
    border-radius: 2px;
    background: transparent;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px inset var(--neon-magenta-dim), 0 0 10px var(--neon-magenta-dim);
}

.nav-cta:hover {
    background: var(--neon-magenta-dim);
    box-shadow: 0 0 15px inset var(--neon-magenta-glow), 0 0 15px var(--neon-magenta-glow);
    text-shadow: 0 0 5px #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.4) contrast(1.2);
    transform: scale(1.05); /* Will animate */
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,5,5,1) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,1) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.glitch-text {
    font-size: clamp(2rem, 6vw, 5rem); /* Reduced base sizes so it fits the glass box */
    line-height: 1.1;
    margin-bottom: 2rem;
    position: relative;
    word-break: break-word; /* Prevents text overflow */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border-radius: 2px;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    border: 1px solid var(--text-main);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Above background but behind content */
    pointer-events: none; /* Let clicks pass through */
}

.hero-glass-wrapper {
    position: relative;
    z-index: 10;
    perspective: 1000px;
    width: 100%;
    max-width: 800px;
}

.hero-glass {
    padding: 3rem;
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, border-color 0.3s ease;
}

.hero-glass:hover {
    border-color: rgba(255, 0, 255, 0.3); /* Magenta glow on hover */
}

/* Make text inside pop out during 3D tilt */
.hero-glass .hero-logo,
.hero-glass h1, 
.hero-glass p, 
.hero-glass div {
    transform: translateZ(50px);
}

.hero-logo-large {
    height: 180px; /* Much larger as requested */
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
    transition: var(--transition-smooth);
    animation: slowPulse 4s infinite alternate;
}

@keyframes slowPulse {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
        opacity: 0.9;
    }
    to {
        filter: drop-shadow(0 0 40px var(--neon-teal));
        opacity: 1;
    }
}

.hero-split-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%; /* Fill available space securely */
    max-width: 100%; /* Override any previous constraints */
    z-index: 10;
    gap: 20px;
}

.hero-left {
    flex: 1.5; /* Takes up more space to let the logo breathe */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-logo-video {
    width: 100%;
    min-width: 600px; /* Ensure it stays large */
    mix-blend-mode: screen; 
    filter: contrast(1.3) brightness(1.2); /* Pushes the dark grey background of the video into pure black so it disappears */
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%); /* Fades out the hard square edges */
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    transform: scale(1.3); /* Magnifies the text within the video frame */
    transform-origin: left center;
    z-index: 2;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Pushes the bag to the right corner */
    align-items: center;
}

.animated-bag-container {
    position: relative;
    width: 100%;
    max-width: 450px; /* Slightly larger to accommodate the fade */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.hero-bag-video {
    width: 100%;
    /* Use a CSS mask to fade out the edges so the square is invisible */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    z-index: 2;
    transition: var(--transition-smooth);
    mix-blend-mode: screen; /* Optional: if the bg is dark, this helps blend the glowing light */
}

.hero-bag-video:hover {
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Sections */
.section {
    padding: 120px 5%;
}

.section-darker {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Products Glassmorphism */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    position: relative;
    perspective: 1000px;
}

.card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s;
    overflow: hidden;
}

.card-glass:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px var(--neon-teal-dim);
    border-color: rgba(0, 255, 204, 0.3);
}

.product-img-wrap {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-glass:hover .product-img {
    transform: scale(1.08); /* slight zoom on hover */
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 255, 204, 0.2) 150%);
    opacity: 0;
    transition: opacity 0.6s;
    mix-blend-mode: screen;
}

.card-glass:hover .card-glow {
    opacity: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 1px solid var(--neon-teal);
    padding-bottom: 4px;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    color: var(--neon-teal);
    gap: 15px; /* extends arrow slightly */
}

/* Custom Section */
.custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mt-2 { margin-top: 2rem; }

.custom-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.custom-list {
    list-style: none;
    margin-bottom: 2rem;
}

.custom-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.bullet {
    width: 6px;
    height: 6px;
    background: var(--neon-magenta);
    box-shadow: 0 0 8px var(--neon-magenta);
    transform: rotate(45deg);
}

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

.hologram-effect {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.circle-1 {
    width: 100%;
    height: 100%;
    border-color: var(--neon-magenta-dim);
    border-top-color: var(--neon-magenta);
    animation: rotate 8s linear infinite;
}

.circle-2 {
    width: 80%;
    height: 80%;
    border-color: var(--neon-teal-dim);
    border-bottom-color: var(--neon-teal);
    animation: rotate-reverse 6s linear infinite;
}

.circle-3 {
    width: 60%;
    height: 60%;
    border: 1px dashed rgba(255,255,255,0.2);
    animation: rotate 15s linear infinite;
}

.custom-mockup {
    font-family: var(--font-logo);
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 20px var(--neon-magenta);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 10px var(--neon-magenta); transform: scale(1); }
    50% { text-shadow: 0 0 30px var(--neon-magenta), 0 0 50px var(--neon-magenta); transform: scale(1.05); }
}

/* Animations (Reveal API) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    background: #000;
    padding: 60px 5% 20px;
}

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

.footer-brand .logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--neon-magenta-dim);
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 15px var(--neon-magenta-dim);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Base Responsive */
@media (max-width: 900px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-split-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}
