:root {
    /* Color Palette */
    --bg-color: #050505;
    --surface-color: rgba(20, 20, 20, 0.6);
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    
    /* Neon Accents */
    --neon-cyan: #ffc200;
    --neon-green: #00ff00;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Background Blobs for Atmosphere */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--neon-cyan);
    top: -100px;
    left: -100px;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--neon-green);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Utility Classes */
.glass {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(255, 194, 0, 0.5);
}
.neon-text-small {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
}
.neon-heading-small {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    
    /* Glassmorphism & Round Rectangle */
    border-radius: 20px;
    background: rgba(15, 20, 35, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    /* Shiny Edges like reference */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}
.logo span {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-link:hover {
    color: var(--neon-cyan);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-cyan);
}
.nav-link:hover::after {
    width: 100%;
}

/* Main Layout */
main {
    padding: 0 5%;
    padding-top: 120px; /* offset for fixed navbar */
}
section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh; /* keep hero tall */
}
.hero-content {
    max-width: 600px;
}
.greeting {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.glitch {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    position: relative;
    margin-bottom: 0.5rem;
}
.subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.bio {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}
.btn-primary {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.2), inset 0 0 15px rgba(255, 194, 0, 0.1);
}
.btn-primary:hover {
    background: var(--neon-cyan);
    color: var(--bg-color);
    box-shadow: 0 0 25px rgba(255, 194, 0, 0.6);
}

.btn-outline.neon-border {
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline.neon-border:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4), inset 0 0 10px rgba(0, 255, 0, 0.2);
    color: #fff;
}

/* Hero Graphic & 3D CSS Cube */
.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.neon-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(255, 194, 0, 0.3);
    box-shadow: 0 0 40px rgba(255, 194, 0, 0.2);
    animation: rotate 20s linear infinite;
}
.neon-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%;
    width: 20px; height: 4px;
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.cube-container {
    perspective: 800px;
}
.cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 10s infinite linear;
}
.face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--neon-green);
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
}
.front  { transform: rotateY(  0deg) translateZ(50px); }
.right  { transform: rotateY( 90deg) translateZ(50px); }
.back   { transform: rotateY(180deg) translateZ(50px); }
.left   { transform: rotateY(-90deg) translateZ(50px); }
.top    { transform: rotateX( 90deg) translateZ(50px); }
.bottom { transform: rotateX(-90deg) translateZ(50px); }

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

/* Sections General */
.section-header {
    margin-bottom: 4rem;
    position: relative;
}
.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--neon-cyan);
    margin-top: 10px;
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.5s ease;
}
section:hover .section-header .line {
    width: 120px;
}

/* Expertise Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.skill-card {
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-card h3 {
    font-family: var(--font-heading);
    margin: 1rem 0;
    font-size: 1.4rem;
}
.skill-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}
.skill-card .icon {
    font-size: 2.5rem;
}
.hover-glow:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 194, 0, 0.1);
    border-color: rgba(255, 194, 0, 0.3);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}
.project-card {
    border-radius: 16px;
    overflow: hidden;
    padding: 1.5rem;
    transition: transform 0.3s, border-color 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0, 255, 0, 0.15);
}
.img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}
.view-project {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease, background 0.3s, box-shadow 0.3s;
}
.project-card:hover .img-wrapper img {
    transform: scale(1.05);
}
.project-card:hover .overlay {
    opacity: 1;
}
.project-card:hover .view-project {
    transform: translateY(0);
    background: rgba(255, 194, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 194, 0, 0.3);
}
.project-info {
    margin-top: 1.5rem;
}
.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

/* Contact Section */
.contact {
    align-items: center;
    text-align: center;
}
.contact-card {
    padding: 4rem;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
}
.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.social-btn {
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s;
}

/* Form Styles */
.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 3rem;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    transition: all 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(255, 194, 0, 0.05);
    box-shadow: 0 0 10px rgba(255, 194, 0, 0.2);
}
.schedule-form .btn-primary {
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Testimonials Carousel */
.testimonials {
    text-align: center;
}
.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding: 1rem 0;
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}
.testimonial-card {
    min-width: 100%;
    scroll-snap-align: center;
    padding: 3rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.testimonial-card .quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    max-width: 500px;
}
.carousel-btn {
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-size: 3rem;
    cursor: pointer;
    padding: 0 1rem;
    z-index: 10;
    transition: transform 0.3s, text-shadow 0.3s;
}
.carousel-btn:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 194, 0, 0.8);
}
.prev-btn { margin-right: -1rem; }
.next-btn { margin-left: -1rem; }

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.slide-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    .hero-graphic {
        margin-top: 4rem;
    }
    .glitch {
        font-size: 2.5rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .bio {
        margin: 0 auto 2.5rem;
    }
}

/* --- Added for Crazy Cut Ai Studio --- */

/* Hologram Grid Background */
.hologram-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 194, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 194, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    transform-origin: top;
    pointer-events: none;
}

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

/* Nav Link Active State */
.nav-link.active {
    color: var(--neon-cyan);
}
.nav-link.active::after {
    width: 100%;
}

/* Logo Image */
.logo-img {
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 194, 0, 0.5));
}
.logo-link {
    display: flex;
    align-items: center;
}

/* Utility Classes */
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

/* About Page & Services Pages specific layout */
.stats-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    flex-wrap: wrap;
}
.stat-card { text-align: center; padding: 1rem; }
.stat-number { font-size: 3rem; font-family: var(--font-heading); font-weight: 900; }
.stat-label { color: var(--text-secondary); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.about-content, .contact-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}
.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Portfolio Placeholder */
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(10,10,10,1) 0%, rgba(30,0,30,1) 100%);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    border: 1px solid rgba(255, 194, 0, 0.1);
    box-sizing: border-box;
}

/* Hologram Particle Tweaks */
.hologram-particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: radial-gradient(circle at center, rgba(255, 194, 0, 0.05) 0%, transparent 60%);
}

/* --- Landing Page Additions --- */

/* Hero Waves Background */
.page-home .hero {
    position: relative;
    overflow: visible;
}
.page-home .hero::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at bottom, rgba(255, 194, 0, 0.15) 0%, transparent 60%);
    filter: blur(20px);
    z-index: -1;
}

/* Client Logo Slider */
.client-slider {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(10,10,10,0.4);
    margin: 4rem 0;
}
.client-slider-track {
    display: flex;
    width: calc(200px * 30);
    animation: scrollLogos 20s linear infinite;
}
.client-logo {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.client-logo:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 15)); }
}

/* Stats Strip */
.stats-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    margin: 4rem auto;
    text-align: center;
    max-width: 1200px;
    min-height: auto; /* Override 100vh from section */
}
.stat-item h3 {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.stat-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Services Snapshot */
.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}
.service-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}
.service-card h4 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* Process Flow */
.process-section {
    padding: 6rem 0;
}
.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    background: var(--surface-color);
}
.process-step h4 {
    color: var(--text-primary);
}
.process-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 194, 0, 0.2);
    margin: 0 1rem;
    transform: translateY(-20px);
    position: relative;
}

/* Portfolio Preview */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}
.preview-card.img-wrapper {
    aspect-ratio: 4/3;
    border-radius: 12px;
}
.hover-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.metric {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 900;
}

/* Minimal Testimonials */
.testim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.testim-card {
    padding: 3rem;
    border-radius: 16px;
    text-align: left;
}
.testim-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Portfolio Slider Configuration */
.square-card {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}
@keyframes scrollPortfolio {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-332px * 5)); } /* 300px width + 32px gap = 332px * 5 unique cards */
}
.portfolio-slider:hover .portfolio-track {
    animation-play-state: paused;
}

/* Split Testimonials Layout */
.split-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 4rem;
    border-radius: 20px;
    align-items: center;
}
.split-left {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
.quote-icon {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.8;
}
.split-right {
    flex: 1;
    min-width: 300px;
    height: 500px;
    position: relative;
    border-left: 1px solid rgba(255,255,255,0.05);
    padding-left: 2rem;
}

@media (max-width: 900px) {
    .split-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 2rem;
    }
}

/* Vertical Auto-Scrolling Box */
.vert-marquee-mask {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Soften the top and bottom edges */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.vert-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: scrollVertical 30s linear infinite;
    padding: 1rem 0;
}
.vert-marquee-mask:hover .vert-marquee-track {
    animation-play-state: paused;
}
@keyframes scrollVertical {
    0% { transform: translateY(0); }
    /* Scroll past the original 5 items to perfectly loop */
    100% { transform: translateY(calc(-50% - 1rem)); } 
}

@keyframes scrollHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

@media (max-width: 768px) {
    .split-right {
        height: auto;
        padding-top: 2rem;
    }
    .vert-marquee-mask {
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        padding: 1rem 0;
        overflow-x: hidden;
    }
    .vert-marquee-track {
        flex-direction: row;
        width: max-content;
        animation: scrollHorizontal 25s linear infinite;
        padding: 0;
    }
    .vert-card {
        width: 320px;
        flex-shrink: 0;
    }
}
/* Vert Card Styling */
.vert-card {
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.vert-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.client-auth {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}
.client-auth span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Added for New Visuals & Infographic --- */

/* Sphere Visual */
.sphere-container {
    perspective: 800px;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sphere {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 15s infinite linear;
}
.sphere .ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(255, 194, 0, 0.4), inset 0 0 15px rgba(255, 194, 0, 0.2);
}
.ring1 { transform: rotateY(0deg) rotateX(45deg); }
.ring2 { transform: rotateY(60deg) rotateX(45deg); }
.ring3 { transform: rotateY(120deg) rotateX(45deg); }
.ring4 { transform: rotateY(90deg) rotateX(-45deg); }

/* Energy Core Visual */
.core-container {
    perspective: 800px;
    width: 150px;
    height: 150px;
    position: relative;
}
.core-outer, .core-inner {
    position: absolute;
    transform-style: preserve-3d;
}
.core-outer {
    width: 150px;
    height: 150px;
    animation: rotate-cube 12s infinite linear;
}
.core-inner {
    width: 100px;
    height: 100px;
    top: 25px;
    left: 25px;
    animation: rotate-cube 8s infinite linear reverse;
}
.c-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid var(--neon-green);
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2), 0 0 10px rgba(0, 255, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.co-front  { transform: rotateY(  0deg) translateZ(75px); }
.co-right  { transform: rotateY( 90deg) translateZ(75px); }
.co-back   { transform: rotateY(180deg) translateZ(75px); }
.co-left   { transform: rotateY(-90deg) translateZ(75px); }
.co-top    { transform: rotateX( 90deg) translateZ(75px); }
.co-bottom { transform: rotateX(-90deg) translateZ(75px); }

.ci-front  { transform: rotateY(  0deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-right  { transform: rotateY( 90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-back   { transform: rotateY(180deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-left   { transform: rotateY(-90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-top    { transform: rotateX( 90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-bottom { transform: rotateX(-90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }

/* Infographic Section */
.infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.info-card {
    padding: 3rem;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-card h3 {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
}
.info-card.active-card h3 {
    font-weight: 500;
}
.info-icon {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Horizontal Portfolio Slider --- */
.portfolio-category {
    padding-bottom: 2rem;
}
.horizontal-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 5%; 
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    cursor: grab; /* Indicates dragging is possible */
}
.horizontal-slider:active {
    cursor: grabbing;
}
.horizontal-slider.double-layer {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
}
.horizontal-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.slider-item {
    flex: 0 0 auto;
    width: 320px;
    height: 320px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 768px) {
    .slider-item {
        width: 250px;
        height: 250px;
    }
}
.slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 194, 0, 0.15);
    border-color: var(--neon-cyan);
}

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

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85); /* Dark background */
    backdrop-filter: blur(15px); /* Blurs the rest of the page */
    -webkit-backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 194, 0, 0.3);
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    line-height: 1;
}
.close-btn:hover {
    color: var(--neon-cyan);
    transform: scale(1.1);
}

/* --- Redesigned Services Page Styles --- */

.services-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 6rem;
}

/* Hero Section override for services */
.services-hero {
    text-align: center;
    padding: 6rem 0 4rem;
}
.services-hero h1 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.services-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Service Showcase (Videos and Shoots) */
.service-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.service-showcase.reverse {
    grid-template-columns: 1fr 1fr;
}
.service-showcase.reverse .showcase-content {
    order: 2;
}
.service-showcase.reverse .showcase-visual {
    order: 1;
}

@media (max-width: 950px) {
    .service-showcase, .service-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 4rem 0;
    }
    .service-showcase.reverse .showcase-content {
        order: 1;
    }
    .service-showcase.reverse .showcase-visual {
        order: 2;
    }
}

.showcase-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.showcase-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Showcase Visual Graphics */
.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}
.visual-frame {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.visual-glow {
    position: absolute;
    width: 105%;
    height: 105%;
    top: -2.5%; left: -2.5%;
    z-index: -1;
    border-radius: 20px;
    filter: blur(40px);
    opacity: 0.2;
    transition: opacity 0.5s, transform 0.5s;
}
.service-showcase:hover .visual-glow {
    opacity: 0.5;
    transform: scale(1.05);
}
.glow-cyan { background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%); }
.glow-green { background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%); }

/* Interactive Tabs inside main services */
.showcase-tabs-container {
    margin-top: 2rem;
}
.showcase-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}
.showcase-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.showcase-tab:hover {
    color: #fff;
}
.showcase-tab.active {
    color: var(--neon-cyan);
}
.showcase-tab.active-green {
    color: var(--neon-green);
}
.showcase-tab::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s;
}
.showcase-tab.active::after {
    width: 100%;
}
.showcase-tab.active-green::after {
    width: 100%;
    background: var(--neon-green);
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.5s ease forwards;
}
.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bullet list style inside panels */
.interactive-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .interactive-list {
        grid-template-columns: 1fr;
    }
}
.interactive-list li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}
.interactive-list li::before {
    content: '✦';
    position: absolute;
    left: 0.2rem;
    color: var(--neon-cyan);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-cyan);
}
.interactive-list.list-green li::before {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

/* Traditional vs AI Comparison Engine (Redesigned Dashboard Simulator) */
.comparison-section {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-dashboard {
    max-width: 1100px;
    margin: 3rem auto 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 12, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05),
                inset 0 0 40px rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    --calc-accent: var(--neon-cyan); /* Gold default */
}

.calc-dashboard:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.calc-db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.75rem;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-db-logo {
    display: flex;
    align-items: center;
}

.db-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}
.dot-red { background: #ff5f56; box-shadow: 0 0 5px rgba(255, 95, 86, 0.3); }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 5px rgba(255, 189, 46, 0.3); }
.dot-green { background: #27c93f; box-shadow: 0 0 5px rgba(39, 201, 63, 0.3); }

.db-logo-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1.8px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-left: 0.75rem;
    text-transform: uppercase;
}

.calc-db-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--neon-green);
    font-weight: 700;
    letter-spacing: 1.2px;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    animation: status-pulse-anim 2s infinite;
}

@keyframes status-pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

.calc-db-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

@media (max-width: 950px) {
    .calc-db-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 1.5rem;
    }
}

.calc-db-left, .calc-db-right {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.calc-db-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.calc-db-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.calc-type-selector, .calc-control {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.calc-control:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.input-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.type-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.type-pill {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.type-pill:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

#btn-type-video.active {
    background: rgba(255, 194, 0, 0.08);
    border-color: rgba(255, 194, 0, 0.25);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.15);
}

#btn-type-shoot.active {
    background: rgba(0, 255, 0, 0.08);
    border-color: rgba(0, 255, 0, 0.25);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.12);
}

.calc-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calc-control-header label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.slider-val-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    min-width: 50px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.calc-control:hover .slider-val-box {
    border-color: var(--calc-accent, var(--neon-cyan));
}

.slider-val {
    color: var(--calc-accent, var(--neon-cyan));
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 8px var(--calc-accent, var(--neon-cyan));
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    outline: none;
    margin: 0.8rem 0;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--calc-accent, var(--neon-cyan));
    cursor: pointer;
    box-shadow: 0 0 10px var(--calc-accent, var(--neon-cyan));
    transition: transform 0.1s, background-color 0.3s, box-shadow 0.3s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: var(--calc-accent, var(--neon-cyan));
    cursor: pointer;
    box-shadow: 0 0 10px var(--calc-accent, var(--neon-cyan));
    transition: transform 0.1s, background-color 0.3s, box-shadow 0.3s;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.db-results-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.02) 100%),
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.015) 2px, rgba(0, 255, 0, 0.015) 4px);
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.05), inset 0 0 25px rgba(0, 255, 0, 0.03);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-card-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.results-card-big-value {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ff00, #55ff55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.35));
    margin-bottom: 0;
    line-height: 1;
}

.results-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 1.75rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.results-col {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.results-col:hover {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.06);
}

.results-col.ai-highlight {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--calc-accent);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) inset, 0 0 15px var(--calc-accent);
}

.res-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.res-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.val-danger {
    color: #ff5f56;
    text-shadow: 0 0 10px rgba(255, 95, 86, 0.2);
}

.val-success {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.25);
}

.db-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1rem;
    width: 100%;
}

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

.db-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
}

.db-btn.btn-primary {
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.15), inset 0 0 10px rgba(0, 255, 0, 0.05);
}

.db-btn.btn-primary:hover {
    background: var(--neon-green);
    color: var(--bg-color);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}

.db-btn.btn-secondary {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.db-btn.btn-secondary:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25), inset 0 0 10px rgba(0, 242, 254, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Capabilities Hub (Grid & Filters) */
.capabilities-section {
    padding: 6rem 0;
}
.capabilities-filter-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: -2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}
.filter-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}
.filter-tab.active {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(255, 194, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.15);
}

.capabilities-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1.5rem;
}

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

.capability-item-card {
    position: relative;
    padding: 1.5rem 1.5rem;
    border-radius: 16px;
    background: rgba(15, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, border-color 0.4s ease, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    z-index: 1;
}

.capability-item-card.hidden {
    display: none;
    opacity: 0;
}

/* Mouse-tracking glow pseudo-element */
.capability-item-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(0, 255, 0, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    pointer-events: none;
}
.capability-item-card.systems-card::before {
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 194, 0, 0.06),
        transparent 40%
    );
}

.capability-item-card:hover::before {
    opacity: 1;
}

/* Bento classes */
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

@media (max-width: 1024px) {
    .bento-wide { grid-column: span 2; }
    .bento-tall { grid-row: span 1; }
}
@media (max-width: 600px) {
    .bento-wide { grid-column: span 1; }
}

/* Content layout inside card */
.capability-item-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: #fff;
    line-height: 1.2;
}

.capability-item-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cap-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto; /* Push content to bottom */
    color: var(--neon-green);
    transition: all 0.4s ease;
}
.systems-card .cap-icon-box {
    color: var(--neon-cyan);
}

.cap-icon-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.capability-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.05);
}
.capability-item-card.systems-card:hover {
    border-color: rgba(255, 194, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 194, 0, 0.05);
}

.capability-item-card:hover .cap-icon-box {
    transform: scale(1.1) translateY(-5px);
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--neon-green);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.2);
}
.capability-item-card.systems-card:hover .cap-icon-box {
    background: rgba(255, 194, 0, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 20px rgba(255, 194, 0, 0.2);
}

/* Services Page Split Columns Responsive Helpers */
.services-split-left {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}
.services-split-right {
    flex: 1;
    min-width: 300px;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
    .services-split-left, .services-split-right {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none !important;
    }
    .services-split-right {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 2rem !important;
    }
}

/* Service Showcase Slider Cards */
.services-slider {
    padding: 2rem 5% 3rem !important;
    gap: 2rem !important;
}
.service-card-slide {
    flex: 0 0 auto;
    width: 360px;
    min-height: 420px;
    height: auto;
    scroll-snap-align: start;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s, border-color 0.4s;
    cursor: grab;
    position: relative;
    overflow: hidden;
}
.service-card-slide:active {
    cursor: grabbing;
}
.service-card-slide:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 35px rgba(255, 194, 0, 0.1), 0 0 20px rgba(255, 194, 0, 0.05);
}
.service-card-slide.green-theme:hover {
    border-color: var(--neon-green);
    box-shadow: 0 15px 35px rgba(0, 255, 0, 0.1), 0 0 20px rgba(0, 255, 0, 0.05);
}

.service-card-slide .slide-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}
.service-card-slide h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: #fff;
    letter-spacing: -0.5px;
}
.service-card-slide .slide-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--neon-cyan);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.service-card-slide.green-theme .slide-badge {
    color: var(--neon-green);
}
.service-card-slide p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Bullet list styling in slide card */
.slide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.slide-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.slide-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-cyan);
}
.service-card-slide.green-theme .slide-list li::before {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

@media (max-width: 500px) {
    .service-card-slide {
        width: 290px;
        min-height: 380px;
        height: auto;
        padding: 1.8rem;
    }
    .service-card-slide h3 {
        font-size: 1.3rem;
    }
    .service-card-slide .slide-badge {
        margin-bottom: 1rem;
    }
}

/* Smooth Dragging visual settings */
.horizontal-slider.dragging {
    cursor: grabbing;
    user-select: none;
}

/* Slider Controls Navigation Buttons */
.slider-control-btn {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.slider-control-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.4);
    transform: translateY(-2px);
}
.slider-control-btn svg {
    transition: transform 0.3s ease;
}
.slider-control-btn:hover svg {
    transform: scale(1.1);
}
.slider-control-btn:active {
    transform: translateY(0);
}

/* --- Flagship Services Grid Redesign (Three-Column Layout) --- */
.flagship-section {
    padding: 6rem 0 4rem;
    position: relative;
}

.flagship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
    align-items: stretch;
}

.flagship-card {
    position: relative;
    border-radius: 20px;
    padding: 3rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s, border-color 0.4s;
    background: rgba(12, 12, 16, 0.85);
    min-height: 480px;
}

.flagship-card:hover {
    transform: translateY(-5px);
}

/* Color theme styling */
.flagship-card.cyan-theme {
    --card-accent: var(--neon-cyan);
    --card-glow: rgba(255, 194, 0, 0.15);
}

.flagship-card.green-theme {
    --card-accent: var(--neon-green);
    --card-glow: rgba(0, 255, 0, 0.15);
}

/* Featured / Center Card Elevate */
.flagship-card.featured {
    transform: scale(1.03);
    border-color: var(--card-accent);
    box-shadow: 0 15px 35px var(--card-glow), 0 0 25px rgba(255, 255, 255, 0.02);
    z-index: 2;
}

.flagship-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 45px var(--card-glow), 0 0 35px var(--card-glow);
}

/* Floating top badge icon */
.flagship-badge-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #050505;
    border: 2px solid var(--card-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 0 15px var(--card-glow);
    z-index: 3;
}

/* Pill badge styling */
.flagship-pill {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--card-accent);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.flagship-card.featured .flagship-pill {
    border-color: var(--card-accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Card titles and text */
.flagship-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.flagship-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flagship-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Divider line */
.flagship-divider {
    width: 100%;
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    margin: 1.5rem 0;
}

/* Feature checklist styling */
.flagship-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
    margin-bottom: 2rem;
    text-align: left;
}

.flagship-feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.flagship-feature-list li span {
    padding-top: 1px;
}

/* Glowing Cutout Check icon style */
.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 0.85rem;
    display: inline-block;
    filter: drop-shadow(0 0 4px var(--card-accent));
}

.check-icon circle {
    fill: var(--card-accent);
}

.check-icon polyline {
    fill: none;
    stroke: #0a0a0e; /* Cutout effect matching card dark background rgba(12, 12, 16, 0.85) */
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Button in card */
.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.cyan-theme .btn-card {
    background: rgba(255, 194, 0, 0.06);
    border: 1px solid rgba(255, 194, 0, 0.25);
    color: #fff;
}

.cyan-theme .btn-card:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.4);
    transform: translateY(-2px);
}

.green-theme .btn-card {
    background: rgba(0, 255, 0, 0.06);
    border: 1px solid rgba(0, 255, 0, 0.25);
    color: #fff;
}

.green-theme .btn-card:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}

/* Featured button gets filled style initially */
.flagship-card.featured.cyan-theme .btn-card {
    background: var(--neon-cyan);
    color: #000;
    border: none;
}
.flagship-card.featured.cyan-theme .btn-card:hover {
    box-shadow: 0 0 20px rgba(255, 194, 0, 0.6);
}

.flagship-card.featured.green-theme .btn-card {
    background: var(--neon-green);
    color: #000;
    border: none;
}
.flagship-card.featured.green-theme .btn-card:hover {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

/* Responsive Grid styling */
@media (max-width: 992px) {
    .flagship-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        max-width: 480px;
    }
    
    .flagship-card.featured {
        transform: scale(1);
    }
    
    .flagship-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Flagship Services (3-Card Pricing Table Design) */
.flagship-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

/* Toggle Switch */
.flagship-toggle-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.flagship-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.flagship-toggle .toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flagship-toggle .toggle-btn.active {
    background: rgba(0, 255, 0, 0.1);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    border: 1px solid var(--neon-green);
}

/* Cards Container */
.flagship-cards-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 1.5rem;
    align-items: center; /* This makes the center card visibly taller because the sides are shorter */
}

/* Individual Card */
.flagship-card {
    position: relative;
    background: rgba(15, 20, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

/* Elevated Center Card */
.flagship-card.center-card {
    background: linear-gradient(180deg, rgba(0, 50, 0, 0.3) 0%, rgba(15, 20, 35, 0.9) 100%);
    border: 1px solid var(--neon-green);
    padding: 3.5rem 1.5rem 2rem; /* Taller padding */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.2);
    z-index: 3;
}

/* Floating Top Icon */
.card-floating-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: #0a0e17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.3);
}
.center-card .card-floating-icon {
    width: 56px;
    height: 56px;
    top: -28px;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.icon-inner {
    width: 20px;
    height: 20px;
    background: currentColor;
}
.icon-circle { border-radius: 50%; color: var(--neon-cyan); box-shadow: 0 0 10px currentColor; }
.icon-triangle { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); color: var(--neon-green); box-shadow: 0 0 10px currentColor; }
.icon-hexagon { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); color: var(--neon-cyan); box-shadow: 0 0 10px currentColor; }

/* Pill and Text Styling */
.card-pill {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}
.center-card .card-pill {
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.card-big-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.center-card .card-big-title {
    font-size: 2.8rem;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
    width: 100%;
}

/* Checkmark List */
.card-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}
.card-check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #ccc;
}
.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255, 194, 0, 0.15);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}
.check-icon::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid var(--neon-cyan);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}
.center-card .check-icon {
    background: rgba(0, 255, 0, 0.15);
}
.center-card .check-icon::after {
    border-color: var(--neon-green);
}

/* Glow Button */
.btn-card-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-card-glow:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
.center-card .btn-card-glow {
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--neon-green);
}
.center-card .btn-card-glow:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.btn-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}
.btn-icon.circle { border-radius: 50%; border: 2px solid var(--neon-cyan); }
.btn-icon.triangle { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); background: var(--neon-green); }
.btn-icon.hexagon { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: var(--neon-cyan); }

/* Responsive Adjustments */
@media (max-width: 950px) {
    .flagship-cards-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 3rem;
    }
    .flagship-card.center-card {
        padding: 2.5rem 1.5rem 1.5rem; /* Reset to match others on mobile */
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--neon-cyan);
    margin: 4px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--neon-cyan);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .navbar .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .navbar .nav-menu.active {
        right: 0;
    }
    
    .navbar .nav-menu .nav-link {
        margin: 1.5rem 0;
        font-size: 1.8rem;
    }
    
    /* Hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-8px, -8px);
    }
}

/* ==============================================
   PORTFOLIO VERTICAL MAGAZINE LAYOUT
============================================== */

.page-portfolio {
    /* Normal vertical scrolling */
    background: var(--bg-color);
}

.magazine-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    gap: 4rem;
}

.magazine-block.block-reverse {
    flex-direction: row-reverse;
}

.mag-text-col {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mag-meta {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mag-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.mag-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mag-img-col {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
}

/* Staggered Grids */
.mag-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.mag-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.mag-item img, .mag-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* STRICT SQUARE AS REQUESTED */
    transition: transform 0.6s ease;
}

.mag-item:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
    border-color: rgba(var(--neon-green-rgb), 0.5);
    box-shadow: 0 15px 40px rgba(var(--neon-green-rgb), 0.2);
}

.mag-item:hover img, .mag-item:hover video {
    transform: scale(1.05);
}

/* Specific Grid Layouts */
.mag-grid-12 {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns, 4 rows for 12 items */
}

.mag-grid-videos {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense; /* Fill in gaps */
}

/* Base aspect ratio is 1/1 for squares */
.mag-item {
    aspect-ratio: 1 / 1;
}
.mag-item img, .mag-item video {
    aspect-ratio: auto; /* Let the container dictate the shape */
}

/* Special video masonry classes */
.item-horiz {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.item-vert {
    grid-row: span 2;
    aspect-ratio: 1 / 2;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    .hero-graphic {
        margin-top: 4rem;
    }
    .glitch {
        font-size: 2.5rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .bio {
        margin: 0 auto 2.5rem;
    }
}

/* --- Added for Crazy Cut Ai Studio --- */

/* Hologram Grid Background */
.hologram-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 194, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 194, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    transform-origin: top;
    pointer-events: none;
}

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

/* Nav Link Active State */
.nav-link.active {
    color: var(--neon-cyan);
}
.nav-link.active::after {
    width: 100%;
}

/* Logo Image */
.logo-img {
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 194, 0, 0.5));
}
.logo-link {
    display: flex;
    align-items: center;
}

/* Utility Classes */
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

/* About Page & Services Pages specific layout */
.stats-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    flex-wrap: wrap;
}
.stat-card { text-align: center; padding: 1rem; }
.stat-number { font-size: 3rem; font-family: var(--font-heading); font-weight: 900; }
.stat-label { color: var(--text-secondary); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.about-content, .contact-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}
.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Portfolio Placeholder */
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(10,10,10,1) 0%, rgba(30,0,30,1) 100%);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    border: 1px solid rgba(255, 194, 0, 0.1);
    box-sizing: border-box;
}

/* Hologram Particle Tweaks */
.hologram-particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: radial-gradient(circle at center, rgba(255, 194, 0, 0.05) 0%, transparent 60%);
}

/* --- Landing Page Additions --- */

/* Hero Waves Background */
.page-home .hero {
    position: relative;
    overflow: visible;
}
.page-home .hero::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at bottom, rgba(255, 194, 0, 0.15) 0%, transparent 60%);
    filter: blur(20px);
    z-index: -1;
}

/* Client Logo Slider */
.client-slider {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(10,10,10,0.4);
    margin: 4rem 0;
}
.client-slider-track {
    display: flex;
    width: calc(200px * 30);
    animation: scrollLogos 20s linear infinite;
}
.client-logo {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.client-logo:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 15)); }
}

/* Stats Strip */
.stats-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    margin: 4rem auto;
    text-align: center;
    max-width: 1200px;
    min-height: auto; /* Override 100vh from section */
}
.stat-item h3 {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.stat-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Services Snapshot */
.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}
.service-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}
.service-card h4 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* Process Flow */
.process-section {
    padding: 6rem 0;
}
.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    background: var(--surface-color);
}
.process-step h4 {
    color: var(--text-primary);
}
.process-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 194, 0, 0.2);
    margin: 0 1rem;
    transform: translateY(-20px);
    position: relative;
}

/* Portfolio Preview */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}
.preview-card.img-wrapper {
    aspect-ratio: 4/3;
    border-radius: 12px;
}
.hover-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.metric {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 900;
}

/* Minimal Testimonials */
.testim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.testim-card {
    padding: 3rem;
    border-radius: 16px;
    text-align: left;
}
.testim-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Portfolio Slider Configuration */
.square-card {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}
@keyframes scrollPortfolio {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-332px * 5)); } /* 300px width + 32px gap = 332px * 5 unique cards */
}
.portfolio-slider:hover .portfolio-track {
    animation-play-state: paused;
}

/* Split Testimonials Layout */
.split-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 4rem;
    border-radius: 20px;
    align-items: center;
}
.split-left {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
.quote-icon {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.8;
}
.split-right {
    flex: 1;
    min-width: 300px;
    height: 500px;
    position: relative;
    border-left: 1px solid rgba(255,255,255,0.05);
    padding-left: 2rem;
}

@media (max-width: 900px) {
    .split-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 2rem;
    }
}

/* Vertical Auto-Scrolling Box */
.vert-marquee-mask {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Soften the top and bottom edges */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.vert-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: scrollVertical 30s linear infinite;
    padding: 1rem 0;
}
.vert-marquee-mask:hover .vert-marquee-track {
    animation-play-state: paused;
}
@keyframes scrollVertical {
    0% { transform: translateY(0); }
    /* Scroll past the original 5 items to perfectly loop */
    100% { transform: translateY(calc(-50% - 1rem)); } 
}

@keyframes scrollHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

@media (max-width: 768px) {
    .split-right {
        height: auto;
        padding-top: 2rem;
    }
    .vert-marquee-mask {
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        padding: 1rem 0;
        overflow-x: hidden;
    }
    .vert-marquee-track {
        flex-direction: row;
        width: max-content;
        animation: scrollHorizontal 25s linear infinite;
        padding: 0;
    }
    .vert-card {
        width: 320px;
        flex-shrink: 0;
    }
}
/* Vert Card Styling */
.vert-card {
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.vert-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.client-auth {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}
.client-auth span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Added for New Visuals & Infographic --- */

/* Sphere Visual */
.sphere-container {
    perspective: 800px;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sphere {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 15s infinite linear;
}
.sphere .ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(255, 194, 0, 0.4), inset 0 0 15px rgba(255, 194, 0, 0.2);
}
.ring1 { transform: rotateY(0deg) rotateX(45deg); }
.ring2 { transform: rotateY(60deg) rotateX(45deg); }
.ring3 { transform: rotateY(120deg) rotateX(45deg); }
.ring4 { transform: rotateY(90deg) rotateX(-45deg); }

/* Energy Core Visual */
.core-container {
    perspective: 800px;
    width: 150px;
    height: 150px;
    position: relative;
}
.core-outer, .core-inner {
    position: absolute;
    transform-style: preserve-3d;
}
.core-outer {
    width: 150px;
    height: 150px;
    animation: rotate-cube 12s infinite linear;
}
.core-inner {
    width: 100px;
    height: 100px;
    top: 25px;
    left: 25px;
    animation: rotate-cube 8s infinite linear reverse;
}
.c-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid var(--neon-green);
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2), 0 0 10px rgba(0, 255, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.co-front  { transform: rotateY(  0deg) translateZ(75px); }
.co-right  { transform: rotateY( 90deg) translateZ(75px); }
.co-back   { transform: rotateY(180deg) translateZ(75px); }
.co-left   { transform: rotateY(-90deg) translateZ(75px); }
.co-top    { transform: rotateX( 90deg) translateZ(75px); }
.co-bottom { transform: rotateX(-90deg) translateZ(75px); }

.ci-front  { transform: rotateY(  0deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-right  { transform: rotateY( 90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-back   { transform: rotateY(180deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-left   { transform: rotateY(-90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-top    { transform: rotateX( 90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }
.ci-bottom { transform: rotateX(-90deg) translateZ(50px); border-color: var(--neon-cyan); box-shadow: inset 0 0 10px rgba(255, 194, 0, 0.2); background: rgba(255, 194, 0, 0.05); }

/* Infographic Section */
.infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.info-card {
    padding: 3rem;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-card h3 {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
}
.info-card.active-card h3 {
    font-weight: 500;
}
.info-icon {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Horizontal Portfolio Slider --- */
.portfolio-category {
    padding-bottom: 2rem;
}
.horizontal-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 5%; 
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    cursor: grab; /* Indicates dragging is possible */
}
.horizontal-slider:active {
    cursor: grabbing;
}
.horizontal-slider.double-layer {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
}
.horizontal-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.slider-item {
    flex: 0 0 auto;
    width: 320px;
    height: 320px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 768px) {
    .slider-item {
        width: 250px;
        height: 250px;
    }
}
.slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 194, 0, 0.15);
    border-color: var(--neon-cyan);
}

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

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85); /* Dark background */
    backdrop-filter: blur(15px); /* Blurs the rest of the page */
    -webkit-backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 194, 0, 0.3);
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    line-height: 1;
}
.close-btn:hover {
    color: var(--neon-cyan);
    transform: scale(1.1);
}

/* --- Redesigned Services Page Styles --- */

.services-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 6rem;
}

/* Hero Section override for services */
.services-hero {
    text-align: center;
    padding: 6rem 0 4rem;
}
.services-hero h1 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.services-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Service Showcase (Videos and Shoots) */
.service-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.service-showcase.reverse {
    grid-template-columns: 1fr 1fr;
}
.service-showcase.reverse .showcase-content {
    order: 2;
}
.service-showcase.reverse .showcase-visual {
    order: 1;
}

@media (max-width: 950px) {
    .service-showcase, .service-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 4rem 0;
    }
    .service-showcase.reverse .showcase-content {
        order: 1;
    }
    .service-showcase.reverse .showcase-visual {
        order: 2;
    }
}

.showcase-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.showcase-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Showcase Visual Graphics */
.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}
.visual-frame {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.visual-glow {
    position: absolute;
    width: 105%;
    height: 105%;
    top: -2.5%; left: -2.5%;
    z-index: -1;
    border-radius: 20px;
    filter: blur(40px);
    opacity: 0.2;
    transition: opacity 0.5s, transform 0.5s;
}
.service-showcase:hover .visual-glow {
    opacity: 0.5;
    transform: scale(1.05);
}
.glow-cyan { background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%); }
.glow-green { background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%); }

/* Interactive Tabs inside main services */
.showcase-tabs-container {
    margin-top: 2rem;
}
.showcase-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}
.showcase-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.showcase-tab:hover {
    color: #fff;
}
.showcase-tab.active {
    color: var(--neon-cyan);
}
.showcase-tab.active-green {
    color: var(--neon-green);
}
.showcase-tab::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s;
}
.showcase-tab.active::after {
    width: 100%;
}
.showcase-tab.active-green::after {
    width: 100%;
    background: var(--neon-green);
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.5s ease forwards;
}
.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bullet list style inside panels */
.interactive-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .interactive-list {
        grid-template-columns: 1fr;
    }
}
.interactive-list li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}
.interactive-list li::before {
    content: '✦';
    position: absolute;
    left: 0.2rem;
    color: var(--neon-cyan);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-cyan);
}
.interactive-list.list-green li::before {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

/* Traditional vs AI Comparison Engine (Redesigned Dashboard Simulator) */
.comparison-section {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-dashboard {
    max-width: 1100px;
    margin: 3rem auto 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 12, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05),
                inset 0 0 40px rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    --calc-accent: var(--neon-cyan); /* Gold default */
}

.calc-dashboard:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.calc-db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.75rem;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-db-logo {
    display: flex;
    align-items: center;
}

.db-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}
.dot-red { background: #ff5f56; box-shadow: 0 0 5px rgba(255, 95, 86, 0.3); }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 5px rgba(255, 189, 46, 0.3); }
.dot-green { background: #27c93f; box-shadow: 0 0 5px rgba(39, 201, 63, 0.3); }

.db-logo-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1.8px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-left: 0.75rem;
    text-transform: uppercase;
}

.calc-db-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--neon-green);
    font-weight: 700;
    letter-spacing: 1.2px;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    animation: status-pulse-anim 2s infinite;
}

@keyframes status-pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

.calc-db-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

@media (max-width: 950px) {
    .calc-db-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 1.5rem;
    }
}

.calc-db-left, .calc-db-right {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.calc-db-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.calc-db-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.calc-type-selector, .calc-control {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.calc-control:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.input-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.type-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.type-pill {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.type-pill:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

#btn-type-video.active {
    background: rgba(255, 194, 0, 0.08);
    border-color: rgba(255, 194, 0, 0.25);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.15);
}

#btn-type-shoot.active {
    background: rgba(0, 255, 0, 0.08);
    border-color: rgba(0, 255, 0, 0.25);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.12);
}

.calc-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calc-control-header label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.slider-val-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    min-width: 50px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.calc-control:hover .slider-val-box {
    border-color: var(--calc-accent, var(--neon-cyan));
}

.slider-val {
    color: var(--calc-accent, var(--neon-cyan));
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 8px var(--calc-accent, var(--neon-cyan));
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    outline: none;
    margin: 0.8rem 0;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--calc-accent, var(--neon-cyan));
    cursor: pointer;
    box-shadow: 0 0 10px var(--calc-accent, var(--neon-cyan));
    transition: transform 0.1s, background-color 0.3s, box-shadow 0.3s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: var(--calc-accent, var(--neon-cyan));
    cursor: pointer;
    box-shadow: 0 0 10px var(--calc-accent, var(--neon-cyan));
    transition: transform 0.1s, background-color 0.3s, box-shadow 0.3s;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.db-results-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.02) 100%),
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.015) 2px, rgba(0, 255, 0, 0.015) 4px);
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.05), inset 0 0 25px rgba(0, 255, 0, 0.03);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-card-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.results-card-big-value {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ff00, #55ff55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.35));
    margin-bottom: 0;
    line-height: 1;
}

.results-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 1.75rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.results-col {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.results-col:hover {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.06);
}

.results-col.ai-highlight {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--calc-accent);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) inset, 0 0 15px var(--calc-accent);
}

.res-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.res-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.val-danger {
    color: #ff5f56;
    text-shadow: 0 0 10px rgba(255, 95, 86, 0.2);
}

.val-success {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.25);
}

.db-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1rem;
    width: 100%;
}

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

.db-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
}

.db-btn.btn-primary {
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.15), inset 0 0 10px rgba(0, 255, 0, 0.05);
}

.db-btn.btn-primary:hover {
    background: var(--neon-green);
    color: var(--bg-color);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}

.db-btn.btn-secondary {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.db-btn.btn-secondary:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25), inset 0 0 10px rgba(0, 242, 254, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Capabilities Hub (Grid & Filters) */
.capabilities-section {
    padding: 6rem 0;
}
.capabilities-filter-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: -2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}
.filter-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}
.filter-tab.active {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(255, 194, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.15);
}

.capabilities-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1.5rem;
}

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

.capability-item-card {
    position: relative;
    padding: 1.5rem 1.5rem;
    border-radius: 16px;
    background: rgba(15, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, border-color 0.4s ease, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    z-index: 1;
}

.capability-item-card.hidden {
    display: none;
    opacity: 0;
}

/* Mouse-tracking glow pseudo-element */
.capability-item-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(0, 255, 0, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    pointer-events: none;
}
.capability-item-card.systems-card::before {
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 194, 0, 0.06),
        transparent 40%
    );
}

.capability-item-card:hover::before {
    opacity: 1;
}

/* Bento classes */
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

@media (max-width: 1024px) {
    .bento-wide { grid-column: span 2; }
    .bento-tall { grid-row: span 1; }
}
@media (max-width: 600px) {
    .bento-wide { grid-column: span 1; }
}

/* Content layout inside card */
.capability-item-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: #fff;
    line-height: 1.2;
}

.capability-item-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cap-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto; /* Push content to bottom */
    color: var(--neon-green);
    transition: all 0.4s ease;
}
.systems-card .cap-icon-box {
    color: var(--neon-cyan);
}

.cap-icon-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.capability-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.05);
}
.capability-item-card.systems-card:hover {
    border-color: rgba(255, 194, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 194, 0, 0.05);
}

.capability-item-card:hover .cap-icon-box {
    transform: scale(1.1) translateY(-5px);
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--neon-green);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.2);
}
.capability-item-card.systems-card:hover .cap-icon-box {
    background: rgba(255, 194, 0, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 20px rgba(255, 194, 0, 0.2);
}

/* Services Page Split Columns Responsive Helpers */
.services-split-left {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}
.services-split-right {
    flex: 1;
    min-width: 300px;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
    .services-split-left, .services-split-right {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none !important;
    }
    .services-split-right {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 2rem !important;
    }
}

/* Service Showcase Slider Cards */
.services-slider {
    padding: 2rem 5% 3rem !important;
    gap: 2rem !important;
}
.service-card-slide {
    flex: 0 0 auto;
    width: 360px;
    min-height: 420px;
    height: auto;
    scroll-snap-align: start;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s, border-color 0.4s;
    cursor: grab;
    position: relative;
    overflow: hidden;
}
.service-card-slide:active {
    cursor: grabbing;
}
.service-card-slide:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 35px rgba(255, 194, 0, 0.1), 0 0 20px rgba(255, 194, 0, 0.05);
}
.service-card-slide.green-theme:hover {
    border-color: var(--neon-green);
    box-shadow: 0 15px 35px rgba(0, 255, 0, 0.1), 0 0 20px rgba(0, 255, 0, 0.05);
}

.service-card-slide .slide-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}
.service-card-slide h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: #fff;
    letter-spacing: -0.5px;
}
.service-card-slide .slide-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--neon-cyan);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.service-card-slide.green-theme .slide-badge {
    color: var(--neon-green);
}
.service-card-slide p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Bullet list styling in slide card */
.slide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.slide-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.slide-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-cyan);
}
.service-card-slide.green-theme .slide-list li::before {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

@media (max-width: 500px) {
    .service-card-slide {
        width: 290px;
        min-height: 380px;
        height: auto;
        padding: 1.8rem;
    }
    .service-card-slide h3 {
        font-size: 1.3rem;
    }
    .service-card-slide .slide-badge {
        margin-bottom: 1rem;
    }
}

/* Smooth Dragging visual settings */
.horizontal-slider.dragging {
    cursor: grabbing;
    user-select: none;
}

/* Slider Controls Navigation Buttons */
.slider-control-btn {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.slider-control-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.4);
    transform: translateY(-2px);
}
.slider-control-btn svg {
    transition: transform 0.3s ease;
}
.slider-control-btn:hover svg {
    transform: scale(1.1);
}
.slider-control-btn:active {
    transform: translateY(0);
}

/* --- Flagship Services Grid Redesign (Three-Column Layout) --- */
.flagship-section {
    padding: 6rem 0 4rem;
    position: relative;
}

.flagship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
    align-items: stretch;
}

.flagship-card {
    position: relative;
    border-radius: 20px;
    padding: 3rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s, border-color 0.4s;
    background: rgba(12, 12, 16, 0.85);
    min-height: 480px;
}

.flagship-card:hover {
    transform: translateY(-5px);
}

/* Color theme styling */
.flagship-card.cyan-theme {
    --card-accent: var(--neon-cyan);
    --card-glow: rgba(255, 194, 0, 0.15);
}

.flagship-card.green-theme {
    --card-accent: var(--neon-green);
    --card-glow: rgba(0, 255, 0, 0.15);
}

/* Featured / Center Card Elevate */
.flagship-card.featured {
    transform: scale(1.03);
    border-color: var(--card-accent);
    box-shadow: 0 15px 35px var(--card-glow), 0 0 25px rgba(255, 255, 255, 0.02);
    z-index: 2;
}

.flagship-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 45px var(--card-glow), 0 0 35px var(--card-glow);
}

/* Floating top badge icon */
.flagship-badge-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #050505;
    border: 2px solid var(--card-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 0 15px var(--card-glow);
    z-index: 3;
}

/* Pill badge styling */
.flagship-pill {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--card-accent);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.flagship-card.featured .flagship-pill {
    border-color: var(--card-accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Card titles and text */
.flagship-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.flagship-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flagship-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Divider line */
.flagship-divider {
    width: 100%;
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    margin: 1.5rem 0;
}

/* Feature checklist styling */
.flagship-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
    margin-bottom: 2rem;
    text-align: left;
}

.flagship-feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.flagship-feature-list li span {
    padding-top: 1px;
}

/* Glowing Cutout Check icon style */
.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 0.85rem;
    display: inline-block;
    filter: drop-shadow(0 0 4px var(--card-accent));
}

.check-icon circle {
    fill: var(--card-accent);
}

.check-icon polyline {
    fill: none;
    stroke: #0a0a0e; /* Cutout effect matching card dark background rgba(12, 12, 16, 0.85) */
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Button in card */
.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.cyan-theme .btn-card {
    background: rgba(255, 194, 0, 0.06);
    border: 1px solid rgba(255, 194, 0, 0.25);
    color: #fff;
}

.cyan-theme .btn-card:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.4);
    transform: translateY(-2px);
}

.green-theme .btn-card {
    background: rgba(0, 255, 0, 0.06);
    border: 1px solid rgba(0, 255, 0, 0.25);
    color: #fff;
}

.green-theme .btn-card:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}

/* Featured button gets filled style initially */
.flagship-card.featured.cyan-theme .btn-card {
    background: var(--neon-cyan);
    color: #000;
    border: none;
}
.flagship-card.featured.cyan-theme .btn-card:hover {
    box-shadow: 0 0 20px rgba(255, 194, 0, 0.6);
}

.flagship-card.featured.green-theme .btn-card {
    background: var(--neon-green);
    color: #000;
    border: none;
}
.flagship-card.featured.green-theme .btn-card:hover {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

/* Responsive Grid styling */
@media (max-width: 992px) {
    .flagship-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        max-width: 480px;
    }
    
    .flagship-card.featured {
        transform: scale(1);
    }
    
    .flagship-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Flagship Services (3-Card Pricing Table Design) */
.flagship-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

/* Toggle Switch */
.flagship-toggle-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.flagship-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.flagship-toggle .toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flagship-toggle .toggle-btn.active {
    background: rgba(0, 255, 0, 0.1);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    border: 1px solid var(--neon-green);
}

/* Cards Container */
.flagship-cards-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 1.5rem;
    align-items: center; /* This makes the center card visibly taller because the sides are shorter */
}

/* Individual Card */
.flagship-card {
    position: relative;
    background: rgba(15, 20, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

/* Elevated Center Card */
.flagship-card.center-card {
    background: linear-gradient(180deg, rgba(0, 50, 0, 0.3) 0%, rgba(15, 20, 35, 0.9) 100%);
    border: 1px solid var(--neon-green);
    padding: 3.5rem 1.5rem 2rem; /* Taller padding */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.2);
    z-index: 3;
}

/* Floating Top Icon */
.card-floating-icon {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: #0a0e17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.3);
}
.center-card .card-floating-icon {
    width: 56px;
    height: 56px;
    top: -28px;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.icon-inner {
    width: 20px;
    height: 20px;
    background: currentColor;
}
.icon-circle { border-radius: 50%; color: var(--neon-cyan); box-shadow: 0 0 10px currentColor; }
.icon-triangle { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); color: var(--neon-green); box-shadow: 0 0 10px currentColor; }
.icon-hexagon { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); color: var(--neon-cyan); box-shadow: 0 0 10px currentColor; }

/* Pill and Text Styling */
.card-pill {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}
.center-card .card-pill {
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.card-big-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.center-card .card-big-title {
    font-size: 2.8rem;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
    width: 100%;
}

/* Checkmark List */
.card-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}
.card-check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #ccc;
}
.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255, 194, 0, 0.15);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}
.check-icon::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid var(--neon-cyan);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}
.center-card .check-icon {
    background: rgba(0, 255, 0, 0.15);
}
.center-card .check-icon::after {
    border-color: var(--neon-green);
}

/* Glow Button */
.btn-card-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-card-glow:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
.center-card .btn-card-glow {
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--neon-green);
}
.center-card .btn-card-glow:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

.btn-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}
.btn-icon.circle { border-radius: 50%; border: 2px solid var(--neon-cyan); }
.btn-icon.triangle { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); background: var(--neon-green); }
.btn-icon.hexagon { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: var(--neon-cyan); }

/* Responsive Adjustments */
@media (max-width: 950px) {
    .flagship-cards-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 3rem;
    }
    .flagship-card.center-card {
        padding: 2.5rem 1.5rem 1.5rem; /* Reset to match others on mobile */
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--neon-cyan);
    margin: 4px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--neon-cyan);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .navbar .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .navbar .nav-menu.active {
        right: 0;
    }
    
    .navbar .nav-menu .nav-link {
        margin: 1.5rem 0;
        font-size: 1.8rem;
    }
    
    /* Hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-8px, -8px);
    }
}

/* ==============================================
   PORTFOLIO VERTICAL MAGAZINE LAYOUT
============================================== */

.page-portfolio {
    /* Normal vertical scrolling */
    background: var(--bg-color);
}

.magazine-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    gap: 4rem;
}

.magazine-block.block-reverse {
    flex-direction: row-reverse;
}

.mag-text-col {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mag-meta {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mag-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.mag-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mag-img-col {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
}

/* Staggered Grids */
.mag-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.mag-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.mag-item img, .mag-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* STRICT SQUARE AS REQUESTED */
    transition: transform 0.6s ease;
}

.mag-item:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
    border-color: rgba(var(--neon-green-rgb), 0.5);
    box-shadow: 0 15px 40px rgba(var(--neon-green-rgb), 0.2);
}

.mag-item:hover img, .mag-item:hover video {
    transform: scale(1.05);
}

/* Specific Grid Layouts */
.mag-grid-1 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.mag-grid-1 .item-up, .mag-grid-1 .item-down {
    transform: none;
}
.mag-grid-1 .mag-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.mag-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.mag-grid-2 .item-offset {
    transform: none;
}
.mag-grid-2 .item-offset:hover {
    transform: translateY(-10px) scale(1.02);
}

.mag-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}
.mag-grid-3 .item-up, .mag-grid-3 .item-down {
    transform: none;
}
.mag-grid-3 .mag-item:hover {
    transform: translateY(-10px) scale(1.02);
}

@media (max-width: 900px) {
    .magazine-block, .magazine-block.block-reverse {
        flex-direction: column;
        gap: 3rem;
    }
    .mag-text-col {
        order: 1;
    }
    .mag-img-col {
        order: 2;
    }
    .mag-text-col {
        align-items: center;
        text-align: center;
    }
    .mag-meta.text-right, .mag-title.text-right, .mag-desc.text-right {
        text-align: center;
        margin-left: 0 !important;
    }
    .text-right {
        text-align: center;
    }
    .mag-grid-1 .item-up, .mag-grid-1 .item-down, .mag-grid-3 .item-up, .mag-grid-3 .item-down {
        transform: none;
    }
    .mag-grid-1 .mag-item:hover, .mag-grid-3 .mag-item:hover {
        transform: translateY(-10px) scale(1.02);
    }
}


/* ==============================================
   MOBILE SPECIFIC TWEAKS
============================================== */
@media (max-width: 768px) {
    /* Mobile Footer Tweaks requested by user */
    .glass-footer {
        padding: 2rem 1.5rem 0 !important; /* Reduce height */
    }
    .footer-top {
        gap: 0.5rem !important;
        margin-bottom: 2rem !important;
    }
    .footer-col.brand-col {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    .footer-logo {
        margin: 0 auto 1rem !important; /* Center logo */
        max-width: 120px !important;
    }
    
    /* Accordion logic for Explore and Follow me */
    .footer-col:nth-child(2) h5, .footer-col:nth-child(3) h5 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0 !important;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-col:nth-child(2) h5::after, .footer-col:nth-child(3) h5::after {
        content: "+";
        font-size: 1.5rem;
        font-weight: 300;
        transition: transform 0.3s ease;
    }
    .footer-col.open h5::after {
        transform: rotate(45deg);
    }
    .footer-col:nth-child(2) .footer-link, .footer-col:nth-child(3) .footer-link {
        display: none;
    }
    .footer-col.open .footer-link {
        display: block;
    }
    .footer-col.open .footer-link:first-of-type {
        margin-top: 1rem;
    }

    /* CTA Section */
    .footer-col:nth-child(4) {
        margin-top: 1.5rem;
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-col:nth-child(4) .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Shrink Giant Text */
    .giant-text {
        font-size: 15vw !important;
        transform: translateY(10%) !important;
    }
    .giant-text-container {
        margin-top: 0 !important;
    }

    /* Match mobile dropdown menu glass effect to navbar, but with heavier blur/darkness for readability */
    .navbar .nav-menu {
        background: rgba(15, 20, 35, 0.85) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    /* Dock the navbar to the top on mobile for space optimization and to fix the fixed full-screen menu */
    .navbar {
        width: 100% !important;
        max-width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        padding: 1rem 5% !important;
    }

    /* Fix Trusted By split container padding and width on mobile */
    .split-container {
        padding: 2rem 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 2rem !important;
    }

    /* Ensure floating icon centers perfectly on mobile */
    .card-floating-icon {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }

    /* Fix quote icons and other specific icons to be centered */
    .quote-icon, .info-icon {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    
    /* Fix info card huge empty space on mobile */
    .info-card {
        padding: 1.5rem !important; /* Was 3rem */
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Ensure the split container matches */
    .split-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Center all text and headings on mobile */
    h1, h2, h3, h4, h5, h6, p, .card-pill, .mag-meta, .stat-label, .slide-title, .slide-desc, .slide-meta {
        text-align: center !important;
    }
    
    /* Center lists container, but keep items left aligned for neatness */
    .card-check-list, .benefits-list, .deliverables-list {
        display: inline-block !important;
        text-align: left !important;
        margin: 0 auto 1.5rem auto !important;
    }
    .card-check-list li, .benefits-list li, .deliverables-list li {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    /* Center buttons */
    .btn, .btn-card-glow, .btn-primary, .btn-outline {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    /* Ensure flex containers wrapping text also center */
    .mag-text-col, .slide-left, .hero-content, .section-header {
        align-items: center !important;
    }

    /* Reduce global section padding */
    section {
        padding: 3rem 5% !important;
    }
    header {
        padding: 1rem 5% !important;
    }
    
    /* Fix Flexible Production Cards Overflow */
    .flagship-cards-container {
        padding: 0 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .flagship-card {
        width: 85% !important;
        max-width: 400px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        padding: 2.5rem 1.5rem 2rem !important;
        text-align: center !important;
    }
    .benefits-list, .deliverables-list {
        padding-left: 0 !important;
    }
    
    /* About Us Stats - Force Vertical */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .stat-item {
        margin-bottom: 1rem;
    }
    
    /* Reduce Portfolio Preview Images Height (Home & About) */
    /* Removed 60vh to fix empty space */
    .portfolio-track {
        height: auto !important;
    }
    .portfolio-slider {
        height: auto !important;
    }
    /* If it's the slider on Home/About */
    .portfolio-item {
        height: 300px !important; /* Force smaller height so 2-3 fit */
    }
    
    /* Traditional vs AI - Fix dots distortion */
    .mac-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    .mac-dots {
        flex-shrink: 0;
        min-width: 60px;
    }
}

@media (max-width: 768px) {
    .square-card {
        width: 160px !important;
        height: 160px !important;
    }
    .portfolio-track {
        gap: 1rem !important;
        animation: scrollPortfolioMobile 20s linear infinite !important;
    }
}
@keyframes scrollPortfolioMobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-176px * 5)); }
}

/* ==============================================
   GLASS FOOTER
============================================== */
.glass-footer {
    position: relative;
    margin: 4rem 2rem 2rem;
    padding: 4rem 4rem 0; /* No bottom padding to allow giant text to clip cleanly */
    border-radius: 40px;
    background: rgba(15, 20, 35, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h5 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-col a.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-col a.footer-link:hover {
    color: var(--neon-cyan);
}

.footer-bottom-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-bottom-meta a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-meta a:hover {
    color: var(--neon-cyan);
}

.giant-text-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0.75;
    margin-top: -1rem; 
    pointer-events: none;
}

.giant-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 18.5vw;
    margin: 0;
    padding: 0;
    letter-spacing: -0.5vw;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    transform: translateY(22%); 
    
    /* Interactive Gradient Glow */
    --mouse-x: 50vw;
    --mouse-y: 50vh;
    color: transparent;
    background-image: radial-gradient(
        circle 600px at var(--mouse-x) var(--mouse-y),
        #fff 0%,
        var(--neon-green) 25%,
        var(--neon-cyan) 50%,
        rgba(255, 255, 255, 0.25) 80%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .glass-footer {
        margin: 2rem 5% 1rem;
        padding: 3rem 2rem 0;
        border-radius: 24px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
    .footer-bottom-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .giant-text {
        font-size: 23vw;
        letter-spacing: -0.2vw;
        transform: translateY(15%); 
    }
}

.footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

/* ==============================================
   CUSTOM CURSOR
============================================== */
@media (pointer: fine) {
    body, a, button, .btn, input, textarea, .footer-col h5 {
        cursor: none !important;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--neon-cyan);
        box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px var(--neon-cyan);
        pointer-events: none;
        z-index: 999999;
        transform: translate(calc(var(--cx) - 50%), calc(var(--cy) - 50%));
        transition: width 0.2s, height 0.2s, background-color 0.2s, border 0.2s;
        mix-blend-mode: screen;
        will-change: transform;
    }

    .custom-cursor.hovering {
        width: 45px;
        height: 45px;
        background: transparent;
        border: 2px solid var(--neon-green);
        box-shadow: 0 0 15px var(--neon-green) inset, 0 0 15px var(--neon-green);
    }

    .custom-cursor-ripple {
        position: fixed;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid var(--neon-cyan);
        pointer-events: none;
        z-index: 999998;
        transform: translate(calc(var(--rx) - 50%), calc(var(--ry) - 50%));
        opacity: 0;
        will-change: width, height, opacity;
    }

    .custom-cursor-ripple.active {
        animation: rippleEffect 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    @keyframes rippleEffect {
        0% {
            width: 20px;
            height: 20px;
            opacity: 1;
        }
        100% {
            width: 120px;
            height: 120px;
            opacity: 0;
        }
    }
}

/* ==============================================
   3D CAROUSEL (PORTFOLIO)
============================================== */
.carousel-3d-container {
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; 
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.carousel-3d {
    position: relative;
    width: 320px; 
    height: 568px; /* 9:16 aspect ratio roughly */
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease, filter 0.6s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: filter 0.6s ease;
}

@media (max-width: 768px) {
    .carousel-3d-container {
        height: 500px;
    }
    .carousel-3d {
        width: 220px;
        height: 391px;
    }
}

/* ==============================================
   PORTFOLIO MOBILE GRID OVERRIDE
============================================== */
@media (max-width: 768px) {
    .mag-grid-12, .mag-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    /* For very small screens, maybe 1 column is better, but let's stick to 2 as they are product shoots */
    .mag-grid-12, .mag-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
}
