:root {
    /* Gradient Colors - Enhanced for Dark Mode */
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    
    /* Base Colors */
    --black: #000000;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    
    /* Theme Colors - Dark Mode (Default) */
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--gray-800);
    --bg-tertiary: var(--gray-700);
    --bg-nav: rgba(15, 23, 42, 0.95);
    --text-primary: var(--gray-100);
    --text-secondary: var(--gray-400);
    --text-muted: var(--gray-500);
    --border-color: rgba(139, 92, 246, 0.2);
    --border-color-light: rgba(139, 92, 246, 0.1);
    --card-shadow: rgba(0, 0, 0, 0.5);
    --card-hover-shadow: rgba(0, 0, 0, 0.7);
    --glow-intensity: 0.6;
    
    /* Glass Effect System */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-bg-strong: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
    
    /* Premium Multi-Layer Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2), 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2), 0 24px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.15);
    
    /* Surface & Border Radius (content pages) */
    --bg-surface: var(--bg-secondary);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    
    /* Animation Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.35s;
    --duration-slow: 0.6s;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: var(--gray-50);
    --bg-secondary: var(--white);
    --bg-tertiary: var(--gray-100);
    --bg-nav: rgba(248, 250, 252, 0.95);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --border-color: rgba(139, 92, 246, 0.3);
    --border-color-light: rgba(139, 92, 246, 0.15);
    --card-shadow: rgba(0, 0, 0, 0.1);
    --card-hover-shadow: rgba(0, 0, 0, 0.15);
    --glow-intensity: 0.3;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(139, 92, 246, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.06), 0 20px 40px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.07), 0 24px 60px rgba(0, 0, 0, 0.06);
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px var(--card-shadow);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: all var(--duration-normal) ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Ensure the picture wrapper and image are aligned when using <picture> */
.logo picture {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    vertical-align: middle;
}

.logo-text {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}

.layer {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number {
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--duration-normal) ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--purple-400);
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links .dropdown > a::after {
    content: '▼';
    font-size: 0.7rem;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-xs) 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s var(--ease-out-expo);
    box-shadow: var(--shadow-xl);
    z-index: 200;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu li {
    list-style: none;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: var(--space-xs) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links .dropdown-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--purple-400);
}

.nav-cta {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 50%, var(--purple-600) 100%);
    background-size: 200% auto;
    color: var(--white) !important;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5), var(--shadow-glow-purple);
    background-position: right center;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--purple-400);
    color: var(--purple-400);
    transform: rotate(15deg) scale(1.05);
    box-shadow: var(--shadow-glow-purple);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--purple-400);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero.hero-small {
    min-height: 60vh;
    padding-top: 100px;
    padding-bottom: var(--space-xl);
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    z-index: 0;
    animation: gradientShift 20s ease infinite;
}

.hero-bg-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 60% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 40%);
    animation: gradientShift 25s ease infinite reverse;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.08); }
}

/* ==========================================================================
   HERO SPOTLIGHT REVEAL (huly-style)
   ========================================================================== */

.hero-reveal-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    /* Multi-layer tech blueprint grid */
    background:
        /* Major grid lines */
        linear-gradient(rgba(139, 92, 246, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.12) 1px, transparent 1px),
        /* Minor grid lines */
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        /* Intersection dots */
        radial-gradient(circle 1.5px, rgba(139, 92, 246, 0.25) 100%, transparent 100%);
    background-size:
        80px 80px,
        80px 80px,
        20px 20px,
        20px 20px,
        80px 80px;
    /* Mask follows mouse: large radius so grid reveals generously */
    -webkit-mask-image: radial-gradient(circle 550px at var(--reveal-x, -500px) var(--reveal-y, -500px),
        rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.15) 65%, transparent 85%);
    mask-image: radial-gradient(circle 550px at var(--reveal-x, -500px) var(--reveal-y, -500px),
        rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.15) 65%, transparent 85%);
}

[data-theme="light"] .hero-reveal-layer {
    background:
        linear-gradient(rgba(139, 92, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        radial-gradient(circle 1.5px, rgba(139, 92, 246, 0.15) 100%, transparent 100%);
    background-size:
        80px 80px,
        80px 80px,
        20px 20px,
        20px 20px,
        80px 80px;
}

.hero.reveal-active .hero-reveal-layer {
    opacity: 1;
}

/* Cursor glow - follows mouse */
.hero-cursor-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    transform: translate(-50%, -50%);
    left: var(--reveal-x, -500px);
    top: var(--reveal-y, -500px);
    background: radial-gradient(circle,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(139, 92, 246, 0.06) 30%,
        rgba(59, 130, 246, 0.03) 50%,
        transparent 70%);
    will-change: left, top;
}

[data-theme="light"] .hero-cursor-glow {
    background: radial-gradient(circle,
        rgba(139, 92, 246, 0.08) 0%,
        rgba(139, 92, 246, 0.04) 30%,
        rgba(59, 130, 246, 0.02) 50%,
        transparent 70%);
}

.hero.reveal-active .hero-cursor-glow {
    opacity: 1;
}

/* Cards container — single mask in hero-relative coordinates */
.reveal-cards-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    -webkit-mask-image: radial-gradient(circle 600px at var(--reveal-x, -500px) var(--reveal-y, -500px),
        black 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0.2) 60%, transparent 80%);
    mask-image: radial-gradient(circle 600px at var(--reveal-x, -500px) var(--reveal-y, -500px),
        black 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0.2) 60%, transparent 80%);
}

.hero.reveal-active .reveal-cards-container {
    opacity: 1;
}

/* Mock UI cards revealed by spotlight */
.reveal-card {
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 14px 18px;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.7);
}

[data-theme="light"] .reveal-card {
    border-color: rgba(139, 92, 246, 0.15);
    background: rgba(255, 255, 255, 0.5);
    color: rgba(100, 116, 139, 0.7);
}

.reveal-card-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(167, 139, 250, 0.6);
    margin-bottom: 10px;
}

.reveal-card-bar {
    height: 4px;
    border-radius: 2px;
    background: rgba(139, 92, 246, 0.15);
    margin: 6px 0;
    position: relative;
    overflow: hidden;
}

.reveal-card-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--purple-500), var(--pink-500));
    width: var(--bar-width, 60%);
    opacity: 0.6;
}

.reveal-card-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.reveal-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.reveal-card-dot.green { background: rgba(74, 222, 128, 0.6); }
.reveal-card-dot.blue { background: rgba(96, 165, 250, 0.6); }
.reveal-card-dot.purple { background: rgba(167, 139, 250, 0.6); }
.reveal-card-dot.amber { background: rgba(251, 191, 36, 0.6); }

.reveal-card-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.12);
    color: rgba(167, 139, 250, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Vertical light beam accent */
.hero-beam {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 2px;
    top: 0;
    bottom: 0;
    left: var(--reveal-x, -500px);
    opacity: 0;
    transition: opacity 0.5s ease;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(139, 92, 246, 0.5) 30%,
        rgba(96, 165, 250, 0.8) 50%,
        rgba(139, 92, 246, 0.5) 70%,
        transparent 100%);
    box-shadow:
        0 0 8px rgba(139, 92, 246, 0.4),
        0 0 20px rgba(96, 165, 250, 0.2),
        0 0 40px rgba(139, 92, 246, 0.1);
    will-change: left;
}

.hero.reveal-active .hero-beam {
    opacity: 1;
}

/* Disable reveal effect on mobile / touch */
@media (max-width: 768px) {
    .hero-reveal-layer,
    .hero-cursor-glow,
    .hero-beam,
    .reveal-card {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-reveal-layer,
    .hero-cursor-glow,
    .hero-beam,
    .reveal-card {
        display: none !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 50%, var(--orange-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s ease infinite;
    background-size: 200% auto;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 50%, var(--purple-600) 100%);
    background-size: 200% auto;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5), var(--shadow-glow-purple);
    background-position: right center;
}

.btn-outline {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple-400);
    border: 2px solid var(--purple-400);
}

.btn-outline:hover {
    background: var(--purple-600);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--purple-600);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    transition: all var(--duration-normal) ease;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.5) 50%, transparent 100%);
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: background 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.gradient-border-purple::before {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
}

.gradient-border-blue::before {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
}

.gradient-border-pink::before {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-purple);
    border-color: rgba(139, 92, 246, 0.25);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.gradient-border-purple .service-icon {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
}

.gradient-border-blue .service-icon {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
    color: var(--white);
}

.gradient-border-pink .service-icon {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--purple-400);
    text-decoration: none;
    font-weight: 600;
    margin-top: var(--space-md);
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--pink-400);
    transform: translateX(4px);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.value-cards {
    display: grid;
    gap: var(--space-md);
}

.value-card {
    padding: var(--space-xl);
    border-radius: 20px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    border: 1px solid;
    transition: background-color 0.3s ease;
}

.gradient-bg-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.gradient-bg-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.gradient-bg-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%);
    border-color: rgba(236, 72, 153, 0.3);
    backdrop-filter: blur(10px);
}

.value-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.value-card p {
    opacity: 0.95;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--white);
}

.cta-content ul,
.cta-content ol {
    text-align: left;
    max-width: 600px;
    margin: var(--space-lg) auto;
    padding-left: var(--space-xl);
    color: var(--white);
    opacity: 0.95;
}

.cta-content li {
    margin: var(--space-sm) 0;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

.cta-buttons .btn-gradient {
    background: var(--white);
    color: var(--purple-600);
}

.cta-buttons .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--purple-600);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section .logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

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

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--purple-400);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

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

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--text-secondary);
}

/* Legacy footer classes for compatibility */
.footer-brand p {
    margin-top: var(--space-sm);
    color: var(--text-secondary);
}

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-xs);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--purple-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .nav-container {
        padding: var(--space-sm);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: var(--space-md);
        transition: right 0.3s ease, background-color 0.3s ease;
        border-left: 2px solid var(--purple-500);
        box-shadow: -5px 0 30px var(--card-shadow);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    /* Mobile Dropdown Menu */
    .nav-links .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 var(--space-md);
        min-width: auto;
        background: transparent;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-links .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .nav-links .dropdown > a::after {
        float: right;
    }
    
    .nav-links .dropdown-menu a {
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    
    .nav-cta {
        text-align: center;
        padding: 1rem var(--space-md) !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero.hero-small .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 100px;
        height: 2px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Content Pages (Legal, Services, etc.) */
.content-page {
    padding-top: 100px;
    padding-bottom: var(--space-3xl);
    min-height: 100vh;
}

.content-page .container {
    max-width: 900px;
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.content-page h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.content-page h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.content-page p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.content-page ul, 
.content-page ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.content-page li {
    margin-bottom: var(--space-xs);
}

.content-page a {
    color: var(--purple-400);
    text-decoration: none;
    transition: color 0.3s;
}

.content-page a:hover {
    color: var(--pink-400);
}

.content-page .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

/* Services Page Specific */
.services-page .service-detail {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-color-light);
    transition: background-color 0.3s ease;
}

.services-page .service-detail:hover {
    border-color: var(--border-color);
}

.services-page .service-detail h2 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.services-page .service-detail .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.services-page .service-detail .icon.purple {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
}

.services-page .service-detail .icon.blue {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
    color: var(--white);
}

.services-page .service-detail .icon.pink {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
    color: var(--white);
}

/* New Page Styles */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-bottom: 1px solid var(--border-color-light);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.breadcrumb a {
    color: var(--purple-400);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--pink-400);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.content-section {
    padding: var(--space-3xl) 0;
}

.content-section.alt-bg {
    background: var(--bg-secondary);
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content-block ul,
.content-block ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-xl);
    color: var(--text-secondary);
}

.content-block li {
    margin: var(--space-sm) 0;
    line-height: 1.6;
}

.content-block h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.content-block h4 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.content-card ul {
    list-style: none;
    padding-left: 0;
    margin: var(--space-md) 0;
}

.content-card li {
    margin: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.content-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--purple-400);
}

.content-card h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
    margin: var(--space-md) 0;
}

.feature-card li {
    margin: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    font-size: 0.95rem;
}

.feature-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple-400);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.content-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.content-card:hover {
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
}

.content-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.content-card p {
    margin-bottom: var(--space-md);
}

.content-card .btn {
    margin-top: var(--space-md);
}

.features-section {
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.features-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.feature-detail {
    background: var(--bg-primary);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: var(--space-xl);
}

.feature-detail .feature-icon {
    margin-bottom: var(--space-md);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.security-item {
    text-align: center;
    padding: var(--space-lg);
}

.security-item svg {
    color: var(--purple-400);
    margin-bottom: var(--space-md);
}

.security-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.security-highlight {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-2xl);
    text-align: center;
    max-width: 800px;
    margin: var(--space-xl) auto 0;
}

.security-highlight .security-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--white);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.roadmap-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
}

.roadmap-card svg {
    color: var(--purple-400);
    flex-shrink: 0;
}

.roadmap-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.note {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-left: 3px solid var(--purple-400);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-secondary);
}

.info-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.info-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
    position: relative;
}

.styled-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--purple-400);
    font-weight: bold;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.use-cases {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.use-case {
    background: var(--bg-primary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    padding: var(--space-lg);
}

.use-case h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.compliance-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
}

.compliance-card svg {
    color: var(--purple-400);
    margin-bottom: var(--space-md);
}

.compliance-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

/* Contact Form */
.contact-form-section {
    padding: var(--space-2xl) 0;
}

.contact-form-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.025em;
}

.form-required {
    color: var(--pink-400);
    margin-left: 2px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--purple-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

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

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

.form-actions {
    margin-top: var(--space-sm);
}

.form-submit {
    display: inline-block;
    width: 100%;
    padding: 0.875rem var(--space-xl);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.form-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

[data-theme="light"] .form-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

[data-theme="light"] .form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Cookie Consent Banner */
.consent-banner {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-lg);
}

.consent-banner[hidden] {
    display: none;
}

.consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.consent-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.consent-content {
    margin-bottom: var(--space-lg);
}

.consent-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.consent-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.consent-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color-light);
}

.consent-categories[hidden] {
    display: none;
}

.consent-category-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.consent-category-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--purple-500);
    cursor: pointer;
}

.consent-category-label input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.consent-category-name {
    font-weight: 500;
}

.consent-category-required {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.consent-actions[hidden] {
    display: none;
}

.consent-customize-link {
    text-align: center;
    margin-top: var(--space-xs);
}

.consent-link {
    background: none;
    border: none;
    color: var(--purple-400);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.consent-link:hover {
    color: var(--pink-400);
}

.consent-customize-link[hidden] {
    display: none;
}

.consent-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.7rem var(--space-md);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.consent-btn[hidden] {
    display: none;
}

.consent-btn-accept {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.consent-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.consent-btn-reject {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.consent-btn-reject:hover {
    background: var(--bg-primary);
}

.consent-btn-save {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.consent-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

/* Prevent scrolling when consent banner is open */
body.consent-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .consent-banner {
        padding: var(--space-sm);
        align-items: flex-end;
    }

    .consent-dialog {
        padding: var(--space-md);
        border-radius: 12px 12px 0 0;
    }

    .consent-actions {
        flex-direction: column;
    }

    .consent-btn {
        width: 100%;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.contact-method {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--white);
}

.contact-method h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.contact-method a {
    color: var(--purple-400);
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--pink-400);
}

.lang-switch {
    padding: 0.5rem 1rem !important;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-grid,
    .features-grid,
    .features-grid-2col,
    .process-grid,
    .compliance-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-inner {
        padding: var(--space-lg);
    }

    .contact-form-heading {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   PREMIUM SCROLL REVEAL SYSTEM
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

[data-reveal="up"] { transform: translateY(32px); }
[data-reveal="down"] { transform: translateY(-32px); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="fade"] { transform: none; }

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* Stagger animation for grid children */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out-expo),
                transform 0.5s var(--ease-out-expo);
}

[data-reveal-stagger].revealed > * {
    opacity: 1;
    transform: none;
}

[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.06s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.18s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.30s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.36s; }

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

/* Nav link underline animation (top-level only, excludes CTA & dropdown children) */
.nav-links > li > a:not(.nav-cta) {
    background-image: linear-gradient(90deg, var(--purple-400), var(--pink-400));
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: color var(--duration-normal) ease, background-size var(--duration-normal) var(--ease-out-expo);
}

.nav-links > li > a:not(.nav-cta):hover {
    background-size: 100% 2px;
}

/* Button active press feedback */
.btn:active {
    transform: scale(0.97) !important;
    transition-duration: 0.1s !important;
}

/* Service/feature icon hover scale */
.service-icon,
.feature-icon,
.contact-icon {
    transition: transform 0.35s var(--ease-spring);
}

.service-card:hover .service-icon,
.feature-card:hover .feature-icon,
.contact-method:hover .contact-icon {
    transform: scale(1.08) rotate(3deg);
}

/* Stat value hover glow */
.stat-value {
    transition: text-shadow 0.3s ease;
}

.stat:hover .stat-value {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Content card button subtle shift */
.content-card .btn {
    transition: all 0.3s var(--ease-out-expo);
}

.content-card:hover .btn {
    transform: translateX(4px);
}

/* Footer link hover nudge */
.footer-section a,
.footer-column a {
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.footer-section a:hover,
.footer-column a:hover {
    transform: translateX(3px);
}

/* Form input enhanced focus */
.form-input:focus,
.form-textarea:focus {
    border-color: var(--purple-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), var(--shadow-glow-purple);
}

/* Value card hover lift */
.value-card {
    transition: all 0.4s var(--ease-out-expo);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Service link arrow bounce */
.service-link {
    transition: all 0.3s var(--ease-out-expo);
}

.service-link:hover {
    color: var(--pink-400);
    transform: translateX(6px);
}

/* Badge subtle float */
.badge {
    animation: badgeFloat 4s ease-in-out infinite;
}

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

/* ==========================================================================
   HERO ENTRANCE ANIMATIONS
   ========================================================================== */

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: heroFadeInUp 0.7s var(--ease-out-expo) backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.35s; }
.hero-content > *:nth-child(4) { animation-delay: 0.45s; }
.hero-content > *:nth-child(5) { animation-delay: 0.55s; }
.hero-content > *:nth-child(6) { animation-delay: 0.65s; }

/* ==========================================================================
   NAV SCROLL STATE
   ========================================================================== */

.nav.nav-scrolled {
    box-shadow: var(--shadow-lg);
    border-bottom-color: transparent;
}

.nav.nav-scrolled .nav-container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav.nav-scrolled .logo-img {
    height: 32px;
    transition: height 0.3s var(--ease-out-expo);
}

/* Premium gradient line under nav when scrolled */
.nav.nav-scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-500), var(--pink-500), transparent);
    opacity: 0.5;
}

/* ==========================================================================
   ENHANCED FOCUS STATES (A11Y)
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--purple-400);
    outline-offset: 3px;
}

a:focus-visible {
    border-radius: 4px;
}

.btn:focus-visible {
    outline-offset: 4px;
}

/* ==========================================================================
   ACCESSIBILITY - 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-behavior: auto !important;
    }
    
    [data-reveal],
    [data-reveal-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-content > * {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   MOBILE MICRO-INTERACTION OVERRIDES
   ========================================================================== */

@media (max-width: 768px) {
    /* Disable underline animation in mobile nav */
    .nav-links > li > a:not(.nav-cta) {
        background-image: none;
    }
    
    /* Reduce card hover transforms on touch */
    .content-card:hover,
    .feature-card:hover {
        transform: translateY(-2px);
    }
    
    .service-card:hover {
        transform: translateY(-4px);
    }
}
