:root {
    --bg-body: #050508;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    --primary: #FF5500;
    --primary-glow: rgba(255, 85, 0, 0.4);
    --secondary: #00D4FF;
    --secondary-glow: rgba(0, 212, 255, 0.4);
    --text-main: #ffffff;
    --text-muted: #8a8a9a;
    --text-dark: #050508;
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 6px;
}

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

/* === FULL IMMERSIVE BACKGROUND === */
html { 
    scroll-behavior: smooth; 
    -webkit-font-smoothing: antialiased;
    background-color: #050508;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* Full viewport coverage - the universe never ends */
html, body {
        background-color: #050508;
        height: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        margin: 0;
        padding: 0;
        /* Prevent any gaps at edges */
        overflow-x: hidden;
}

/* iOS Safari 100vh fix: use --vh for immersive backgrounds */
@supports (--css: variables) {
    html.ios-safari-fullscreen, body.ios-safari-fullscreen {
        min-height: calc(var(--vh, 1vh) * 100) !important;
        height: calc(var(--vh, 1vh) * 100) !important;
    }
}
}

/* iOS Safari 100vh fix: use --vh for immersive backgrounds */
@supports (--css: variables) {
  html.ios-safari-fullscreen, body.ios-safari-fullscreen {
    min-height: calc(var(--vh, 1vh) * 100) !important;
    height: calc(var(--vh, 1vh) * 100) !important;
  }
}

/* === GLOBAL BACKGROUND LAYER === */
/* This ensures background color extends BEYOND the viewport in all directions */
html::before {
    content: '';
    position: fixed;
    top: -50vh;
    left: -50vw;
    width: 200vw;
    height: 200vh;
    background-color: var(--bg-body);
    z-index: -100;
    pointer-events: none;
}

/* Safe area insets for notched devices - applied via padding-box only */
body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Ensure background extends everywhere */
    background-color: var(--bg-body);
    background-attachment: fixed;
}

/* iOS Safari safe area - fill with background color, not transparent */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body::after {
        content: '';
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: env(safe-area-inset-bottom);
        background: var(--bg-body);
        z-index: -1;
        pointer-events: none;
    }
}

/* GPU acceleration for animated elements */
.gradient-orb, .beam, .particle, .geo-shape, .glow-orb, .streak, .dot,
.stat-card, .cursor-dot, .cursor-ring, .spotlight {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Contain layout for performance */
.section {
    contain: layout style;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* === LOADING SCREEN === */
.loading-screen {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.6s ease, visibility 0.6s, backdrop-filter 0.6s;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; backdrop-filter: blur(0); }
.loading-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #ff7733);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}
.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}
.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    animation: loadProgress 1s ease forwards;
}
@keyframes loadProgress { to { width: 100%; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    z-index: 9998;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--primary-glow);
    will-change: width;
}
@keyframes progressGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* === CUSTOM CURSOR - Creative Design === */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
}
/* Arrow cursor shape */
.cursor-dot::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid var(--primary);
    transform: rotate(-45deg);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}
.cursor-dot::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 3px;
    width: 3px;
    height: 10px;
    background: var(--primary);
    transform: rotate(-45deg);
    border-radius: 0 0 2px 2px;
    filter: drop-shadow(0 0 6px var(--primary-glow));
}
.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-right-color: rgba(255, 85, 0, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9996;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    will-change: transform, width, height;
    animation: cursorSpin 2s linear infinite;
}
@keyframes cursorSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.cursor-ring.hover {
    width: 48px;
    height: 48px;
    border-color: var(--primary);
    background: rgba(255, 85, 0, 0.1);
    opacity: 1;
    animation: cursorPulse 0.6s ease infinite;
}
@keyframes cursorPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}
/* Cursor trail effect */
.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9995;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
    pointer-events: auto;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top.active-glow {
    box-shadow: 0 0 0 4px var(--primary-glow), 0 4px 20px var(--primary-glow);
    filter: drop-shadow(0 0 8px var(--primary));
}
.back-to-top:hover { transform: translateY(-5px) scale(1.1); }

/* iOS Safari: apply immersive background class if detected */
@media screen and (max-width: 900px) {
  html.ios-safari-fullscreen, body.ios-safari-fullscreen {
    min-height: calc(var(--vh, 1vh) * 100) !important;
    height: calc(var(--vh, 1vh) * 100) !important;
  }
}

/* === FLOATING GEOMETRIC SHAPES (Cross-browser compatible) === */
.geo-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: contents;
}

.geo-shape {
    position: absolute;
    opacity: 0.18;
    animation: geoFloat 20s ease-in-out infinite;
    filter: blur(0.5px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.geo-shape.hexagon {
    width: 100px;
    height: 87px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    box-shadow: 0 0 40px var(--primary-glow);
}

.geo-shape.hex-2 {
    width: 80px;
    height: 69px;
    top: 60%;
    left: 85%;
    animation-delay: -7s;
    animation-duration: 25s;
}

.geo-shape.triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid var(--secondary);
    background: transparent;
    top: 70%;
    left: 12%;
    animation-delay: -3s;
    animation-duration: 22s;
    filter: drop-shadow(0 0 20px var(--secondary-glow));
}

.geo-shape.tri-2 {
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69px solid var(--primary);
    top: 25%;
    left: 75%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.geo-shape.diamond {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    transform: rotate(45deg);
    top: 40%;
    left: 90%;
    animation-delay: -5s;
}

.geo-shape.dia-2 {
    width: 60px;
    height: 60px;
    background: var(--primary);
    transform: rotate(45deg);
    top: 80%;
    left: 50%;
    animation-delay: -12s;
    animation-duration: 28s;
}

.geo-shape.circle-ring {
    width: 150px;
    height: 150px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: transparent;
    top: 20%;
    left: 60%;
    animation-delay: -8s;
    animation-duration: 30s;
}

.geo-shape.ring-2 {
    width: 100px;
    height: 100px;
    border-color: var(--secondary);
    top: 55%;
    left: 5%;
    animation-delay: -15s;
    animation-duration: 24s;
}

@keyframes geoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
    75% {
        transform: translateY(-40px) rotate(3deg);
    }
}

/* === GLOWING ORBS === */
.glow-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -4;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbPulse 8s ease-in-out infinite;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: -3s;
}

.glow-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: 40%;
    animation-delay: -5s;
}

@keyframes orbPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* === DIAGONAL LIGHT STREAKS === */
.diagonal-streaks {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.diagonal-streaks .streak {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    transform: rotate(-45deg);
    opacity: 0;
    animation: streakShoot 8s linear infinite;
}

.diagonal-streaks .streak:nth-child(1) {
    left: 20%;
    top: -100px;
    animation-delay: 0s;
}

.diagonal-streaks .streak:nth-child(2) {
    left: 50%;
    top: -100px;
    animation-delay: 2.5s;
    height: 150px;
}

.diagonal-streaks .streak:nth-child(3) {
    left: 80%;
    top: -100px;
    animation-delay: 5s;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--secondary), transparent);
}

@keyframes streakShoot {
    0% {
        transform: rotate(-45deg) translateY(-200px);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(-45deg) translateY(calc(100vh + 200px));
        opacity: 0;
    }
}

/* === HONEYCOMB PATTERN === */
.honeycomb-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='rgba(255,85,0,0.03)' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='rgba(0,212,255,0.02)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 56px 100px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* === FLOATING DOTS/PARTICLES === */
.floating-dots {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-dots .dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: dotFloat 15s linear infinite;
}

.floating-dots .dot:nth-child(1) { left: 5%; animation-delay: 0s; }
.floating-dots .dot:nth-child(2) { left: 15%; animation-delay: 1.2s; background: var(--secondary); }
.floating-dots .dot:nth-child(3) { left: 25%; animation-delay: 2.4s; }
.floating-dots .dot:nth-child(4) { left: 35%; animation-delay: 3.6s; background: var(--secondary); }
.floating-dots .dot:nth-child(5) { left: 45%; animation-delay: 4.8s; }
.floating-dots .dot:nth-child(6) { left: 55%; animation-delay: 6s; background: var(--secondary); }
.floating-dots .dot:nth-child(7) { left: 65%; animation-delay: 7.2s; }
.floating-dots .dot:nth-child(8) { left: 75%; animation-delay: 8.4s; background: var(--secondary); }
.floating-dots .dot:nth-child(9) { left: 85%; animation-delay: 9.6s; }
.floating-dots .dot:nth-child(10) { left: 95%; animation-delay: 10.8s; background: var(--secondary); }
.floating-dots .dot:nth-child(11) { left: 10%; animation-delay: 12s; }
.floating-dots .dot:nth-child(12) { left: 90%; animation-delay: 13.2s; background: var(--secondary); }

@keyframes dotFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Ensure body extends full height even with minimal content */
    min-height: 100vh;
    min-height: -webkit-fill-available;
    position: relative;
}

/* === NOISE OVERLAY (Disabled for cleaner look) === */

/* === ANIMATED GRADIENT MESH (Warm Orange Glows) === */
/* This is the primary background layer - covers ENTIRE viewport */
.gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    /* Extend beyond viewport to prevent any gaps during scroll bounce */
    min-height: 100%;
    min-height: -webkit-fill-available;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
    /* Safari fixes */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: contents;
    /* Ensure it stays fixed during scroll */
    background-color: var(--bg-body);
}
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 1 !important;
    visibility: visible !important;
    animation: orbFloat 25s ease-in-out infinite;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.orb-1 {
    width: 800px; height: 800px;
    background: radial-gradient(circle at center, rgba(255, 100, 30, 0.6) 0%, rgba(255, 60, 0, 0.4) 30%, transparent 70%);
    top: -300px; right: -100px;
    animation-delay: 0s;
    -webkit-filter: blur(80px);
    filter: blur(80px);
}
.orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle at center, rgba(255, 140, 60, 0.55) 0%, rgba(255, 80, 20, 0.35) 30%, transparent 70%);
    top: 30%; left: -200px;
    animation-delay: -8s;
    -webkit-filter: blur(80px);
    filter: blur(80px);
}
.orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle at center, rgba(220, 80, 40, 0.5) 0%, rgba(180, 50, 10, 0.3) 30%, transparent 70%);
    bottom: -200px; right: 10%;
    animation-delay: -15s;
    -webkit-filter: blur(80px);
    filter: blur(80px);
}
.orb-4 {
    width: 600px; height: 600px;
    background: radial-gradient(circle at center, rgba(255, 120, 50, 0.55) 0%, rgba(255, 80, 20, 0.3) 30%, transparent 70%);
    top: 50%; left: 30%;
    animation-delay: -20s;
    -webkit-filter: blur(80px);
    filter: blur(80px);
}
/* Secondary accent orbs for depth */
.orb-5 {
    width: 500px; height: 500px;
    background: radial-gradient(circle at center, rgba(0, 200, 255, 0.35) 0%, rgba(0, 180, 220, 0.2) 30%, transparent 70%);
    bottom: 20%; left: 5%;
    animation-delay: -12s;
    -webkit-filter: blur(100px);
    filter: blur(100px);
}
.orb-6 {
    width: 400px; height: 400px;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.4) 0%, rgba(140, 60, 220, 0.25) 30%, transparent 70%);
    top: 60%; right: 5%;
    animation-delay: -18s;
    -webkit-filter: blur(100px);
    filter: blur(100px);
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -60px) scale(1.15); }
    50% { transform: translate(-50px, 50px) scale(0.9); }
    75% { transform: translate(-80px, -40px) scale(1.1); }
}

/* === LIGHT BEAMS === */
.light-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.beam {
    position: absolute;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 85, 0, 0.6), transparent);
    opacity: 0.25;
    animation: beamMove 8s ease-in-out infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    filter: blur(1px);
}
.beam:nth-child(1) { left: 10%; animation-delay: 0s; }
.beam:nth-child(2) { left: 30%; animation-delay: -2s; }
.beam:nth-child(3) { left: 50%; animation-delay: -4s; }
.beam:nth-child(4) { left: 70%; animation-delay: -6s; }
.beam:nth-child(5) { left: 90%; animation-delay: -1s; }
@keyframes beamMove {
    0%, 100% { transform: translateY(-100%) rotate(15deg); opacity: 0; }
    50% { transform: translateY(100%) rotate(15deg); opacity: 0.15; }
}

/* === STARS/PARTICLES (Mixed colors - white, orange, cyan) === */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.4);
}
/* Orange stars */
.star:nth-child(4n) {
    background: var(--primary);
    box-shadow: 0 0 8px 3px var(--primary-glow);
}
/* Cyan stars */
.star:nth-child(5n) {
    background: var(--secondary);
    box-shadow: 0 0 8px 3px var(--secondary-glow);
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

/* =====================================================
   SHOOTING STARS - Premium Diagonal Animation
   =====================================================
   All stars move from TOP-LEFT to BOTTOM-RIGHT.
   
   HOW TO CUSTOMIZE:
   - Number of stars: Add/remove .shooting-star divs in HTML (8-12 recommended)
   - Speed: Adjust animation-duration on each star (4s-8s range works best)
   - Spacing: Modify animation-delay for staggered timing (1.5s-2s apart)
   - Intensity: Adjust opacity values in keyframes (0.6-0.9 range)
   ===================================================== */

.shooting-stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Base shooting star - starts off-screen top-left */
.shooting-star {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 1.5px;
    /* Trail fades from transparent (left/behind) to bright head (right/front) */
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 140, 60, 0.4) 50%,
        rgba(255, 85, 0, 0.7) 80%,
        rgba(255, 255, 255, 0.9) 100%
    );
    border-radius: 100px;
    opacity: 0;
    /* Single shared keyframe for consistent diagonal motion */
    animation: shootDiagonal 6s linear infinite;
    /* Rotate to point in direction of travel (45 degrees = diagonal) */
    transform-origin: right center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Star head glow - positioned at the RIGHT (leading edge) */
.shooting-star::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 
        0 0 6px 2px rgba(255, 255, 255, 0.8),
        0 0 12px 4px rgba(255, 85, 0, 0.5),
        0 0 20px 6px rgba(255, 85, 0, 0.2);
}

/* Cyan variant for every 2nd star - same direction, different color */
.shooting-star:nth-child(2n) {
    /* Trail fades from transparent (behind) to bright cyan head (front) */
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 180, 255, 0.4) 50%,
        rgba(0, 212, 255, 0.7) 80%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

.shooting-star:nth-child(2n)::before {
    box-shadow: 
        0 0 6px 2px rgba(255, 255, 255, 0.8),
        0 0 12px 4px rgba(0, 212, 255, 0.5),
        0 0 20px 6px rgba(0, 212, 255, 0.2);
}

/* Slight opacity variations for depth - same animation */
.shooting-star:nth-child(3n) { --star-opacity: 0.7; }
.shooting-star:nth-child(5n) { --star-opacity: 0.6; }

/* =====================================================
   SINGLE KEYFRAME - Diagonal movement top-left to bottom-right
   Stars start at -20% (off-screen top-left)
   Stars end at 120% (off-screen bottom-right)
   ===================================================== */
@keyframes shootDiagonal {
    0% {
        /* Start off-screen: top-left corner */
        transform: translate(-20vw, -20vh) rotate(45deg);
        opacity: 0;
    }
    /* Quick fade in */
    3% {
        opacity: var(--star-opacity, 0.85);
    }
    /* Smooth diagonal travel */
    40% {
        /* Travel diagonally across viewport */
        transform: translate(100vw, 100vh) rotate(45deg);
        opacity: 0;
    }
    /* Stay invisible for rest of cycle (creates spacing between appearances) */
    100% {
        transform: translate(100vw, 100vh) rotate(45deg);
        opacity: 0;
    }
}

/* === FLOATING PARTICLES (Rise & Fall) === */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    bottom: -20px;
    animation: particleRise linear infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.particle.orange { background: var(--primary); box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary); }
.particle.cyan { background: var(--secondary); box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary); }
.particle.purple { background: #a855f7; box-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7; }
.particle.white { background: white; box-shadow: 0 0 8px white, 0 0 15px rgba(255,255,255,0.5); }

@keyframes particleRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    45% {
        transform: translateY(calc(-100vh + 100px)) translateX(var(--drift)) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translateY(calc(-100vh + 90px)) translateX(var(--drift)) scale(0.6);
        opacity: 0.8;
    }
    55% {
        transform: translateY(calc(-100vh + 100px)) translateX(var(--drift)) scale(0.7);
        opacity: 0.6;
    }
    95% {
        transform: translateY(20vh) translateX(calc(var(--drift) * -0.5)) scale(0.3);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
}

/* === RIPPLE CLICK EFFECT === */
.ripple {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,85,0,0.4), transparent 70%);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 9995;
}
@keyframes rippleEffect {
    to { transform: scale(4); opacity: 0; }
}

/* === GRID OVERLAY === */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 3;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h1 { 
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    line-height: 1.1;
    /* Ensure perfect baseline alignment for inline elements */
    display: block;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-muted); font-size: 1.05rem; }

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-primary { color: var(--primary); }
.text-glow { 
    text-shadow: 0 0 30px var(--primary-glow), 0 0 60px rgba(255,85,0,0.3); 
    animation: textGlow 2s ease-in-out infinite;
}
@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 30px var(--primary-glow), 0 0 60px rgba(255,85,0,0.3); }
    50% { text-shadow: 0 0 40px var(--primary-glow), 0 0 80px rgba(255,85,0,0.5), 0 0 100px rgba(255,85,0,0.2); }
}

/* === SPOTLIGHT CURSOR GLOW === */
.spotlight {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
    pointer-events: auto;
    position: absolute;
    bottom: -4px;
.back-to-top.active-glow {
    box-shadow: 0 0 0 4px var(--primary-glow), 0 4px 20px var(--primary-glow);
    filter: drop-shadow(0 0 8px var(--primary));
}
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.text-center { text-align: center; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* Sections are TRANSPARENT - background shows through everywhere */
.section { 
    padding: 120px 0; 
    position: relative; 
    z-index: 10; 
    background: transparent;
}

/* === GLASS PANEL WITH 3D TILT & SHINE === */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
    position: relative;
    overflow: hidden;
}
/* Shine sweep effect */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}
.glass-panel:hover::before {
    left: 150%;
}
.glass-panel:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 30px rgba(255,85,0,0.08), inset 0 0 30px rgba(255,255,255,0.02);
}

/* === MAGNETIC BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff7733);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
    position: relative;
    z-index: 1;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: gradientRotate 4s linear infinite;
    transition: opacity 0.3s;
}
@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.btn-primary:hover::after {
    opacity: 1;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--primary-glow), 0 0 40px rgba(255,85,0,0.3);
}
.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass-hover);
    color: var(--text-main);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-main);
}
.btn-full { width: 100%; }

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(5, 5, 8, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
    background: rgba(5, 5, 8, 0.75);
    border-bottom-color: var(--border-glass);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; }
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #ff7733);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}
.nav-links { display: flex; gap: 32px; }
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}
.nav-link:hover { color: var(--text-main); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }
.mobile-toggle { display: none; background: none; border: none; color: white; cursor: none; }

/* === HERO === */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    /* Transparent - global background shows through */
    background: transparent;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 { margin-bottom: 24px; }

/* === TEXT SCRAMBLE EFFECT === */
/* Fixed-width slot prevents layout shift when words change */
.scramble-wrapper {
    display: inline;
    position: relative;
    width: auto;
    min-width: 9ch;
    max-width: 9ch;
    text-align: left;
    vertical-align: baseline;
    line-height: inherit;
}
.scramble-text {
    display: inline;
    white-space: nowrap;
    position: relative;
    vertical-align: baseline;
    line-height: inherit;
}

.hero-subtitle { font-size: 1.15rem; margin-bottom: 40px; max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}
.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.badge svg { color: var(--secondary); }

/* === FLOATING STAT CARDS WITH PARALLAX === */
.hero-visual {
    position: relative;
    height: 450px;
    perspective: 1000px;
}
.stat-card {
    position: absolute;
    padding: 20px;
    width: 180px;
    background: rgba(10,10,15,0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.stat-card h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card.card-1 { 
    top: 5%; right: 10%; 
    border: 2px solid transparent;
    background: linear-gradient(rgba(10,10,15,0.9), rgba(10,10,15,0.9)) padding-box, 
                linear-gradient(135deg, var(--primary), #ff7733, var(--primary)) border-box;
    animation: card1Float 6s ease-in-out infinite, borderGlow1 3s ease-in-out infinite;
}
.stat-card.card-2 { 
    top: 40%; left: 0%; z-index: 3; 
    border: 2px solid transparent;
    background: linear-gradient(rgba(10,10,15,0.9), rgba(10,10,15,0.9)) padding-box, 
                linear-gradient(135deg, var(--secondary), #00ffcc, var(--secondary)) border-box;
    animation: card2Float 7s ease-in-out infinite, borderGlow2 3s ease-in-out infinite;
}
.stat-card.card-3 { 
    bottom: 10%; right: 20%; 
    border: 2px solid transparent;
    background: linear-gradient(rgba(10,10,15,0.9), rgba(10,10,15,0.9)) padding-box, 
                linear-gradient(135deg, #a855f7, #ec4899, #a855f7) border-box;
    animation: card3Float 8s ease-in-out infinite, borderGlow3 3s ease-in-out infinite;
}

/* Animated floating for each card */
@keyframes card1Float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}
@keyframes card2Float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-2deg); }
}
@keyframes card3Float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(1deg); }
}

/* Glowing borders animation */
@keyframes borderGlow1 {
    0%, 100% { box-shadow: 0 0 20px rgba(255,85,0,0.3), 0 0 40px rgba(255,85,0,0.1); }
    50% { box-shadow: 0 0 30px rgba(255,85,0,0.5), 0 0 60px rgba(255,85,0,0.2); }
}
@keyframes borderGlow2 {
    0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.3), 0 0 40px rgba(0,212,255,0.1); }
    50% { box-shadow: 0 0 30px rgba(0,212,255,0.5), 0 0 60px rgba(0,212,255,0.2); }
}
@keyframes borderGlow3 {
    0%, 100% { box-shadow: 0 0 20px rgba(168,85,247,0.3), 0 0 40px rgba(236,72,153,0.1); }
    50% { box-shadow: 0 0 30px rgba(168,85,247,0.5), 0 0 60px rgba(236,72,153,0.2); }
}

/* === STATS BANNER === */
.stats-banner {
    padding: 60px 0;
    /* Subtle overlay that lets the global background show through */
    background: linear-gradient(90deg, rgba(255,85,0,0.05), rgba(0,212,255,0.05));
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.stat-item p { font-size: 0.9rem; }

/* === LOGO STRIP === */
.logo-strip {
    padding: 50px 0;
    background: rgba(255,255,255,0.01);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}
.logo-strip > p {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.logos-scroll {
    display: flex;
    gap: 60px;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}
.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    opacity: 0.6;
    transition: all 0.3s;
    white-space: nowrap;
}
.logo-item:hover { opacity: 1; color: var(--text-main); }
.logo-item svg { width: 32px; height: 32px; }
.logo-item span { font-weight: 600; font-size: 0.9rem; }
@keyframes scrollLogos { to { transform: translateX(-50%); } }

/* === TECH STACK / INTEGRATIONS === */
.tech-stack {
    padding: 80px 0;
    text-align: center;
}
.tech-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.tech-item {
    width: 80px;
    height: 80px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}
.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--tech-color, var(--primary));
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px color-mix(in srgb, var(--tech-color, var(--primary)) 30%, transparent);
    background: rgba(255, 255, 255, 0.05);
}
.tech-item svg { 
    width: 40px; 
    height: 40px; 
    transition: all 0.3s ease;
}
.tech-item:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--tech-color, var(--primary)));
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}
.service-card { padding: 40px; height: 100%; }
.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,85,0,0.1);
    border: 1px solid rgba(255,85,0,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: all 0.3s;
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 30px var(--primary-glow);
}
.service-card h3 { margin-bottom: 16px; }
.service-card ul { margin-bottom: 20px; }
.service-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.service-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* === WORK / MOCKUPS === */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.work-card {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    cursor: none;
    border: none;
    max-height: 280px;
    background: transparent;
}
.work-card.glass-panel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.work-image {
    width: 100%;
    height: 100%;
    background: transparent;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.work-card:hover .work-image { transform: scale(1.05); }
.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(5,5,8,0.95), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s;
}
.work-card:hover .work-overlay { transform: translateY(0); opacity: 1; }
.work-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 5px 10px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 100px;
    color: var(--secondary);
    font-weight: 600;
}

/* === MOCKUP STYLES === */
.mockup-container {
    width: 100%;
    height: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.mockup-browser {
    width: 95%;
    height: 90%;
    background: rgba(10, 10, 15, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mockup-browser-bar {
    height: 30px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}
.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27ca40; }
.mockup-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mockup-header {
    height: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.mockup-sidebar {
    width: 60px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}
.mockup-chart {
    flex: 1;
    background: linear-gradient(180deg, rgba(255,85,0,0.1), rgba(0,212,255,0.05));
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.mockup-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(90deg, 
        rgba(255,85,0,0.3) 0%, 
        rgba(255,85,0,0.5) 20%, 
        rgba(0,212,255,0.5) 50%, 
        rgba(0,212,255,0.3) 100%);
    clip-path: polygon(0 100%, 5% 80%, 15% 60%, 25% 70%, 35% 40%, 45% 50%, 55% 30%, 65% 45%, 75% 20%, 85% 35%, 95% 15%, 100% 25%, 100% 100%);
}
.mockup-cards {
    display: flex;
    gap: 10px;
}
.mockup-card {
    flex: 1;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border: 1px solid var(--border-glass);
}

/* === VIDEO PREVIEW SECTION === */
.video-section { padding: 100px 0; }
.video-container {
    position: relative;
    aspect-ratio: 16/9;
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,85,0,0.1), rgba(0,212,255,0.1));
    border: 1px solid var(--border-glass);
}
.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 40px var(--primary-glow);
}
.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px var(--primary-glow);
}
.play-button svg { margin-left: 5px; }

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}
.testimonial-card { padding: 32px; }
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-main);
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}
.author-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.author-info p { font-size: 0.8rem; margin: 0; }

/* === TRUST/GUARANTEE SECTION === */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(255,85,0,0.02));
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}
.trust-item {
    text-align: center;
    padding: 40px;
}
.trust-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255,85,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.trust-item h3 { margin-bottom: 12px; }

/* === PROCESS === */
.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-glass-hover), transparent);
}
.process-step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    margin: 0 5px;
}
.process-step:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 85, 0, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 85, 0, 0.1);
    border: 2px solid rgba(255, 85, 0, 0.3);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.process-step:hover .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: scale(1.1);
}

/* === PRICING === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    align-items: stretch;
}
.pricing-card { padding: 40px; display: flex; flex-direction: column; }
.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(255,85,0,0.08), transparent);
    transform: scale(1.05);
    z-index: 2;
}
.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}
.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
}
.pricing-features { flex-grow: 1; margin-bottom: 30px; }
.pricing-features li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.pricing-features svg { color: var(--primary); flex-shrink: 0; }

/* === FAQ === */
.faq-grid {
    max-width: 800px;
    margin: 60px auto 0;
}
.accordion-item {
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}
.accordion-icon {
    transition: transform 0.3s;
    color: var(--primary);
}
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}
.accordion-content p {
    padding-bottom: 24px;
    line-height: 1.7;
}

/* === CONTACT SECTION === */
.contact-section { padding-bottom: 150px; }

/* Contact Options Grid */
.contact-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 40px auto 0;
}

.contact-option {
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-4px);
}

.contact-option-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-option:hover .contact-option-icon {
    background: rgba(255, 85, 0, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.3);
}

.contact-option h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.contact-option p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    min-height: 48px;
}

/* Contact Form */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    transform: none !important;
}
.contact-wrapper.glass-panel:hover { transform: none !important; }

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 430px) {
    .contact-wrapper {
        padding: 24px 16px;
    }
}

@media (max-width: 600px) {
    .contact-options {
        grid-template-columns: 1fr;
    }
    .contact-option p {
        min-height: auto;
    }
}

.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: text;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,85,0,0.03);
    box-shadow: 0 0 0 3px rgba(255,85,0,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { cursor: pointer; }

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
    /* Glass footer - keeps the global background visible */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 30px;
}
.social-links { display: flex; gap: 24px; }
.social-links a { color: var(--text-muted); font-weight: 500; transition: all 0.2s; }
.social-links a:hover { color: var(--primary); }

/* Footer Legal Section */
.footer-legal {
    text-align: center;
}
.footer-legal p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.footer-registration {
    font-size: 0.75rem !important;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 15px;
    line-height: 1.5;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--primary);
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
    width: 90%;
    max-width: 600px;
    background: #0a0a0f;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    padding: 16px 24px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    color: white;
    z-index: 3000;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px var(--primary-glow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.toast.active { 
    transform: translateX(-50%) translateY(0); 
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* === ANIMATIONS === */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

.stagger > * {
    opacity: 0;
    transform: translateY(30px);
}
.stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }
.stagger > * { transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .pricing-grid { gap: 20px; }
    .hero-grid { gap: 40px; }
}

/* Tablet - keep stat cards in row */
@media (max-width: 1024px) and (min-width: 601px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        height: auto;
        margin-top: 30px;
    }
    .stat-card {
        position: relative;
        width: auto;
        min-width: 140px;
        max-width: 170px;
        padding: 16px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    .stat-card h4 { font-size: 0.65rem; }
    .stat-value { font-size: 1.6rem; }
    .stat-card p { font-size: 0.7rem !important; margin-top: 6px !important; }
    .stat-card.card-1,
    .stat-card.card-2,
    .stat-card.card-3 {
        animation: none;
    }
}

@media (max-width: 900px) {
    .nav-links { 
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border-glass);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; cursor: pointer; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
    /* Fixed width prevents layout shift on mobile - keeps inline alignment */
    .scramble-wrapper { display: inline; min-width: 9ch; max-width: 9ch; vertical-align: baseline; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .trust-badges { justify-content: center; }
    .hero-visual { 
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        height: auto;
        margin-top: 40px;
        flex-wrap: wrap;
    }
    .stat-card {
        position: relative;
        width: calc(33% - 10px);
        min-width: 150px;
        max-width: 180px;
        padding: 16px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    .stat-card h4 { font-size: 0.65rem; }
    .stat-value { font-size: 1.5rem; }
    .stat-card p { font-size: 0.7rem !important; }
    /* Keep floating animations on mobile but gentler */
    .stat-card.card-1 {
        animation: mobileFloat1 4s ease-in-out infinite, borderGlow1 3s ease-in-out infinite;
    }
    .stat-card.card-2 {
        animation: mobileFloat2 5s ease-in-out infinite 0.5s, borderGlow2 3s ease-in-out infinite;
    }
    .stat-card.card-3 {
        animation: mobileFloat3 4.5s ease-in-out infinite 1s, borderGlow3 3s ease-in-out infinite;
    }
    
    /* Gentler mobile floating animations */
    @keyframes mobileFloat1 {
        0%, 100% { transform: translateY(0) translateX(0); }
        50% { transform: translateY(-10px) translateX(5px); }
    }
    @keyframes mobileFloat2 {
        0%, 100% { transform: translateY(0) translateX(0); }
        50% { transform: translateY(-12px) translateX(-5px); }
    }
    @keyframes mobileFloat3 {
        0%, 100% { transform: translateY(0) translateX(0); }
        50% { transform: translateY(-8px) translateX(3px); }
    }
    
    /* Make work overlays always visible on mobile (no hover) */
    .work-overlay {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top, rgba(5,5,8,0.98) 0%, rgba(5,5,8,0.7) 60%, transparent 100%);
    }
    .work-card .work-image {
        transform: scale(1);
    }
    .work-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 30px; }
    .pricing-card.popular { transform: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item h3 { font-size: 2rem; }
    .trust-grid { grid-template-columns: 1fr; gap: 20px; }
    .process-timeline { flex-direction: column; gap: 20px; }
    .process-timeline::before { display: none; }
    .process-step { padding: 25px; }
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
    .btn { cursor: pointer; }
    .section { padding: 80px 0; }
    .tech-grid { gap: 20px; }
    .tech-item { width: 60px; height: 60px; }
    .tech-item svg { width: 30px; height: 30px; }
    .services-grid { gap: 16px; }
    .service-card { padding: 30px; }
}

@media (max-width: 600px) {
    h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .hero { padding-top: calc(var(--header-height) + 40px); padding-bottom: 60px; }
    /* Fixed width prevents layout shift on small screens - keeps inline alignment */
    .scramble-wrapper { display: inline; min-width: 9ch; max-width: 9ch; vertical-align: baseline; }
    
    /* Work cards - persistent overlay on small screens */
    .work-overlay {
        padding: 20px;
    }
    .work-overlay h3 {
        font-size: 1.1rem;
    }
    .work-overlay p {
        font-size: 0.85rem;
    }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .stat-item h3 { font-size: 1.5rem; }
    .stat-item p { font-size: 0.75rem; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 30px 20px; }
    .price { font-size: 2.2rem; }
    .contact-wrapper { padding: 24px !important; }
    .section { padding: 60px 0; }
    .logo-strip { padding: 30px 0; }
    .logos-scroll { gap: 40px; }
    .logo-item svg { width: 24px; height: 24px; }
    .logo-item span { font-size: 0.8rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .social-links { justify-content: center; }
    .video-container { aspect-ratio: 4/3; }
    .play-button { width: 60px; height: 60px; }
    .trust-item { padding: 25px; }
    .trust-icon { width: 50px; height: 50px; }
    .accordion-header { font-size: 0.95rem; padding: 18px 0; }
    /* Mobile bottom nav spacing */
    .footer { margin-bottom: 0; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
    .mobile-bottom-nav { display: flex; }
    
    /* NOTE: Calendly widget and back-to-top mobile positioning 
       are now handled in the dedicated mobile fix section at end of file.
       These styles only apply for tablet (769px-900px). */
    @media (min-width: 769px) {
        .calendly-widget { 
            bottom: 95px; 
            right: 16px;
            transition: all 0.3s ease;
        }
        
        .calendly-widget.shifted {
            bottom: 155px;
            right: 16px;
        }
        
        .back-to-top {
            bottom: 95px;
            right: 16px;
            width: 44px;
            height: 44px;
        }
        
        .calendly-trigger {
            padding: 12px 16px;
            font-size: 0.85rem;
        }
        .calendly-trigger span {
            display: none;
        }
        .calendly-trigger svg {
            margin: 0;
        }
    }
}

/* =================================================
   NEW FEATURES - Availability, Social Proof, etc.
   ================================================= */

/* === AVAILABILITY BADGE (In Hero) === */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    margin-top: 24px;
}

.availability-badge.hero-badge {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: 1;
    animation: none;
}

/* Mobile logo sequential glow animation */
@media (max-width: 900px) {
    .logo-item {
        animation: logoGlow 8s ease-in-out infinite;
    }
    .logo-item:nth-child(1) { animation-delay: 0s; }
    .logo-item:nth-child(2) { animation-delay: 0.5s; }
    .logo-item:nth-child(3) { animation-delay: 1s; }
    .logo-item:nth-child(4) { animation-delay: 1.5s; }
    .logo-item:nth-child(5) { animation-delay: 2s; }
    .logo-item:nth-child(6) { animation-delay: 2.5s; }
    .logo-item:nth-child(7) { animation-delay: 3s; }
    .logo-item:nth-child(8) { animation-delay: 3.5s; }
    .logo-item:nth-child(9) { animation-delay: 4s; }
    .logo-item:nth-child(10) { animation-delay: 4.5s; }
    .logo-item:nth-child(11) { animation-delay: 5s; }
    .logo-item:nth-child(12) { animation-delay: 5.5s; }
    .logo-item:nth-child(13) { animation-delay: 6s; }
    .logo-item:nth-child(14) { animation-delay: 6.5s; }
    .logo-item:nth-child(15) { animation-delay: 7s; }
    .logo-item:nth-child(16) { animation-delay: 7.5s; }
    
    @keyframes logoGlow {
        0%, 10%, 100% { 
            opacity: 0.4; 
            color: var(--text-muted);
            transform: scale(1);
        }
        5% { 
            opacity: 1; 
            color: var(--primary);
            transform: scale(1.15);
            filter: drop-shadow(0 0 15px var(--primary-glow));
        }
    }
}
.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-glow);
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}
@keyframes badgeSlideIn {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* === SOCIAL PROOF NOTIFICATIONS === */
.social-proof-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    z-index: 1001;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    max-width: 320px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.social-proof-notification.show {
    transform: translateX(0);
}
.spn-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), #ff7733);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}
.spn-content {
    flex: 1;
}
.spn-text {
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}
.spn-text strong {
    color: var(--primary);
}
.spn-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 4px 0 0;
}
.spn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.spn-close:hover {
    color: white;
}

/* === COOKIE CONSENT === */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 2000;
    transform: translateY(calc(100% + 100px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}
.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.cookie-consent.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(100%) !important;
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.cookie
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.exit-intent-overlay.show {
    opacity: 1;
    visibility: visible;
}
.exit-intent-modal {
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-hover);
    border-radius: 24px;
    padding: 50px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.exit-intent-overlay.show .exit-intent-modal {
    transform: scale(1) translateY(0);
}
.exit-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}
.exit-close:hover {
    color: white;
}
.exit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 85, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.exit-intent-modal h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: white;
}
.exit-intent-modal > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}
.exit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.exit-form .form-input {
    text-align: center;
}
.exit-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* === CALENDLY WIDGET (Book a Call Button) === */
.calendly-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transition: right 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    will-change: right, transform, opacity;
}
/* Shift when back-to-top is visible */
.calendly-widget.shifted {
    right: 95px;
}
.calendly-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary), #ff7733);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    will-change: transform;
}
.calendly-trigger:hover {
    box-shadow: 0 8px 30px var(--primary-glow);
}
.calendly-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.calendly-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.calendly-modal {
    background: rgba(20, 20, 30, 0.4);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    max-width: 700px;
    width: 95%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.calendly-modal-overlay.show .calendly-modal {
    transform: scale(1);
}
.calendly-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}
.calendly-modal h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.calendly-modal > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}
.calendly-slots {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.slot-day {
    min-width: 80px;
}
.slot-day h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}
.slot-time {
    display: block;
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
}
.slot-time:hover, .slot-time.selected {
    background: var(--primary);
    border-color: var(--primary);
}

/* Email input for booking confirmation */
.calendly-email-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}
.calendly-email-section label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.calendly-email-section .form-input {
    margin-bottom: 12px;
}
.calendly-confirm-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #ff7733);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.5;
    pointer-events: none;
}
.calendly-confirm-btn.active {
    opacity: 1;
    pointer-events: all;
}
.calendly-confirm-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.calendly-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}
.calendly-note a {
    color: var(--primary);
}

/* === MOBILE BOTTOM NAVIGATION === */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 1500;
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    transition: color 0.2s;
}
.bottom-nav-item svg {
    transition: transform 0.2s;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary);
}
.bottom-nav-item:hover svg,
.bottom-nav-item.active svg {
    transform: scale(1.1);
}
.bottom-nav-item.nav-cta {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    margin-top: -20px;
    padding: 0;
    justify-content: center;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.bottom-nav-item.nav-cta span {
    display: none;
}

/* === CASE STUDY MODAL === */
.case-study-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 2500;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.case-study-overlay.show {
    opacity: 1;
    visibility: visible;
}
.case-study-modal {
    background: rgba(15, 15, 20, 0.7);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    min-height: auto;
    max-height: 90vh;
    overflow-y: auto;
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}
.case-study-overlay.show .case-study-modal {
    transform: translateY(0);
}
.case-study-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}
.case-study-close:hover {
    background: var(--primary);
}
.case-study-hero {
    height: 250px;
    background: linear-gradient(135deg, rgba(255,85,0,0.15), rgba(0,212,255,0.15));
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-study-content {
    padding: 40px;
}
.case-study-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.budget-tag {
    background: linear-gradient(135deg, var(--primary), #ff7733);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
}
.case-study-title {
    font-size: 2rem;
    margin-bottom: 12px;
}
.case-study-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.case-study-section {
    margin-bottom: 40px;
}
.case-study-section h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.case-study-section p,
.case-study-section li {
    color: var(--text-muted);
    line-height: 1.7;
}
.case-study-solutions {
    list-style: none;
    padding: 0;
}
.case-study-solutions li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}
.case-study-solutions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.result-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}
.result-item .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.result-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === PAGE TRANSITIONS === */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--bg-body);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.page-transition.active {
    opacity: 1;
    pointer-events: all;
}
.transition-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #ff7733);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    animation: transitionPulse 0.8s ease infinite;
}
@keyframes transitionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* === PULL TO REFRESH INDICATOR === */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    border-radius: 0 0 20px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}
.pull-to-refresh.visible {
    transform: translateX(-50%) translateY(0);
}
.pull-to-refresh svg {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments for new features */
@media (max-width: 900px) {
    /* NOTE: Availability badge is never fixed/sticky - it stays in hero flow on all devices */
    
    /* Tablet styles for 769px-900px */
    @media (min-width: 769px) {
        .availability-badge,
        .availability-badge.hero-badge {
            /* Keep in normal document flow - never fixed/sticky */
            position: relative;
            top: auto;
            bottom: auto;
            left: auto;
            transform: none;
            z-index: 1;
            animation: none;
            padding: 10px 18px;
            font-size: 0.8rem;
            gap: 8px;
            margin-top: 20px;
        }
        .availability-badge .pulse-dot {
            width: 8px;
            height: 8px;
        }
    }
    
    .social-proof-notification {
        left: 10px;
        right: 10px;
        bottom: 80px;
        max-width: none;
    }
    .cookie-consent {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .cookie-content {
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    .cookie-content p {
        font-size: 0.8rem;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    /* Tablet floating button styles (769px-900px) */
    @media (min-width: 769px) {
        .back-to-top {
            bottom: 90px;
            right: 16px;
            width: 44px;
            height: 44px;
        }
        .calendly-widget {
            right: 70px;
            bottom: 90px;
        }
        .calendly-trigger span {
            display: none;
        }
        .calendly-trigger {
            width: 44px;
            height: 44px;
            padding: 0;
            justify-content: center;
        }
        .calendly-widget.shifted {
            bottom: 90px;
            right: 70px;
        }
    }
}

/* Hide fixed elements when near footer */
.calendly-widget.hidden-near-footer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Case study modal responsive */
@media (max-width: 768px) {
    .case-study-modal {
        max-width: 95%;
        margin: 10px auto;
    }
    .case-study-hero {
        height: 180px;
    }
    .case-study-content {
        padding: 25px 20px;
    }
    .case-study-title {
        font-size: 1.6rem;
    }
    .case-study-results {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .exit-intent-modal {
        padding: 30px 20px;
    }
}

/* ============================================
   CALENDLY BOOKING WIDGET STYLES
   ============================================ */

.booking-container {
    max-width: 650px;
    margin: 40px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Glass styling */
    background: rgba(255, 255, 255, 0.02);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.booking-container.glass-panel:hover {
    transform: none; /* Disable hover lift for booking container */
}

.booking-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
}

.booking-header h3 {
    margin-bottom: 6px;
    font-size: 1.25rem;
}

.booking-header p {
    font-size: 0.9rem;
}

/* Calendly Widget Customization */
.calendly-inline-widget {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: transparent !important;
}

/* Override Calendly iframe backgrounds for glass effect */
.calendly-inline-widget iframe {
    background: transparent !important;
}

/* Or Divider - Floating transparent style */
.or-divider {
    position: relative;
    margin: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.or-divider::before {
    margin-right: 20px;
}

.or-divider::after {
    margin-left: 20px;
}

.or-divider span {
    /* Transparent background - no solid color */
    background: transparent;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Responsive Calendly - Mobile First */
@media (max-width: 768px) {
    .booking-container {
        margin: 24px auto 0;
        max-width: 100%;
        border-radius: var(--radius-md);
        /* Lighter glass on mobile */
        background: rgba(255, 255, 255, 0.015);
        border: 1px solid rgba(255, 255, 255, 0.04);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    }
    
    .booking-header {
        padding: 16px 16px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .booking-header h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .booking-header p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Compact Calendly widget on mobile */
    .calendly-inline-widget {
        height: 550px !important;
        min-height: 550px;
        max-height: 60vh;
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
    }
    
    /* Center the calendly content */
    .calendly-inline-widget iframe {
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
    }
    
    /* Compact divider on mobile */
    .or-divider {
        margin: 32px 0;
    }
    
    .or-divider span {
        font-size: 0.8rem;
    }
}

@media (max-width: 430px) {
    .booking-container {
        margin: 16px 0 0;
        border-radius: var(--radius-sm);
        /* Even lighter for small phones */
        background: rgba(255, 255, 255, 0.01);
        border: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .booking-header {
        padding: 12px 12px 8px;
    }
    
    .booking-header h3 {
        font-size: 1rem;
    }
    
    .booking-header p {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
    
    /* More compact Calendly on small phones */
    .calendly-inline-widget {
        height: 500px !important;
        min-height: 480px;
        max-height: 55vh;
    }
    
    .or-divider {
        margin: 24px 0;
    }
    
    .or-divider::before,
    .or-divider::after {
        max-width: 60px;
    }
}

/* =================================================
   CROSS-BROWSER & SMALL SCREEN FIXES (iPhone 14 Pro, etc.)
   ================================================= */

/* Small phones - iPhone 14 Pro, iPhone SE, etc. */
@media (max-width: 430px) {
    /* Navbar fix - ensure all elements fit */
    .navbar {
        height: 70px;
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    /* Logo smaller on very small screens */
    .logo {
        font-size: 1rem;
        gap: 8px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .logo span {
        font-size: 0.95rem;
    }
    
    /* Start Project button in nav - compact */
    .navbar .btn-primary {
        padding: 10px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .mobile-toggle {
        padding: 8px;
    }
    
    /* Hero section spacing */
    .hero {
        padding-top: calc(70px + 30px);
        padding-bottom: 50px;
    }
    
    .hero-content h1 {
        font-size: 1.7rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    /* NOTE: Availability badge styles are handled in the mobile fix section at end of file */
    
    .pulse-dot {
        width: 8px;
        height: 8px;
    }
    
    /* Trust badges */
    .trust-badges {
        gap: 12px;
        padding-top: 16px;
    }
    
    .badge {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .badge svg {
        width: 14px;
        height: 14px;
    }
    
    /* Stat cards - smaller on very small screens */
    .stat-card {
        min-width: 100px !important;
        max-width: 110px !important;
        padding: 12px !important;
    }
    
    .stat-card h4 {
        font-size: 0.55rem !important;
    }
    
    .stat-value {
        font-size: 1.2rem !important;
    }
    
    .stat-card p {
        font-size: 0.6rem !important;
        margin-top: 4px !important;
    }
    
    /* Hero actions - stack buttons */
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Container padding */
    .container {
        padding: 0 16px;
    }
    
    /* Section padding */
    .section {
        padding: 50px 0;
    }
}

/* Ensure shooting stars and effects work on ALL browsers */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific fixes */
    .shooting-stars,
    .geo-shapes,
    .stars,
    .floating-particles,
    .gradient-mesh,
    .light-beams {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .shooting-star,
    .geo-shape,
    .star,
    .particle,
    .gradient-orb,
    .beam {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .shooting-star,
    .geo-shape,
    .gradient-orb {
        will-change: transform, opacity;
    }
}

/* Ensure visibility across all devices */
.shooting-stars,
.geo-shapes,
.stars,
.light-beams,
.floating-particles {
    visibility: visible !important;
    display: block !important;
}

/* Reduce effect complexity for lower-end devices */
@media (max-width: 600px) and (hover: none) {
    /* Simplify animations for touch devices */
    .shooting-star {
        width: 120px;
    }
    
    .geo-shape {
        opacity: 0.12;
    }
    
    /* Reduce orbs for performance */
    .orb-4,
    .orb-5,
    .orb-6 {
        display: none;
    }
}

/* Very small screens - additional adjustments */
@media (max-width: 375px) {
    .logo span {
        font-size: 0.85rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .navbar .btn-primary {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .stat-card {
        min-width: 90px !important;
        max-width: 100px !important;
        padding: 10px !important;
    }
}

/* =================================================
   MOBILE-ONLY FIX: Availability Badge + Floating Actions
   Target: iPhone (390-430px) and similar mobile devices
   ================================================= */
@media (max-width: 768px) {
    /* -------------------------------------------
       A) AVAILABILITY BADGE - Position in hero flow
       ------------------------------------------- */
    .availability-badge,
    .availability-badge.hero-badge {
        /* Override all fixed positioning */
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        
        /* Center in hero flow */
        display: flex !important;
        /* Add top spacing to separate from trust-badges above */
        margin: 24px auto 20px auto !important;
        width: fit-content;
        
        /* Styling */
        padding: 10px 18px;
        font-size: 0.8rem;
        gap: 8px;
        z-index: 10;
        
        /* Remove conflicting animations */
        animation: none !important;
    }
    
    /* Remove the extra margin-top on hero h1 since badge is now in flow */
    .hero-content h1 {
        margin-top: 0 !important;
    }
    
    /* -------------------------------------------
       B) FLOATING ACTIONS - Calendar + Back-to-top
       Always side-by-side from page load
       Position above mobile bottom nav (70px + safe area)
       ------------------------------------------- */
    
    /* Back-to-top: Always visible on mobile (but faded when at top) */
    .back-to-top {
        position: fixed !important;
        /* 70px for bottom nav + 15px spacing + safe area */
        bottom: calc(85px + env(safe-area-inset-bottom)) !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 1000 !important;
        
        /* Always show on mobile (opacity controlled by visibility class) */
        opacity: 0.4;
        transform: translateY(0) !important;
        pointer-events: auto;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    /* When scrolled, back-to-top becomes fully visible */
    .back-to-top.visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Calendly widget: Always positioned next to back-to-top */
    .calendly-widget {
        position: fixed !important;
        /* 70px for bottom nav + 15px spacing + safe area */
        bottom: calc(85px + env(safe-area-inset-bottom)) !important;
        right: calc(16px + 44px + 12px) !important; /* right padding + back-to-top width + gap */
        z-index: 1000 !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }
    
    /* Override shifted state - no longer needed since always side-by-side */
    .calendly-widget.shifted {
        /* Keep same position - no shift needed */
        bottom: calc(85px + env(safe-area-inset-bottom)) !important;
        right: calc(16px + 44px + 12px) !important;
    }
    
    /* Calendly trigger button - icon only, same size as back-to-top */
    .calendly-trigger {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }
    
    .calendly-trigger span {
        display: none !important;
    }
    
    .calendly-trigger svg {
        margin: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Hover state adjustments for mobile */
    .back-to-top:hover,
    .calendly-trigger:hover {
        transform: scale(1.05) !important;
    }
}

/* ==========================================
   LARGE SCREENS & ULTRAWIDE OPTIMIZATION
   ========================================== */

/* Large desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-grid {
        gap: 80px;
    }
    
    /* Ensure hero text stays perfectly aligned on large screens */
    .hero-content h1 {
        font-size: clamp(3rem, 4vw, 4.5rem);
    }
}

/* Ultrawide screens (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    /* Prevent text from becoming too large on ultrawide */
    .hero-content h1 {
        font-size: 4.5rem;
        max-width: 900px;
    }
    
    .hero-grid {
        gap: 100px;
    }
}

/* 4K and beyond (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 1800px;
    }
    
    /* Keep reasonable font sizes even on massive screens */
    .hero-content h1 {
        font-size: 5rem;
    }
}
