/* ============================================
   SAITH - Premium Design System & Animations
   World-Class Luxury Experience
   ============================================ */

:root {
    /* Colors */
    --color-bg: #0a0a0a;
    --color-bg-elevated: #0f0f0f;
    --color-bg-card: #141414;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.5);
    --color-border: rgba(255, 255, 255, 0.12);
    --color-border-subtle: rgba(255, 255, 255, 0.06);
    --color-accent: #8B0000;
    --color-accent-dim: rgba(139, 0, 0, 0.08);
    --color-accent-glow: rgba(139, 0, 0, 0.15);
    --color-gold: rgba(139, 0, 0, 0.6);
    --color-gold-dim: rgba(139, 0, 0, 0.05);

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Sizing */
    --max-width: 1200px;
    --max-width-narrow: 800px;
    --navbar-height: 80px;

    /* Premium Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);

    /* Animation Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ============================================
   Sticky Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform var(--transition-smooth),
        opacity var(--transition-smooth),
        background var(--transition-smooth);
}

.navbar.visible {
    transform: translateY(0);
    opacity: 1;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-subtle);
}

.navbar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.navbar-logo:hover {
    color: var(--color-accent);
}

.navbar-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Sound Toggle */
.sound-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast),
        background var(--transition-fast);
}

.sound-toggle:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
}

.sound-icon {
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.sound-toggle:hover .sound-icon {
    color: var(--color-text-primary);
}

.sound-toggle .sound-off {
    display: none;
}

.sound-toggle.muted .sound-on {
    display: none;
}

.sound-toggle.muted .sound-off {
    display: block;
}

/* ============================================
   Custom Cursor - Elegant Sparkle Star
   ============================================ */

.cursor-dot {
    position: fixed;
    width: 24px;
    height: 24px;
    background: var(--color-text-primary);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0%,
            /* top point */
            53% 40%,
            /* top-right inner */
            100% 50%,
            /* right point */
            53% 60%,
            /* bottom-right inner */
            50% 100%,
            /* bottom point */
            47% 60%,
            /* bottom-left inner */
            0% 50%,
            /* left point */
            47% 40%
            /* top-left inner */
        );
    transition: transform 0.25s var(--ease-out-expo),
        opacity 0.3s ease,
        width 0.3s ease,
        height 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    display: none;
}

.cursor-dot.hovering {
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%) rotate(15deg);
}

.cursor-dot.clicking {
    transform: translate(-50%, -50%) scale(0.8);
}

/* ============================================
   Loading Screen
   ============================================ */

.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo),
        visibility 0.8s var(--ease-out-expo);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    opacity: 0;
    animation: logoReveal 2s var(--ease-out-expo) forwards;
}

.loading-bar {
    width: 200px;
    height: 1px;
    background: var(--color-border);
    margin-top: 2rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.5s forwards;
}

.loading-bar::after {
    content: '';
    display: block;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-text-primary), transparent);
    transform: translateX(-100%);
    animation: loadingProgress 2s var(--ease-in-out-quart) 0.5s forwards;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        letter-spacing: 0.5em;
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        letter-spacing: 0.3em;
        filter: blur(0);
    }
}

@keyframes loadingProgress {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none;
}

body.no-cursor * {
    cursor: none !important;
}

::selection {
    background-color: var(--color-accent-dim);
    color: var(--color-text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.8;
}

/* ============================================
   Noise Texture Overlay
   ============================================ */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9998;
}

/* ============================================
   Layout
   ============================================ */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md) 0;
    position: relative;
}

/* Keep hero section full height */
.section.hero-section {
    min-height: 100vh;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
}

.section-heading {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

/* Split Text Animation Styles */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-40deg);
    transform-origin: center bottom;
    animation: charReveal 0.8s var(--ease-out-expo) forwards;
}

.split-text .word {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.25em;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Ambient Gradient Orbs */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.hero-section::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float1 20s ease-in-out infinite;
}

.hero-section::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float2 25s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -40px) scale(1.1);
    }
}

.hero-animation {
    display: none;
    /* Replaced with layered images */
}

/* Hero Logo Container */
.hero-logo-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-logo {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.1s linear;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-logo-dark {
    opacity: 1;
    z-index: 1;
}

.hero-logo-light {
    opacity: 0;
    z-index: 2;
}

/* Aurora gradient effects */
.aurora-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Aurora gradient effects */
.aurora-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.aurora {
    position: absolute;
    width: 150%;
    height: 150%;
    opacity: 0.15;
    filter: blur(80px);
    animation: auroraFloat 20s ease-in-out infinite;
}

.aurora-1 {
    top: -50%;
    left: -25%;
    background: radial-gradient(ellipse at center, rgba(60, 60, 80, 0.3) 0%, transparent 60%);
    animation-delay: 0s;
}

.aurora-2 {
    bottom: -50%;
    right: -25%;
    background: radial-gradient(ellipse at center, rgba(80, 60, 60, 0.2) 0%, transparent 60%);
    animation-delay: -10s;
}

@keyframes auroraFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(5%, 3%) rotate(2deg) scale(1.05);
    }

    50% {
        transform: translate(-3%, -5%) rotate(-1deg) scale(0.98);
    }

    75% {
        transform: translate(-5%, 2%) rotate(1deg) scale(1.02);
    }
}

/* Vignette overlay */
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Strong center spotlight */
        radial-gradient(ellipse at center, transparent 20%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.85) 100%),
        /* Top fade */
        linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, transparent 30%),
        /* Bottom fade */
        linear-gradient(to top, rgba(10, 10, 10, 0.5) 0%, transparent 30%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: var(--space-md);
    /* Positioned at top to stay above logo */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    padding: var(--space-md);
    width: 100%;
    max-width: var(--max-width);
}

.hero-heading {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 500;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
    line-height: 1.1;
    opacity: 0;
    animation: heroTextReveal 1.2s var(--ease-out-expo) 2.2s forwards;
}

.hero-subheading {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: var(--color-text-secondary);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: heroSubReveal 1s var(--ease-out-expo) 2.6s forwards;
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroSubReveal {
    0% {
        opacity: 0;
        letter-spacing: 0.3em;
    }

    100% {
        opacity: 1;
        letter-spacing: 0.15em;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 3s forwards;
}

.scroll-line {
    width: 1px;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-text-primary), transparent);
    animation: scrollLineMove 2s var(--ease-in-out-quart) infinite;
}

@keyframes scrollLineMove {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* ============================================
   About Section
   ============================================ */

.about-section {
    padding: var(--space-lg) 0;
    position: relative;
}

.about-section::before {
    display: none;
}

.about-heading {
    display: block;
    width: 100%;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-lg);
    line-height: 1.6;
    letter-spacing: -0.02em;
    opacity: 1;
    transform: none;
}

/* Word wrapper for text animations - prevents mid-word breaks */
.word-wrap {
    display: inline-block;
    white-space: nowrap;
}

/* Services Pillars */
.services-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    /* Minimal gap before founder section */
    text-align: center;
    align-items: start;
}

.service-pillar {
    position: relative;
    padding: var(--space-lg) var(--space-md);
    transition: transform var(--transition-smooth);
    overflow: hidden;
}

/* Shimmer sweep effect */
.service-pillar .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg,
            transparent 20%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 80%);
    pointer-events: none;
    z-index: 2;
}

.service-pillar.visible .shimmer {
    animation: shimmerSweep 0.8s var(--ease-out-expo) forwards;
}

.service-pillar:nth-child(1).visible .shimmer {
    animation-delay: 0.1s;
}

.service-pillar:nth-child(2).visible .shimmer {
    animation-delay: 0.25s;
}

.service-pillar:nth-child(3).visible .shimmer {
    animation-delay: 0.4s;
}

@keyframes shimmerSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.service-pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-border-subtle) 0%, transparent 100%);
    border: 1px solid transparent;
    opacity: 0;
    transition: opacity var(--transition-smooth), border-color var(--transition-smooth);
}

.service-pillar:hover::before {
    opacity: 1;
    border-color: var(--color-border);
}

.service-pillar:hover {
    transform: translateY(-5px);
}

.service-pillar h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    padding-top: var(--space-md);
    transition: color var(--transition-smooth);
}

.service-pillar:hover h3 {
    color: var(--color-text-primary);
}

.service-pillar h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    transition: width var(--transition-smooth), background var(--transition-smooth);
}

.service-pillar:hover h3::before {
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* Pillar reveal - always visible */
.service-pillar[data-expandable] {
    cursor: default;
}

.pillar-reveal {
    max-height: none;
    overflow: visible;
    opacity: 1;
    padding: var(--space-md) var(--space-sm);
}

.pillar-reveal p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

.pillar-reveal .coming-soon {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.service-pillar.active::before {
    opacity: 1;
    border-color: var(--color-border);
}

.service-pillar.active h3 {
    color: var(--color-text-primary);
}

.service-pillar.active h3::before {
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* Remove expand indicator since descriptions are always visible */
.service-pillar[data-expandable] h3::after {
    display: none;
}

/* Subtle glow hint on hover */
.service-pillar[data-expandable]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-text-muted), transparent);
    opacity: 0;
    transition: width 0.5s var(--ease-out-expo), opacity 0.3s ease;
}

.service-pillar[data-expandable]:hover::after,
.service-pillar.active::after {
    width: 80%;
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--color-text-secondary), transparent);
}

/* Founder Section */
.founder-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-top: var(--space-md);
    /* Minimal gap from pillars */
    margin-bottom: var(--space-md);
    padding-top: var(--space-sm);
    /* Minimal padding */
    padding-bottom: 0;
    border-top: 1px solid var(--color-border-subtle);
}

.founder-image {
    position: relative;
    overflow: hidden;
}

.founder-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--color-accent-dim), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 1;
}

.founder-image:hover::before {
    opacity: 1;
}

.founder-image img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: filter var(--transition-slow), transform var(--transition-slow);
}

.founder-image:hover img {
    filter: grayscale(60%) contrast(1.05);
    transform: scale(1.03);
}

.founder-content {
    padding-left: var(--space-md);
}

.founder-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
    position: relative;
    padding-left: 3rem;
}

.founder-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--color-border);
}

.founder-name {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: var(--space-md);
    letter-spacing: 0.01em;
    color: var(--color-text-primary);
}

.founder-quote {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
    border-left: 2px solid var(--color-accent);
    padding-left: var(--space-md);
    position: relative;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    left: var(--space-md);
    top: -0.5em;
    font-size: 4rem;
    color: var(--color-border);
    font-family: var(--font-serif);
    line-height: 1;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast), transform var(--transition-fast);
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.instagram-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-dim), transparent);
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
}

.instagram-link:hover::before {
    transform: translateX(0);
}

.instagram-link:hover {
    color: var(--color-text-primary);
    border-color: var(--color-accent);
    opacity: 1;
    transform: translateX(5px);
}

.instagram-icon {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

.instagram-link span {
    position: relative;
    z-index: 1;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: linear-gradient(180deg, var(--color-bg-card) 0%, rgba(20, 20, 20, 0.5) 100%);
    padding: var(--space-lg);
    border: 1px solid var(--color-border-subtle);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--color-accent-dim), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-text-primary);
    position: relative;
    z-index: 1;
    padding-left: 2rem;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 1px;
    background: var(--color-accent);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    padding: var(--space-2xl) 0;
    position: relative;
    text-align: center;
}

.contact-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-gold-dim) 0%, transparent 70%);
    pointer-events: none;
}

.contact-form {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    transition: border-color var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: transparent;
    transform: translateY(-10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Browser autocomplete styling */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--color-text-primary);
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px var(--color-bg);
}

/* Style autocomplete dropdown */
input::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* Firefox autocomplete */
.form-group input:-moz-autofill,
.form-group input:-moz-autofill-preview {
    background-color: var(--color-bg) !important;
    color: var(--color-text-primary) !important;
}

/* Animated underline */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-text-muted), var(--color-text-secondary));
    transition: width var(--transition-smooth);
}

.form-group:focus-within::after {
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    border: 1px solid var(--color-border);
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-xs);
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent-dim);
}

/* Premium Submit Button */
.submit-button {
    width: 100%;
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-primary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-smooth), border-color var(--transition-smooth);
}

.submit-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-text-primary);
    transform: translateY(100%);
    transition: transform var(--transition-smooth);
}

.submit-button span {
    position: relative;
    z-index: 1;
}

.submit-button:hover {
    color: var(--color-bg);
    border-color: var(--color-text-primary);
}

.submit-button:hover::before {
    transform: translateY(0);
}

/* Button shimmer effect */
.submit-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.submit-button:hover::after {
    left: 100%;
}

/* ============================================
   Section Dividers
   ============================================ */

.section-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, transparent, var(--color-border), var(--color-text-muted), transparent);
    animation: drawLine 1.5s var(--ease-out-expo) forwards;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--color-text-muted);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    animation: dotPulse 1.5s var(--ease-out-expo) 0.5s forwards;
}

.section-divider::before {
    top: 0;
}

.section-divider::after {
    bottom: 0;
}

@keyframes drawLine {
    0% {
        height: 0;
        opacity: 0;
    }

    100% {
        height: 80px;
        opacity: 1;
    }
}

@keyframes dotPulse {
    0% {
        transform: translateX(-50%) scale(0);
    }

    50% {
        transform: translateX(-50%) scale(1.5);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    padding: var(--space-xl) 0;
    position: relative;
    min-height: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo),
        transform 0.8s var(--ease-out-expo);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(2) {
    transition-delay: 0.15s;
}

.stat-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-prefix,
.stat-number,
.stat-suffix {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    color: var(--color-text-primary);
    line-height: 1;
    display: inline;
}

.stat-number {
    color: var(--color-text-primary);
}

.stat-suffix {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--color-text-secondary);
    margin-left: 0.25rem;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-sm);
}

/* ============================================
   Floating Labels
   ============================================ */

.floating-label {
    position: relative;
}

.floating-label label {
    position: absolute;
    left: 0;
    top: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    pointer-events: none;
    transition: all var(--transition-smooth);
    transform-origin: left center;
}

.floating-label input:focus~label,
.floating-label input:not(:placeholder-shown)~label,
.floating-label textarea:focus~label,
.floating-label textarea:not(:placeholder-shown)~label,
.floating-label input.has-value~label,
.floating-label textarea.has-value~label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    transform: translateY(0);
}

.floating-label input,
.floating-label textarea {
    background: transparent;
}

.floating-label input::placeholder,
.floating-label textarea::placeholder {
    color: transparent;
}

/* ============================================
   Form Success State
   ============================================ */

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl);
    animation: successFadeIn 0.8s var(--ease-out-expo) forwards;
}

.form-success.visible {
    display: flex;
}

.success-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    animation: successPop 0.6s var(--ease-out-expo) 0.2s forwards;
    transform: scale(0);
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: checkDraw 0.5s var(--ease-out-expo) 0.5s forwards;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeIn 0.5s ease 0.6s forwards;
}

.form-success p {
    color: var(--color-text-secondary);
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
}

/* Form Error Messages (Security) */
.form-error {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.form-error.visible {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

.form-error .error-message {
    color: var(--color-text-primary);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.form-error .error-message:before {
    content: '⚠';
    margin-right: 0.5rem;
    color: var(--color-accent);
}

@keyframes successFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Button Loading State */
.button-loading {
    display: none;
    gap: 4px;
}

.submit-button.loading .button-text {
    display: none;
}

.submit-button.loading .button-loading {
    display: flex;
}

.loading-dot {
    width: 6px;
    height: 6px;
    background: var(--color-bg);
    border-radius: 50%;
    animation: loadingBounce 1.4s infinite both;
}

.loading-dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Form shake animation for errors */
.contact-form.shake {
    animation: formShake 0.5s var(--ease-out-expo);
}

@keyframes formShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-10px);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }
}

/* ============================================
   Enhanced Footer
   ============================================ */

.footer {
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    position: relative;
}

.footer-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border-subtle);
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-social {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all var(--transition-smooth);
}

.footer-social:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.back-to-top {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all var(--transition-smooth);
}

.back-to-top:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Page Transition
   ============================================ */

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 10002;
    pointer-events: none;
}

.transition-wipe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease-in-out-quart);
}

.page-transition.active .transition-wipe {
    transform: translateY(0);
}

.page-transition.exit .transition-wipe {
    transform: translateY(100%);
}

/* ============================================
   Text Scramble Effect
   ============================================ */

[data-scramble] {
    display: inline-block;
}

.scramble-char {
    display: inline-block;
    transition: opacity 0.1s ease;
}

/* ============================================
   Scroll Animations
   ============================================ */

/* All reveal animations disabled - always visible */
.reveal,
.reveal.visible,
.reveal-left,
.reveal-left.visible,
.reveal-right,
.reveal-right.visible,
.reveal-scale,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays for grid items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ============================================
   Parallax Layers
   ============================================ */

[data-parallax] {
    will-change: transform;
}

/* ============================================
   Magnetic Elements
   ============================================ */

.magnetic {
    transition: transform var(--transition-smooth);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .services-pillars {
        gap: var(--space-sm);
    }

    .founder-section {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {

    /* ===== CRITICAL: Remove 100vh min-height on content sections ===== */
    /* This fixes the massive gaps between sections */
    /* BUT NOT the hero section - it needs full height */
    .about-section,
    .stats-section,
    .testimonials-section,
    .contact-section {
        min-height: auto !important;
        padding: var(--space-lg) 0;
    }

    /* Ensure footer is always visible */
    .footer {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: var(--space-lg) 0;
    }

    /* Hide custom cursor on touch devices */
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    /* ===== HERO SECTION MOBILE ===== */

    .hero-section {
        min-height: 100svh !important;
        position: relative;
        overflow: hidden;
    }

    .hero-background {
        position: absolute;
        inset: 0;
    }

    /* Hero logo - full-bleed seamless like desktop */
    .hero-logo-container {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }

    .hero-logo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Full-bleed background effect like desktop */
        object-position: center center;
        /* Center to show full logo text */
    }

    /* Smoother hero scroll animation on mobile - reduce jitter */
    .hero-logo-dark,
    .hero-logo-light {
        will-change: opacity;
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    /* Reduce aurora animation complexity on mobile for performance */
    .aurora {
        animation: none;
        opacity: 0.05;
        filter: blur(40px);
        /* Reduced from 80px for better mobile performance */
    }

    /* Hero content - positioned over the seamless background */
    .hero-content {
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 0 var(--space-sm);
        z-index: 10;
    }

    .hero-heading {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.25;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    }

    .hero-subheading {
        font-size: clamp(0.55rem, 2.2vw, 0.75rem);
        letter-spacing: 0.12em;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    }

    /* Enhanced vignette for mobile to blend edges */
    .hero-background::after {
        background:
            radial-gradient(ellipse at center, transparent 30%, rgba(10, 10, 10, 0.6) 70%, rgba(10, 10, 10, 0.95) 100%),
            linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, transparent 20%),
            linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 25%);
    }

    /* ===== NAVBAR MOBILE ===== */

    .navbar-links {
        display: none;
    }

    .navbar-container {
        padding: 0 var(--space-sm);
    }

    .navbar-logo {
        font-size: 1.25rem;
    }

    /* ===== HIDE DECORATIVE LINES ON MOBILE ===== */
    /* Cleaner solution than masking with gradients */

    .section-divider {
        display: none;
    }

    /* ===== ABOUT SECTION MOBILE ===== */

    .about-section {
        padding-bottom: 0 !important;
        margin-bottom: 0;
    }

    .about-section .container {
        padding: 0 var(--space-md);
        text-align: center;
    }

    .about-heading {
        font-size: clamp(1rem, 4.5vw, 1.5rem);
        line-height: 1.7;
        padding: var(--space-sm) var(--space-md);
        text-align: center;
    }

    /* ===== SERVICE PILLARS MOBILE ===== */

    .services-pillars {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        min-height: auto;
        /* Remove min-height on mobile */
        padding: 0 var(--space-sm);
    }

    /* ===== SEAMLESS SERVICE PILLARS ===== */

    .service-pillar {
        padding: var(--space-lg) var(--space-md);
        min-height: auto;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: var(--space-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .service-pillar:last-child {
        border-bottom: none;
    }

    .service-pillar h3 {
        font-size: 1rem;
        letter-spacing: 0.15em;
        color: var(--color-text);
        -webkit-text-fill-color: initial;
        background: none;
    }

    .service-pillar h3::after {
        display: none;
    }

    /* Always show content on mobile */
    .service-pillar .pillar-reveal {
        max-height: 300px;
        opacity: 1;
        padding: var(--space-md) 0 0 0;
    }

    .pillar-reveal p {
        font-size: 0.9rem;
        line-height: 1.7;
        color: var(--color-text-muted);
    }

    /* ===== FOUNDER SECTION MOBILE ===== */

    .founder-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
        padding: 0 var(--space-sm);
        margin-top: var(--space-md);
        margin-bottom: 0;
        padding-bottom: var(--space-md);
    }

    .founder-image {
        order: -1;
        max-width: 280px;
        margin: 0 auto;
    }

    .founder-image img {
        margin: 0 auto;
    }

    .founder-content {
        padding-left: 0;
    }

    .founder-label {
        padding-left: 0;
        justify-content: center;
    }

    .founder-label::before {
        display: none;
    }

    .founder-name {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .founder-quote {
        border-left: none;
        padding-left: 0;
        text-align: center;
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .founder-quote::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .instagram-link {
        justify-content: center;
    }

    /* ===== STATS SECTION MOBILE ===== */

    .stats-section {
        padding: var(--space-sm) 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }

    .stats-section .container {
        padding: 0 var(--space-md);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
        text-align: center;
    }

    /* CRITICAL: Make stat items visible on mobile (base has opacity: 0 for animations) */
    .stat-item {
        padding: var(--space-sm) var(--space-sm);
        opacity: 1 !important;
        transform: none !important;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    /* ===== PREMIUM TESTIMONIALS MOBILE ===== */

    .testimonials-section .container {
        padding: 0 var(--space-md);
        text-align: center;
    }

    .testimonials-section .section-heading {
        text-align: center;
        margin-bottom: var(--space-md);
        font-size: 1.2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .testimonial-card {
        padding: var(--space-md);
        text-align: left;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
        box-shadow: none;
    }

    .testimonial-card:last-child {
        border-bottom: none;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .testimonial-author {
        font-size: 0.75rem;
    }

    /* ===== CONTACT FORM MOBILE ===== */

    .contact-section .container {
        padding: 0 var(--space-md);
    }

    .contact-section .section-heading {
        text-align: center;
        margin-bottom: var(--space-md);
        font-size: 1.2rem;
    }

    .contact-form {
        max-width: 100%;
        background: transparent;
        padding: var(--space-md);
        border-radius: 0;
        border: none;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: var(--space-lg);
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: var(--space-md) 0;
        width: 100%;
        background: transparent;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .form-group textarea {
        min-height: 120px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: var(--space-md);
        margin-top: var(--space-xs);
    }

    .floating-label label {
        font-size: 0.9rem;
        color: var(--color-text-secondary);
    }

    .submit-button {
        width: 100%;
        padding: var(--space-md);
        font-size: 0.85rem;
        min-height: 56px;
        margin-top: var(--space-lg);
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 0;
        box-shadow: none;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        font-weight: 400;
        color: var(--color-text-primary);
        transition: border-color 0.3s ease, color 0.3s ease;
    }

    .submit-button:hover,
    .submit-button:focus {
        border-color: var(--color-accent);
        color: #fff;
    }

    /* ===== FOOTER MOBILE ===== */

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
    }

    /* Back to Top button - larger touch target for mobile */
    .back-to-top {
        width: 52px;
        height: 52px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(139, 0, 0, 0.3);
        position: relative;
        z-index: 9999;
        pointer-events: auto !important;
        touch-action: manipulation;
    }

    .back-to-top:active {
        transform: scale(0.95);
        border-color: var(--color-accent);
    }

    /* ===== ANIMATIONS MOBILE ===== */

    /* Enable reveal animations but simplify them for performance */
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        transition-duration: 0.6s;
        /* Slightly faster on mobile */
    }

    /* GPU acceleration for smooth scroll animations */
    .reveal.visible,
    .reveal-left.visible,
    .reveal-right.visible,
    .reveal-scale.visible {
        will-change: auto;
        /* Release after animation */
    }

    /* Reduce parallax effects on mobile for performance */
    [data-parallax] {
        transform: none !important;
    }

    /* Smoother scroll indicator */
    .scroll-indicator {
        bottom: 15%;
    }

    .scroll-line {
        height: 50px;
    }

    /* ===== PREMIUM MOBILE EXPERIENCE ===== */

    /* Enhanced loading screen for mobile - Force Visibility & Simplicity */
    .loading-screen {
        transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 1.2s cubic-bezier(0.16, 1, 0.3, 1);
        /* Ensure it's on top */
        z-index: 99999;
    }

    .loading-logo {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
        letter-spacing: 0.4em;
        opacity: 1 !important;
        /* Force visible */
        animation: mobileLogoFade 2s ease-out forwards;
    }

    .loading-bar {
        width: 150px;
        opacity: 1 !important;
        /* Force visible */
        background: rgba(255, 255, 255, 0.2);
        /* Make base visible */
    }

    .loading-bar::after {
        background: #fff;
        /* Solid white for visibility */
    }

    @keyframes mobileLogoFade {
        0% {
            opacity: 0;
            transform: translateY(10px);
            filter: blur(5px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }

    /* INSTAGRAM BROWSER PERFORMANCE FIX - CRITICAL */
    /* Instagram's WebView is ~3x slower than Chrome - disable expensive effects */

    /* Disable all expensive filters and blurs */
    .hero-background,
    .service-pillar,
    .testimonial-card,
    .contact-form,
    .navbar,
    .founder-image,
    .aurora,
    .aurora-container {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    /* Disable expensive blur filters on decorative elements */
    .aurora {
        filter: blur(20px) !important;
        /* Reduced from 80px */
        opacity: 0.03 !important;
        animation: none !important;
    }

    /* Prevent layout thrashing with contain */
    .section,
    .testimonial-card,
    .service-pillar {
        contain: layout style;
    }

    /* Disable all infinite CSS animations for performance */
    .hero-section::before,
    .hero-section::after {
        animation: none !important;
    }

    /* Slight background for readability without blur */
    .contact-form {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .loading-screen {
        background: #050505 !important;
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Performance Optimization: 2D Text Reveal for Mobile */
    /* Fixes "disjointed" animation in Instagram browser */
    .split-text .char {
        transform: translateY(20px);
        /* No rotateX */
        animation-name: charRevealMobile;
    }

    @keyframes charRevealMobile {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Scroll Progress Indicator */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, var(--color-accent), var(--color-text-muted));
        z-index: 9999;
        transition: width 0.1s linear;
    }

    /* ===== MICRO-INTERACTIONS ===== */

    /* Service pillar touch state */
    .service-pillar {
        transition: transform 0.3s var(--ease-out-expo),
            box-shadow 0.3s ease;
    }

    .service-pillar:active {
        transform: scale(0.98);
    }

    .service-pillar.active {
        box-shadow: 0 0 30px rgba(139, 0, 0, 0.15),
            inset 0 0 20px rgba(255, 255, 255, 0.02);
    }

    /* Enhanced button touch states */
    .submit-button:active {
        transform: scale(0.97);
        box-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
    }

    /* Instagram link glow on touch */
    .instagram-link:active {
        transform: scale(0.97);
    }

    .instagram-link:active .instagram-icon {
        filter: drop-shadow(0 0 8px rgba(139, 0, 0, 0.5));
    }

    /* Testimonial card touch */
    .testimonial-card:active {
        transform: scale(0.98);
        border-color: var(--color-accent);
    }

    /* Nav links touch */
    .navbar-logo:active {
        opacity: 0.8;
    }

    /* ===== AMBIENT EFFECTS ===== */

    /* Subtle floating gradient orbs (CSS only, performance-optimized) */
    .mobile-ambient-orb {
        position: fixed;
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
        z-index: -1;
        opacity: 0.15;
    }

    .mobile-ambient-orb-1 {
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
        top: 20%;
        right: -100px;
        animation: ambientFloat1 20s ease-in-out infinite;
    }

    .mobile-ambient-orb-2 {
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(139, 0, 0, 0.3) 0%, transparent 70%);
        bottom: 30%;
        left: -80px;
        animation: ambientFloat2 25s ease-in-out infinite reverse;
    }

    @keyframes ambientFloat1 {

        0%,
        100% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(-30px, 40px);
        }
    }

    @keyframes ambientFloat2 {

        0%,
        100% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(25px, -30px);
        }
    }

    /* ===== ENHANCED SECTION REVEALS ===== */

    /* Staggered fade-in for content within sections */
    .section.visible .section-heading {
        animation: mobileFadeUp 0.8s var(--ease-out-expo) 0.1s both;
    }

    .section.visible .about-heading {
        animation: mobileFadeUp 0.8s var(--ease-out-expo) 0.2s both;
    }

    @keyframes mobileFadeUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Quote marks animation */
    .founder-quote::before {
        animation: quotePulse 4s ease-in-out infinite;
    }

    @keyframes quotePulse {

        0%,
        100% {
            opacity: 0.3;
        }

        50% {
            opacity: 0.6;
        }
    }

    /* Founder image subtle depth effect */
    .founder-image img {
        transition: transform 0.5s var(--ease-out-expo);
    }

    .founder-section:active .founder-image img {
        transform: scale(1.02);
    }

    /* ===== SHOW-STOPPER EFFECTS ===== */

    /* Touch Glow Ripple - expanding ring on touch */
    .touch-glow-ripple {
        position: fixed;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9998;
        background: transparent;
        border: 2px solid rgba(139, 0, 0, 0.6);
        box-shadow:
            0 0 20px rgba(139, 0, 0, 0.4),
            inset 0 0 10px rgba(139, 0, 0, 0.2);
        animation: touchGlowExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes touchGlowExpand {
        0% {
            width: 20px;
            height: 20px;
            opacity: 1;
            border-width: 2px;
        }

        100% {
            width: 150px;
            height: 150px;
            opacity: 0;
            border-width: 1px;
        }
    }

    /* Word-by-word text reveal */
    .reveal-word {
        display: inline-block;
        opacity: 0;
        transform: translateY(20px);
        animation: wordReveal 0.6s var(--ease-out-expo) forwards;
    }

    @keyframes wordReveal {
        from {
            opacity: 0;
            transform: translateY(20px) rotateX(-10deg);
            filter: blur(4px);
        }

        to {
            opacity: 1;
            transform: translateY(0) rotateX(0);
            filter: blur(0);
        }
    }

    /* Gyroscope-enabled logo transition */
    .hero-logo {
        transition: transform 0.15s ease-out;
        will-change: transform;
    }

    .hero-content {
        transition: transform 0.15s ease-out;
        will-change: transform;
    }

    /* ===== PREMIUM POLISH ===== */

    /* Enhanced Form Focus States - Red glow on focus */
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--color-accent);
        box-shadow: 0 0 15px rgba(139, 0, 0, 0.3),
            0 1px 0 var(--color-accent);
        outline: none;
    }

    /* Form input subtle transition */
    .form-group input,
    .form-group textarea {
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Testimonial Card Glow on scroll into view */
    .testimonial-card {
        transition: border-color 0.4s ease, box-shadow 0.4s ease;
    }

    .section.visible .testimonial-card {
        animation: cardGlow 2s ease-in-out;
    }

    @keyframes cardGlow {

        0%,
        100% {
            box-shadow: none;
        }

        50% {
            box-shadow: 0 0 20px rgba(139, 0, 0, 0.15), inset 0 0 10px rgba(139, 0, 0, 0.05);
        }
    }

    /* Instagram Link Subtle Pulse */
    .instagram-link .instagram-icon {
        animation: instagramPulse 3s ease-in-out infinite;
    }

    @keyframes instagramPulse {

        0%,
        100% {
            filter: none;
            transform: scale(1);
        }

        50% {
            filter: drop-shadow(0 0 6px rgba(139, 0, 0, 0.4));
            transform: scale(1.05);
        }
    }

    /* Footer Fade-In Reveal */
    .footer {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .footer.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Text Shadows for Better Legibility */
    .section-heading {
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    }

    .about-heading {
        text-shadow: 0 1px 15px rgba(0, 0, 0, 0.4);
    }

    .hero-heading {
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    }

    .founder-name {
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    }

    .founder-quote {
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 2.5rem;
        --space-xl: 3.5rem;
        --space-2xl: 5rem;
    }

    .section {
        min-height: auto;
        padding: var(--space-lg) 0;
    }

    .hero-section {
        min-height: 100svh;
    }

    /* Hero adjustments for very small screens */
    .hero-content {
        top: 12%;
        width: 95%;
    }

    .hero-heading {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-subheading {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    /* About section */
    .about-heading {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
    }

    /* Founder section */
    .founder-image {
        max-width: 220px;
    }

    .founder-name {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }

    .founder-quote {
        font-size: 0.85rem;
    }

    /* Service pillars */
    .service-pillar h3 {
        font-size: 0.9rem;
    }

    .pillar-reveal p {
        font-size: 0.8rem;
    }

    /* Testimonials */
    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-author {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}