/* iLab Website Styles - Modern Minimalist Design */
:root {
    /* Primary Colors - Deep Navy & Rich Purple (AI-Style) */
    --primary-dark: #0f172a;
    --primary-dark-2: #1e1b4b;
    --primary-dark-3: #312e81;
    --primary-purple: #4c1d95;
    
    /* Accent Colors - Electric Blue, Cyan & Purple (AI Gradient) */
    --accent-blue: #3b82f6;
    --accent-blue-dark: #2563eb;
    --accent-blue-light: #60a5fa;
    --accent-blue-2: #1d4ed8;
    
    /* Secondary Accent - Cyan & Purple */
    --accent-cyan: #06b6d4;
    --accent-cyan-light: #22d3ee;
    --accent-cyan-dark: #0891b2;
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-purple-dark: #7c3aed;
    
    /* AI Gradient Colors */
    --ai-gradient-1: #6366f1;
    --ai-gradient-2: #8b5cf6;
    --ai-gradient-3: #06b6d4;
    --ai-gradient-4: #3b82f6;
    
    /* Neutral Colors - Grey Scale */
    --white: #ffffff;
    --off-white: #0b1220;
    --light-bg: #0a0f1c;
    --gray-50: #0f1629;
    --gray-100: #121b30;
    --gray-200: #1d2a44;
    --gray-300: #2a3a5c;
    --gray-400: #5f7396;
    --gray-500: #7d92b5;
    --gray-600: #a7b7d1;
    --gray-700: #c7d3e8;
    --gray-800: #e0e7f5;
    --gray-900: #f1f5ff;
    
    /* FIXED: Corrected backward-compatible aliases with meaningful names */
    /* Use primary variables directly instead of confusing aliases */
    --black: var(--primary-dark);
    --black-light: var(--primary-dark-2);
    --black-lighter: var(--primary-dark-3);
    --dark-blue: var(--primary-dark);
    /* Purple accent (NOT yellow - using accent purple for visual consistency) */
    --accent-yellow: var(--accent-purple);
    --accent-yellow-dark: var(--accent-purple-dark);
    /* Cyan accent (previously mislabeled as teal) */
    --accent-teal: var(--accent-cyan);
    --accent-teal-light: var(--accent-cyan-light);
    --accent-teal-dark: var(--accent-cyan-dark);
    --purple: var(--accent-purple);
    
    /* Typography */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    
    /* Functional */
    --muted: #64748b;
    --max-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --gap: 24px;
    --container-pad: 20px;
    
    /* Enhanced Shadows - Modern minimal approach */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    --shadow-purple-glow: 0 0 24px rgba(139, 92, 246, 0.2);
    --shadow-cyan-glow: 0 0 24px rgba(6, 182, 212, 0.2);
    --shadow-blue-glow: 0 0 24px rgba(59, 130, 246, 0.2);
    
    /* Transitions - Smooth & subtle */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 48px;
    --space-4xl: 64px;
    --space-5xl: 80px;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(12px);

    /* Compatibility aliases used throughout the stylesheet */
    --teal: var(--accent-cyan);
    --teal-light: var(--accent-cyan-light);
    --teal-dark: var(--accent-cyan-dark);
    --yellow: var(--accent-purple);
    --yellow-dark: var(--accent-purple-dark);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-700);
    background: radial-gradient(1200px 600px at 20% -10%, rgba(99, 102, 241, 0.12), transparent 60%), var(--light-bg);
    line-height: var(--line-height-normal);
    overflow-x: hidden;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: attr(width) / attr(height);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--black);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: var(--line-height-relaxed);
}

/* Header Styles - Modern Minimalist Navigation */
.site-header {
    background: rgba(10, 15, 28, 0.88);
    backdrop-filter: saturate(140%) blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(125, 146, 181, 0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-md) var(--container-pad);
}

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

.brand .brand-text {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.nav {
    display: flex;
    gap: var(--space-3xl);
    margin-left: auto;
}

.nav a {
    color: var(--gray-800);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    position: relative;
    padding: var(--space-md) 0;
    transition: var(--transition-fast);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: var(--transition-fast);
}

.nav a:hover,
.nav a.active {
    color: var(--teal);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

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

/* Login & Sign Up Buttons */
.login-link {
    color: var(--gray-800);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    padding: var(--space-sm) var(--space-lg);
    transition: var(--transition-fast);
}

.login-link:hover {
    color: var(--teal);
}

.signup-btn {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    border: 1px solid rgba(167, 183, 209, 0.35);
    cursor: pointer;
}

.signup-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: var(--font-size-2xl);
    color: var(--white);
    cursor: pointer;
    padding: var(--space-md);
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    color: var(--teal);
}

/* Mobile navigation: see css/redesign.css */

/* Hero Section - Modern Minimalist */
.hero {
    padding: var(--space-5xl) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-2) 50%, var(--primary-dark-3) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    min-height: calc(62vh + 240px);
}

/* Animated gradient background - Subtle animations */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    animation: meshMove 20s ease-in-out infinite;
}

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

/* Floating orbs for visual depth */
.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* Homepage lab hero: full-bleed gallery + copy in container below */
.hero-lab .hero-inner {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    padding-top: clamp(28px, 4vw, 40px);
}

/* Lab hero: headline, subtitle, and stats span the full content width */
.hero-lab .hero-content {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

.hero-lab .hero-subtitle,
.hero-lab .hero-description {
    max-width: none;
}

@media (min-width: 1025px) {
    .hero-lab .hero-content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding: var(--space-2xl) var(--space-xl);
    }

    .hero-lab .hero-subtitle,
    .hero-lab .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-lab .hero-buttons,
    .hero-lab .hero-stats {
        justify-content: center;
    }

    .hero-lab .hero-stats .stat {
        text-align: center;
    }
}

.hero-content h1 {
    font-size: clamp(2rem, 4.2vw, var(--font-size-5xl));
    font-weight: var(--font-weight-bold);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out;
}

.hero-content {
    position: relative;
    z-index: 10;
    left: auto;
    top: auto;
    transform: none;
    max-width: 760px;
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    pointer-events: auto;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, var(--font-size-xl));
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto var(--space-md);
    max-width: 700px;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description {
    font-size: clamp(0.95rem, 1.6vw, var(--font-size-base));
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto var(--space-2xl);
    max-width: 720px;
    line-height: 1.75;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
    cursor: pointer;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35);
}

.primary-btn:hover::before {
    left: 100%;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 3vw, var(--space-3xl));
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--white);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.moving-hero-visual {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    border-radius: 0;
    padding: 0;
    background: #000;
    border: 0;
    box-shadow: none;
    /* 100vw includes scrollbar width and overflows; clip shows as a cut-off on the right */
    width: 100%;
    max-width: 100%;
    height: 62vh;
    min-height: 62vh;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    align-self: stretch;
    justify-self: stretch;
}

.moving-track {
    display: flex;
    gap: 0;
    /* 10 slides × full width of .moving-hero-visual (matches duplicate loop below) */
    width: 1000%;
    height: 100%;
    animation: heroStepSlider 10s steps(5, end) infinite;
    will-change: transform;
    padding: 0;
}

.moving-hero-visual:hover .moving-track {
    animation-play-state: paused;
}

.hero-slide {
    flex: 0 0 10%;
    width: 10%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 20% 20%, rgba(76, 29, 149, 0.35), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(29, 78, 216, 0.30), transparent 45%),
        #05070d;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

@keyframes heroStepSlider {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2), 0 0 30px rgba(6, 182, 212, 0.15);
    border-color: rgba(139, 92, 246, 0.35);
}

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

.hero-card .card-icon {
    font-size: var(--font-size-4xl);
    color: var(--white);
    margin-bottom: var(--space-lg);
    transition: var(--transition-fast);
}

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

.hero-card h3 {
    font-size: var(--font-size-lg);
    color: var(--white);
    margin-bottom: var(--space-md);
    font-weight: var(--font-weight-semibold);
}

.hero-card p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Section Styles - Improved Spacing */
.section {
    padding: var(--space-5xl) 0;
}

.section.alt {
    background: #0f1629;
}

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

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--black);
    margin-bottom: var(--space-lg);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

/* Cards Grid - Improved */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.card {
    background: #0f1a30;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--white);
    margin-bottom: var(--space-xl);
    transition: var(--transition-fast);
}

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

.card h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.card p {
    color: var(--gray-500);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
}

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

.card-list li {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    padding-left: var(--space-lg);
    position: relative;
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: var(--font-weight-bold);
}

/* Footer - Improved Design */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-4xl) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-sm);
}

.footer-links h4,
.footer-contact h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-links a:hover::after {
    width: 100%;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

.footer-contact li i {
    color: var(--teal);
    width: 20px;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl) var(--container-pad);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    max-width: var(--max-width);
    margin: 0 auto;
}

.designed-by {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-xs);
}

/* Program Section */
.program-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    position: relative;
    overflow: hidden;
}

.program-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v2.5l10.5 6-10.5 6z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
}

.program-section .section-header h2,
.program-section .section-header p {
    color: var(--white);
}

.program-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.program-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

.program-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.program-header i {
    font-size: 32px;
    color: var(--yellow);
}

.program-header h3 {
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
}

.program-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.program-features {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.program-features h3 {
    text-align: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.feature i {
    color: var(--accent-blue);
    font-size: 16px;
}

.program-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 32px;
    color: var(--white);
}

/* Instructors Section */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.instructor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.instructor-image {
    height: 200px;
    background: linear-gradient(135deg, var(--black) 0%, var(--yellow-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-image .placeholder-icon {
    font-size: 64px;
    color: var(--white);
    opacity: 0.7;
}

.instructor-info {
    padding: 24px;
    text-align: center;
}

.instructor-info h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.instructor-info .specialty {
    color: var(--yellow-dark);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
}

.instructor-info .description {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-list > li > i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--teal) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--teal-light);
    flex-shrink: 0;
}

.contact-list li strong {
    display: block;
    font-size: 14px;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.contact-list li span {
    color: var(--gray-600);
    font-size: 15px;
}

.contact-list li a {
    color: var(--gray-600);
}

.contact-list li a:hover {
    color: var(--teal);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark-blue);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--teal);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: #0f1a30;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: #0f1a30;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

.submit-btn {
    background: var(--yellow);
    color: var(--black);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Shop Page Styles */
.shop-hero {
    padding: 140px 0 40px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-2) 50%, var(--accent-blue) 100%);
    position: relative;
}

.shop-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs span {
    color: var(--white);
}

.shop-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.shop-filters {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-600);
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
}

.shop-header {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    background: var(--white);
}

.search-box input:focus {
    outline: none;
    border-color: var(--teal);
}

.sort-dropdown select {
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    background: var(--white);
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 160px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--yellow);
    color: var(--black);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.product-content {
    padding: 20px;
}

.product-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.product-meta .category {
    background: var(--light-bg);
    color: var(--dark-blue);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.product-meta .brand {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.product-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.product-content p {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions button,
.product-actions a {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.product-actions .add-btn {
    background: var(--yellow);
    color: var(--black);
    border: none;
}

.product-actions .add-btn:hover {
    background: var(--yellow-dark);
}

.product-actions .checkout-btn {
    background: var(--black);
    color: var(--yellow);
}

.product-actions .checkout-btn:hover {
    background: var(--black-light);
}

/* Footer */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--teal);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.designed-by {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Responsive Styles - Mobile First Approach */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 40px;
        --font-size-4xl: 32px;
        --container-pad: 20px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hero-content {
        width: min(760px, 100%);
        max-width: 760px;
        text-align: center;
        padding: var(--space-2xl) var(--space-lg);
        margin: 0 auto;
    }

    .hero-lab .hero-content {
        width: 100%;
        max-width: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-lab .hero-visual.hero-lab-gallery {
        max-width: none;
        width: 100%;
        margin: 0;
    }

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

    .hero-slide {
        height: 62vh;
        max-height: none;
    }

    .moving-hero-visual {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: 62vh;
        height: 62vh;
        justify-self: stretch;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 32px;
        --font-size-4xl: 28px;
        --font-size-3xl: 24px;
        --space-5xl: 48px;
        --space-4xl: 40px;
    }

    .nav,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero {
        padding: var(--space-4xl) 0 var(--space-3xl);
        margin-top: 0;
    }

    .hero {
        min-height: calc(56vh + 300px);
    }

    .hero-content {
        width: min(680px, 100%);
        padding: var(--space-xl) var(--space-md);
        margin: 0 auto;
    }

    .hero-lab .hero-content {
        width: 100%;
        max-width: none;
    }

    .hero-content h1 {
        font-size: clamp(1.7rem, 7.2vw, var(--font-size-4xl));
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3.6vw, var(--font-size-lg));
        margin-bottom: var(--space-sm);
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--space-xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }

    .hero-stats {
        justify-content: center;
        gap: var(--space-md);
    }

    .hero-stats .stat {
        min-width: 120px;
    }

    .hero-stats .stat-number {
        font-size: var(--font-size-2xl);
    }

    .hero-stats .stat-label {
        font-size: var(--font-size-xs);
    }

    .hero-lab .hero-visual {
        grid-template-columns: 1fr;
    }

    .moving-hero-visual {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: 56vh;
        height: 56vh;
    }

    .hero-slide {
        height: 56vh;
        max-height: none;
    }

    .moving-track {
        animation-duration: 10s;
        padding: 0;
    }

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

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

    .section-header h2 {
        font-size: var(--font-size-3xl);
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --container-pad: 16px;
        --font-size-5xl: 28px;
        --font-size-4xl: 24px;
        --space-5xl: 40px;
        --space-4xl: 32px;
    }

    .hero {
        min-height: calc(56vh + 360px);
    }

    .hero-content {
        width: min(560px, 100%);
        padding: var(--space-lg) var(--space-sm);
        margin: 0 auto;
    }

    .hero-lab .hero-content {
        width: 100%;
        max-width: none;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 8vw, var(--font-size-4xl));
    }

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

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-badges {
        grid-template-columns: 1fr;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: var(--space-sm);
    }

    .hero-stats .stat {
        min-width: 44%;
    }
}

/* ==================== Animation Keyframes ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

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

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ==================== Skip Link for Accessibility ==================== */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 12px 24px;
    z-index: 10000;
    transition: top 0.3s ease;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

/* ==================== Focus Styles ==================== */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

/* ==================== Button Hover Effects ==================== */
.primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.secondary-btn {
    display: inline-block;
    background: transparent;
    color: var(--accent-purple-light);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid var(--accent-purple);
}

.secondary-btn:hover {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

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

/* Submit Button with Loading State */
.submit-btn {
    background: var(--yellow);
    color: var(--black);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.submit-btn.loading {
    pointer-events: none;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--black);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-btn.success {
    background: #10b981;
    color: var(--white);
}

/* ==================== Form Messages ==================== */
.form-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}

.form-message i {
    font-size: 18px;
    flex-shrink: 0;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.form-message.success i {
    color: #10b981;
}

.form-message.error {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.form-message.error i {
    color: #dc2626;
}

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

/* ==================== Card Hover Effects ==================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* ==================== Product Card Hover Effects ==================== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card .product-actions .add-btn {
    background: var(--yellow);
    color: var(--black);
    border: none;
    transition: var(--transition);
}

.product-card .product-actions .add-btn:hover {
    background: var(--yellow-dark);
    transform: scale(1.02);
}

.product-card .product-actions .add-btn:active {
    transform: scale(0.98);
}

.product-card .product-actions .checkout-btn {
    background: var(--black);
    color: var(--yellow);
    transition: var(--transition);
}

.product-card .product-actions .checkout-btn:hover {
    background: var(--black-light);
    transform: scale(1.02);
}

/* ==================== Navigation Hover Effects ==================== */
.nav a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--teal);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* ==================== Social Links Hover ==================== */
.social-links a {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark-blue);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--teal);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.social-links a:active {
    transform: translateY(-1px);
}

/* ==================== Form Input Improvements ==================== */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: #0b1326;
    color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: #0f1a30;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Placeholder animation */
.form-group input::placeholder,
.form-group textarea::placeholder {
    transition: opacity 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea::placeholder {
    opacity: 0.6;
}

/* ==================== Contact Info Card Improvements ==================== */
.contact-info {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-list li:hover {
    background: var(--gray-50);
}

.contact-list > li > i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--teal) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--teal-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-list li:hover > i {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

/* ==================== Gallery Item Hover ==================== */
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 32px;
    color: var(--white);
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ==================== Scroll Reveal Animation Classes ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

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

/* ==================== Video Card Hover ==================== */
.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.video-thumbnail {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark-3));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-thumbnail::before {
    opacity: 1;
}

.video-thumbnail i {
    font-size: 48px;
    color: var(--accent-blue);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.video-card:hover .video-thumbnail i {
    transform: scale(1.2);
    color: var(--white);
}

/* ==================== Testimonial Card Hover ==================== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-purple);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* ==================== FAQ Item Animation ==================== */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--teal);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.faq-question i:first-child {
    font-size: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
}

.faq-item:hover .faq-question i:first-child {
    color: var(--accent-purple);
}

.faq-question .fa-chevron-down {
    font-size: 14px;
    color: var(--gray-400);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--teal);
}

/* ==================== Partner Logo Hover ==================== */
.partner-logo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    min-height: 120px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.partner-logo i {
    font-size: 32px;
    color: var(--accent-blue);
    transition: var(--transition);
}

.partner-logo:hover i {
    color: var(--accent-purple);
    transform: scale(1.1);
}

/* ==================== Lab Feature Card Hover ==================== */
.lab-feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.lab-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.lab-feature-card:hover::before {
    opacity: 1;
}

.lab-feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.lab-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

/* ==================== Hero Card Hover ==================== */
.hero-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.hero-card:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-purple-glow), var(--shadow-cyan-glow);
    border-color: rgba(139, 92, 246, 0.3);
}

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

.hero-card .card-icon {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 16px;
    transition: var(--transition);
}

.hero-card:hover .card-icon {
    transform: scale(1.1);
    color: var(--accent-purple-light);
}

/* ==================== Stats Box Hover ==================== */
.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-box:hover i {
    transform: scale(1.1);
    color: var(--accent-purple-light);
}

.stat-box i {
    font-size: 36px;
    color: var(--yellow);
    margin-bottom: 16px;
    transition: var(--transition);
}

/* ==================== Footer Link Hover ==================== */
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 5px;
}

/* ==================== Responsive Animation Adjustments ==================== */
@media (max-width: 768px) {
    .reveal,
    .reveal-left,
    .reveal-right {
        transform: translateY(20px);
    }
}

.hero-content,
.hero-visual,
.card,
.program-card {
    animation: fadeIn 0.6s ease forwards;
}

.hero-visual {
    animation-delay: 0.2s;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* Section Tag */
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Header Buttons */
.header-buttons,
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cta-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-btn i {
    font-size: 14px;
}

.schools-btn {
    background: var(--yellow);
    color: var(--black);
}

.schools-btn:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.parents-btn {
    background: var(--teal);
    color: var(--black);
}

.parents-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-cta {
    background: var(--yellow) !important;
    color: var(--black) !important;
    text-align: center !important;
    font-weight: 600 !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

/* Hero Lab Section */
.hero-lab .hero-bg {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-2) 50%, var(--primary-dark-3) 100%);
}

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

.hero-lab .moving-hero-visual {
    display: block;
    grid-template-columns: none;
    max-width: none;
}

/* Lab Features Grid */
.lab-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lab-feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.lab-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.lab-feature-card:hover::before {
    opacity: 1;
}

.lab-feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.lab-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.lab-feature-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.lab-feature-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Lab Detail Section */
.lab-detail-section {
    background: var(--light-bg);
}

.lab-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lab-detail-grid.reverse {
    direction: rtl;
}

.lab-detail-grid.reverse > * {
    direction: ltr;
}

.lab-detail-content .section-tag {
    margin-bottom: 12px;
}

.lab-detail-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.lab-detail-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.lab-detail-buttons {
    display: flex;
    gap: 16px;
}

.lab-detail-buttons .secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.outline-btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid var(--primary-dark);
}

.outline-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.lab-detail-visual {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark-2));
    border-radius: var(--radius);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-visual-icon {
    font-size: 100px;
    color: var(--yellow);
    opacity: 0.9;
}

/* Showcase Section */
.showcase-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-2) 100%);
}

.showcase-section .lab-detail-content h2,
.showcase-section .lab-detail-content p {
    color: var(--white);
}

.showcase-section .lab-visual-icon {
    color: var(--teal);
}

/* Who We Are Section */
.who-section {
    background: var(--white);
}

.who-we-are {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.who-header {
    margin-bottom: 30px;
}

.who-header .section-tag {
    margin-bottom: 16px;
}

.who-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
}

.who-content p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.who-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.who-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light-bg);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-dark);
}

.who-badge i {
    font-size: 24px;
    color: var(--yellow);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-2) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-box i {
    font-size: 36px;
    color: var(--yellow);
    margin-bottom: 16px;
}

.stat-box .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Badge - AI Style */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 10px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--accent-purple-light);
    font-weight: 500;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2); }
    50% { box-shadow: 0 4px 25px rgba(139, 92, 246, 0.4), 0 0 30px rgba(6, 182, 212, 0.2); }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--accent-purple);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-purple-light) 0%, var(--accent-cyan-light) 50%, var(--accent-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-buttons .primary-btn i,
.hero-buttons .secondary-btn i {
    margin-right: 8px;
}

/* Manufacturing Section */
.manufacturing-section {
    background: var(--light-bg);
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.manufacturing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.manufacturing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-2));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.manufacturing-card .mfg-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark-2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--accent-blue);
}

.manufacturing-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.manufacturing-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
}

.testimonial-author h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.testimonial-rating {
    color: var(--accent-blue);
    font-size: 12px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
}

.testimonials-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark-2));
    border-radius: var(--radius);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badge i {
    font-size: 32px;
    color: var(--white);
}

.trust-info {
    display: flex;
    flex-direction: column;
}

.trust-rating {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.trust-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.trust-stats {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

/* Videos Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.video-thumbnail {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark-3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail i {
    font-size: 48px;
    color: var(--accent-blue);
    transition: var(--transition);
}

.video-card:hover .video-thumbnail i {
    transform: scale(1.2);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

.video-info {
    padding: 16px;
}

.video-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-info p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue-dark);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.blog-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blue-dark);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.blog-read-more:hover {
    gap: 10px;
}

.blog-read-more i {
    font-size: 12px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark-2));
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
}

.newsletter-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-blue);
}

.newsletter-btn {
    padding: 16px 32px;
    background: var(--accent-blue);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Responsive Styles for New Sections */
@media (max-width: 1024px) {
    .manufacturing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .manufacturing-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-trust {
        flex-direction: column;
        gap: 16px;
    }
}

/* ==================== Login/Signup Modal Styles ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl), var(--shadow-purple-glow);
    margin: 0;
    overflow: hidden;
}

.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan), var(--accent-blue));
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    z-index: 10000;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.whatsapp-float i {
    font-size: 28px;
}

.whatsapp-float span {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gray-600);
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--black);
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-2) 100%);
    color: var(--white);
    padding: var(--space-2xl) var(--space-2xl) var(--space-lg);
    margin-bottom: 0;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.modal-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-sm);
}

.modal-alert {
    display: none;
    margin-bottom: var(--space-lg);
    padding: var(--space-lg) var(--space-lg);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    animation: slideDown 0.3s ease;
}

.modal-alert.active {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.modal-alert.error {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.modal-alert.error::before {
    content: '!';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #dc2626;
    color: var(--white);
    border-radius: 50%;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.modal-alert.success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.modal-alert.success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: var(--white);
    border-radius: 50%;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.modal-tabs {
    display: flex;
    padding: 0;
    border-bottom: 2px solid var(--gray-200);
    background: var(--gray-50);
}

.modal-tab {
    flex: 1;
    padding: var(--space-lg) var(--space-md);
    border: none;
    background: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-600);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.modal-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    transform: scaleX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.modal-tab.active {
    color: var(--accent-purple);
}

.modal-tab.active::after {
    transform: scaleX(1);
    left: 0;
    right: 0;
}

.modal-tab:hover {
    color: var(--accent-purple);
}

.modal-form {
    display: none;
    animation: fadeIn 0.3s ease;
    padding: var(--space-2xl);
}

.modal-form.active {
    display: block;
}

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

.form-group-modal label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

.form-group-modal input {
    width: 100%;
    padding: var(--space-lg) var(--space-lg);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.form-group-modal input::placeholder {
    color: var(--gray-400);
}

.form-group-modal input:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group-modal input.success {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group-modal .error-message {
    color: #dc2626;
    font-size: var(--font-size-xs);
    margin-top: var(--space-sm);
    display: none;
    font-weight: var(--font-weight-medium);
}

.form-group-modal input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-group-modal input.error + .error-message {
    display: block;
}

.password-toggle {
    position: absolute;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    font-size: var(--font-size-lg);
    padding: var(--space-sm);
    transition: var(--transition-fast);
    z-index: 2;
}

.password-toggle:hover {
    color: var(--accent-purple);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
    font-size: var(--font-size-sm);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--gray-600);
    cursor: pointer;
    user-select: none;
}

.remember-me input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-purple);
    cursor: pointer;
}

.forgot-password {
    color: var(--accent-purple);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

.forgot-password:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.modal-submit-btn {
    width: 100%;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modal-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.modal-submit-btn:hover::before {
    left: 100%;
}

.modal-submit-btn:active {
    transform: translateY(-1px);
}

.modal-submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.modal-divider {
    display: flex;
    align-items: center;
    margin: var(--space-2xl) 0;
    color: var(--gray-500);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.modal-divider span {
    padding: 0 var(--space-lg);
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.social-btn {
    padding: var(--space-lg);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.social-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-btn i {
    font-size: var(--font-size-xl);
}

.social-btn.google {
    color: #4285f4;
}

.social-btn.google:hover {
    background: #4285f408;
    border-color: #4285f4;
}

.social-btn.facebook {
    color: #1877f2;
}

.social-btn.facebook:hover {
    background: #1877f208;
    border-color: #1877f2;
}

.modal-footer {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.modal-footer a {
    color: var(--accent-purple);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-fast);
}

.modal-footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Success message styling */
.modal-success {
    text-align: center;
    padding: 20px 0;
}

.modal-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--white);
}

.modal-success h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.modal-success p {
    color: var(--gray-600);
    font-size: 14px;
}

/* Form validation styling */
.modal-form .form-group-modal.error input {
    border-color: #dc2626;
}

.modal-form .form-group-modal.success input {
    border-color: #10b981;
}

/* Password visibility toggle */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}

.password-toggle:hover {
    color: var(--gray-700);
}

/* Mobile responsive modal */
@media (max-width: 480px) {
    .modal-container {
        padding: 30px 24px;
        margin: 16px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .social-login {
        flex-direction: column;
    }
}

/* ==================== Partners Section ==================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.partner-logo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    min-height: 120px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.partner-logo i {
    font-size: 32px;
    color: var(--accent-blue);
}

.partner-logo span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.partners-cta {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: var(--radius);
}

.partners-cta p {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-weight: 500;
}

/* ==================== FAQ Section ==================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--teal);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.faq-question i:first-child {
    font-size: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-question h4 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
}

.faq-question .fa-chevron-down {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==================== Responsive for Partners & FAQ ==================== */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .partner-logo i {
        font-size: 28px;
    }
    
    .partner-logo span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-cta p {
        font-size: 16px;
    }
}

/* ==================== Cart Icon & Badge ==================== */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--gray-700);
    transition: var(--transition);
}

.cart-link:hover {
    background: var(--yellow);
    color: var(--black);
}

.cart-link i {
    font-size: 18px;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: var(--accent-blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid var(--white);
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
    display: none;
}

/* ==================== Cart Modal ==================== */
.cart-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.cart-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.cart-modal .modal-header h2 {
    margin-bottom: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.cart-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.cart-empty h3 {
    font-size: 20px;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.cart-empty p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 24px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image i {
    font-size: 28px;
    color: var(--gray-400);
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.cart-item-details .cart-item-meta {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.qty-btn:active {
    background: var(--gray-200);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--black);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #dc2626;
}

.cart-summary {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
}

.cart-summary-row.total {
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}

.cart-summary-row.total span:last-child {
    color: var(--accent-blue);
    font-size: 22px;
}

.cart-actions {
    display: flex;
    gap: 12px;
}

.cart-actions button,
.cart-actions a {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.cart-continue-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
}

.cart-continue-btn:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.cart-checkout-btn {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: none;
    color: var(--white);
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* ==================== Checkout Section ==================== */
.checkout-section {
    padding: 120px 0 60px;
    background: var(--light-bg);
    min-height: 100vh;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
}

.checkout-step.active {
    color: var(--accent-blue);
}

.checkout-step.completed {
    color: #10b981;
}

.checkout-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.checkout-step.active .checkout-step-number {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--white);
}

.checkout-step.completed .checkout-step-number {
    background: #10b981;
    border-color: #10b981;
    color: var(--white);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.checkout-form-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.checkout-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.checkout-form-group input,
.checkout-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.checkout-form-group input:focus,
.checkout-form-group select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* ==================== Payment Methods ==================== */
.payment-methods {
    margin-top: 24px;
}

.payment-method {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.payment-method.selected {
    border-color: var(--teal);
    background: rgba(6, 182, 212, 0.05);
}

.payment-method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--teal);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gray-600);
}

.payment-method.selected .payment-method-icon {
    background: var(--teal);
    color: var(--white);
}

.payment-method-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

.payment-method-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.payment-details {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    display: none;
}

.payment-details.active {
    display: block;
}

.card-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.card-inputs .checkout-form-group:first-child {
    grid-column: 1 / -1;
}

/* ==================== Order Summary Sidebar ==================== */
.order-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.order-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.order-items {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-item-image i {
    font-size: 20px;
    color: var(--gray-400);
}

.order-item-details {
    flex: 1;
}

.order-item-details h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

.order-item-details span {
    font-size: 12px;
    color: var(--gray-500);
}

.order-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
}

.order-summary-row.total {
    border-top: 2px solid var(--gray-200);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}

.order-summary-row.total span:last-child {
    color: var(--accent-blue);
    font-size: 22px;
}

.place-order-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.place-order-btn:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.secure-checkout i {
    color: #10b981;
}

/* ==================== Order Success ==================== */
.order-success {
    text-align: center;
    padding: 60px 40px;
}

.order-success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: var(--white);
}

.order-success h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.order-success p {
    color: var(--gray-600);
    font-size: 16px;
    margin-bottom: 8px;
}

.order-id {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.order-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Responsive Checkout */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
        order: -1;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .checkout-form-row {
        grid-template-columns: 1fr;
    }
    
    .card-inputs {
        grid-template-columns: 1fr;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}

/* ==================== UTILITY CLASSES ==================== */
/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-primary { color: var(--primary-dark); }
.text-accent-blue { color: var(--accent-blue); }
.text-accent-purple { color: var(--accent-purple); }
.text-accent-cyan { color: var(--accent-cyan); }
.text-gray { color: var(--gray-500); }
.text-muted { color: var(--gray-600); }
.text-white { color: var(--white); }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }

/* Display Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: flex-start; }
.flex-end { display: flex; align-items: flex-end; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Flexbox Utilities */
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Spacing Utilities - Margin */
.m-0 { margin: 0; }
.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }
.m-xl { margin: var(--space-xl); }
.m-2xl { margin: var(--space-2xl); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing Utilities - Padding */
.p-0 { padding: 0; }
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.p-2xl { padding: var(--space-2xl); }

.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }

/* Border & Radius Utilities */
.rounded { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }

/* Shadow Utilities */
.shadow-none { box-shadow: none; }
.shadow-xs { box-shadow: var(--shadow-xs); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-purple-glow { box-shadow: var(--shadow-purple-glow); }
.shadow-cyan-glow { box-shadow: var(--shadow-cyan-glow); }
.shadow-blue-glow { box-shadow: var(--shadow-blue-glow); }

/* Background & Color Utilities */
.bg-primary { background-color: var(--primary-dark); }
.bg-primary-2 { background-color: var(--primary-dark-2); }
.bg-light { background-color: var(--light-bg); }
.bg-white { background-color: var(--white); }
.bg-accent-blue { background-color: var(--accent-blue); }
.bg-accent-purple { background-color: var(--accent-purple); }
.bg-accent-cyan { background-color: var(--accent-cyan); }

.border-accent-blue { border-color: var(--accent-blue); }
.border-accent-purple { border-color: var(--accent-purple); }

/* Form Utilities */
.input-error {
    border-color: #dc2626 !important;
    background-color: rgba(220, 38, 38, 0.05);
}

.input-error:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.input-success {
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.05);
}

.form-error-text {
    color: #dc2626;
    font-size: var(--font-size-sm);
    margin-top: 4px;
}

.form-success-text {
    color: #10b981;
    font-size: var(--font-size-sm);
    margin-top: 4px;
}

/* Loading & Disabled Utilities */
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.pointer-events-none { pointer-events: none; }

.disabled-state {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Animation Utilities */
.transition-fast { transition: var(--transition-fast); }
.transition { transition: var(--transition); }
.transition-slow { transition: var(--transition-slow); }

/* Responsive Utilities */
.hidden-mobile { display: block; }
@media (max-width: 768px) {
    .hidden-mobile { display: none; }
    .visible-mobile { display: block; }
    .hidden-desktop { display: none; }
}

@media (min-width: 769px) {
    .visible-mobile { display: none; }
    .hidden-desktop { display: none; }
}

/* Accessibility Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.focus-visible:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

