:root {
    --bg-primary: #050507;
    --bg-secondary: #0a0b10;
    --bg-tertiary: #12141d;
    --accent-primary: #00e5ff;
    --accent-secondary: #007bff;
    --text-main: #f8f9fa;
    --text-muted: #8b949e;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --grid-line: rgba(255, 255, 255, 0.03);
    --font-primary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

/* Custom Thin Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.6);
}

/* Interactive Cursor Glow */
#cursor-glow {
    position: fixed;
    top: -360px;
    left: -360px;
    width: 720px;
    height: 720px;
    background: rgba(0, 230, 255, 0.08); /* Reduced strength */
    filter: blur(100px); /* Creates the soft light effect */
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    opacity: 0;
    
    /* 0.2s trailing effect */
    transition: opacity 0.5s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, border-radius;

    /* Organic shape morphing */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphGlow 8s ease-in-out infinite alternate;
}

#water-drop-cursor-wrapper {
    position: fixed;
    top: -10px; left: -10px;
    width: 20px; height: 20px;
    pointer-events: none;
    z-index: 10001;
    will-change: transform;
}

#water-drop-cursor-v1 {
    width: 100%;
    height: 100%;
    background: url('./Images/water_drop.png') center/contain no-repeat;
    animation: dropWobble 12s linear infinite;
    transform-origin: center;
}

#water-drop-cursor-v2 {
    width: 100%;
    height: 100%;
    background: url('./Images/water_drop_v2.png') center/130% no-repeat;
    clip-path: circle(40%); /* Masks out the background texture perfectly */
    animation: dropWobble 12s linear infinite;
    transform-origin: center;
    position: relative;
}

#water-drop-cursor-v3 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    
    /* Simulate the 3D dark edges and soft light reflections */
    box-shadow: 
        inset 0 -3px 5px rgba(255, 255, 255, 0.3), /* Bottom reflection */
        inset 0 4px 10px rgba(0, 0, 0, 0.9),       /* Top dark shadow */
        0 6px 12px rgba(0, 0, 0, 0.7),             /* Strong black shadow below */
        0 12px 24px rgba(0, 0, 0, 0.5);            /* Deeper ambient shadow below */
    
    position: relative;
    /* Apply a slow, organic liquid squishing effect and color shift */
    animation: dropSquish 3s ease-in-out infinite, dropColorPulse 4s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes dropColorPulse {
    0% { background: rgba(10, 10, 15, 0.2); }
    100% { background: rgba(0, 180, 255, 0.15); }
}

@keyframes dropSquish {
    0%   { transform: scaleX(1.08) scaleY(0.92); }
    50%  { transform: scaleX(0.92) scaleY(1.08); }
    100% { transform: scaleX(1.08) scaleY(0.92); }
}

/* Bright white curved highlight at the top */
#water-drop-cursor-v3::before {
    content: '';
    position: absolute;
    top: 8%; 
    left: 15%;
    width: 70%; 
    height: 40%;
    border-radius: 50%;
    /* Create a sharp crescent shape INSIDE the drop using inset shadow */
    box-shadow: inset 0 4px 0 0 rgba(255, 255, 255, 1);
    pointer-events: none;
    z-index: 2;
}

@keyframes dropWobble {
    0%   { transform: scaleX(1.25) scaleY(0.75) rotate(0deg); filter: brightness(1); }
    25%  { transform: scaleX(0.75) scaleY(1.25) rotate(90deg); filter: brightness(1.1); }
    50%  { transform: scaleX(1.25) scaleY(0.75) rotate(180deg); filter: brightness(1.2); }
    75%  { transform: scaleX(0.75) scaleY(1.25) rotate(270deg); filter: brightness(1.1); }
    100% { transform: scaleX(1.25) scaleY(0.75) rotate(360deg); filter: brightness(1); }
}

#water-drop-cursor-v1.splashing,
#water-drop-cursor-v2.splashing {
    animation: dropSplash 0.4s ease-out forwards;
}

#water-drop-cursor-v3.splashing {
    animation: dropPlunge 0.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

#water-drop-cursor-v2.splashing::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 6px;
    background: transparent;
    border-radius: 50%;
    animation: explodeDroplets 0.4s ease-out forwards;
}

@keyframes dropPlunge {
    0% { 
        transform: scale(1); 
        filter: brightness(1) blur(0px); 
    }
    15% { 
        transform: scale(0.6) rotate(15deg); 
        filter: brightness(1.5) blur(5px); 
        opacity: 0.7; 
    }
    100% { 
        transform: scale(1); 
        filter: brightness(1) blur(0px); 
        opacity: 1; 
    }
}

/* V3 Image Particles */
.splash-particle {
    position: fixed;
    width: 6px; height: 6px;
    background: url('./Images/water_drop_v3.jpg') center/cover no-repeat;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 10001;
    border-radius: 50%;
    animation: particleSplash 1.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes particleSplash {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    15% { transform: translate(var(--tx), var(--ty)) scale(1.5); opacity: 0.3; }
    100% { transform: translate(calc(var(--tx) * 1.5), calc(var(--ty) * 1.5)) scale(0.5); opacity: 0; }
}

@keyframes explodeDroplets {
    0% {
        box-shadow: 
            0 0 0 rgba(0,229,255,0.8), 0 0 0 rgba(0,229,255,0.8),
            0 0 0 rgba(255,255,255,0.9), 0 0 0 rgba(255,255,255,0.9),
            0 0 0 rgba(0,229,255,0.8), 0 0 0 rgba(0,229,255,0.8);
    }
    100% {
        box-shadow: 
            -40px -50px 0 rgba(0,229,255,0), 50px -40px 0 rgba(0,229,255,0),
            -50px 20px 0 rgba(255,255,255,0), 30px 50px 0 rgba(255,255,255,0),
            -20px -30px 0 rgba(0,229,255,0), 20px 40px 0 rgba(0,229,255,0);
    }
}

@keyframes morphGlow {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50%  { border-radius: 70% 30% 40% 60% / 40% 50% 60% 50%; }
    75%  { border-radius: 40% 70% 60% 30% / 60% 40% 50% 70%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

body:hover #cursor-glow {
    opacity: 1;
}

body, a, button, [role="button"], input, select, textarea {
    cursor: none !important;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--accent-primary);
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.aqua-text { color: var(--accent-primary); }
.ocean-text {
    background: url('./Images/ocean_texture.jpg') center center;
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: realOceanWaves 15s ease-in-out infinite alternate;
}
@keyframes realOceanWaves {
    0% { background-position: 0% 20%; }
    100% { background-position: 100% 80%; }
}
.glow { text-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
.mt-60 { margin-top: 60px; }
.mt-100 { margin-top: 100px; }
.text-center { text-align: center; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    padding: 22px 0;
    transition: background 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
    border-bottom: 1px solid transparent;
    overflow: hidden;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    height: 1px;
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 10px var(--accent-primary), 0 0 5px var(--accent-primary);
    animation: scanLight 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    /* --- STOP NAV BOUNCE: disable scanLight animation on mobile --- */
    .navbar::after { animation: none !important; }

    /* --- COMPACT NAV HEIGHT --- */
    .navbar {
        padding: 10px 0 !important;
    }
    .navbar.scrolled {
        padding: 8px 0 !important;
    }
    .nav-container {
        padding: 0 16px !important;
        min-height: 52px;
    }
    .nav-logo-img {
        height: 38px !important;
    }

    /* --- NO HORIZONTAL OVERFLOW --- */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    * { box-sizing: border-box !important; }

    /* --- HERO TOP SPACING (below compact nav) --- */
    .hero-section {
        padding-top: 80px !important;
    }
}

@keyframes scanLight {
    0% { left: -50%; }
    100% { left: 100%; }
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    padding: 18px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-primary);
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.nav-link.active::after {
    width: 0; /* Remove underline for active state */
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1) inset;
}

.btn-primary:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-main);
}

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 100px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 100px;
    max-width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.85rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 50px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    transform: translateX(-100%);
    animation: scrollAnim 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollAnim {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Story Sections */
.story-section {
    padding: 150px 0;
    position: relative;
}

.section-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 800px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    font-weight: 300;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.story-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}



.earth-visual {
    width: 75%;
    max-width: 450px;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: url('./Images/semi_polluted_earth.jpg') repeat-x center center;
    background-size: auto 100%;
    box-shadow: inset -50px 0 80px 20px rgba(0,0,0,0.95), inset 30px 0 50px 5px rgba(254, 143, 28, 0.2), 0 0 40px rgba(139, 120, 100, 0.4);
    position: relative;
    animation: rotateEarth 40s linear infinite;
}

.earth-clouds {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    mix-blend-mode: multiply;
    opacity: 0.4;
    pointer-events: none;
}

.earth-clouds::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: calc(100% + 400px);
    height: 100%;
    background: url('./Images/grey_clouds.jpg') repeat center center;
    background-size: 400px auto;
    animation: rotateCloudsTransform 33.3s linear infinite;
}

.earth-smoke-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    filter: url('#flame-smoke-filter'); /* Applies the jagged flame effect */
    overflow: visible;
    opacity: 0.6; /* Reduced strength by 40% */
}

.smoke-body {
    position: absolute;
    /* Noise texture and Gray/Orange mix for smoke color */
    background: 
        url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.15%22/%3E%3C/svg%3E'),
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
    background-blend-mode: overlay;
    filter: blur(18px);
}

.top-flame {
    bottom: 60%;
    left: 15%;
    width: 70%;
    height: 65%;
    /* Pointed arch shape */
    border-radius: 50% 50% 20% 20% / 100% 100% 20% 20%;
    transform-origin: bottom center;
    animation: riseTopFlame 4s ease-in-out infinite alternate;
}

.ring-flame {
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    border-radius: 50%;
    animation: pulseRingFlame 3s ease-in-out infinite alternate;
}

@keyframes riseTopFlame {
    0% { transform: scaleY(1) skewX(-2deg); opacity: 0.85; }
    100% { transform: scaleY(1.15) skewX(2deg) translateY(-20px); opacity: 1; }
}

@keyframes pulseRingFlame {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.05); opacity: 1; }
}

.earth-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(120, 110, 100, 0.4) 0%, rgba(90, 80, 70, 0.4) 40%, transparent 70%);
    filter: blur(8px);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.earth-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    box-shadow: inset -60px 0 80px rgba(0,0,0,0.9), inset 50px 0 100px rgba(254, 143, 28, 0.64), -30px 0 80px rgba(254, 143, 28, 0.4);
    pointer-events: none;
}

@keyframes rotateEarth {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

.data-label {
    position: absolute;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    padding: 10px 16px;
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.dl-1 { top: 20%; left: -20px; }
.dl-2 { top: 50%; right: -20px; }
.dl-3 { bottom: 20%; left: 20px; }

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.tech-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-card:hover .card-glow { opacity: 1; }

.tech-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
    font-weight: 300;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* Giant Text */
.giant-text {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    letter-spacing: -2px;
}

.pause-scroll {
    height: 40px;
}

.transition-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 40px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.benefit-item {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.b-number {
    font-size: 10px;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Conceptual Visual */
.conceptual-visual-container {
    padding: 60px 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
}

.concept-label {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.concept-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.flow-node {
    font-size: 12px;
    letter-spacing: 2px;
    padding: 15px 25px;
    border: 1px solid var(--glass-border);
    background: var(--bg-primary);
}

.flow-node.highlight {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.flow-line {
    flex-grow: 1;
    height: 1px;
    background: var(--glass-border);
    margin: 0 15px;
    position: relative;
    overflow: hidden;
}

.flow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: flowAnim 2s linear infinite;
}

@keyframes flowAnim {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-block h4 {
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-block p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
}

.vision-block {
    text-align: center;
}

.vision-block h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--accent-primary);
    margin-bottom: 40px;
    font-style: italic;
}

.vision-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

.vision-list li {
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--glass-bg);
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
}

/* Timeline */
.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 20px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.t-dot {
    width: 12px;
    height: 12px;
    background: var(--text-muted);
    border-radius: 50%;
}

.t-dot.hollow {
    background: transparent;
    border: 1px solid var(--text-muted);
}

.timeline-step.highlight .t-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary);
}

.timeline-step span {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.timeline-step.highlight span {
    color: var(--accent-primary);
}

.timeline-line {
    flex-grow: 1;
    height: 1px;
    background: var(--glass-border);
    margin: 0 15px;
    margin-bottom: 27px; /* Align with dot */
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.detail-item {
    margin-bottom: 30px;
}

.d-label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.d-value {
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.d-value:hover {
    color: var(--accent-primary);
}

.contact-form {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 50px;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input, .input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.input-group label {
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 10px;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.w-full { width: 100%; text-align: center; }

.form-success {
    display: none;
    margin-top: 20px;
    font-size: 12px;
    color: var(--accent-primary);
    text-align: center;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    margin-top: 100px;
    background: linear-gradient(to top, rgba(0, 229, 255, 0.02) 0%, transparent 100%);
}

.footer-top {
    display: grid;
    grid-template-columns: 3.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.f-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.f-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
}

.f-logo-img {
    height: 56px;
    margin-bottom: 20px;
    display: block;
}

.f-statement {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.f-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.f-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.f-links a:hover { color: var(--accent-primary); }

.f-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.f-contact a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.f-contact a:hover { color: var(--accent-primary); }

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- MOBILE FOOTER ---- */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-top {
        /* Stack: brand full width on top, then Quick Links + Get In Touch side by side */
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 28px 20px;
        margin-bottom: 32px;
    }

    /* Brand takes the full top row */
    .f-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .f-logo-img {
        height: 44px;
        margin: 0 auto 12px;
    }

    .f-statement {
        font-size: 0.82rem;
        max-width: 100%;
        line-height: 1.6;
    }

    /* Quick Links & Get In Touch side by side on second row */
    .f-links,
    .f-contact {
        gap: 12px;
    }

    .f-col h4 {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .f-links a,
    .f-contact p,
    .f-contact a {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 0.72rem;
    }
}

/* Layout Overrides for Images */
.w-full { width: 100%; }

.hero-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
    justify-content: space-between;
    text-align: left;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 450px;
    height: 450px;
    background: conic-gradient(from 0deg, rgba(0, 255, 136, 0.5), rgba(0, 123, 255, 0.5), rgba(0, 229, 255, 0.5), rgba(0, 255, 136, 0.5));
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    animation: spinGlow 8s linear infinite;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 229, 255, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes spinGlow {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.15); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

.product-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 229, 255, 0.2));
}

.product-content {
    flex: 1;
}

@media (max-width: 1024px) {
    .hero-layout, .product-layout {
        flex-direction: column;
        text-align: center;
    }
    .hero-image { justify-content: center; }
}

/* Animations & States */
.reveal-text, .reveal-up, .reveal-scale {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-text {
    transform: translateY(30px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-text.is-visible, .reveal-up.is-visible, .reveal-scale.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1024px) {
    .story-grid, .cards-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .concept-flow {
        flex-direction: column;
        gap: 20px;
    }
    .flow-line {
        width: 1px;
        height: 40px;
    }
    .flow-line::after {
        width: 100%;
        height: 50%;
        background: linear-gradient(180deg, transparent, var(--accent-primary), transparent);
        animation: flowAnimY 2s linear infinite;
    }
}

@keyframes flowAnimY {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}




@media (max-width: 768px) {
    .nav-links, .nav-cta, .nav-container > .public-action { display: none !important; }
    
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background: var(--text-main);
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: left center;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: 0.4s;
        padding: 80px 24px 48px; /* top: clear the fixed nav; bottom: lift button off edge */
    }
    
    .mobile-menu.active {
        opacity: 1;
        pointer-events: all;
    }

    /* --- Hide phone/email from nav bar on mobile --- */
    .nav-contact { display: none !important; }

    /* --- Contact info block at top of open menu --- */
    .mobile-menu-contact {
        position: absolute;
        top: 80px; /* just below nav bar */
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 12px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        background: rgba(255,255,255,0.03);
    }

    .mmc-phone {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--accent-primary);
        letter-spacing: 0.5px;
    }

    .mmc-email {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        flex: 1;
        justify-content: center;
    }

    .mobile-link {
        font-size: 24px;
        color: var(--text-main);
        text-decoration: none;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    /* Interest button — lifted off the bottom edge */
    .mobile-menu-interest {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 16px 24px;
        margin-bottom: 8px; /* extra lift so it never touches the screen edge */
    }

    .mobile-menu-interest .interest-stats {
        text-align: left;
    }
}

/* Diagram Styles */
.diagram-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 80px;
}

.bike-diagram-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
}

/* Nav Logo Styles */
.nav-logo-img {
    height: 68px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-logo-img:hover {
    opacity: 0.8;
}

/* Reduced Question Heading */
.section-question {
    font-size: clamp(4.6rem, 9.6vw, 6.9rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Vertical Product Layout Styles */
.product-image-center {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.product-image-center img {
    width: 100%;
    max-width: 1080px;
    object-fit: contain;
    border-radius: 12px;
    animation: conceptGlowMotion 8s ease-in-out infinite;
}

@keyframes conceptGlowMotion {
    0% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) drop-shadow(-10px 10px 20px rgba(0, 255, 136, 0.15)) drop-shadow(10px -10px 20px rgba(0, 123, 255, 0.15));
    }
    50% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) drop-shadow(10px -10px 25px rgba(0, 255, 136, 0.25)) drop-shadow(-10px 10px 25px rgba(0, 123, 255, 0.25));
    }
    100% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) drop-shadow(-10px 10px 20px rgba(0, 255, 136, 0.15)) drop-shadow(10px -10px 20px rgba(0, 123, 255, 0.15));
    }
}

.benefits-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

@media (max-width: 992px) {
    .benefits-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-grid-row {
        grid-template-columns: 1fr;
    }
}

/* Vision Tiles */
.vision-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.vision-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 1.1rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vision-tile:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.4);
}

@media (max-width: 992px) {
    .vision-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vision-tiles-grid {
        grid-template-columns: 1fr;
    }
}

/* Navbar Running Light */
.running-light {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.running-light::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -200px;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 1), transparent);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.8), 0 0 20px rgba(0, 229, 255, 0.4);
    animation: runLight 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes runLight {
    0% {
        left: -200px;
    }
    100% {
        left: 100%;
    }
}

/* Prototype & Concept Split Section */
.prototype-concept-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 100px;
    text-align: left;
}

.font-bold {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-main);
}

.mb-20 {
    margin-bottom: 20px;
}

/* Image Slider */
.image-slider-container {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.placeholder-frame {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.prototype-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-frame.hidden {
    display: none;
}

.next-image-btn {
    margin-top: 20px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.next-image-btn:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* Video Column */
.concept-video-col {
    display: flex;
    flex-direction: column;
}

.video-container {
    flex: 1;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    min-height: 400px;
}

.concept-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .prototype-concept-section {
        grid-template-columns: 1fr;
    }
}

/* Custom Video Controls */
.custom-video-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.play-pause-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s ease;
}

.play-pause-btn:hover {
    color: var(--accent-primary);
}

.play-pause-btn .hidden {
    display: none;
}

.progress-bar-container {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Custom Mute Button */
.mute-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: color 0.3s ease, background 0.3s ease;
    z-index: 10;
}

.mute-btn:hover {
    color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.6);
}

.mute-btn .hidden {
    display: none;
}

/* Glass Card & Form Styles */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Fix for crashed layout in bottom sections */
.showcase-image img,
.gallery-container img,
.video-container video {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.stats-grid,
.showcase-grid,
.tech-grid,
.vision-grid,
.contact-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .showcase-grid,
    .contact-grid,
    .prototype-making-section,
    .prototype-concept-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }
    .stats-grid,
    .vision-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Active Menu Highlight */
.nav-link.active, .mobile-link.active {
    color: #00e5ff !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
/* Hero Layout for Image */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 70%;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.2));
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-image {
        margin-top: 40px;
    }
}
/* Vision Glassmorphism Tiles */
.vision-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.vision-tile {
    flex: 1 1 200px;
    min-height: 120px;
    padding: 30px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-tile h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #e0e0e0;
}

.vision-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* 4 distinct dark glassmorphism backgrounds */
.vision-tile.tile-1 {
    background: linear-gradient(135deg, rgba(10, 20, 30, 0.7) 0%, rgba(5, 10, 15, 0.8) 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
}

.vision-tile.tile-2 {
    background: linear-gradient(135deg, rgba(20, 15, 30, 0.7) 0%, rgba(10, 5, 15, 0.8) 100%);
    border-top: 1px solid rgba(155, 100, 255, 0.2);
}

.vision-tile.tile-3 {
    background: linear-gradient(135deg, rgba(15, 30, 20, 0.7) 0%, rgba(5, 15, 10, 0.8) 100%);
    border-top: 1px solid rgba(0, 255, 155, 0.2);
}

.vision-tile.tile-4 {
    background: linear-gradient(135deg, rgba(30, 20, 15, 0.7) 0%, rgba(15, 10, 5, 0.8) 100%);
    border-top: 1px solid rgba(255, 155, 100, 0.2);
}

/* Prototype Section */
.prototype-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.prototype-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.prototype-left {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.prototype-title {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
    
}

.prototype-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.prototype-gallery img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.prototype-gallery img:hover {
    transform: scale(1.02);
}

.prototype-right {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.custom-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    background: #000;
}

.custom-video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mute Button */
.mute-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}
.mute-btn:hover { background: rgba(0, 0, 0, 0.8); }

/* Play/Pause Button */
.play-pause-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s;
}
.custom-video-player:hover .play-pause-btn {
    opacity: 1;
}
.play-pause-btn:hover {
    background: rgba(0, 229, 255, 0.4);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Progress Bar */
.video-progress-bar {
    position: absolute;
    bottom: 37px;
    left: 80px;
    right: 20px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
}

.video-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    transition: width 0.1s linear;
}

@media (max-width: 900px) {
    .prototype-layout {
        flex-direction: column;
    }
    .prototype-left, .prototype-right {
        width: 100%;
    }
}

/* Prototype Tabs */
.prototype-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.proto-tab {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.proto-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}
.proto-tab.active {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.prototype-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    background: rgba(0,0,0,0.2);
    position: relative;
}
.proto-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    animation: fadeImage 0.4s ease;
    object-fit: cover;
    border-radius: 16px;
}
.proto-img.active {
    display: block;
}
@keyframes fadeImage {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Prototype Arrows */
.prototype-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
}
.proto-dots {
    display: flex;
    gap: 12px;
}
.proto-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.proto-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    transform: scale(1.2);
}
.proto-arrow {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}
.proto-arrow:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: scale(1.05);
}


/* Enhanced Contact Form Styling */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.contact-form label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0, 229, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid rgba(0, 255, 128, 0.3);
    color: #00ff80;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Water Jelly Animation Effect */
@keyframes jellyWater {
    0%, 100% {
        transform: scale(1, 1) translateY(0);
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    }
    25% {
        transform: scale(1.03, 0.97) translateY(2px);
        text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
    }
    50% {
        transform: scale(0.97, 1.03) translateY(-2px);
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    }
    75% {
        transform: scale(1.02, 0.98) translateY(1px);
        text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
    }
}

.water-jelly {
    display: inline-block;
    animation: jellyWater 6s infinite ease-in-out;
}

.water-jelly.ocean-text {
    animation: jellyWater 6s infinite ease-in-out, realOceanWaves 15s ease-in-out infinite alternate;
}

/* Public Interest UI */
.public-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.interest-pill {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 200, 100, 0.05), rgba(0, 200, 100, 0.15));
    border: 1px solid #00c864;
    border-radius: 50px;
    padding: 3px 3px 3px 18px;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.interest-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 200, 100, 0.25);
}

.interest-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.interest-icon {
    background: #00c864;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interest-icon svg {
    animation: thumbBounce 2s infinite ease-in-out;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

@keyframes thumbBounce {
    0%, 100% {
        transform: scale(1) translateY(0) rotate(0deg);
    }
    50% {
        transform: scale(1.15) translateY(-3px) rotate(-8deg);
    }
}

.interest-pill:not(.voted):hover .interest-icon svg {
    animation: none;
    transform: scale(1.3);
}

.interest-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interest-numbers {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

.interest-numbers .zeros {
    color: rgba(255, 255, 255, 0.2);
}

.interest-numbers .count {
    color: var(--accent-primary);
}

.interest-label {
    color: #999999;
    font-size: 11px;
    margin-top: 4px;
}

/* Sprinkles Animation */
.sprinkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
}

.interest-pill.voted {
    background: linear-gradient(90deg, rgba(128, 128, 128, 0.1), rgba(128, 128, 128, 0.2));
    border: 1px solid #808080;
    opacity: 1;
    cursor: default;
    animation: successGlow 2s ease-out forwards;
    transition: all 0.5s ease;
}
.interest-pill.voted .interest-icon {
    background: #808080;
    box-shadow: none;
}
.interest-pill.voted:hover {
    transform: none;
}
.interest-pill.voted .interest-icon svg {
    animation: none;
    transform: none;
}
}

.contact-form label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0, 229, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid rgba(0, 255, 128, 0.3);
    color: #00ff80;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Water Jelly Animation Effect */
@keyframes jellyWater {
    0%, 100% {
        transform: scale(1, 1) translateY(0);
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    }
    25% {
        transform: scale(1.03, 0.97) translateY(2px);
        text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
    }
    50% {
        transform: scale(0.97, 1.03) translateY(-2px);
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    }
    75% {
        transform: scale(1.02, 0.98) translateY(1px);
        text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
    }
}

.water-jelly {
    display: inline-block;
    animation: jellyWater 6s infinite ease-in-out;
}

.water-jelly.ocean-text {
    animation: jellyWater 6s infinite ease-in-out, realOceanWaves 15s ease-in-out infinite alternate;
}

/* Public Interest UI */
.public-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.interest-pill {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 200, 100, 0.05), rgba(0, 200, 100, 0.15));
    border: 1px solid #00c864;
    border-radius: 50px;
    padding: 3px 3px 3px 18px;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.interest-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 200, 100, 0.25);
}

.interest-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.interest-icon {
    background: #00c864;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interest-icon svg {
    animation: thumbBounce 2s infinite ease-in-out;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

@keyframes thumbBounce {
    0%, 100% {
        transform: scale(1) translateY(0) rotate(0deg);
    }
    50% {
        transform: scale(1.15) translateY(-3px) rotate(-8deg);
    }
}

.interest-pill:not(.voted):hover .interest-icon svg {
    animation: none;
    transform: scale(1.3);
}

.interest-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interest-numbers {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

.interest-numbers .zeros {
    color: rgba(255, 255, 255, 0.2);
}

.interest-numbers .count {
    color: var(--accent-primary);
}

.interest-label {
    color: #999999;
    font-size: 11px;
    margin-top: 4px;
}

/* Sprinkles Animation */
.sprinkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
}

.interest-pill.voted {
    background: linear-gradient(90deg, rgba(128, 128, 128, 0.1), rgba(128, 128, 128, 0.2));
    border: 1px solid #808080;
    opacity: 1;
    cursor: default;
    animation: successGlow 2s ease-out forwards;
    transition: all 0.5s ease;
}
.interest-pill.voted .interest-icon {
    background: #808080;
    box-shadow: none;
}
.interest-pill.voted:hover {
    transform: none;
}
.interest-pill.voted .interest-icon svg {
    animation: none;
    transform: none;
}

@keyframes successGlow {
    0% { box-shadow: 0 0 0px rgba(0, 255, 0, 0); }
    40% { box-shadow: 0 0 50px rgba(0, 255, 0, 0.9); }
    100% { box-shadow: 0 0 0px rgba(0, 255, 0, 0); }
}

/* Timeline Dot Animation */
.light-up-dot {
    animation: timelineLightUp 4s infinite;
}

@keyframes timelineLightUp {
    0%, 100% {
        background: rgba(255, 255, 255, 0.5);
        box-shadow: none;
        transform: scale(1);
    }
    5%, 25% {
        background: var(--accent-primary);
        box-shadow: 0 0 15px var(--accent-primary);
        transform: scale(1.3);
    }
    30% {
        background: rgba(255, 255, 255, 0.5);
        box-shadow: none;
        transform: scale(1);
    }
}

/* =========================================
   Contact Forms Customization (Latest UI Trend)
========================================= */
.contact-grid {
    align-items: start !important;
}

.contact-forms-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}



@media (max-width: 1024px) {
    .container, .nav-container, .hero-section {
        padding: 0 40px;
    }
}


@media (max-width: 768px) {
    .container, .nav-container, .hero-section, .transition-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@keyframes rotateCloudsTransform {
    0% { transform: translateX(0px); }
    100% { transform: translateX(-400px); }
}




/* Cursor Trail Styles */
.cursor-trail-drop-wrapper {
    position: fixed;
    top: 0; 
    left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
}
.cursor-trail-drop {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 
        inset 0 -3px 5px rgba(255, 255, 255, 0.3),
        inset 0 4px 10px rgba(0, 0, 0, 0.9),
        0 6px 12px rgba(0, 0, 0, 0.7),
        0 12px 24px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    animation: dropSquish 3s ease-in-out infinite, dropColorPulse 4s ease-in-out infinite alternate;
    transform-origin: center;
}
.cursor-trail-drop::before {
    content: '';
    position: absolute;
    top: 8%; 
    left: 15%;
    width: 70%; 
    height: 40%;
    border-radius: 50%;
    box-shadow: inset 0 4px 0 0 rgba(255, 255, 255, 1);
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM
   Fluid layouts for all screen sizes (320px – 768px)
   ========================================================== */

/* --- Base fluid fixes (all mobile) --- */
@media (max-width: 768px) {

    /* Fluid global font sizes */
    html { font-size: clamp(14px, 4vw, 16px); }

    /* Prevent horizontal overflow on everything */
    *, *::before, *::after { max-width: 100%; }
    body { overflow-x: hidden; }

    /* Section padding: fluid vertical, safe horizontal */
    section {
        padding-left: clamp(16px, 5vw, 24px) !important;
        padding-right: clamp(16px, 5vw, 24px) !important;
        padding-top: clamp(48px, 10vw, 80px) !important;
        padding-bottom: clamp(48px, 10vw, 80px) !important;
    }

    /* Global container padding */
    .container,
    .nav-container,
    .hero-section,
    .transition-content,
    .diagram-wrapper {
        padding-left: clamp(16px, 5vw, 24px) !important;
        padding-right: clamp(16px, 5vw, 24px) !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ---- NAV ---- */
    .nav-container {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    .nav-logo-img { height: clamp(40px, 10vw, 56px); }

    /* ---- HERO ---- */
    .hero-section {
        min-height: 100svh;
        padding-top: 100px !important;
    }
    .hero-layout {
        flex-direction: column !important;
        text-align: center !important;
        gap: clamp(24px, 6vw, 40px) !important;
    }
    .hero-content { width: 100% !important; order: 1; }
    .hero-image   { width: 100% !important; order: 2; margin-top: 0 !important; }
    .hero-image img { width: 100% !important; max-width: 480px; margin: 0 auto; display: block; }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
        line-height: 1.2 !important;
    }
    .hero-subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1rem) !important;
        line-height: 1.7 !important;
        margin-top: 12px;
    }
    .hero-actions { justify-content: center; margin-top: 20px; }

    /* ---- SECTION HEADINGS ---- */
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
        line-height: 1.25 !important;
    }
    .section-subtitle {
        font-size: clamp(0.8rem, 3.5vw, 0.95rem) !important;
    }
    .section-question {
        font-size: clamp(1.6rem, 7vw, 2.6rem) !important;
        line-height: 1.2 !important;
    }

    /* ---- GRIDS → SINGLE COLUMN ---- */
    .about-grid,
    .story-grid,
    .cards-grid,
    .contact-grid,
    .showcase-grid,
    .benefits-grid-row,
    .vision-tiles-grid {
        grid-template-columns: 1fr !important;
        gap: clamp(16px, 4vw, 24px) !important;
    }

    /* ---- PRODUCT / TECHNOLOGY ---- */
    .product-layout,
    .hero-layout,
    .prototype-layout {
        flex-direction: column !important;
        gap: clamp(24px, 6vw, 40px) !important;
    }
    .product-image-center img {
        max-width: 100% !important;
        border-radius: 8px;
    }

    /* ---- CARDS ---- */
    .card,
    .story-card,
    .about-card,
    .vision-tile {
        padding: clamp(16px, 4vw, 24px) !important;
        border-radius: 12px !important;
        width: 100% !important;
    }

    /* ---- PROTOTYPE SECTION ---- */
    .prototype-concept-section,
    .prototype-layout {
        grid-template-columns: 1fr !important;
    }
    .prototype-left,
    .prototype-right { width: 100% !important; }

    /* ---- BIKE DIAGRAM ---- */
    .diagram-wrapper { padding: 0 clamp(16px, 5vw, 24px) !important; margin: 40px auto !important; }
    .bike-diagram-img { padding: 10px !important; }

    /* ---- INTEREST COUNTER / PILL ---- */
    .public-action { flex-wrap: wrap !important; justify-content: center !important; }
    .interest-pill { font-size: clamp(0.75rem, 3vw, 0.85rem) !important; }

    /* ---- CONTACT SECTION ---- */
    .contact-info,
    .contact-form { width: 100% !important; }
    .contact-info-item { flex-wrap: wrap !important; }

    /* ---- FOOTER ---- */
    footer .container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
    footer .footer-links { flex-wrap: wrap !important; justify-content: center !important; }

    /* ---- EARTH / GLOBE SECTION ---- */
    #earth-container,
    .earth-wrapper { width: 100% !important; height: clamp(200px, 60vw, 350px) !important; }

    /* ---- SCROLL INDICATOR ---- */
    .scroll-indicator { display: none; }

    /* ---- VISION TILES ---- */
    .vision-tile { flex: 1 1 100% !important; }
}

/* --- Small phones: 320px – 480px --- */
@media (max-width: 480px) {
    html { font-size: clamp(13px, 4vw, 15px); }

    .hero-title  { font-size: clamp(1.5rem, 9vw, 2rem) !important; }
    .section-title { font-size: clamp(1.4rem, 8vw, 2rem) !important; }
    .section-question { font-size: clamp(1.3rem, 8vw, 1.8rem) !important; }

    /* Nav tighter on very small screens */
    .nav-logo-img { height: 36px !important; }

    /* Buttons full-width on tiny screens */
    .btn-primary, .btn-secondary {
        width: 100% !important;
        text-align: center !important;
        padding: 14px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Cards: full padding reset */
    .card, .story-card, .about-card, .vision-tile {
        padding: 16px !important;
    }

    /* Contact form inputs */
    .form-control, input, textarea, select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }

    /* Interest counter pill compact */
    .interest-count { font-size: 1.2rem !important; }
}

/* --- Very small phones: below 360px --- */
@media (max-width: 360px) {
    html { font-size: 13px; }
    section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .hero-title { font-size: 1.5rem !important; }
}




@property --beam-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ongoing-tile::before { content: ''; position: absolute; inset: -1px; border-radius: 12px; padding: 1.5px; background: conic-gradient(from var(--beam-angle), transparent 70%, rgba(57, 255, 20, 0.4) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: beamSpin 3s linear infinite; z-index: 10; }
@keyframes beamSpin { from { --beam-angle: 0deg; } to { --beam-angle: 360deg; } }

@media (min-width: 768px) { .responsive-single-line { white-space: nowrap !important; font-size: clamp(1rem, 2.5vw, 2.5rem) !important; } }
@media (max-width: 767px) { .responsive-single-line { white-space: normal !important; font-size: 1.8rem !important; } }

/* Zoomable Image Effect */
.zoomable-img { cursor: zoom-in; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease; }
.zoomable-img:hover { transform: scale(1.08); opacity: 1 !important; }

/* ---- MOBILE TILE LAYOUT ---- */
.mobile-read-more-btn { display: none; }
.tile-desc-container { overflow: hidden; }
@media (max-width: 768px) {
    .product-tiles-container { flex-direction: column !important; }
    .mobile-read-more-btn { display: inline-block; background: transparent; color: #00ffff; border: 1px solid rgba(0, 255, 255, 0.4); padding: 6px 14px; border-radius: 4px; font-size: 0.85rem; cursor: pointer; margin-top: 15px; align-self: flex-start; transition: all 0.3s ease; }
    .mobile-read-more-btn:hover { background: rgba(0, 255, 255, 0.1); border-color: #00ffff; }
    .tile-desc-container { max-height: 0; opacity: 0; margin-top: 0; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), opacity 0.5s ease-in-out, margin-top 0.5s ease; }
    .tile-desc-container.expanded { max-height: 500px; opacity: 1; margin-top: 10px; transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.5s ease; }
}

.responsive-nowrap { white-space: nowrap; }
@media (max-width: 768px) {
    .responsive-nowrap { white-space: normal !important; }
    .future-products-section .section-title span:last-child { font-size: 1.1em !important; margin-top: 5px !important; line-height: 1.2; }
}

/* ---- SPACING BETWEEN HEADER AND HERO ---- */
@media (max-width: 1024px) {
    .hero-section { 
        padding-top: 160px !important; 
        align-items: flex-start !important; 
    }
}
@media (max-width: 768px) {
    .hero-section { 
        padding-top: 180px !important; 
        align-items: flex-start !important; 
    }
}
