/* Rockstar Games GTA VI Style - Parallex */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #0a0a0a;
    --accent-color: #00d4ff;
    --accent-secondary: #667eea;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
}

/* Lenis Smooth Scroll */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Mobile touch optimization */
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

/* ========================================
   PRELOADER - Rockstar Style
======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.preloader-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: scale(0.9);
    filter: blur(10px);
}

.preloader-subtitle {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
}

.preloader-progress {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem auto 0;
    overflow: hidden;
}

.preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--text-primary);
}

/* Curtain Effect */
.curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.curtain-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #000000;
}

.curtain-left { left: 0; }
.curtain-right { right: 0; }

/* Main Content */
#main-content {
    opacity: 0;
    visibility: hidden;
}

/* ========================================
   HERO SECTION - Zoom into P Effect
======================================== */
.hero-section {
    position: relative;
    height: 300vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0; /* Behind everything */
    pointer-events: none;
    background: #000;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.6);
    will-change: transform, opacity;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 50%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
    opacity: 0;
    will-change: opacity;
}

/* White Title Container - STARTS VISIBLE */
.hero-title-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    padding: 2rem;
    will-change: transform;
    overflow: visible;
}

.hero-title-white {
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.9;
    color: #ffffff;
    margin-bottom: 2rem;
    display: inline-block;
    overflow: visible;
    white-space: nowrap;
}


.hero-title-white .letter-p {
    display: inline;
}

.hero-subtitle-white {
    font-size: clamp(0.6rem, 1vw, 0.85rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 180px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(6px); }
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
    filter: brightness(0.5);
    will-change: transform, opacity;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollMouse 2s ease-in-out infinite;
}

@keyframes scrollMouse {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ========================================
   CONTENT SECTIONS - Full Screen Panels
======================================== */
.content-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent; /* Transparent so hero image shows through */
    z-index: 10;
    margin-top: -1px; /* Prevent any gap */
}

/* Cybersecurity Background */
.cybersecurity-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1; /* Above hero background, below content */
    pointer-events: none;
    background: #000;
    opacity: 0;
}

.cybersecurity-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.6);
    will-change: transform, opacity;
}

.cybersecurity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    will-change: opacity;
}

/* NERGRID Sequence Sections */
.nergrid-sequence-section {
    position: relative;
    min-height: 500vh; /* Height for 151 frames - smooth video-like scrolling */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    z-index: 10;
    margin-top: -1px;
}

.sequence-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    background: #000;
    opacity: 0;
    will-change: opacity;
}

#nergrid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sequence-text-overlay {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 10;
    max-width: 650px;
    pointer-events: none;
    opacity: 0; /* Hidden by default */
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.7) 0%, rgba(40, 40, 40, 0.6) 100%);
    padding: 40px 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: opacity 0.3s ease;
    overflow: visible;
}

.sequence-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    clip-path: inset(0% 100% 0% 0%);
    will-change: clip-path, opacity;
}

.sequence-description {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    opacity: 0;
    max-width: 500px;
}

@media (max-width: 768px) {
    .sequence-text-overlay {
        top: 40px;
        left: 15px;
        right: 15px;
        max-width: none;
        padding: 20px 25px;
    }
    
    .sequence-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 0.8rem;
    }
    
    .sequence-description {
        font-size: clamp(0.85rem, 3vw, 1rem);
        line-height: 1.5;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    background: #000;
    opacity: 0;
}

.contact-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.6);
    will-change: transform, opacity;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
}

.contact-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    z-index: 10;
}

.contact-section .section-content {
    position: static;
    width: 100%;
    height: 100vh;
    padding: 0;
    text-align: left;
}

.contact-text-overlay {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 10;
    max-width: 650px;
    pointer-events: none;
    opacity: 0; /* Hidden by default */
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.7) 0%, rgba(40, 40, 40, 0.6) 100%);
    padding: 40px 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: opacity 0.3s ease;
    opacity: 0;
    overflow: visible;
}

.contact-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    clip-path: inset(0% 100% 0% 0%);
    will-change: clip-path, opacity;
    overflow: visible;
    white-space: nowrap;
}

.contact-description {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    opacity: 0;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.contact-email {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    opacity: 0;
    pointer-events: auto;
}

.contact-email:hover {
    color: #00d4ff;
}

/* Video Card Styles */
.contact-video-card {
    position: fixed;
    bottom: 80px;
    right: 40px;
    width: 480px;
    max-width: calc(100vw - 80px);
    z-index: 10;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.85) 0%, rgba(40, 40, 40, 0.75) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: auto;
}

.contact-video-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(50, 50, 50, 0.8) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.video-card-controls {
    display: flex;
    gap: 6px;
}

.video-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.video-dot:nth-child(1) {
    background: #ff5f57;
}

.video-dot:nth-child(2) {
    background: #febc2e;
}

.video-dot:nth-child(3) {
    background: #28c840;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-video {
    background: #0a0a0a;
}

/* Video card controls styling */
.contact-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

@media (max-width: 768px) {
    .contact-video-card {
        position: fixed;
        bottom: 20px;
        right: 15px;
        left: 15px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-video-card {
        bottom: 15px;
        right: 10px;
        left: 10px;
        border-radius: 12px;
    }
    
    .video-card-header {
        padding: 10px 14px;
    }
    
    .video-card-title {
        font-size: 0.75rem;
    }
    
    .video-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .contact-video-card {
        bottom: 10px;
        right: 10px;
        width: 320px;
    }
}

@media (max-width: 768px) {
    .contact-text-overlay {
        top: 40px;
        left: 15px;
        right: 15px;
        max-width: none;
        padding: 20px 25px;
    }
    
    .contact-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 0.8rem;
    }
    
    .contact-description {
        font-size: clamp(0.85rem, 3vw, 1rem);
        line-height: 1.5;
    }
    
    .contact-email {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }
}

.sequence-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0;
    filter: brightness(0.3);
    will-change: transform, opacity;
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    padding: 4rem 2rem;
    text-align: center;
    background: transparent; /* No background - text directly on image */
}

.section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 0;
    clip-path: inset(0% 100% 0% 0%);
    will-change: clip-path, opacity;
    /* Ensure text is not cut off */
    overflow: visible;
}

.section-description {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    will-change: opacity;
}

/* ========================================
   PRODUCT CARDS - Full Screen Panels
======================================== */
.products-section {
    position: relative;
    width: 100%;
    z-index: 10;
    background: #000;
}

.product-card {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.product-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0;
    filter: brightness(0.25) saturate(1.2);
    will-change: transform, opacity;
}

.product-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.5) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.product-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 3rem;
    text-align: center;
}

.product-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(60px);
}

.product-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(40px);
}

.product-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.feature-tag {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1100px;
}

.service-item {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.3);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.service-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-info {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    font-size: 1.1rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
}

.contact-item strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

/* ========================================
   FOOTER
======================================== */
.footer-section {
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.footer-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   SCROLL PROGRESS BAR
======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    z-index: 9998;
    pointer-events: none;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* ========================================
       MOBILE RESPONSIVE STYLES
       ======================================== */
    
    /* Preloader Mobile */
    .preloader-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .preloader-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
    
    .preloader-progress {
        width: 150px;
    }
    
    /* Hero Section Mobile */
    .hero-title-container {
        padding: 1rem;
    }
    
    .hero-title-white {
        font-size: clamp(3rem, 15vw, 8rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-white {
        font-size: clamp(0.5rem, 2.5vw, 0.7rem);
        letter-spacing: 0.15em;
        padding: 0 1rem;
    }
    
    .hero-divider {
        width: 40px;
        margin-top: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-text {
        font-size: 0.6rem;
    }
    
    .mouse {
        width: 18px;
        height: 28px;
    }
    
    /* Content Sections Mobile */
    .section-content {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.6;
        max-width: 100%;
    }
    
    /* Sequence Text Overlay Mobile - Already defined above */
    
    /* Contact Text Overlay Mobile - Already defined above */
    
    /* Title Reveal Responsive */
    .masked-title {
        font-size: clamp(4rem, 18vw, 10rem);
    }
    
    .title-tagline {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .title-tagline .separator {
        display: none;
    }
    
    .title-reveal-content {
        bottom: 10%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-top-info {
        top: 1.5rem;
        left: 1.5rem;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
    .hero-title-white {
        font-size: clamp(2.5rem, 18vw, 5rem);
    }
    
    .hero-subtitle-white {
        font-size: 0.5rem;
        letter-spacing: 0.1em;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
    
    .section-description {
        font-size: 0.85rem;
    }
    
    .section-content {
        padding: 1.5rem 1rem;
    }
    
    .sequence-text-overlay,
    .contact-text-overlay {
        top: 20px;
        left: 10px;
        right: 10px;
        padding: 15px 20px;
        border-radius: 15px;
    }
    
    .sequence-title,
    .contact-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .sequence-description,
    .contact-description {
        font-size: 0.8rem;
    }
    
    .contact-email {
        font-size: 0.9rem;
    }
    
    .preloader-title {
        font-size: clamp(2rem, 15vw, 3rem);
    }
    
    .preloader-subtitle {
        font-size: 0.6rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-title-container {
        padding: 0.5rem;
    }
    
    .hero-title-white {
        font-size: clamp(2rem, 10vh, 4rem);
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle-white {
        font-size: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-divider {
        margin-top: 0.5rem;
    }
    
    .scroll-indicator {
        bottom: 10px;
    }
    
    .section-content {
        padding: 1rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vh, 2.5rem);
    }
    
    .sequence-text-overlay,
    .contact-text-overlay {
        top: 10px;
        padding: 10px 15px;
    }
}

/* ========================================
   UTILITIES
======================================== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}
