:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent: #ff3333;
    /* Red Theme */
    --accent-secondary: #7000ff;
    --surface: #111111;
    --surface-hover: #1a1a1a;
    --border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    --container-width: 1400px;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
    height: 100vh;
}

/* Custom Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.cursor-circle {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

body.hover-active .cursor-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 51, 51, 0.1);
    border-color: transparent;
}

/* Eye Loader Overlay */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Eyelids */
.eyelid {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #000;
    z-index: 10002;
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.eyelid-top {
    top: 0;
    transform-origin: top;
}

.eyelid-bottom {
    bottom: 0;
    transform-origin: bottom;
}

/* Central Eye (Iris) */
.eye-loader {
    position: relative;
    z-index: 10005;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.iris {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 30%, var(--accent) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    /* Removed Glow */
    transform: scale(0);
}

/* Logo Reveal Styles */
.intro-bg {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
    /* Mask for Eye Reveal Effect */
    -webkit-mask-image: radial-gradient(circle, transparent var(--mask-radius, 0%), #000 var(--mask-radius, 0%));
    mask-image: radial-gradient(circle, transparent var(--mask-radius, 0%), #000 var(--mask-radius, 0%));
    /* Fallback for safety */
    opacity: 1;
}

.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 150px;
    opacity: 0;
}

/* Dead code removal (pupil was here) */

.intro-counter {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    opacity: 0;
    font-weight: 700;
}

/* Loading Progress Indicator - Shows on Mobile */
.loader-progress-container {
    display: none;
    /* Hidden on desktop by default */
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
    width: 200px;
}

.loader-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #ff6666, var(--accent));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progress-shimmer 1.5s ease-in-out infinite, progress-grow 4s ease-out forwards;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes progress-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes progress-grow {
    0% {
        width: 0%;
    }

    10% {
        width: 15%;
    }

    30% {
        width: 35%;
    }

    50% {
        width: 55%;
    }

    70% {
        width: 75%;
    }

    90% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}

.loader-status {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: status-pulse 1.5s ease-in-out infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Show progress on mobile only */
@media (max-width: 768px) {
    .loader-progress-container {
        display: flex;
    }

    .loader-logo {
        width: 100px;
    }
}

/* Typography Helpers */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    text-transform: uppercase;
    margin-bottom: 3rem;
    line-height: 0.9;
    font-weight: 800;
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
}

.nav-brand img {
    width: 40px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    /* Vertically center items */
}

/* Ensure no collapse on smaller desktop screens */
@media (max-width: 900px) {

    /* Trigger mobile menu earlier */
    .menu-toggle {
        display: flex;
        z-index: 10001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateY(-100%);
        transition: transform 0.5s ease;
        z-index: 10000;
    }

    .nav-menu.active {
        transform: translateY(0);
    }
}

/* Dead code removal (pupil was here) */
/* intro-counter removal */

.nav-link {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.nav-link span {
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo);
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s var(--ease-out-expo);
    color: var(--accent);
}

.nav-link:hover span {
    transform: translateY(-100%);
}

.nav-link:hover::after {
    transform: translateY(-100%);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 30px;
    height: 2px;
    background-color: #fff;
}

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    /* Override section-padding */
    padding-top: 150px;
    /* Optical adjustment for Navbar */
}

#hero-webgl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.hero-content-wrapper {
    z-index: 2;
    /* Renamed to secure it above canvas */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 11vw, 11rem);
    line-height: 0.85;
    font-weight: 800;
    letter-spacing: -0.02em;
    mix-blend-mode: exclusion;
    /* Cool effect on text itself without ruining navbar */
}

.hero-sub {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: var(--text-color);
    max-width: 600px;
    margin-inline: auto;
}

.hero-sub strong {
    color: var(--accent);
}

.hero-actions {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.btn-glow {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-glow:hover {
    background: var(--accent);
    color: #000;
    box-shadow: none;
    /* Removed Glow */
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Manifesto Section */
#manifesto {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #000;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 30%, #050505 100%);
    z-index: 1;
}

.manifesto-text {
    position: relative;
    z-index: 2;
}

.manifesto-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* mix-blend-mode removed for better visibility */
}

/* Common Layouts */
.section-padding {
    padding: 10rem 2rem;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.container-narrow {
    max-width: 1000px;
}

/* About */
.big-statement {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    color: #888;
}

.big-statement .word {
    color: #fff;
    display: inline-block;
}

/* Services */
.section-header {
    position: relative;
    margin-bottom: 6rem;
    text-align: center;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: -1;
    font-size: clamp(5rem, 15vw, 12rem);
    width: 100%;
}

.fill-text {
    font-size: clamp(3rem, 6vw, 6rem);
    color: #fff;
    position: relative;
}

/* Services Accordion */
.services-list {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
}

@keyframes neon-pulse {
    0% {
        box-shadow: none;
    }

    50% {
        box-shadow: none;
    }

    100% {
        box-shadow: none;
    }
}

.service-item {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    /* Opacity handled by JS, but default visible for safety */
    opacity: 1;
}

/* Service Header */
.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 1rem 0;
}

.service-header h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-left: 2rem;
    flex: 1;
    transition: color 0.3s;
}

.service-item.active .service-header h3 {
    color: var(--accent);
}

.s-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #666;
}

.s-icon {
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s;
}

.service-item.active .s-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

/* Service Body - Grid Accordion */
.service-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s var(--ease-out-expo);
    overflow: hidden;
}

.service-item.active .service-body {
    grid-template-rows: 1fr;
}

.service-wrapper {
    min-height: 0;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.service-item.active .service-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.s-content {
    flex: 1;
    max-width: 50%;
}

.s-content p {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 2rem;
}

.s-content ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.s-content li {
    color: #888;
    font-size: 1.1rem;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 1;
    /* Always visible */
    transform: none;
}

.s-content li:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: scale(1.05) translateX(5px);
    box-shadow: none;
    /* Removed Glow */
}

.s-content li:hover i {
    animation: bounce 0.5s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-3px);
    }
}

.s-img {
    width: 450px;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 1;
    /* Always visible */
    transform: rotate(-2deg);
    /* Static tilt is fine */
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item.active .s-img {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--accent);
    box-shadow: none;
    /* Removed Glow */
}

.service-item.active .s-img {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    transition-delay: 0.2s;
}

.service-item.active .s-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Sticky Stack Cards (Learn Section) */
.stack-area {
    position: relative;
    padding-bottom: 10vh;
    /* space at bottom */
}

.stack-card {
    position: sticky;
    top: 15vh;
    height: 70vh;
    margin-bottom: 15vh;
    /* gap between cards scroll end */
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    transform-origin: center top;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.5);
}

/* Calculate distinct top offsets so they stack visibly? 
   Actually, standard sticky behavior creates a 'covering' effect which is desirable.
   GSAP can add scale reduction to previous cards.
*/

.stack-card h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.stack-card p {
    font-size: 1.2rem;
    color: #999;
    max-width: 400px;
    margin-bottom: 3rem;
}

.card-visual i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(-15deg);
}

.stack-card.highlight {
    background: var(--accent) !important;
}

.stack-card.highlight h3,
.stack-card.highlight p,
.stack-card.highlight i {
    color: #000;
}

.stack-card.highlight .btn-solid {
    background: #000;
    color: var(--accent);
}

/* Buttons inside cards */
.btn-line {
    padding: 1rem 2rem;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 50px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-line:hover {
    background: #fff;
    color: #000;
}

.btn-solid {
    padding: 1rem 2rem;
    border: none;
    background: #fff;
    color: #000;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Media Queries Update */
@media (max-width: 768px) {
    .service-wrapper {
        flex-direction: column;
    }

    .s-img {
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }

    .stack-card {
        padding: 2rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        min-height: 60vh;
    }

    .card-visual i {
        display: none;
    }
}

/* Works Gallery with Parallax */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.gallery-item {
    width: 100%;
    height: 500px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: filter 0.3s;
}

.item-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 800px;
    background-image: url('https://source.unsplash.com/random/800x1200/?3d,render')
}

.item-2 {
    grid-column: 2;
    margin-top: 100px;
    background-image: url('https://source.unsplash.com/random/800x600/?website,ui')
}

.item-3 {
    grid-column: 2;
    background-image: url('https://source.unsplash.com/random/800x600/?app,mobile')
}

.item-4 {
    grid-column: 1;
    background-image: url('https://source.unsplash.com/random/800x600/?graphic,design')
}

/* --- Immersive Subscriptions Section (Z-Axis Tunnel) --- */
.immersive-subs-container {
    height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
    /* Important for clean edges */
    perspective: 2000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.subs-bg-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #111 0%, #000 70%);
    z-index: 0;
    transition: background 1s ease;
}

.fixed-sub-header {
    position: absolute;
    top: 5vh;
    /* Moved up from 10% */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    pointer-events: none;
    /* Let clicks pass through */
    transition: opacity 0.3s;
}

.sub-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.5rem;
}

.subs-tunnel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    /* Push center of tunnel down slightly */
}

.tunnel-card {
    position: absolute;
    width: 340px;
    height: 380px;
    /* Reduced height from 500px */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Better centering */
    transform-style: preserve-3d;
    backface-visibility: hidden;
    opacity: 0;
}

.tc-inner {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    padding: 2.5rem 2rem;
    /* Reduced padding */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* Glass Variants */
.blur-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.neon-glass-1 {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    border-color: rgba(112, 0, 255, 0.3);
    box-shadow: 0 0 50px rgba(112, 0, 255, 0.1);
}

.neon-glass-2 {
    background: rgba(15, 10, 0, 0.7);
    backdrop-filter: blur(20px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
}

.tc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tc-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
    color: #fff;
}

.tc-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
    letter-spacing: 1px;
}

.tc-badge.glow {
    background: var(--accent-secondary);
    color: #fff;
    box-shadow: 0 0 10px var(--accent-secondary);
}

.tc-badge.elite {
    background: gold;
    color: #000;
    box-shadow: 0 0 10px gold;
    font-weight: 800;
}

.tc-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1;
}

.tc-price span {
    font-size: 1rem;
    color: #666;
    font-family: var(--font-body);
}

.tc-visual {
    flex: 1;
    position: relative;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Card Visuals (Abstract) */
.tc-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    animation: breathe 4s infinite ease-in-out;
}

.tc-grid-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(112, 0, 255, 0.2) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(112, 0, 255, 0.2) 20px);
    animation: panGrid 10s linear infinite;
}

@keyframes panGrid {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(20px);
    }
}

.tc-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tc-features li {
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.tc-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #444;
    border-radius: 50%;
}

.btn-outline-glow {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    border-radius: 10px;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-outline-glow:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-solid-glow {
    width: 100%;
    padding: 1rem;
    border: none;
    background: var(--accent-secondary);
    color: #fff;
    border-radius: 10px;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-solid-glow:hover {
    box-shadow: 0 0 30px var(--accent-secondary);
    transform: scale(1.02);
}

.btn-golden-glow {
    width: 100%;
    padding: 1rem;
    border: none;
    background: gold;
    color: #000;
    border-radius: 10px;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-golden-glow:hover {
    box-shadow: 0 0 30px gold;
    transform: scale(1.02);
}

@keyframes breathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

/* Subscriptions Grid */
.subs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    perspective: 1000px;
    /* Enable 3D space */
}

.sub-card {
    background: rgba(17, 17, 17, 0.6);
    /* Translucent for spotlight */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease-out, box-shadow 0.4s;
    /* Fast transform for JS tilt */
    transform-style: preserve-3d;
}

/* Moving Spotlight Gradient via JS variables */
.sub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    /* Visible on hover */
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.sub-card:hover::before {
    opacity: 1;
}

.sub-card:hover {
    /* Transform handled by JS for tilt, removing static hover transform */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(var(--accent-rgb, 204, 255, 0), 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.sub-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.8), rgba(13, 13, 13, 0.8));
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
}

.sub-card.featured::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--accent));
    animation: rotate-border 4s linear infinite;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.sub-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
}

.badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge.glow {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 15px var(--accent);
    }

    50% {
        box-shadow: 0 0 25px var(--accent);
    }
}

.sub-price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.sub-features {
    list-style: none;
    margin-bottom: 3rem;
    color: #888;
    position: relative;
    z-index: 2;
}

.sub-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    padding: 5px;
    border-radius: 5px;
}

.sub-features li:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.sub-features li::before {
    content: '✓';
    color: var(--accent);
}

.btn-outline,
.btn-glow-fill {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.btn-glow-fill {
    background: var(--accent);
    color: #000;
    border: none;
}

.btn-glow-fill:hover {
    box-shadow: 0 0 20px var(--accent);
}

/* --- Interactive Accordion (Originals) --- */
.originals-accordion {
    display: flex;
    width: 100%;
    height: 70vh;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.text-right-container {
    padding-right: 5vw;
}

.original-card {
    flex: 1;
    position: relative;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth accordion ease */
    overflow: hidden;
    cursor: pointer;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.original-card:hover {
    flex: 3;
    /* Expand much larger */
}

/* Backgrounds */
.oc-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000;
}

/* MORMAT TV Specifics */
.cinema-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://source.unsplash.com/random/1600x900/?cinema,dark,cyberpunk');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.5s, transform 8s ease;
    filter: grayscale(100%);
}

.tv-card:hover .cinema-bg {
    opacity: 0.8;
    transform: scale(1.1);
    /* Slow zoom */
    filter: grayscale(0%);
}

.static-noise {
    position: absolute;
    inset: 0;
    background-image: url('https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif');
    /* Simple static noise gif */
    opacity: 0.1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5) 1px,
            transparent 1px,
            transparent 2px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

/* MORMAT WAVES Specifics */
.waves-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('https://source.unsplash.com/random/1600x900/?concert,neon,dj');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.5s;
    filter: hue-rotate(45deg) contrast(1.2);
}

.waves-card:hover .waves-bg-img {
    opacity: 0.8;
}

/* Content Styling */
.oc-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 80%;
    max-width: 500px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.original-card:hover .oc-content {
    transform: translateY(0);
}

.oc-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.oc-icon-wrapper i {
    font-size: 4rem;
    color: #fff;
    z-index: 2;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    filter: blur(20px);
}

.original-card:hover .icon-pulse {
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.oc-text h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.fade-in-text {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.original-card:hover .fade-in-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Buttons */
.btn-glitch-border {
    position: relative;
    background: transparent;
    border: none;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1rem 2rem;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    /* Hidden initially, shown on expansion */
    transform: translateY(20px);
    transition: 0.3s;
}

.original-card:hover .btn-glitch-border {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.btn-glitch-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: 0.2s;
}

.btn-glitch-border:hover::before {
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    background: rgba(204, 255, 0, 0.1);
}

.hover-reveal-label {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    opacity: 0;
    color: rgba(255, 255, 255, 0.05);
    font-weight: 900;
    pointer-events: none;
    transition: opacity 0.5s;
}

.original-card:hover .hover-reveal-label {
    opacity: 1;
    animation: flashText 0.1s infinite;
    /* Rapid flicker for aesthetic */
}

@keyframes flashText {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Glitch Title Effect */
.glitch-title {
    position: relative;
}

.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: var(--accent);
    opacity: 0.5;
    transform: translate(-2px, 0);
    mix-blend-mode: color-dodge;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
        transform: translate(-2px, 0);
    }

    100% {
        clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
        transform: translate(2px, 0);
    }
}

/* --- Aesthetic Minimal Team Section --- */
.team-aesthetic {
    background: #000;
}

.team-header-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 5rem;
}

.team-header-wrapper .section-title {
    margin-bottom: 0;
    white-space: nowrap;
}

.decorative-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
}

.team-names-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.team-row {
    position: relative;
    padding: 2rem 0;
    cursor: pointer;
    overflow: hidden;
    transition: padding 0.4s ease;
}

.team-row:hover {
    padding: 2.5rem 0;
    /* Slight expansion */
}

.tm-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease-in-out;
}

.tm-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.tm-name {
    font-family: var(--font-body);
    /* Switch to body font for cleaner look */
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    /* Significantly smaller */
    color: #888;
    margin: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
}

.tm-arrow {
    font-size: 1.2rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

/* Hover Effects */
.team-row:hover .tm-name {
    color: #fff;
    letter-spacing: 4px;
    /* Elegant expansion */
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.team-row:hover .tm-arrow {
    opacity: 1;
    transform: translateX(0);
}

.team-row:hover .tm-separator {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    height: 2px;
}

/* Background Reveal on Hover */
.tm-hover-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 0%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: height 0.4s ease;
    opacity: 0;
}

.team-row:hover .tm-hover-bg {
    height: 100%;
    opacity: 1;
}

@media (max-width: 768px) {
    .tm-name {
        font-size: 1.2rem;
    }
}



/* Horizontal Scroll Services */
/* Horizontal Scroll Services */
/* --- Gen Z Accordion Services --- */
.genz-services-section {
    min-height: 100vh;
    background: #000;
    padding: 10vh 5vw;
    display: flex;
    flex-direction: column;
}

.genz-header-container {
    margin-bottom: 4rem;
}

.genz-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    line-height: 0.9;
}

.genz-subtitle {
    font-family: 'Courier New', monospace;
    color: #888;
    margin-top: 1rem;
    letter-spacing: 1px;
}

/* Accordion Layout */
.accordion-container {
    display: flex;
    width: 100%;
    height: 85vh;
    /* Taller to fit big text */
    gap: 1rem;
}

.acc-item {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.acc-item:hover {
    flex: 5;
    /* More aggressive expansion */
    border-color: rgba(255, 255, 255, 0.4);
}

/* Background Visuals */
.acc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: all 0.6s ease;
    filter: grayscale(100%);
}

.item-biz .acc-bg {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2070&auto=format&fit=crop');
    /* Dark Empty Meeting Room */
    filter: grayscale(100%) brightness(0.4) !important;
    /* Made darker/blacker */
    opacity: 0.5;
    background-size: cover;
    background-position: center;
}

/* Increased visibility */


.item-ind .acc-bg {
    background-image: url('https://images.unsplash.com/photo-1542206395-9feb3edaa68d?q=80&w=3228&auto=format&fit=crop');
}

.item-art .acc-bg {
    background-image: url('https://images.unsplash.com/photo-1470225620780-dba8ba36b745?q=80&w=2070&auto=format&fit=crop');
}

.acc-item:hover .acc-bg {
    opacity: 0.4;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Override for Biz to stay B&W on hover */
.item-biz:hover .acc-bg {
    filter: grayscale(100%);
}

/* Collapsed Header (Visible always, rotates) */
.acc-head {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    /* Center text vertically */
    align-items: center;
    padding: 0;
    position: absolute;
    z-index: 2;
    transition: opacity 0.3s;
}

.acc-num {
    display: none;
}

.acc-item h3 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vh, 6rem);
    /* Bigger responsive text */
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    margin: 0;
    letter-spacing: 0.1em;
    /* Spread out to fill space */
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Expanded State logic */
.acc-item:hover .acc-head {
    opacity: 0;
    /* Hide vertical text on expand */
    pointer-events: none;
}

/* Body Content (Hidden until expand) */
.acc-body {
    position: relative;
    z-index: 3;
    padding: 3vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: 0.1s;
}

.acc-item:hover .acc-body {
    opacity: 1;
    transform: translateY(0);
}

/* Service Grid - Interactive Capsules */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.service-capsule {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-capsule i {
    font-size: 1.5rem;
    color: #888;
    transition: 0.3s;
}

.service-capsule span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* Capsule Hover Effects */
.service-capsule:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateX(5px);
}

.item-biz .service-capsule:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    border-color: #00FFFF;
}

.item-biz .service-capsule:hover i {
    color: #00FFFF;
}

.item-ind .service-capsule:hover {
    box-shadow: 0 0 20px rgba(213, 0, 249, 0.2);
    border-color: #D500F9;
}

.item-ind .service-capsule:hover i {
    color: #D500F9;
}

.item-art .service-capsule:hover {
    box-shadow: 0 0 20px rgba(255, 61, 0, 0.2);
    border-color: #FF3D00;
}

.item-art .service-capsule:hover i {
    color: #FF3D00;
}

.genz-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    width: fit-content;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: 0.3s;
}

.genz-btn:hover {
    gap: 15px;
    background: var(--accent);
}

/* Artist split list */
.multi-list {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.multi-list ul {
    list-style: none;
    padding: 0;
}

.multi-list li {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* Mobile Fallback */
@media (max-width: 768px) {
    .accordion-container {
        flex-direction: column;
        height: auto;
    }

    .acc-item {
        height: 150px;
    }

    .acc-item:hover {
        flex: none;
        height: 400px;
    }

    .acc-head {
        flex-direction: row;
        align-items: center;
    }

    .acc-item h3 {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

/* Restored Glass Card for Modal */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Socials Icon Hover (Preserved) */
.socials i {
    font-size: 1.8rem;
    color: #000;
    transition: transform 0.3s;
}

.socials i:hover {
    transform: scale(1.2);
}

/* Studio CTA */
.full-screen-cta {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, #000 90%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    mix-blend-mode: difference;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 10rem);
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fff;
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #ccc;
}

.btn-giant {
    font-size: 2rem;
    font-family: var(--font-heading);
    text-decoration: none;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 1.5rem 4rem;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.btn-giant:hover {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 50px var(--accent);
}

/* Interest / Join Form */
#join-interest {
    perspective: 1000px;
    background: #000;
}

.interest-card-3d {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(5, 5, 5, 1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.ic-content {
    position: relative;
    z-index: 2;
}

.creative-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    padding: 10px 0;
    font-size: 1.5rem;
    color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #666;
    pointer-events: none;
    transition: 0.3s;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.9rem;
    color: var(--accent);
}

.line-glow {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.4s ease;
}

.input-group input:focus~.line-glow {
    width: 100%;
}

.interest-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    padding: 10px 25px;
    border: 1px solid #333;
    border-radius: 50px;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.tag:hover {
    border-color: #666;
    color: #fff;
}

.tag.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

.btn-transmit {
    background: #111;
    color: #fff;
    border: 1px solid #333;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    margin-top: 2rem;
}

.btn-transmit:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.2);
}

.btn-transmit .btn-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 5%, rgba(255, 255, 255, 0.5) 5%, transparent 10%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.btn-transmit:hover .btn-glitch {
    opacity: 1;
    animation: btn-glitch-anim 0.5s infinite linear;
}

@keyframes btn-glitch-anim {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.ic-decoration .orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.05;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.intro-counter {
    text-shadow: 0 0 10px var(--accent);
    color: var(--accent);
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: #333;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent);
    position: absolute;
    top: 0;
    left: 0;
}

/* Media Queries for New Sections */
@media (max-width: 768px) {
    .showcase-wrapper {
        grid-template-columns: 1fr;
    }

    .platform-big-card {
        height: 400px;
    }
}

/* Team */
.team-list {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.member {
    flex: 1 1 300px;
    padding: 2rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.member .role {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
}

/* --- Creative Immersive Footer --- */
.main-footer {
    position: relative;
    padding: 8rem 0 2rem 0;
    background: #000;
    color: #fff;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 20%);
}

.footer-content {
    position: relative;
    z-index: 2;
}

/* Top Row */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 5rem;
}

.megafont {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 15vw, 15rem);
    line-height: 0.8;
    color: #fff;
    margin: 0;
    letter-spacing: -5px;
}

.mission-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #888;
    margin-top: 1rem;
    max-width: 400px;
    line-height: 1.4;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cta-label {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.email-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.email-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
}

/* Nav Grid */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.nav-col h4 {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.nav-col ul {
    list-style: none;
}

.nav-col ul li {
    margin-bottom: 0.8rem;
}

.nav-col ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-col ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.social-link i {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: 0.3s;
}

.social-link:hover i {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* System Status */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-family: monospace;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #0f0;
    border-radius: 50%;
    box-shadow: 0 0 10px #0f0;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.5;
    }
}

.server-time {
    font-family: monospace;
    color: #555;
    font-size: 0.9rem;
}

/* Bottom Row */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #fff;
}

.dot {
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
}

.made-with span {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .megafont {
        font-size: 4rem;
    }

    .footer-top-row {
        flex-direction: column;
        gap: 2rem;
    }

    .email-link {
        font-size: 1.5rem;
    }

    .footer-cta {
        align-items: flex-start;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mobile */
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-header h1 {
        font-size: 18vw;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-visual {
        display: none;
    }

    .pin-wrap {
        width: 100%;
        flex-direction: column;
        height: auto;
    }

    .card-rail {
        flex-direction: column;
        width: 100%;
    }

    .glass-card {
        width: 100%;
        height: 400px;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .item-1 {
        height: 400px;
        grid-column: 1;
    }

    .item-2,
    .item-3,
    .item-4 {
        margin-top: 0;
    }

    .ecosystem-layout {
        grid-template-columns: 1fr;
    }
}

/* Reason / Inspiration Section */
.reason-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reason-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.img-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--accent);
}

.inspiration-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s;
}

.img-wrapper:hover .inspiration-img {
    filter: grayscale(0%);
}

.reason-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reason-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.quote-box {
    padding: 3rem;
    border-radius: 20px;
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.quote-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.quote-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 300;
}

.quote-author {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--accent);
    text-align: right;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .reason-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reason-content .section-title {
        text-align: center;
    }

    .img-wrapper {
        transform: rotate(0deg);
        max-width: 100%;
    }

    .quote-box {
        padding: 2rem;
    }
}

/* Global Button Styles for Anchors */
a[class*="btn-"],
a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    cursor: pointer;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--accent);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 50px rgba(204, 255, 0, 0.1);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-icon i {
    font-size: 3rem;
    color: var(--accent);
    z-index: 2;
}

.icon-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
        border-width: 2px;
    }

    100% {
        transform: scale(2);
        opacity: 0;
        border-width: 0px;
    }
}

.modal-content h2 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-content p {
    color: #aaa;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Confetti particles */
.modal-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* --- Tunnel Side Decorations --- */
.tunnel-side-decor {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
    opacity: 0.3;
}

.tunnel-side-decor.left {
    left: 10%;
    transform: perspective(500px) rotateY(25deg);
}

.tunnel-side-decor.right {
    right: 10%;
    transform: perspective(500px) rotateY(-25deg);
    align-items: flex-end;
}

.decor-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    position: relative;
}

.decor-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 20px;
    height: 6px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    border-radius: 4px;
    animation: moveLight 3s infinite linear;
}

.right .decor-line::after {
    animation-direction: reverse;
}

@keyframes moveLight {
    0% {
        left: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}


/* --- Kinetic Strip (Horizontal Learn Section) --- */
.horizontal-learn-section {
    height: 100vh;
    /* Let JS handle the pin duration */
    position: relative;
    background: #000;
}

.learn-sticky-wrapper {
    height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Start from top */
    padding-top: 4vh;
}

.learn-track {
    display: flex;
    gap: 10vw;
    padding-left: 10vw;
    /* Initial offset */
    width: max-content;
    height: 65vh;
    /* Slightly reduced to fit header */
    align-items: center;
    margin-top: 2vh;
}

/* Floating Header */
.learn-header-floating {
    position: relative;
    /* In flow */
    top: auto;
    left: auto;
    padding-left: 5vw;
    z-index: 10;
}

.outline-title {
    font-size: clamp(2rem, 4vw, 4rem);
    /* Reduced size */
    font-family: var(--font-heading);
    color: #fff;
    margin: 0 0 3rem 0;
    /* Added bottom gap */
    pointer-events: none;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    /* Strong shadow for readability */
}

/* Kinetic Card Styles - Clean & Blended */
.kinetic-card {
    width: 60vw;
    /* Reverted to original width */
    height: 100%;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #050505;
    /* Removed border and glow */
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    /* Stacked layout for bg effect */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kinetic-card:hover {
    transform: scale(0.98);
    /* Subtle shrink focus */
    border-color: rgba(255, 255, 255, 0.3);
}

/* Visual Background Layer */
.kc-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.kc-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.6);
    /* Darkened and grayscaled */
    transition: all 0.6s ease;
}

.kinetic-card:hover .kc-img {
    filter: grayscale(0%) brightness(0.8);
    transform: scale(1.05);
}

.kc-noise {
    position: absolute;
    inset: 0;
    background-image: url('https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif');
    opacity: 0.07;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.kc-overlay {
    position: absolute;
    inset: 0;
    /* Smooth gradient from bottom to top for text readability */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* Content Layer */
.kc-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    background: transparent;
    /* Removed helper gradient */
}

.kc-number {
    font-size: 10vw;
    /* Responsive huge number */
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
    font-family: var(--font-heading);
}

.kc-title {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 0.9;
    margin-bottom: 1rem;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.5s;
}

.kinetic-card:hover .kc-title {
    transform: translateY(0);
}

.kc-desc {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.8;
}

.btn-kinetic {
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    align-self: flex-start;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: 0.3s;
    background: transparent;
}

.btn-kinetic:hover {
    background: transparent;
    border-color: #fff;
    padding-left: 10px;
    box-shadow: none;
    color: #fff;
}

/* Progress Bar */
.learn-progress-container {
    position: absolute;
    bottom: 5vh;
    left: 5vw;
    right: 5vw;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.learn-progress-bar {
    height: 100%;
    width: 0;
    /* JS will fill */
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
    .kinetic-card {
        width: 85vw;
        flex-direction: column;
    }

    .kc-visual,
    .kc-content {
        width: 100%;
        height: 50%;
    }

    .kc-title {
        font-size: 3rem;
    }

    .outline-title {
        font-size: 4rem;
    }
}

/* --- Interactive Team Section (Sleek & Compact) --- */
.team-aesthetic {
    /* Kept dark */
    background: #000;
}

.team-names-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.team-interactive-row {
    position: relative;
    padding: 1.5rem 0;
    /* Reduced padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-interactive-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.row-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    /* Start as a thin line */
    height: 100%;
    background: var(--accent);
    z-index: 0;
    transition: width 0.4s var(--ease-out-expo);
    opacity: 0.8;
}

.row-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    /* Compact grid */
    align-items: center;
    gap: 2rem;
    padding: 0 1.5rem;
    /* Indentation */
    transition: transform 0.4s ease;
}

.row-idx {
    font-family: var(--font-body);
    /* Theme Font */
    font-size: 0.9rem;
    color: #444;
    font-weight: 500;
    transition: color 0.3s ease;
}

.row-name {
    font-family: var(--font-heading);
    /* Theme Font */
    font-size: 1.8rem;
    /* Much smaller size */
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    /* Solid white by default */
    letter-spacing: -0.5px;
    margin: 0;
    transition: all 0.3s ease;
    -webkit-text-stroke: 0;
    /* No outline */
}

/* Metadata (Role) */
.row-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    /* Hidden by default */
    transform: translateX(10px);
    transition: all 0.4s ease;
}

.meta-role {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    /* Tiny tech text */
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--accent);
    background: rgba(255, 51, 51, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--accent);
}

.meta-icon {
    font-size: 1rem;
    color: #666;
    transition: all 0.3s;
}

/* Hover States */
.team-interactive-row:hover {
    background: rgba(255, 255, 255, 0.02);
    /* Very subtle fill */
}

.team-interactive-row:hover .row-bg {
    width: 6px;
    /* Just a thick accent bar on left */
}

.team-interactive-row:hover .row-name {
    color: var(--accent);
    /* Name lights up */
    transform: translateX(10px);
}

.team-interactive-row:hover .row-idx {
    color: #888;
}

.team-interactive-row:hover .row-meta {
    opacity: 1;
    transform: translateX(0);
}

.team-interactive-row:hover .meta-icon {
    color: #fff;
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .row-content {
        grid-template-columns: 30px 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .row-name {
        font-size: 1.4rem;
    }

    .meta-role {
        display: none;
        /* Hide role on mobile to save space */
    }

    .row-meta {
        opacity: 1;
        /* Keep icon visible */
        transform: none;
    }
}

/* --- Live Animated Footer (Cyber Grid) --- */
.live-footer {
    position: relative;
    background-color: #020202;
    color: #fff;
    overflow: hidden;
    padding: 0;
    font-family: var(--font-body);
}

/* Background Grid Animation */
.footer-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    perspective: 1000px;
    background: radial-gradient(circle at 50% 0%, #111 0%, #000 70%);
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.05);
}

.grid-line.vertical {
    top: 0;
    bottom: 0;
    width: 1px;
}

.grid-line.vertical:nth-child(1) {
    left: 20%;
}

.grid-line.vertical:nth-child(2) {
    left: 40%;
}

.grid-line.vertical:nth-child(3) {
    left: 60%;
}

.grid-line.vertical:nth-child(4) {
    left: 80%;
}

.grid-line.horizontal {
    left: 0;
    right: 0;
    height: 1px;
    opacity: 0.1;
}

/* Continuous Flow Animation (Not Scanning) */
.footer-grid-bg {
    animation: bgFlow 20s infinite linear;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 80%);
    background-size: 200% 200%;
}

@keyframes bgFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glow Orb - Gentle Breathing */
.footer-glow-orb {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    animation: orbBreath 6s ease-in-out infinite alternate;
}

@keyframes orbBreath {
    0% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Content Wrapper */
.footer-content-wrapper {
    position: relative;
    z-index: 5;
    padding: 0 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Live Model Simulation Area */
.live-model-area {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 51, 0.03), transparent);
}

.model-simulation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 60px;
    perspective: 500px;
}

/* Frequency Bars */
.viz-bars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.viz-bars span {
    display: block;
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: vizWave 1.2s ease-in-out infinite alternate;
}

.viz-bars span:nth-child(odd) {
    animation-duration: 0.8s;
}

.viz-bars span:nth-child(2n) {
    animation-duration: 1.1s;
}

.viz-bars span:nth-child(3n) {
    animation-duration: 1.4s;
}

.viz-bars span:nth-child(5n) {
    animation-duration: 0.9s;
}

@keyframes vizWave {
    0% {
        height: 5px;
        opacity: 0.3;
    }

    100% {
        height: 30px;
        opacity: 1;
    }
}

/* 3D Model Proxy (Rotating Rings) */
.model-proxy {
    position: relative;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: floatingModel 4s ease-in-out infinite alternate;
}

.proxy-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #fff;
    animation: corePulse 2s infinite;
}

.proxy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--accent);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.proxy-ring.r1 {
    width: 40px;
    height: 40px;
    border-color: rgba(255, 51, 51, 0.8);
    animation: spinRing1 4s linear infinite;
}

.proxy-ring.r2 {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 51, 51, 0.4);
    animation: spinRing2 6s linear infinite reverse;
}

@keyframes spinRing1 {
    0% {
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
    }
}

@keyframes spinRing2 {
    0% {
        transform: translate(-50%, -50%) rotateY(60deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(60deg) rotateZ(360deg);
    }
}

@keyframes corePulse {
    0% {
        box-shadow: 0 0 5px #fff;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        box-shadow: 0 0 20px #fff;
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        box-shadow: 0 0 5px #fff;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes floatingModel {
    0% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(5px);
    }
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Brand Col */
.mega-brand {
    font-family: var(--font-heading);
    /* Smaller version for top column to avoid conflict with bottom massive text */
    font-size: 3rem;
    line-height: 1;
    margin: 0 0 1rem 0;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.live-status-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.pulse-ring {
    width: 12px;
    height: 12px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 65, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 65, 0);
    }
}

/* Nav Col */
.lf-col h3 {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin-bottom: 1rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
    transform: translateX(10px);
    text-shadow: 0 0 10px var(--accent);
}

/* Contact Col */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-card:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.contact-card i {
    font-size: 1.2rem;
}

.phone-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.phone-link {
    display: block;
    color: #aaa;
    text-decoration: none;
    padding: 0.8rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    font-size: 1rem;
}

.phone-link:hover {
    border-left-color: var(--accent);
    color: #fff;
    padding-left: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
}

.p-icon {
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 0.5rem;
    opacity: 0.5;
}

/* Massive Brand Text (Preserved from Duten Footer) */
.massive-brand {
    font-family: var(--font-heading);
    font-size: 20vw;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    text-align: center;
    position: relative;
    user-select: none;
    width: 100%;
    letter-spacing: -1vw;
    opacity: 0;
    /* Hidden by default for reveal */
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    /* Interactive cursor follow */
    cursor: default;
}

/* Massive Brand Text - Ultra Interactive Mode */
.massive-brand {
    font-family: var(--font-heading);
    font-size: 20vw;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    text-align: center;
    position: relative;
    user-select: none;
    width: 100%;
    letter-spacing: -1vw;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: crosshair;
    /* Precision cursor */
}

/* Reveal State */
.massive-brand.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: textFloat 6s ease-in-out infinite alternate;
}

@keyframes textFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Hover - Neon Fill & Glitch Trigger */
.massive-brand:hover {
    -webkit-text-stroke: 1px #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px var(--accent);
    color: rgba(255, 255, 255, 0.05);
}

/* Duplicated Layers for Glitch Effect (Pseudo-elements) */
.massive-brand::before,
.massive-brand::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020202;
    /* Match footer bg */
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    /* Hidden by default */
    transform: translateX(0);
}

/* Red Channel Glitch on Hover */
.massive-brand:hover::before {
    text-shadow: 2px 0 red;
    animation: glitch-anim-1 0.4s infinite linear alternate-reverse;
    -webkit-text-stroke: 1px red;
    opacity: 0.7;
    mix-blend-mode: hard-light;
}

/* Cyan Channel Glitch on Hover */
.massive-brand:hover::after {
    text-shadow: -2px 0 cyan;
    animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
    -webkit-text-stroke: 1px cyan;
    opacity: 0.7;
    mix-blend-mode: hard-light;
}

/* Scanning Line Overlay */
.massive-brand-container {
    position: relative;
    overflow: hidden;
}

.massive-brand-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    animation: shineScan 3s infinite;
    pointer-events: none;
}

@keyframes shineScan {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Glitch Keyframes */
@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 1px);
    }

    20% {
        clip-path: inset(60% 0 1% 0);
        transform: translate(1px, -1px);
    }

    40% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-1px, 2px);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    80% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-1px, 1px);
    }

    100% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(1px, -1px);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(1px, -1px);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-1px, 1px);
    }

    40% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, -2px);
    }

    60% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, 2px);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(1px, -1px);
    }

    100% {
        clip-path: inset(0% 0 80% 0);
        transform: translate(-1px, 1px);
    }
}

/* Bottom */
.lf-bottom {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-bar {
    display: flex;
    gap: 2rem;
}

.social-bar a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.social-bar a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.social-bar a:hover {
    color: #fff;
}

.social-bar a:hover::before {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .massive-brand {
        font-size: 25vw;
        letter-spacing: -2vw;
    }
}