/* ================================================================
   SPAIROTECH - Premium Enterprise Design System (LIGHT THEME)
   Auto-Generated Color Palette: Cosmic Violet + Electric Teal
   ================================================================ */

/* === DESIGN TOKENS === */
:root {
    /* ---- Autonomous Premium Color System ----
       Primary: Deep Violet spectrum (trust + innovation)
       Secondary: Electric Teal spectrum (intelligence + freshness)
       Accent: Warm Amber (energy + premium)
       Foundation: Light mode surfaces
    */

    /* Primary - Cosmic Violet */
    --primary-900: #2d1b69;
    --primary-800: #3b2280;
    --primary-700: #4c2d99;
    --primary-600: #5b3ab5;
    --primary-500: #6d5acd;
    --primary-400: #8b7ddf;
    --primary-300: #a99ceb;
    --primary-200: #c7bff5;
    --primary-100: #e8e4fc;
    --primary-50: #f5f3ff;

    /* Secondary - Electric Teal */
    --secondary-900: #134e48;
    --secondary-800: #1a6b62;
    --secondary-700: #228a7e;
    --secondary-600: #2ba89a;
    --secondary-500: #4ecdc4;
    --secondary-400: #6ed8d1;
    --secondary-300: #94e5df;
    --secondary-200: #bbf0ec;
    --secondary-100: #dff8f6;
    --secondary-50: #f0fdfc;

    /* Accent - Warm Amber */
    --accent-600: #d68a09;
    --accent-500: #f4a261;
    --accent-400: #f7bd7f;
    --accent-300: #fadaa5;
    --accent-200: #fde9c8;

    /* Foundation - Light Mode */
    --dark-950: #f8fafc;
    --dark-900: #f1f5f9;
    --dark-850: #e8edf3;
    --dark-800: #e2e8f0;
    --dark-750: #dce3ed;
    --dark-700: #cbd5e1;
    --dark-600: #94a3b8;
    --dark-500: #64748b;
    --dark-400: #475569;
    --dark-300: #334155;
    --dark-200: #1e293b;
    --dark-100: #0f172a;

    /* Neutrals - Inverted */
    --neutral-900: #f8fafc;
    --neutral-800: #f1f5f9;
    --neutral-700: #e2e8f0;
    --neutral-600: #94a3b8;
    --neutral-500: #64748b;
    --neutral-400: #475569;
    --neutral-300: #334155;
    --neutral-200: #1e293b;
    --neutral-100: #0f172a;
    --neutral-50: #020617;

    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    --white: #0f172a;
    --black: #ffffff;

    /* ---- Multi-Layer Gradients ---- */
    --gradient-hero: linear-gradient(135deg, #f0f0ff 0%, #e8e4fc 25%, #f1f5f9 50%, #e5f6f5 75%, #f8fafc 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--secondary-500) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--primary-100) 0%, var(--secondary-100) 100%);
    --gradient-dark-surface: linear-gradient(180deg, #f1f5f9 0%, #e8edf3 100%);
    --gradient-card-border: linear-gradient(135deg, rgba(109, 90, 205, 0.15) 0%, rgba(78, 205, 196, 0.15) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 50%, var(--accent-600) 100%);
    --gradient-glow-primary: radial-gradient(ellipse at center, rgba(109, 90, 205, 0.08) 0%, transparent 70%);
    --gradient-glow-secondary: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.06) 0%, transparent 70%);

    /* ---- Typography ---- */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ---- Spacing Scale ---- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* ---- Border Radius ---- */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* ---- Shadows - lighter, soft ---- */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.12);
    --shadow-glow-primary: 0 0 40px rgba(109, 90, 205, 0.12);
    --shadow-glow-secondary: 0 0 40px rgba(78, 205, 196, 0.1);
    --shadow-glow-accent: 0 0 40px rgba(244, 162, 97, 0.1);
    --shadow-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.8);

    /* ---- Glass Effect - white based ---- */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-light: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-light: rgba(0, 0, 0, 0.1);
    --glass-blur: 20px;

    /* ---- Transitions ---- */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease-in-out);
    --transition-base: 300ms var(--ease-out-expo);
    --transition-slow: 500ms var(--ease-out-expo);
    --transition-slower: 800ms var(--ease-out-expo);

    /* ---- Z-Index Scale ---- */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-overlay: 900;
    --z-modal: 1000;
    --z-toast: 1100;
}

/* ================================================================
   CUSTOM CURSOR
   ================================================================ */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s var(--ease-out-expo), opacity 0.15s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: normal;
    opacity: 0;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(109, 90, 205, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s ease, opacity 0.15s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

body:hover .cursor-dot,
body:hover .cursor-ring {
    opacity: 1;
}

.cursor-dot.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--secondary-500);
}

.cursor-ring.hovering {
    width: 60px;
    height: 60px;
    border-color: rgba(78, 205, 196, 0.25);
}

/* ================================================================
   SCROLL PROGRESS BAR
   ================================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 10001;
    transition: none;
    box-shadow: 0 0 10px rgba(109, 90, 205, 0.3), 0 0 30px rgba(78, 205, 196, 0.15);
}

/* ================================================================
   NOISE TEXTURE OVERLAY
   ================================================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #475569;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--neutral-500);
    font-weight: 400;
    font-size: 0.85em;
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    width: 100%;
}

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

/* ================================================================
   GLASS CARDS
   ================================================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md), var(--shadow-lg);
}

/* Animated gradient border card */
.glass-card-animated {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-2xl);
    border: none;
    padding: 1px;
    overflow: hidden;
}

.glass-card-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 1px;
    background: conic-gradient(from var(--card-angle, 0deg), transparent 30%, var(--primary-500) 50%, var(--secondary-500) 60%, transparent 70%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotateCardGradient 4s linear infinite;
}

.glass-card-animated:hover::before {
    opacity: 1;
}

@property --card-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateCardGradient {
    0% { --card-angle: 0deg; }
    100% { --card-angle: 360deg; }
}

.glass-card-accent {
    background: rgba(109, 90, 205, 0.04);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(109, 90, 205, 0.1);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border: none;
    text-decoration: none;
}

.btn i {
    font-size: 0.85em;
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-md), var(--shadow-glow-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(109, 90, 205, 0.25);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-light {
    background: transparent;
    color: #334155;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.btn-glow {
    animation: btnGlowPulse 3s ease-in-out infinite;
}

@keyframes btnGlowPulse {
    0%, 100% { box-shadow: var(--shadow-md), 0 0 30px rgba(109, 90, 205, 0.12); }
    50% { box-shadow: var(--shadow-lg), 0 0 50px rgba(109, 90, 205, 0.2); }
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(109, 90, 205, 0.08);
    border: 1px solid rgba(109, 90, 205, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.section-title {
    margin-bottom: var(--space-6);
}

.section-subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.125rem;
}

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-modal);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition-base);
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: var(--space-1);
    align-items: center;
}

.nav-link {
    position: relative;
    padding: var(--space-2) var(--space-4);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition-base);
    border-radius: var(--radius-md);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: #0f172a;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    box-shadow: 0 0 20px rgba(109, 90, 205, 0.15);
}

.nav-cta i {
    font-size: 0.75em;
    transition: transform var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 35px rgba(109, 90, 205, 0.25);
}

.nav-cta:hover i {
    transform: translateX(3px);
}

/* Hamburger Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: calc(var(--space-32) + 80px) var(--space-8) 200px;
}

/* Canvas */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Gradient orbs */
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109, 90, 205, 0.1) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.06) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.04) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.05); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -20px) scale(1.08); }
    66% { transform: translate(-15px, 25px) scale(0.92); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.1); }
}

/* Aurora effect */
.hero-aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.aurora-beam {
    position: absolute;
    width: 150%;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: auroraGlow 8s ease-in-out infinite;
}

.aurora-beam-1 {
    background: linear-gradient(90deg, transparent, rgba(109, 90, 205, 0.08), rgba(78, 205, 196, 0.05), transparent);
    top: 10%;
    left: -25%;
    animation-delay: 0s;
}

.aurora-beam-2 {
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.05), rgba(244, 162, 97, 0.04), transparent);
    top: 30%;
    left: -25%;
    animation-delay: 2.5s;
}

.aurora-beam-3 {
    background: linear-gradient(90deg, transparent, rgba(109, 90, 205, 0.04), rgba(78, 205, 196, 0.06), transparent);
    top: 55%;
    left: -25%;
    animation-delay: 5s;
}

@keyframes auroraGlow {
    0% { opacity: 0; transform: translateX(-20%) rotate(-3deg); }
    25% { opacity: 1; }
    50% { opacity: 0.6; transform: translateX(20%) rotate(2deg); }
    75% { opacity: 0.8; }
    100% { opacity: 0; transform: translateX(-20%) rotate(-3deg); }
}

/* Grid pattern */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(109, 90, 205, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 90, 205, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-5);
    background: rgba(109, 90, 205, 0.08);
    border: 1px solid rgba(109, 90, 205, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-600);
    margin-bottom: var(--space-8);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-500);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

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

.hero-title {
    margin-bottom: var(--space-6);
}

.hero-title-line {
    display: block;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: #475569;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-2);
    font-family: var(--font-body);
}

.hero-title-brand {
    display: block;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #6d5acd 40%, #4ecdc4 70%, #0f172a 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: #1e293b;
    margin-bottom: var(--space-6);
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #64748b;
    max-width: 650px;
    margin: 0 auto var(--space-10);
    line-height: 1.8;
}

/* Typewriter */
.typewriter {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--primary-500);
    animation: cursorBlink 1s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-ctas {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-16);
}

/* Floating Stats */
.hero-floating-stats {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-6) var(--space-10);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
}

.floating-stat {
    text-align: center;
}

.floating-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
}

.floating-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.floating-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    z-index: 5;
    opacity: 0.5;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid #94a3b8;
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: #64748b;
    border-radius: var(--radius-full);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelMove 2s ease-in-out infinite;
}

@keyframes scrollWheelMove {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 18px; }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.scroll-indicator span {
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Marquee */
.hero-marquee {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    z-index: 5;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: var(--space-10);
    animation: marqueeScroll 40s linear infinite;
    padding: var(--space-3) 0;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.marquee-item i {
    color: var(--primary-500);
    font-size: 0.7rem;
    opacity: 0.6;
}

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

/* ================================================================
   WAVE DIVIDERS
   ================================================================ */
.wave-divider {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider-1 {
    background: var(--gradient-hero);
}

.wave-divider-2 {
    background: #f8fafc;
}

/* ================================================================
   SECTION ORBS (floating ambient decoration)
   ================================================================ */
.section-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.section-orb-right {
    top: 10%;
    right: -150px;
    background: radial-gradient(circle, rgba(109, 90, 205, 0.05) 0%, transparent 70%);
    animation: sectionOrbFloat 15s ease-in-out infinite;
}

.section-orb-left {
    top: 20%;
    left: -150px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.04) 0%, transparent 70%);
    animation: sectionOrbFloat 18s ease-in-out infinite reverse;
}

@keyframes sectionOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.15); }
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
    margin-bottom: var(--space-20);
}

.about-content-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.about-card {
    padding: var(--space-8);
}

.about-card-icon {
    margin-bottom: var(--space-4);
}

.about-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-4);
}

.about-card p {
    font-size: 0.9375rem;
    margin: 0;
}

.about-synergy {
    padding: var(--space-6);
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.about-synergy i {
    color: var(--primary-500);
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-synergy p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Global Connection Visual */
.about-visual-block {
    position: relative;
}

.global-connection-visual {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.connection-svg {
    width: 100%;
    height: auto;
    color: #334155;
}

/* Values Section */
.values-section {
    text-align: center;
}

.values-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-10);
    color: #0f172a;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.value-card {
    padding: var(--space-10) var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-4);
}

.value-card p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

.value-icon-wrapper {
    margin-bottom: var(--space-6);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-2xl);
    font-size: 1.75rem;
    transition: all var(--transition-base);
}

.value-icon-hunger {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.12) 0%, rgba(244, 162, 97, 0.04) 100%);
    color: var(--accent-600);
    border: 1px solid rgba(244, 162, 97, 0.18);
}

.value-icon-heart {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.value-icon-harmony {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.12) 0%, rgba(78, 205, 196, 0.04) 100%);
    color: var(--secondary-600);
    border: 1px solid rgba(78, 205, 196, 0.18);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.value-card:hover .value-card-glow {
    opacity: 1;
}

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services-section {
    background: #f1f5f9;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%, transparent 100%);
}

.services-section::after {
    content: '';
    position: absolute;
    top: 15%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: var(--gradient-glow-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

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

.service-card {
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(109, 90, 205, 0.03) 50%, transparent 100%);
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card:hover .service-card-shine {
    left: 100%;
}

/* Animated top border on service cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
    transform-origin: left;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Mouse-follow glow spot on cards */
.service-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 90, 205, 0.04) 0%, transparent 70%);
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-featured {
    border-color: rgba(109, 90, 205, 0.12);
    background: rgba(109, 90, 205, 0.03);
}

.service-card-featured:hover {
    border-color: rgba(109, 90, 205, 0.2);
    box-shadow: var(--shadow-md), var(--shadow-xl), var(--shadow-glow-primary);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-6);
}

.service-icon-wrapper {
    flex-shrink: 0;
}

.service-badge {
    padding: var(--space-1) var(--space-3);
    background: rgba(78, 205, 196, 0.08);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--secondary-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-badge-accent {
    background: rgba(109, 90, 205, 0.08);
    border-color: rgba(109, 90, 205, 0.15);
    color: var(--primary-600);
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-3);
}

.service-desc {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: var(--space-6);
}

.service-metrics {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-metric {
    flex: 1;
    text-align: center;
}

.metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

.service-features i {
    color: var(--secondary-500);
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ================================================================
   WHY PARTNER SECTION
   ================================================================ */
.why-partner-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.why-partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%, transparent 100%);
}

.why-partner-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: var(--gradient-glow-secondary);
    border-radius: 50%;
    pointer-events: none;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 1;
}

.metric-card {
    padding: var(--space-10) var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.metric-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(109, 90, 205, 0.08);
    border: 1px solid rgba(109, 90, 205, 0.12);
    border-radius: var(--radius-xl);
    color: var(--primary-500);
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
}

.metric-counter {
    margin-bottom: var(--space-4);
}

.counter-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.metric-card h4 {
    font-size: 1.0625rem;
    margin-bottom: var(--space-3);
}

.metric-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-6) var(--space-8);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-2xl);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--primary-500);
    font-size: 1rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
}

/* ================================================================
   PROCESS & INDUSTRIES SECTION
   ================================================================ */
.process-section {
    background: #f1f5f9;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%, transparent 100%);
}

/* Timeline */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--space-20);
    padding: 0 var(--space-4);
}

.timeline-track {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(109, 90, 205, 0.1);
    border-radius: var(--radius-full);
}

.timeline-progress {
    width: 100%;
    height: 0%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transition: height 1.5s var(--ease-out-expo);
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-8);
    position: relative;
}

.step-node {
    position: relative;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.step-number {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid rgba(109, 90, 205, 0.2);
    border-radius: var(--radius-xl);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-500);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.timeline-step:hover .step-number {
    background: rgba(109, 90, 205, 0.08);
    border-color: rgba(109, 90, 205, 0.35);
    box-shadow: var(--shadow-glow-primary);
}

.step-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(109, 90, 205, 0.08);
    animation: stepPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0; }
}

.step-content {
    padding-top: var(--space-3);
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.step-content p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

/* Industries */
.industries-block {
    text-align: center;
}

.industries-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-10);
    color: #0f172a;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-6);
}

.industry-card {
    padding: var(--space-8) var(--space-4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(78, 205, 196, 0.06);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: var(--radius-xl);
    font-size: 1.5rem;
    color: var(--secondary-500);
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-icon {
    background: rgba(78, 205, 196, 0.12);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-secondary);
}

.industry-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
}

.industry-card-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.industry-card:hover .industry-card-border {
    opacity: 1;
}

/* ================================================================
   CAREERS SECTION
   ================================================================ */
.careers-section {
    background: #f8fafc;
    position: relative;
}

.careers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%, transparent 100%);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.career-card {
    padding: var(--space-8);
    text-align: center;
}

.career-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(109, 90, 205, 0.08) 0%, rgba(78, 205, 196, 0.05) 100%);
    border: 1px solid rgba(109, 90, 205, 0.12);
    border-radius: var(--radius-xl);
    font-size: 1.5rem;
    color: var(--primary-500);
    margin-bottom: var(--space-5);
    transition: all var(--transition-base);
}

.career-card:hover .career-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-primary);
}

.career-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

.career-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: var(--space-5);
}

.career-path {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.path-step {
    padding: var(--space-1) var(--space-3);
    background: rgba(109, 90, 205, 0.06);
    border: 1px solid rgba(109, 90, 205, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.career-path i {
    font-size: 0.5rem;
    color: #94a3b8;
}

/* Office Spotlight */
.office-spotlight {
    overflow: hidden;
}

.spotlight-content {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-10);
}

.spotlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(109, 90, 205, 0.1) 0%, rgba(78, 205, 196, 0.06) 100%);
    border: 1px solid rgba(109, 90, 205, 0.15);
    border-radius: var(--radius-2xl);
    font-size: 1.75rem;
    color: var(--primary-500);
    flex-shrink: 0;
}

.spotlight-text {
    flex: 1;
}

.spotlight-text h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.spotlight-text p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact-section {
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%, transparent 100%);
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 30%;
    left: -200px;
    width: 400px;
    height: 400px;
    background: var(--gradient-glow-primary);
    border-radius: 50%;
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info-card {
    padding: var(--space-10);
    height: 100%;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

.contact-info-card > p {
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(109, 90, 205, 0.08);
    border: 1px solid rgba(109, 90, 205, 0.12);
    border-radius: var(--radius-lg);
    color: var(--primary-500);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
    font-size: 0.9375rem;
    color: #1e293b;
    transition: color var(--transition-fast);
}

.contact-detail a:hover {
    color: var(--primary-500);
}

/* Contact Form */
.contact-form {
    padding: var(--space-10);
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: var(--space-2);
    letter-spacing: 0.02em;
}

.required {
    color: var(--accent-500);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: #0f172a;
    transition: all var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-500);
    background: rgba(109, 90, 205, 0.02);
    box-shadow: 0 0 0 3px rgba(109, 90, 205, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: center;
}

.form-group input:focus ~ .form-focus-line,
.form-group textarea:focus ~ .form-focus-line {
    transform: scaleX(1);
}

/* ================================================================
   FOOTER (Stays DARK themed - common pattern for light websites)
   ================================================================ */
.site-footer {
    background: #0f172a;
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
}

.footer-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(109, 90, 205, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.3;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-4);
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #4e6089;
    font-style: italic;
}

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

.footer-links-col h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #b5c2d8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}

.footer-links-col a {
    display: block;
    font-size: 0.875rem;
    color: #6b7ea3;
    padding: var(--space-1) 0;
    transition: color var(--transition-fast);
}

.footer-links-col a:hover {
    color: #8b7ddf;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: #6b7ea3;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(109, 90, 205, 0.15);
    border-color: rgba(109, 90, 205, 0.3);
    color: #8b7ddf;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #4e6089;
    margin: 0;
}

.footer-tagline-bottom {
    font-style: italic;
    color: #4e6089;
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
    filter: blur(4px);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Scale-up reveal variant */
.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Slide-in from left */
.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-in from right */
.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================================
   ANIMATED TEXT SHIMMER
   ================================================================ */
.text-shimmer {
    background: linear-gradient(
        90deg,
        #334155 0%,
        #0f172a 25%,
        var(--primary-600) 50%,
        #0f172a 75%,
        #334155 100%
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 5s linear infinite;
}

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

/* ================================================================
   FLOATING ANIMATION UTILITY
   ================================================================ */
.float-animation {
    animation: floatGentle 6s ease-in-out infinite;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ================================================================
   PULSING GLOW RING
   ================================================================ */
.glow-ring {
    position: relative;
}

.glow-ring::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.5s ease;
}

.glow-ring:hover::after {
    opacity: 0.3;
    animation: glowRingPulse 2s ease-in-out infinite;
}

@keyframes glowRingPulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.02); }
}

/* ================================================================
   MAGNETIC BUTTON EFFECT
   ================================================================ */
.btn-magnetic {
    transition: transform 0.3s var(--ease-out-expo);
}

/* ================================================================
   ENHANCED VALUE CARD HOVER
   ================================================================ */
.value-card {
    transition: all 0.5s var(--ease-out-expo);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-xl);
}

.value-icon {
    transition: all 0.5s var(--ease-out-expo);
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
}

/* ================================================================
   ENHANCED METRIC CARD
   ================================================================ */
.metric-card {
    transition: all 0.5s var(--ease-out-expo);
}

.metric-card:hover {
    transform: translateY(-6px);
}

.metric-card:hover .metric-card-icon {
    background: rgba(109, 90, 205, 0.15);
    border-color: rgba(109, 90, 205, 0.25);
    box-shadow: var(--shadow-glow-primary);
    transform: scale(1.1);
}

.metric-card-icon {
    transition: all 0.5s var(--ease-out-expo);
}

/* ================================================================
   CAREER CARD ENHANCED HOVER
   ================================================================ */
.career-card {
    transition: all 0.5s var(--ease-out-expo);
}

.career-card:hover {
    transform: translateY(-6px);
    border-color: rgba(109, 90, 205, 0.15);
}

.career-card:hover .career-path .path-step {
    background: rgba(109, 90, 205, 0.1);
    border-color: rgba(109, 90, 205, 0.2);
}

.path-step {
    transition: all 0.3s ease;
}

/* ================================================================
   INDUSTRY CARD ENHANCED
   ================================================================ */
.industry-card {
    transition: all 0.5s var(--ease-out-expo);
}

.industry-card:hover {
    transform: translateY(-6px);
}

/* ================================================================
   CONTACT FORM ENHANCED
   ================================================================ */
.form-group.focused label {
    color: var(--primary-500);
}

.form-group label {
    transition: color 0.3s ease;
}

/* ================================================================
   FOOTER ENHANCED ANIMATIONS
   ================================================================ */
.footer-social a {
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.footer-social a:hover::before {
    opacity: 0.15;
}

/* ================================================================
   SPOTLIGHT ANIMATED BORDER
   ================================================================ */
.office-spotlight {
    position: relative;
}

.office-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transition: transform 0.8s var(--ease-out-expo);
    transform-origin: left;
}

.office-spotlight:hover::before {
    transform: scaleX(1);
}

/* Stagger support via data-delay attribute - JS applies transition-delay */

/* ================================================================
   FORM MESSAGE
   ================================================================ */
.form-message {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--space-6);
    animation: formMsgIn 0.3s var(--ease-out-expo);
}

.form-message.success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: var(--error);
}

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

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

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        gap: var(--space-8);
    }
}

/* Mobile landscape / small tablets */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-2);
        z-index: calc(var(--z-modal) - 1);
        padding: var(--space-24) var(--space-8);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: var(--space-4) var(--space-6);
        color: #334155;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: calc(var(--space-24) + 60px) var(--space-6) 160px;
        min-height: 100svh;
    }

    .hero-floating-stats {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-6);
        margin-bottom: var(--space-4);
    }

    .floating-stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section {
        padding: var(--space-20) 0;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto var(--space-12);
    }

    .careers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto var(--space-12);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spotlight-content {
        flex-direction: column;
        text-align: center;
        padding: var(--space-8);
    }

    .spotlight-content .btn {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: var(--space-8);
    }

    .footer-social {
        justify-content: center;
    }

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

    .scroll-indicator {
        display: none;
    }

    .hero-marquee {
        bottom: 60px;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    .trust-bar {
        flex-direction: column;
        gap: var(--space-4);
    }

    .trust-divider {
        display: none;
    }

    /* Timeline mobile */
    .timeline-track {
        left: 28px;
    }

    .process-timeline {
        padding: 0;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-title-brand {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .service-metrics {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* Hover device query - remove hover effects on touch */
@media (hover: none) {
    .service-card:hover,
    .value-card:hover,
    .metric-card:hover,
    .career-card:hover,
    .industry-card:hover {
        transform: none;
    }
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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

    .hero-gradient-orb,
    .aurora-beam,
    .section-orb {
        animation: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    .marquee-content {
        animation: none;
    }
}
