﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

body.nav-menu-open {
    overflow: hidden;
}

:root {
    /* Primary brand colors from logo */
    --cyan-bright: #00D4FF;
    --cyan: #0DCAF0;
    --cyan-medium: #1E9FD9;
    --turquoise: #4DB8B8;
    --teal: #5DBBBB;
    --mint: #6FE5B8;
    --mint-light: #7FE8C3;
    --mint-bright: #8FFFD4;
    
    /* Logo gradient */
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #0DCAF0 25%, #4DB8B8 50%, #6FE5B8 75%, #7FE8C3 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(111, 229, 184, 0.08) 100%);
    
    /* Dark backgrounds (logo style) */
    --bg-darker: #000000;
    --bg-dark: #0A0E14;
    --bg-medium: #131920;
    --bg-card: #1A2332;
    --bg-elevated: #1F2937;
    
    /* Light/neutral backgrounds */
    --bg-light: #F0FDFF;
    --bg-very-light: #F8FEFF;
    --surface: #E8FCFF;
    --surface-glow: rgba(0, 212, 255, 0.02);
    
    /* Text colors */
    --text-dark: #0A0E14;
    --text-primary: #1A2332;
    --text-secondary: #4B5563;
    --text-tertiary: #6B7280;
    --text-light: #E5E7EB;
    --text-bright: #F9FAFB;
    --text-glow: #FFFFFF;
    
    /* Accent colors */
    --accent-blue: #0EA5E9;
    --accent-green: #10B981;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    
    /* Border colors */
    --border-cyan: rgba(0, 0, 0, 0.08);
    --border-mint: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.06);
    --border-dark: rgba(0, 0, 0, 0.1);
    
    /* Glow effects (subtle) */
    --glow-cyan: 0 0 8px rgba(0, 212, 255, 0.15);
    --glow-mint: 0 0 8px rgba(111, 229, 184, 0.15);
    --glow-mixed: 0 0 12px rgba(0, 212, 255, 0.1);
    
    /* Shadows with depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transition */
    --theme-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   DARK THEME OVERRIDES – Premium Cyan/Mint
   ============================================ */
:root[data-theme="dark"] {
    /* Backgrounds — teal-tinted deep darks */
    --bg-light: #0B1120;
    --bg-very-light: #0E1525;
    --surface: #142033;
    --surface-glow: rgba(0, 212, 255, 0.06);

    /* Text — warmer, easier on the eyes */
    --text-dark: #F0F6FC;
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;

    /* Borders — subtle cyan-tinted */
    --border-cyan: rgba(0, 212, 255, 0.1);
    --border-mint: rgba(111, 229, 184, 0.08);
    --border-light: rgba(0, 212, 255, 0.08);
    --border-dark: rgba(0, 212, 255, 0.14);

    /* Shadows — deep + brand-tinted */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 0.5px rgba(0, 212, 255, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 0 0.5px rgba(0, 212, 255, 0.05);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 212, 255, 0.04);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 212, 255, 0.05);
    --shadow-2xl: 0 32px 64px rgba(0, 0, 0, 0.55), 0 0 32px rgba(0, 212, 255, 0.06);

    /* Glows — vivid brand accent */
    --glow-cyan: 0 0 16px rgba(0, 212, 255, 0.3), 0 0 4px rgba(0, 212, 255, 0.15);
    --glow-mint: 0 0 16px rgba(111, 229, 184, 0.3), 0 0 4px rgba(111, 229, 184, 0.15);
    --glow-mixed: 0 0 20px rgba(0, 212, 255, 0.22), 0 0 6px rgba(111, 229, 184, 0.1);
}

/* Smooth transition on theme change */
:root[data-theme="dark"] body,
:root[data-theme="dark"] nav .container,
:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .info-card,
:root[data-theme="dark"] .values-card,
:root[data-theme="dark"] .wcu-card,
:root[data-theme="dark"] .stat-card,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .form-group input,
:root[data-theme="dark"] .form-group textarea,
:root[data-theme="dark"] .flip-card-front,
:root[data-theme="dark"] .pricing-card {
    transition: background var(--theme-transition),
                color var(--theme-transition),
                border-color var(--theme-transition),
                box-shadow var(--theme-transition);
}

/* Body background — deep space with subtle teal undertone */
[data-theme="dark"] body {
    background: linear-gradient(160deg, #060B16 0%, #0B1120 30%, #0E1525 60%, #0B1120 100%);
    background-attachment: fixed;
    color: var(--text-primary);
}

/* Navigation */
[data-theme="dark"] nav .container {
    background: rgba(20, 32, 51, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow:
        inset 0 1px 0 0 rgba(0, 212, 255, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 212, 255, 0.12);
}
[data-theme="dark"] nav.scrolled .container {
    background: rgba(20, 32, 51, 0.95);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow:
        inset 0 1px 0 0 rgba(0, 212, 255, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.15);
}
[data-theme="dark"] nav .logo {
    color: #FFFFFF;
}
[data-theme="dark"] nav ul li a {
    color: rgba(255, 255, 255, 0.85);
}
[data-theme="dark"] nav ul li a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}
[data-theme="dark"] nav ul li a.active {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
        0 0 8px rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .menu-toggle span {
    background: #FFFFFF;
}
[data-theme="dark"] nav ul {
    background: rgba(11, 17, 32, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(0, 212, 255, 0.12);
}

/* Headings — override hardcoded #000 */
[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero .split-text,
[data-theme="dark"] .features h2,
[data-theme="dark"] .content-section h2,
[data-theme="dark"] .values-scroll-section h2,
[data-theme="dark"] h2.split-text,
[data-theme="dark"] [style*="color: #000000"],
[data-theme="dark"] [style*="color:#000000"] {
    color: #F0F6FC !important;
}

/* Hero section */
[data-theme="dark"] .hero {
    background: linear-gradient(180deg, rgba(6, 11, 22, 0.3) 0%, rgba(11, 17, 32, 0.3) 40%, rgba(14, 21, 37, 0.3) 70%, rgba(11, 17, 32, 0.3) 100%);
}
[data-theme="dark"] .hero::after {
    opacity: 0.7;
    filter: grayscale(30%) brightness(0.5) contrast(0.9);
}
[data-theme="dark"] .hero::before {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(13, 202, 240, 0.1) 25%, rgba(77, 184, 184, 0.08) 50%, rgba(111, 229, 184, 0.1) 75%, rgba(127, 232, 195, 0.12) 100%);
    mix-blend-mode: screen;
}
[data-theme="dark"] .hero-glow--primary {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(77, 184, 184, 0.06) 50%, transparent 70%);
}
[data-theme="dark"] .hero-glow--secondary {
    background: radial-gradient(circle, rgba(111, 229, 184, 0.1) 0%, rgba(0, 212, 255, 0.04) 60%, transparent 80%);
}
[data-theme="dark"] .hero-badge {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.18);
    color: var(--cyan-bright);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.06);
}
[data-theme="dark"] .hero-badge-dot {
    background: var(--cyan-bright);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
}
[data-theme="dark"] .hero-content > p {
    color: var(--text-secondary);
}
[data-theme="dark"] .hero-btn-primary {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
    color: #0B1120;
    border-color: rgba(255, 255, 255, 0.15);
}
[data-theme="dark"] .hero-btn-primary:hover {
    background: #FFFFFF;
    color: #060B16;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}
[data-theme="dark"] .hero-btn-outline {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.2);
    color: #E2E8F0;
}
[data-theme="dark"] .hero-btn-outline:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.35);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.1);
}
[data-theme="dark"] .hero-note-item::before {
    color: var(--cyan-bright);
}

/* All section backgrounds */
[data-theme="dark"] .features,
[data-theme="dark"] .content-section,
[data-theme="dark"] .values-scroll-section,
[data-theme="dark"] .stats-section,
[data-theme="dark"] .carousel-section,
[data-theme="dark"] .why-choose-us,
[data-theme="dark"] .mission-section,
[data-theme="dark"] .testimonial-section {
    background: linear-gradient(160deg, #0B1120 0%, #0E1525 50%, #101A2E 100%);
}

/* Cards — unified treatment */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .info-card,
[data-theme="dark"] .values-card,
[data-theme="dark"] .wcu-card {
    background: linear-gradient(145deg, #142033 0%, #0E1525 100%);
    border-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .product-card:hover,
[data-theme="dark"] .info-card:hover,
[data-theme="dark"] .values-card:hover,
[data-theme="dark"] .wcu-card:hover {
    border-color: rgba(0, 212, 255, 0.22);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.12),
        0 0 24px rgba(0, 212, 255, 0.06);
    background: linear-gradient(145deg, #1A2840 0%, #142033 100%);
}
[data-theme="dark"] .feature-number {
    color: rgba(0, 212, 255, 0.2);
}
[data-theme="dark"] .stat-card {
    background: rgba(20, 32, 51, 0.8);
    border-color: rgba(0, 212, 255, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .stat-card:hover {
    background: rgba(26, 40, 64, 0.95);
    border-color: rgba(0, 212, 255, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 16px rgba(0, 212, 255, 0.06);
}
[data-theme="dark"] .stat-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact form */
[data-theme="dark"] .contact-form {
    background: linear-gradient(145deg, #142033 0%, #0E1525 100%);
    border-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: rgba(6, 11, 22, 0.6);
    border-color: rgba(0, 212, 255, 0.1);
    color: var(--text-primary);
}
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--cyan-bright);
    background: rgba(6, 11, 22, 0.85);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12), 0 0 20px rgba(0, 212, 255, 0.06);
}
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-tertiary);
}

/* Carousel */
[data-theme="dark"] .carousel-placeholder {
    background: rgba(20, 32, 51, 0.5);
    border-color: rgba(0, 212, 255, 0.1);
}
[data-theme="dark"] .carousel-btn {
    background: rgba(20, 32, 51, 0.8);
    border-color: rgba(0, 212, 255, 0.12);
    color: var(--text-primary);
}
[data-theme="dark"] .carousel-btn:hover {
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}
[data-theme="dark"] .carousel-dot {
    background: rgba(0, 212, 255, 0.15);
}
[data-theme="dark"] .carousel-dot.active {
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

/* Buttons */
[data-theme="dark"] .btn {
    box-shadow: 0 2px 12px rgba(0, 212, 255, 0.15), 0 0 0 0.5px rgba(0, 212, 255, 0.1);
}
[data-theme="dark"] .btn:hover {
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.25), 0 0 0 0.5px rgba(0, 212, 255, 0.15);
}
[data-theme="dark"] .btn-secondary {
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--cyan-bright);
}
[data-theme="dark"] .btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.45);
    color: #FFFFFF;
}

/* Footer — deep with subtle brand glow */
[data-theme="dark"] footer {
    background: linear-gradient(160deg, #040710 0%, #060B16 50%, #040710 100%);
    border-top-color: rgba(0, 212, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(0, 212, 255, 0.06);
}

/* Values scroll fade edges for dark */
[data-theme="dark"] .values-scroll-wrapper {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

/* WCU fade overlays */
[data-theme="dark"] .wcu-fade--left {
    background: linear-gradient(to right, #0B1120 0%, rgba(11, 17, 32, 0) 100%);
}
[data-theme="dark"] .wcu-fade--right {
    background: linear-gradient(to left, #0B1120 0%, rgba(11, 17, 32, 0) 100%);
}
[data-theme="dark"] .wcu-icon {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan-bright);
}

/* Company Showcase */
[data-theme="dark"] .company-showcase {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, #0B1120 50%, rgba(111, 229, 184, 0.03) 100%);
    border-bottom-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.04);
}

/* Testimonial */
[data-theme="dark"] .testimonial-card {
    background: linear-gradient(145deg, #142033 0%, #0E1525 100%);
    border-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .testimonial-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.06);
    background: linear-gradient(145deg, #1A2840 0%, #142033 100%);
}

/* Glassmorphism */
[data-theme="dark"] .glass {
    background: linear-gradient(135deg, rgba(20, 32, 51, 0.8) 0%, rgba(14, 21, 37, 0.7) 100%);
    border-color: rgba(0, 212, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 8px rgba(0, 212, 255, 0.05);
}

/* Page transition */
[data-theme="dark"] .page-transition {
    background: #060B16;
}

/* Section taglines — glow accent */
[data-theme="dark"] .section-tagline,
[data-theme="dark"] .hero-tagline {
    color: var(--cyan-bright);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Gradient border hover — stronger in dark */
[data-theme="dark"] .feature-card:hover::after,
[data-theme="dark"] .product-card:hover::after,
[data-theme="dark"] .info-card:hover::after {
    opacity: 0.7;
}

/* Scroll indicator */
[data-theme="dark"] .scroll-indicator {
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 180, 220, 0.1);
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 0.25rem;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
    background: rgba(0, 180, 220, 0.18);
    transform: scale(1.08);
}
.theme-toggle:active {
    transform: scale(0.95);
}

/* Sun + Moon icons via CSS */
.theme-toggle-icon {
    position: relative;
    width: 18px;
    height: 18px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sun icon (light mode) */
.theme-toggle-icon .sun {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle-icon .sun svg {
    width: 18px;
    height: 18px;
    stroke: #1a1a2e;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Moon icon (dark mode) */
.theme-toggle-icon .moon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle-icon .moon svg {
    width: 17px;
    height: 17px;
    stroke: var(--cyan-bright);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Dark theme: swap visibility */
[data-theme="dark"] .theme-toggle-icon .sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}
[data-theme="dark"] .theme-toggle-icon .moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}
[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-very-light) 0%, var(--surface) 25%, var(--bg-light) 50%, var(--bg-very-light) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    position: relative;
    font-size: 16px;
}

/* ======================================== */
/* PREMIUM FLOATING PILL NAVIGATION         */
/* ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 1.1rem 1.5rem;
    background: transparent;
    pointer-events: none;                    /* click-through the spacer area */
    transition: padding 0.4s ease-in-out;
}

nav.scrolled {
    padding: 0.7rem 1.5rem;
}

/* The pill container */
nav .container {
    pointer-events: auto;                    /* re-enable clicks on the pill */
    position: relative;
    max-width: 720px;
    width: auto;
    margin: 0;
    padding: 0.45rem 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background 0.4s ease-in-out,
                box-shadow 0.4s ease-in-out,
                border-color 0.4s ease-in-out,
                transform 0.4s ease-in-out;
}

nav.scrolled .container {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ---- Logo inside the pill ---- */
nav .logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    padding: 0.45rem 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease;
    flex-shrink: 0;
    text-shadow: none;
}
nav .logo:hover {
    color: #00B4D8;
    text-shadow: none;
}

/* ---- The <ul> inside the pill ---- */
nav ul {
    list-style: none;
    display: flex;
    gap: 0.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* ---- Individual nav link (mini pill) ---- */
nav ul li a {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgba(26, 26, 46, 0.75);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    padding: 0.5rem 1rem;
    border-radius: 35px;
    border: 1px solid transparent;
    overflow: hidden;
    text-shadow: none;
    transition: background 0.4s ease-in-out,
                color 0.4s ease-in-out,
                border-color 0.4s ease-in-out,
                box-shadow 0.4s ease-in-out;
}

/* Rolling text wrapper */
nav ul li a .nav-text {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
}

/* Each letter container */
nav ul li a .nav-letter {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
}

/* The two stacked spans inside each letter */
nav ul li a .nav-letter-inner {
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
nav ul li a .nav-letter-inner span {
    display: block;
    height: 1.2em;
    line-height: 1.2em;
}

/* Hover: roll letters up */
nav ul li a:hover .nav-letter-inner {
    transform: translateY(-1.2em);
}

/* Stagger each letter slightly */
nav ul li a .nav-letter:nth-child(1)  .nav-letter-inner { transition-delay: 0.00s; }
nav ul li a .nav-letter:nth-child(2)  .nav-letter-inner { transition-delay: 0.015s; }
nav ul li a .nav-letter:nth-child(3)  .nav-letter-inner { transition-delay: 0.030s; }
nav ul li a .nav-letter:nth-child(4)  .nav-letter-inner { transition-delay: 0.045s; }
nav ul li a .nav-letter:nth-child(5)  .nav-letter-inner { transition-delay: 0.060s; }
nav ul li a .nav-letter:nth-child(6)  .nav-letter-inner { transition-delay: 0.075s; }
nav ul li a .nav-letter:nth-child(7)  .nav-letter-inner { transition-delay: 0.090s; }
nav ul li a .nav-letter:nth-child(8)  .nav-letter-inner { transition-delay: 0.105s; }

/* Hover background on link */
nav ul li a:hover {
    color: var(--text-primary);
}

/* ---- Active state ---- */
nav ul li a.active {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(0, 212, 255, 0.15);
    border-color: transparent;
}

nav ul li a.active::after {
    display: none;
}

/* Spacer to offset the fixed nav */
.nav-spacer {
    height: 4.5rem;
    background: transparent;
}

/* ---- Floating CTA Button ---- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.floating-cta .btn {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.02em;
    border: none;
}

.floating-cta .btn:hover {
    background: linear-gradient(135deg, #0DCAF0 0%, #00D4FF 25%, #6FE5B8 75%, #8FFFD4 100%);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) scale(1.02);
    border-color: transparent;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-cta .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 35px;
    transition: background 0.3s ease-in-out;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Animated hamburger → X when active */
.menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ======================================== */
/* PREMIUM HERO SECTION                     */
/* ======================================== */
.hero {
    padding: 6rem 0 5rem;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(250, 254, 255, 0.3) 0%, rgba(244, 252, 254, 0.3) 50%, rgba(240, 250, 251, 0.3) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtle logo watermark behind hero — gradient tinted */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/logo1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    filter: grayscale(20%) brightness(1.1) contrast(0.95);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.4) 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.4) 100%);
}

/* Gradient colour overlay on the logo watermark */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(13, 202, 240, 0.03) 25%, rgba(77, 184, 184, 0.02) 50%, rgba(111, 229, 184, 0.03) 75%, rgba(127, 232, 195, 0.04) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

/* ---- Animated glow orbs ---- */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(90px);
    will-change: transform, opacity;
}

.hero-glow--primary {
    width: 600px;
    height: 600px;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, rgba(77, 184, 184, 0.025) 50%, transparent 70%);
    animation: heroGlowBreathe 8s ease-in-out infinite;
}

.hero-glow--secondary {
    width: 420px;
    height: 420px;
    top: 20%;
    left: 50%;
    transform: translateX(-40%);
    background: radial-gradient(circle, rgba(111, 229, 184, 0.04) 0%, rgba(0, 212, 255, 0.015) 60%, transparent 80%);
    animation: heroGlowBreathe 10s ease-in-out 2s infinite reverse;
}

@keyframes heroGlowBreathe {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50%      { opacity: 0.65; transform: translateX(-50%) scale(1.1); }
}

.hero .container {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ---- Badge ---- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1.1rem;
    background: rgba(240, 229, 229, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 212, 255, 0.18);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mint);
    display: inline-block;
    animation: badgePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(111, 229, 184, 0.45); }
    50%      { opacity: 0.7; box-shadow: 0 0 0 4px rgba(111, 229, 184, 0); }
}

/* ---- Hero headline ---- */
.hero h1,
.hero .split-text {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #000000;
    margin-bottom: 1.5rem;
}

/* ---- Accent color on second line ---- */
.hero-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Hero paragraph ---- */
.hero-content > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ---- Hero buttons ---- */
.hero-content .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

/* ---- Hero pill CTA buttons ---- */
.hero-btn-primary {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.825rem;
    background: var(--text-primary);
    color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), var(--shadow-sm);
}

.hero-btn-primary:hover {
    background: var(--text-dark);
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), var(--shadow-md);
    transform: translateY(-2px) scale(1.03);
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.825rem;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.55), var(--shadow-sm);
    text-shadow: none;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-dark);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.6), var(--shadow-md);
    transform: translateY(-2px) scale(1.03);
}

/* ---- Roll text effect on buttons ---- */
.btn-roll {
    overflow: hidden;
}

.btn-roll .nav-text {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
}

.btn-roll .nav-letter {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
}

.btn-roll .nav-letter-inner {
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.btn-roll .nav-letter-inner span {
    display: block;
    height: 1.2em;
    line-height: 1.2em;
}

.btn-roll:hover .nav-letter-inner {
    transform: translateY(-1.2em);
}

/* Stagger letters */
.btn-roll .nav-letter:nth-child(1)  .nav-letter-inner { transition-delay: 0.00s; }
.btn-roll .nav-letter:nth-child(2)  .nav-letter-inner { transition-delay: 0.012s; }
.btn-roll .nav-letter:nth-child(3)  .nav-letter-inner { transition-delay: 0.024s; }
.btn-roll .nav-letter:nth-child(4)  .nav-letter-inner { transition-delay: 0.036s; }
.btn-roll .nav-letter:nth-child(5)  .nav-letter-inner { transition-delay: 0.048s; }
.btn-roll .nav-letter:nth-child(6)  .nav-letter-inner { transition-delay: 0.060s; }
.btn-roll .nav-letter:nth-child(7)  .nav-letter-inner { transition-delay: 0.072s; }
.btn-roll .nav-letter:nth-child(8)  .nav-letter-inner { transition-delay: 0.084s; }
.btn-roll .nav-letter:nth-child(9)  .nav-letter-inner { transition-delay: 0.096s; }
.btn-roll .nav-letter:nth-child(10) .nav-letter-inner { transition-delay: 0.108s; }
.btn-roll .nav-letter:nth-child(11) .nav-letter-inner { transition-delay: 0.120s; }
.btn-roll .nav-letter:nth-child(12) .nav-letter-inner { transition-delay: 0.132s; }
.btn-roll .nav-letter:nth-child(13) .nav-letter-inner { transition-delay: 0.144s; }
.btn-roll .nav-letter:nth-child(14) .nav-letter-inner { transition-delay: 0.156s; }
.btn-roll .nav-letter:nth-child(15) .nav-letter-inner { transition-delay: 0.168s; }

/* Hero and Section Taglines */
.hero-tagline,
.section-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header .section-tagline {
    margin-bottom: 1rem;
}

.hero h1 .highlight {
    color: var(--text-primary);
    font-style: normal;
    position: relative;
}

.hero-visual {
    display: none;
}

.hero-image-placeholder {
    display: none;
}

.btn {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    background: var(--gradient-primary);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out-expo),
                box-shadow 0.5s var(--ease-out-expo),
                background 0.5s var(--ease-out-expo);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    text-shadow: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    background: linear-gradient(135deg, #0DCAF0 0%, #00D4FF 30%, #4DB8B8 50%, #6FE5B8 70%, #8FFFD4 100%);
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px) scale(1.03);
    border-color: transparent;
}

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

.btn-secondary {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--cyan);
    border: 2px solid var(--cyan-bright);
    box-shadow: none;
    text-shadow: none;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.06);
    border-color: var(--mint);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px) scale(1.02);
    color: var(--turquoise);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.hero-note {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 3rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    align-items: center;
}

.hero-note-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 500;
}

.hero-note-item::before {
    content: '✓';
    color: var(--text-secondary);
    font-weight: 800;
    font-size: 1rem;
    text-shadow: none;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 50%, var(--surface) 100%);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000000;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.features > .container > p {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    font-weight: 400;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: transform 0.6s var(--ease-out-expo),
                box-shadow 0.6s var(--ease-out-expo),
                border-color 0.5s var(--ease-out-expo),
                background 0.5s var(--ease-out-expo);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-tertiary);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    display: block;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.06);
    transform: translateY(-8px) scale(1.015);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 100%);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
}

/* ============================================
   Core Values — Infinite Horizontal Scroll
   ============================================ */

.values-scroll-section {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 50%, var(--surface) 100%);
    position: relative;
    overflow: hidden;
}

.values-scroll-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000000;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.values-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Scroll wrapper — overflow hidden + fade edges */
.values-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

/* Track — the moving belt */
.values-scroll-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
    animation: valuesScroll 30s linear infinite;
}

/* Pause on hover */
.values-scroll-wrapper:hover .values-scroll-track {
    animation-play-state: paused;
}

/* Keyframes — scroll exactly 50 % (one full set) */
@keyframes valuesScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Individual card */
.values-card {
    flex: 0 0 340px;
    min-width: 340px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    padding: 2.75rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Top accent bar */
.values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Parallax-style hover lift + shadow increase */
.values-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.15);
}

.values-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.values-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 1024px) {
    .values-scroll-section {
        padding: 6rem 0 4.5rem;
    }

    .values-scroll-section h2 {
        font-size: 2.5rem;
    }

    .values-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .values-card {
        flex: 0 0 290px;
        min-width: 290px;
        padding: 2.25rem 2rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .values-scroll-section {
        padding: 4.5rem 0 3.5rem;
    }

    .values-scroll-section h2 {
        font-size: 2rem;
    }

    .values-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .values-card {
        flex: 0 0 260px;
        min-width: 260px;
        padding: 2rem 1.75rem;
    }

    .values-card h3 {
        font-size: 1.25rem;
    }

    .values-card p {
        font-size: 0.95rem;
    }

    .values-scroll-track {
        gap: 1.25rem;
    }
}

/* ============================================
   OUR STORY — Premium Timeline Layout
   ============================================ */

.story-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-very-light) 0%, var(--surface) 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

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

.story-header {
    text-align: center;
    margin-bottom: 5rem;
}

.story-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* Timeline container */
.story-timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 80px;
}

/* Vertical connecting line */
.story-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 35px;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.25) 0%, rgba(111, 229, 184, 0.25) 50%, rgba(0, 212, 255, 0.08) 100%);
    border-radius: 1px;
}

/* Each milestone row */
.story-milestone {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    margin-bottom: 3rem;
}

.story-milestone:last-child {
    margin-bottom: 0;
}

/* Left marker: year + dot */
.milestone-marker {
    position: absolute;
    left: -80px;
    top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    gap: 0.75rem;
}

.milestone-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan-medium);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.milestone-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 0 4px var(--bg-very-light), 0 0 12px rgba(0, 212, 255, 0.25);
    position: relative;
    z-index: 1;
}

/* Card */
.milestone-card {
    flex: 1;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    padding: 2.5rem 2.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease;
}

/* Accent top bar */
.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.milestone-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.15);
}

.milestone-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.milestone-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 400;
    margin: 0;
}

/* Responsive — Tablet */
@media (max-width: 1024px) {
    .story-section {
        padding: 6rem 0;
    }

    .story-header h2 {
        font-size: 2.5rem;
    }

    .story-header {
        margin-bottom: 4rem;
    }

    .story-timeline {
        padding-left: 70px;
    }

    .story-timeline::before {
        left: 30px;
    }

    .milestone-marker {
        left: -70px;
        width: 70px;
    }

    .milestone-card {
        padding: 2rem 2.25rem;
    }
}

/* Responsive — Mobile */
@media (max-width: 640px) {
    .story-section {
        padding: 4.5rem 0;
    }

    .story-header h2 {
        font-size: 2rem;
    }

    .story-header {
        margin-bottom: 3rem;
    }

    .story-timeline {
        padding-left: 0;
        max-width: 100%;
    }

    .story-timeline::before {
        display: none;
    }

    .milestone-marker {
        position: relative;
        left: auto;
        top: auto;
        flex-direction: row;
        width: auto;
        gap: 0.6rem;
        margin-bottom: 1rem;
    }

    .milestone-dot {
        width: 10px;
        height: 10px;
    }

    .story-milestone {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .milestone-card {
        padding: 1.75rem 1.5rem;
    }

    .milestone-card h3 {
        font-size: 1.2rem;
    }

    .milestone-card p {
        font-size: 0.95rem;
    }
}

/* Dark theme overrides for story */
[data-theme="dark"] .story-section {
    background: linear-gradient(160deg, #0B1120 0%, #0E1525 50%, #101A2E 100%);
}

[data-theme="dark"] .story-header h2 {
    color: #F0F6FC !important;
}

[data-theme="dark"] .milestone-dot {
    box-shadow: 0 0 0 4px #0E1525, 0 0 16px rgba(0, 212, 255, 0.35);
}

[data-theme="dark"] .milestone-card {
    background: linear-gradient(145deg, #142033 0%, #0E1525 100%);
    border-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .milestone-card:hover {
    border-color: rgba(0, 212, 255, 0.22);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.12),
        0 0 24px rgba(0, 212, 255, 0.06);
    background: linear-gradient(145deg, #1A2840 0%, #142033 100%);
}

[data-theme="dark"] .milestone-year {
    color: rgba(0, 212, 255, 0.35);
}

[data-theme="dark"] .story-timeline::before {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.4) 0%, rgba(111, 229, 184, 0.25) 50%, rgba(0, 212, 255, 0.06) 100%);
}

/* Content Section */
.content-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-very-light) 0%, var(--surface) 50%, var(--bg-light) 100%);
    position: relative;
}

.content-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #000000;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.content-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    text-align: center;
    font-weight: 400;
}

/* ============================================
   PRICING SECTION — Premium SaaS Layout
   ============================================ */

.pricing-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 50%, var(--surface) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow */
.pricing-glow {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, rgba(111, 229, 184, 0.03) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.pricing-section .container {
    position: relative;
    z-index: 1;
}

/* Header */
.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

/* ---- Billing Toggle ---- */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid var(--border-light);
}

.billing-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
    user-select: none;
    cursor: default;
}

.billing-label[data-period="monthly"] {
    color: var(--text-primary);
}

.billing-toggle.yearly .billing-label[data-period="monthly"] {
    color: var(--text-tertiary);
}
.billing-toggle.yearly .billing-label[data-period="yearly"] {
    color: var(--text-primary);
}

.billing-save {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-left: 0.15rem;
    vertical-align: middle;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    padding: 0;
    flex-shrink: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.toggle-switch:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.billing-toggle.yearly .toggle-switch {
    background: var(--gradient-primary);
    border-color: transparent;
}

.billing-toggle.yearly .toggle-thumb {
    transform: translateX(20px);
}

/* ---- Pricing Grid ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* ---- Pricing Card ---- */
.pricing-card {
    position: relative;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.12);
}

/* Popular card — elevated */
.pricing-card--popular {
    border-color: rgba(0, 212, 255, 0.18);
    box-shadow: var(--shadow-lg), 0 0 32px rgba(0, 212, 255, 0.06);
    transform: scale(1.03);
}

.pricing-card--popular:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.25);
}

/* Popular badge */
.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    line-height: 1;
}

/* Card top area */
.pricing-card-top {
    display: flex;
    flex-direction: column;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    margin-bottom: 0.85rem;
}

.price-currency {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    align-self: flex-start;
    margin-top: 0.35rem;
}

.price-amount {
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    transition: opacity 0.15s ease;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-left: 0.25rem;
}

.plan-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

/* CTA button — full width */
.pricing-btn {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
}

/* Divider */
.pricing-divider {
    width: 100%;
    height: 1px;
    background: var(--border-light);
    margin: 2rem 0;
}

/* Features list */
.pricing-features {
    flex: 1;
}

.features-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 1.25rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.938rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.45;
}

.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--cyan-medium);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Responsive — Tablet ---- */
@media (max-width: 1024px) {
    .pricing-section {
        padding: 6rem 0;
    }

    .pricing-header h2 {
        font-size: 2.5rem;
    }

    .pricing-subtitle {
        font-size: 1.1rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    /* Reset popular card scale on tablet for grid alignment */
    .pricing-card--popular {
        transform: none;
    }
    .pricing-card--popular:hover {
        transform: translateY(-6px);
    }

    .pricing-card {
        padding: 2.25rem 2rem;
    }
}

/* ---- Responsive — Mobile ---- */
@media (max-width: 640px) {
    .pricing-section {
        padding: 4.5rem 0;
    }

    .pricing-header {
        margin-bottom: 3rem;
    }

    .pricing-header h2 {
        font-size: 2rem;
    }

    .pricing-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card--popular {
        transform: none;
    }
    .pricing-card--popular:hover {
        transform: translateY(-6px);
    }

    .pricing-card {
        padding: 2rem 1.75rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .pricing-glow {
        width: 400px;
        height: 400px;
    }
}

/* ---- Dark theme — Pricing ---- */
[data-theme="dark"] .pricing-section {
    background: linear-gradient(160deg, #0B1120 0%, #0E1525 50%, #101A2E 100%);
}

[data-theme="dark"] .pricing-header h2 {
    color: #F0F6FC !important;
}

[data-theme="dark"] .pricing-glow {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, rgba(111, 229, 184, 0.05) 40%, transparent 70%);
}

[data-theme="dark"] .billing-toggle {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.1);
}

[data-theme="dark"] .toggle-switch {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.1);
}
[data-theme="dark"] .toggle-thumb {
    background: #E2E8F0;
}
[data-theme="dark"] .billing-toggle.yearly .toggle-switch {
    background: var(--gradient-primary);
    border-color: transparent;
}

[data-theme="dark"] .pricing-card {
    background: linear-gradient(145deg, #142033 0%, #0E1525 100%);
    border-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
[data-theme="dark"] .pricing-card:hover {
    border-color: rgba(0, 212, 255, 0.22);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.12),
        0 0 24px rgba(0, 212, 255, 0.06);
    background: linear-gradient(145deg, #1A2840 0%, #142033 100%);
}

[data-theme="dark"] .pricing-card--popular {
    border-color: rgba(0, 212, 255, 0.22);
    box-shadow: var(--shadow-lg), 0 0 32px rgba(0, 212, 255, 0.12);
}
[data-theme="dark"] .pricing-card--popular:hover {
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.45),
        0 0 48px rgba(0, 212, 255, 0.14);
    border-color: rgba(0, 212, 255, 0.35);
}

[data-theme="dark"] .pricing-divider {
    background: rgba(0, 212, 255, 0.06);
}

[data-theme="dark"] .check-icon {
    stroke: var(--cyan-bright);
}

[data-theme="dark"] .price-currency,
[data-theme="dark"] .price-amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* ============================================
   3D FLIP CARDS
   ============================================ */

/* Perspective wrapper */
.flip-card {
    perspective: 1200px;
    min-height: 420px;
}

/* Inner rotating container */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Desktop: flip on hover */
@media (hover: hover) and (pointer: fine) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
    .flip-card:hover {
        z-index: 2;
    }
}

/* Mobile / touch: flip via .flipped class */
.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

/* Shared face styles */
.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ---- Front Side ---- */
.flip-card-front {
    z-index: 2;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Accent top bar on front */
.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .flip-card:hover .flip-card-front::before {
        transform: scaleX(1);
    }
    .flip-card:hover .flip-card-front {
        box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 212, 255, 0.06);
        border-color: rgba(0, 212, 255, 0.15);
    }
}

/* Product info inside front - reuse existing styles */
.flip-card-front .product-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.flip-card-front .product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.flip-card-front .product-info p {
    color: var(--text-secondary);
    margin-bottom: auto;
    line-height: 1.7;
    font-size: 0.938rem;
    flex: 1;
}

.flip-card-front .product-info.ai-systems-info .ai-systems-description {
    margin-bottom: 1rem;
    flex: 0;
}

.flip-card-front .product-info.ai-systems-info .ai-systems-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: 0.85rem;
}

.flip-card-front .product-info.ai-systems-info .ai-systems-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.flip-card-front .product-info.ai-systems-info .ai-systems-list strong {
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.flip-card-front .product-info.ai-systems-info .ai-systems-list span {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.45;
}

.flip-card.stagger-3,
.flip-card.stagger-3 .flip-card-inner {
    min-height: 520px;
}

.flip-card.stagger-3 .flip-card-front .product-info {
    padding-bottom: 2rem;
}

.flip-card.stagger-3 .flip-card-front .product-info.ai-systems-info .ai-systems-list {
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.flip-card.stagger-3 .flip-card-front .product-info.ai-systems-info .ai-systems-list strong {
    font-size: 0.95rem;
}

.flip-card.stagger-3 .flip-card-front .product-info.ai-systems-info .ai-systems-list span {
    font-size: 0.86rem;
}

.flip-card-front .product-info.shim-product-info .shim-tagline {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 0;
}

.flip-card-front .product-info.shim-product-info .shim-description {
    margin-bottom: 1rem;
    flex: 0;
}

.flip-card-front .product-info.shim-product-info .shim-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.35rem;
    display: grid;
    gap: 0.55rem;
}

.flip-card-front .product-info.shim-product-info .shim-feature-list li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.45;
    font-size: 0.9rem;
}

.flip-card-front .product-info.shim-product-info .shim-feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.flip-card-front .product-info .price {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
    letter-spacing: -0.03em;
    line-height: 1;
}

.flip-card-front .product-info .price span {
    font-size: 1rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--text-secondary);
    margin-left: 0.25rem;
}

.flip-card-front .btn-product {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    margin-top: auto;
}

/* ---- Back Side ---- */
.flip-card-back {
    z-index: 1;
    transform: rotateY(180deg);
    background: var(--bg-dark);
}

.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .flip-card:hover .flip-card-back img {
        transform: scale(1.06);
    }
}

/* Gradient overlay on back */
.flip-back-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(10, 14, 20, 0.55) 70%,
        rgba(10, 14, 20, 0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
}

.flip-back-btn {
    padding: 0.85rem 2rem !important;
    font-size: 0.9rem !important;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Subtle scale on card hover */
@media (hover: hover) and (pointer: fine) {
    .flip-card {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .flip-card:hover {
        transform: scale(1.02);
    }
}

/* ---- Responsive — Tablet ---- */
@media (max-width: 1024px) {
    .flip-card,
    .flip-card-inner {
        min-height: 400px;
    }
}

/* ---- Responsive — Mobile ---- */
@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        max-width: 420px;
        margin: 3rem auto 0;
    }

    .flip-card,
    .flip-card-inner {
        min-height: 380px;
    }

    .flip-card.stagger-3,
    .flip-card.stagger-3 .flip-card-inner {
        min-height: 500px;
    }

    .flip-card-front .product-info {
        padding: 2rem 1.75rem;
    }
}

/* ---- Dark theme — Flip cards ---- */
[data-theme="dark"] .flip-card-front {
    background: linear-gradient(145deg, #142033 0%, #0E1525 100%);
    border-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .flip-card-front .product-info .price span {
    -webkit-text-fill-color: var(--text-secondary);
}

@media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .flip-card:hover .flip-card-front {
        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(0, 212, 255, 0.12),
            0 0 24px rgba(0, 212, 255, 0.06);
        border-color: rgba(0, 212, 255, 0.22);
        background: linear-gradient(145deg, #1A2840 0%, #142033 100%);
    }
}

[data-theme="dark"] .flip-card-back {
    background: #060B16;
}

[data-theme="dark"] .flip-back-overlay {
    background: linear-gradient(
        180deg,
        transparent 25%,
        rgba(6, 11, 22, 0.6) 65%,
        rgba(6, 11, 22, 0.92) 100%
    );
}

/* Contact Form */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.contact-form {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.938rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    font-family: inherit;
    transition: border-color 0.5s var(--ease-out-expo),
                box-shadow 0.5s var(--ease-out-expo),
                transform 0.5s var(--ease-out-expo),
                background 0.3s var(--ease-out-expo);
    background: rgba(248, 254, 255, 0.98);
    color: var(--text-primary);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan-bright);
    background: rgba(248, 254, 255, 1);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

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

.contact-info {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform 0.6s var(--ease-out-expo),
                box-shadow 0.6s var(--ease-out-expo),
                border-color 0.5s var(--ease-out-expo),
                background 0.5s var(--ease-out-expo);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.info-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.18);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 100%);
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 50%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0;
    margin-top: 0;
    text-align: center;
    box-shadow: none;
    position: relative;
}

footer p {
    color: var(--text-light);
    font-size: 0.938rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        max-width: 100%;
    }

    .hero-content {
        text-align: center;
    }

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

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-note {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    nav .container {
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0.5rem;
        width: 100%;
        max-width: 100%;
        gap: 0.25rem;
    }

    nav .logo {
        font-size: 1rem;
        padding: 0.4rem 0.7rem;
    }

    nav ul {
        position: absolute;
        top: calc(100% + 0.6rem);
        left: 0.4rem;
        right: 0.4rem;
        background: rgba(248, 254, 255, 0.98);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0.85rem;
        gap: 0.35rem;
        display: none;
        z-index: 1002;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.65);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
        max-height: calc(100vh - 6.5rem);
        overflow-y: auto;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: flex;
        justify-content: center;
        padding: 0.9rem 1rem;
        text-align: center;
        font-size: 1rem;
        border-radius: 16px;
        width: 100%;
    }

    nav ul li .btn {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        display: inline-block;
        width: auto;
    }

    .hero {
        padding: 5rem 0 4rem;
        min-height: 100svh;
    }

    .hero h1,
    .hero .split-text {
        font-size: clamp(2rem, 7vw, 2.6rem);
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .hero-content > p {
        font-size: 0.95rem;
        max-width: 420px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-content .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .hero-buttons .btn,
    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.875rem;
    }

    .hero-glow--primary {
        width: 320px;
        height: 320px;
    }
    .hero-glow--secondary {
        width: 240px;
        height: 240px;
    }

    .hero-image-placeholder {
        height: 350px;
    }

    .features h2,
    .content-section h2 {
        font-size: 2rem;
    }

    .section-tagline,
    .hero-tagline {
        font-size: 0.8rem;
    }

    .feature-number {
        font-size: 2.5rem;
    }

    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .features,
    .content-section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0.5rem;
    }

    nav .container {
        padding: 0.35rem 0.4rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 0 3rem;
        min-height: 100svh;
    }

    nav ul li a .nav-text {
        height: auto;
        overflow: visible;
    }

    nav ul li a .nav-letter,
    nav ul li a .nav-letter-inner {
        height: auto;
        overflow: visible;
    }

    nav ul li a:hover .nav-letter-inner {
        transform: none;
    }

    .hero h1,
    .hero .split-text {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
        line-height: 1.12;
    }

    .hero-content > p {
        font-size: 0.875rem;
        max-width: 320px;
    }

    .hero-content .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
        margin-top: 1.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }

    .hero-glow--primary {
        width: 250px;
        height: 250px;
    }
    .hero-glow--secondary {
        width: 180px;
        height: 180px;
    }

    .features h2,
    .content-section h2 {
        font-size: 1.875rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .product-info {
        padding: 2rem;
    }

    .product-info .price {
        font-size: 2rem;
    }
}

/* ===== PAGE TRANSITION OVERLAY ===== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-very-light);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-transition.done {
    opacity: 0;
}

/* ===== SMOOTH CUSTOM EASING ===== */
:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

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

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

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-5deg) scale(0.92); }
    to   { opacity: 1; transform: rotate(0deg) scale(1); }
}

@keyframes clipRevealUp {
    from { clip-path: inset(100% 0 0 0); transform: translateY(20px); }
    to   { clip-path: inset(0 0 0 0); transform: translateY(0); }
}

@keyframes clipRevealLeft {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
}

@keyframes blurFadeIn {
    from { opacity: 0; filter: blur(12px); transform: translateY(30px); }
    to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

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

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

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

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

@keyframes borderGlow {
    0%   { border-color: rgba(0, 212, 255, 0.15); }
    50%  { border-color: rgba(111, 229, 184, 0.25); }
    100% { border-color: rgba(0, 212, 255, 0.15); }
}

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

/* ===== SCROLL-TRIGGERED REVEAL SYSTEM ===== */
/* Base: all revealable elements start hidden */
.reveal,
[data-anim] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out-expo),
                transform 1s var(--ease-out-expo),
                filter 1s var(--ease-out-expo);
    will-change: opacity, transform, filter;
}
.reveal.active,
[data-anim].in-view {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
}

/* Variant: fade-up (default) */
[data-anim="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
}

/* Variant: fade-up-scale */
[data-anim="fade-up-scale"] {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

/* Variant: fade-in-blur */
[data-anim="fade-in-blur"] {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
}
[data-anim="fade-in-blur"].in-view {
    filter: blur(0);
}

/* Variant: slide-left */
[data-anim="slide-left"] {
    opacity: 0;
    transform: translateX(-80px);
}
[data-anim="slide-left"].in-view {
    transform: translateX(0);
}

/* Variant: slide-right */
[data-anim="slide-right"] {
    opacity: 0;
    transform: translateX(80px);
}
[data-anim="slide-right"].in-view {
    transform: translateX(0);
}

/* Variant: scale-in */
[data-anim="scale-in"] {
    opacity: 0;
    transform: scale(0.85);
}
[data-anim="scale-in"].in-view {
    transform: scale(1);
}

/* Variant: clip-up */
[data-anim="clip-up"] {
    clip-path: inset(100% 0 0 0);
    transform: translateY(20px);
    opacity: 1;
    transition: clip-path 1s var(--ease-out-expo),
                transform 1s var(--ease-out-expo);
}
[data-anim="clip-up"].in-view {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

/* Stagger delays via data attribute */
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }
[data-delay="7"] { transition-delay: 0.56s; }
[data-delay="8"] { transition-delay: 0.64s; }

/* ===== LEGACY ANIMATION CLASSES (preserved) ===== */
.fade-in {
    animation: fadeIn 1s var(--ease-out-expo) forwards;
}

.fade-in-scale {
    animation: fadeInScale 1s var(--ease-out-expo) forwards;
}

.slide-in-left {
    animation: slideInLeft 1s var(--ease-out-expo) forwards;
}

.slide-in-right {
    animation: slideInRight 1s var(--ease-out-expo) forwards;
}

.slide-in-up {
    animation: slideInUp 1s var(--ease-out-expo) forwards;
}

.scale-in {
    animation: scaleIn 0.8s var(--ease-out-expo) forwards;
}

.rotate-in {
    animation: rotateIn 1s var(--ease-out-expo) forwards;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.08s; opacity: 0; }
.stagger-2 { animation-delay: 0.16s; opacity: 0; }
.stagger-3 { animation-delay: 0.24s; opacity: 0; }
.stagger-4 { animation-delay: 0.32s; opacity: 0; }
.stagger-5 { animation-delay: 0.40s; opacity: 0; }
.stagger-6 { animation-delay: 0.48s; opacity: 0; }

/* ===== TEXT SPLIT REVEAL ===== */
.split-text .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.25em;
}
.split-text .word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.7s var(--ease-out-expo);
    will-change: transform;
}
.split-text.in-view .word-inner {
    transform: translateY(0);
}
/* Stagger each word */
.split-text .word:nth-child(1) .word-inner  { transition-delay: 0.00s; }
.split-text .word:nth-child(2) .word-inner  { transition-delay: 0.04s; }
.split-text .word:nth-child(3) .word-inner  { transition-delay: 0.08s; }
.split-text .word:nth-child(4) .word-inner  { transition-delay: 0.12s; }
.split-text .word:nth-child(5) .word-inner  { transition-delay: 0.16s; }
.split-text .word:nth-child(6) .word-inner  { transition-delay: 0.20s; }
.split-text .word:nth-child(7) .word-inner  { transition-delay: 0.24s; }
.split-text .word:nth-child(8) .word-inner  { transition-delay: 0.28s; }
.split-text .word:nth-child(9) .word-inner  { transition-delay: 0.32s; }
.split-text .word:nth-child(10) .word-inner { transition-delay: 0.36s; }
.split-text .word:nth-child(11) .word-inner { transition-delay: 0.40s; }
.split-text .word:nth-child(12) .word-inner { transition-delay: 0.44s; }
.split-text .word:nth-child(13) .word-inner { transition-delay: 0.48s; }
.split-text .word:nth-child(14) .word-inner { transition-delay: 0.52s; }
.split-text .word:nth-child(15) .word-inner { transition-delay: 0.56s; }

/* ===== PARALLAX ===== */
.parallax {
    transition: transform 0.05s linear;
    will-change: transform;
}

/* ===== ENHANCED 3D CARD EFFECTS ===== */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out-expo),
                box-shadow 0.6s var(--ease-out-expo),
                border-color 0.6s var(--ease-out-expo);
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(10px);
}

/* ===== GRADIENT BORDER HOVER ===== */
.feature-card,
.product-card,
.info-card,
.stat-card {
    position: relative;
}
.feature-card::after,
.product-card::after,
.info-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
    pointer-events: none;
    z-index: 1;
}
.feature-card:hover::after,
.product-card:hover::after,
.info-card:hover::after {
    opacity: 1;
}

/* ===== NUMBER COUNTER ===== */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ===== ANIMATED GRADIENT BACKGROUND ===== */
.gradient-animated {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

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

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

/* ===== SMOOTH SCROLL-LINKED SECTION TAGLINES ===== */
.section-tagline {
    position: relative;
}
.section-tagline::before {
    content: '//';
    margin-right: 0.5em;
    opacity: 0.5;
}

/* ===== UTILITY CLASSES ===== */
.highlight {
    color: var(--text-primary);
    font-weight: 700;
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, [data-anim] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    .split-text .word-inner {
        transform: none !important;
    }
    .page-transition {
        display: none !important;
    }
}

/* Company Showcase */
.company-showcase {
    padding: 4.5rem 0 5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, var(--bg-light) 50%, rgba(111, 229, 184, 0.08) 100%);
    text-align: center;
    border-bottom: 2px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.1);
}

.company-showcase h2 {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.company-logo {
    font-size: 2rem;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-very-light) 0%, var(--surface) 100%);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo),
                box-shadow 0.6s var(--ease-out-expo),
                border-color 0.5s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card.active {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.08);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 212, 255, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.04em;
}

.stat-label {
    font-size: 0.938rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

/* Video/3D Section */
.media-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.media-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--glow-mixed), 0 32px 64px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, var(--bg-light) 100%);
    border: 2px solid var(--cyan);
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--cyan-bright);
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0, 212, 255, 0.1) 100%);
}

/* Split Content Section */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.split-content-reverse {
    direction: rtl;
}

.split-content-reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 212, 255, 0.15), 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-light);
}

.content-image:hover {
    transform: scale(1.03) translateY(-12px) rotate(1deg);
    box-shadow: var(--glow-mixed), 0 36px 72px rgba(0, 0, 0, 0.18);
    border-color: var(--cyan-bright);
}

.content-text h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.content-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Testimonial Section */
.testimonial-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 50%, rgba(0, 212, 255, 0.05) 100%);
    position: relative;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(111, 229, 184, 0.06) 100%);
    border-color: var(--cyan-bright);
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.author-title {
    color: var(--text-secondary);
    font-size: 0.938rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    z-index: 9999;
    transform-origin: left;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: none;
    animation: gradientShift 3s ease infinite;
}

/* Enhanced hover effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.hover-scale {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Glassmorphism */
.glass {
    background: linear-gradient(135deg, rgba(248, 254, 255, 0.8) 0%, rgba(240, 253, 255, 0.7) 100%);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 2px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .split-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .split-content-reverse {
        direction: ltr;
    }
    
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .testimonial-text {
        font-size: 1.125rem;
    }
}

/* Dark Section Variant (Optional) */
.section-dark {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--surface-darker) 50%, var(--background-dark) 100%);
    color: var(--text-primary-light);
}

.section-dark h2,
.section-dark h3 {
    color: var(--text-primary-light);
}

.section-dark p {
    color: var(--text-secondary-light);
}

.section-dark .feature-card,
.section-dark .product-card,
.section-dark .info-card {
    background: linear-gradient(135deg, var(--surface-darker) 0%, var(--surface-dark) 100%);
    border-color: var(--border-dark);
    color: var(--text-primary-light);
}

.section-dark .feature-card h3,
.section-dark .product-card h3,
.section-dark .info-card h3 {
    color: var(--text-primary-light);
}

.section-dark .feature-card p,
.section-dark .product-card p,
.section-dark .info-card p {
    color: var(--text-secondary-light);
}

.section-dark .feature-card:hover,
.section-dark .product-card:hover,
.section-dark .info-card:hover {
    background: linear-gradient(135deg, var(--bg-medium) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Our Mission Section */
.mission-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-very-light) 50%, var(--surface) 100%);
    position: relative;
}

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

/* Split layout */
.mission-layout {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

/* Left sticky column */
.mission-left {
    flex: 0 0 38%;
    position: sticky;
    top: 8rem;
}

.mission-left .section-tagline {
    margin-bottom: 1.25rem;
}

.mission-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.mission-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 360px;
}

.mission-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
}

.mission-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.mission-cta svg {
    transition: transform 0.3s ease;
}

.mission-cta:hover svg {
    transform: translateX(3px);
}

/* Right cards column */
.mission-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Step card */
.mission-step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease;
}

.mission-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.15);
}

/* Gradient border overlay on hover */
.mission-step-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.mission-step-card:hover::after {
    opacity: 0.45;
}

/* Step header row */
.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

/* Step number */
.step-number {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
    font-family: 'Inter', monospace;
    transition: color 0.3s ease;
}

.mission-step-card:hover .step-number {
    color: var(--cyan-medium);
}

/* Decorative bars */
.step-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.step-bars span {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: var(--border-light);
    transition: background 0.3s ease, height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-bars span:nth-child(1) { height: 8px; }
.step-bars span:nth-child(2) { height: 14px; }
.step-bars span:nth-child(3) { height: 20px; }
.step-bars span:nth-child(4) { height: 14px; }
.step-bars span:nth-child(5) { height: 8px; }

.mission-step-card:hover .step-bars span {
    background: var(--gradient-primary);
    background: var(--cyan-medium);
}

.mission-step-card:hover .step-bars span:nth-child(1) { height: 10px; }
.mission-step-card:hover .step-bars span:nth-child(2) { height: 18px; }
.mission-step-card:hover .step-bars span:nth-child(3) { height: 24px; }
.mission-step-card:hover .step-bars span:nth-child(4) { height: 18px; }
.mission-step-card:hover .step-bars span:nth-child(5) { height: 10px; }

/* Card title */
.mission-step-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

/* Card description */
.mission-step-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
}

/* Responsive — Tablet */
@media (max-width: 1024px) {
    .mission-layout {
        gap: 3rem;
    }

    .mission-left {
        flex: 0 0 35%;
    }

    nav ul {
        left: 0.25rem;
        right: 0.25rem;
        top: calc(100% + 0.45rem);
    }


    nav ul li a .nav-text {
        display: block;
        height: auto;
        line-height: 1.15;
        overflow: visible;
    }

    nav ul li a .nav-letter {
        display: inline;
        height: auto;
        overflow: visible;
    }

    nav ul li a .nav-letter-inner {
        display: inline;
        transform: none !important;
        transition: none;
        will-change: auto;
    }

    nav ul li a .nav-letter-inner span {
        display: inline;
        height: auto;
        line-height: inherit;
    }

    nav ul li a .nav-letter-inner span:last-child {
        display: none;
    }
    .mission-step-card {
        padding: 2rem 2rem;
    }

    .mission-step-card h3 {
        font-size: 1.25rem;
    }

    nav ul li a:hover .nav-letter-inner {
        transform: none;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 5rem 0;
    }

    .mission-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .mission-left {
        position: static;
        flex: none;
        text-align: center;
    }

    .mission-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .mission-left .section-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .mission-cta {
        justify-content: center;
    }

    .mission-right {
        gap: 1.25rem;
    }

    .mission-step-card {
        padding: 1.75rem 1.5rem;
    }

    .mission-step-card h3 {
        font-size: 1.2rem;
    }

    .mission-step-card p {
        font-size: 0.95rem;
    }
}

/* Dark theme — Mission section */
[data-theme="dark"] .mission-step-card {
    background: linear-gradient(145deg, #142033 0%, #0E1525 100%);
    border-color: rgba(0, 212, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .mission-step-card:hover {
    border-color: rgba(0, 212, 255, 0.22);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.12),
        0 0 24px rgba(0, 212, 255, 0.06);
    background: linear-gradient(145deg, #1A2840 0%, #142033 100%);
}

[data-theme="dark"] .step-bars span {
    background: rgba(0, 212, 255, 0.15);
}

[data-theme="dark"] .mission-step-card:hover .step-bars span {
    background: var(--cyan-bright);
}

[data-theme="dark"] .mission-step-card:hover .step-number {
    color: var(--cyan-bright);
}

[data-theme="dark"] .mission-heading {
    color: var(--text-bright);
}

[data-theme="dark"] .mission-subtitle {
    color: var(--text-light);
    opacity: 0.7;
}

[data-theme="dark"] .mission-cta {
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

[data-theme="dark"] .mission-step-card:hover::after {
    opacity: 0.6;
}

[data-theme="dark"] .mission-header h2 {
    color: #F0F6FC !important;
}

/* Carousel Section */
.carousel-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-very-light) 0%, var(--surface) 50%, var(--bg-light) 100%);
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s var(--ease-out-expo);
}

.carousel-slide {
    min-width: 100%;
    padding: 0 1rem;
    text-align: center;
    flex-shrink: 0;
}

.carousel-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    background: #000;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.carousel-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.carousel-placeholder span {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.carousel-slide h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.carousel-slide p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 28px;
    border-radius: 5px;
    background: var(--gradient-primary);
}

@media (max-width: 768px) {
    .carousel-section {
        padding: 4rem 0;
    }

    .carousel {
        border-radius: var(--radius-md);
    }

    .carousel-slide {
        padding: 0;
    }

    .carousel-media-wrap {
        margin-bottom: 1.25rem;
        border-radius: var(--radius-md);
    }

    .carousel-placeholder {
        height: 200px;
    }

    .carousel-media {
        object-fit: cover;
    }

    .carousel-slide h3 {
        font-size: 1.15rem;
        margin-bottom: 0.35rem;
    }

    .carousel-slide p {
        font-size: 0.875rem;
        max-width: 90%;
        line-height: 1.55;
    }

    .carousel-controls {
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .carousel-section {
        padding: 3rem 0;
    }

    .carousel-media-wrap {
        margin-bottom: 0.75rem;
        border-radius: var(--radius-sm);
    }

    .carousel-slide h3 {
        font-size: 1.05rem;
    }

    .carousel-slide p {
        font-size: 0.813rem;
        max-width: 95%;
        line-height: 1.5;
    }

    .carousel-controls {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .carousel-dot {
        width: 7px;
        height: 7px;
    }

    .carousel-dot.active {
        width: 20px;
    }
}

/* Enhanced gradient backgrounds */
.gradient-teal {
    background: var(--gradient-primary);
}

.gradient-deep {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 25%, rgba(0, 212, 255, 0.08) 50%, var(--bg-very-light) 75%, var(--bg-light) 100%);
}

.gradient-radial {
    background: radial-gradient(ellipse at top, rgba(0, 212, 255, 0.12) 0%, var(--bg-light) 50%, var(--bg-very-light) 100%);
}

/* ============================================ */
/* WHY CHOOSE US — INFINITE HORIZONTAL SCROLL   */
/* ============================================ */
.why-choose-us {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-very-light) 50%, var(--surface) 100%);
    position: relative;
    overflow: hidden;
}

/* Scroll wrapper — full-width, clips the track */
.wcu-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari border-radius clipping */
}

/* Left / right gradient fade overlays */
.wcu-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.wcu-fade--left {
    left: 0;
    background: linear-gradient(to right,
        var(--bg-light) 0%,
        rgba(240, 253, 255, 0) 100%);
}
.wcu-fade--right {
    right: 0;
    background: linear-gradient(to left,
        var(--bg-light) 0%,
        rgba(240, 253, 255, 0) 100%);
}

/* The sliding track — 16 cards: 8 real + 8 duplicate */
.wcu-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    animation: wcuScroll 35s linear infinite;
}

.wcu-scroll-wrapper:hover .wcu-track {
    animation-play-state: paused;
}

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

/* Individual card */
.wcu-card {
    flex: 0 0 auto;
    width: 290px;
    padding: 2rem 1.75rem;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-light) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient border on hover (reuses site pattern) */
.wcu-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 1;
}

.wcu-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.15);
}
.wcu-card:hover::after {
    opacity: 1;
}

/* Icon container */
.wcu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.07);
    color: var(--cyan-medium);
    margin-bottom: 1.25rem;
    transition: background 0.35s ease, color 0.35s ease;
}
.wcu-card:hover .wcu-icon {
    background: rgba(0, 212, 255, 0.12);
    color: var(--cyan-bright);
}

/* Card typography */
.wcu-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.wcu-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 5rem 0 4rem;
    }
    .wcu-card {
        width: 250px;
        padding: 1.75rem 1.5rem;
    }
    .wcu-fade {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .wcu-card {
        width: 230px;
        padding: 1.5rem 1.25rem;
    }
    .wcu-fade {
        width: 36px;
    }
}

/* Reduced motion — stop animation */
@media (prefers-reduced-motion: reduce) {
    .wcu-track {
        animation: none !important;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS
   ============================================ */

/* ---- Large Tablets / Small Desktops ---- */
@media (max-width: 1024px) {
    .stats-section {
        padding: 6rem 0;
    }

    .stats-grid {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.75rem;
    }

    .carousel-section {
        padding: 6rem 0;
    }

    .features {
        padding: 6rem 0;
    }

    .content-section {
        padding: 6rem 0;
    }

    .content-section h2,
    .features h2 {
        font-size: 2.5rem;
    }

    .features > .container > p,
    .content-section p {
        font-size: 1.1rem;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

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

/* ---- Tablets ---- */
@media (max-width: 768px) {
    .stats-section {
        padding: 4.5rem 0;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    footer {
        padding: 3rem 0;
    }

    footer p {
        font-size: 0.85rem;
    }

    .nav-spacer {
        height: 3.75rem;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.875rem;
    }

    .features > .container > p,
    .content-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-content > p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .values-scroll-section {
        padding: 5rem 0 3.5rem;
    }

    .values-scroll-section h2 {
        font-size: 2rem;
    }
}

/* ---- Small Phones ---- */
@media (max-width: 480px) {
    .nav-spacer {
        height: 3.25rem;
    }

    .stats-section {
        padding: 3.5rem 0;
    }

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

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.813rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.75rem 1.5rem;
    }

    .features h2,
    .content-section h2 {
        font-size: 1.625rem;
    }

    .features > .container > p,
    .content-section p {
        font-size: 0.938rem;
    }

    footer {
        padding: 2.5rem 0;
    }

    footer p {
        font-size: 0.813rem;
        padding: 0 0.5rem;
    }

    .section-tagline,
    .hero-tagline {
        font-size: 0.75rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .mission-section {
        padding: 3.5rem 0;
    }

    .mission-heading {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

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

    .mission-step-card {
        padding: 1.5rem 1.25rem;
    }

    .mission-step-card h3 {
        font-size: 1.1rem;
    }

    .mission-step-card p {
        font-size: 0.875rem;
    }

    .values-scroll-section {
        padding: 3.5rem 0 2.5rem;
    }

    .values-scroll-section h2 {
        font-size: 1.75rem;
    }

    .values-subtitle {
        font-size: 0.938rem;
    }

    .story-section {
        padding: 3.5rem 0;
    }

    .story-header h2 {
        font-size: 1.75rem;
    }

    .why-choose-us {
        padding: 3.5rem 0 3rem;
    }

    .floating-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.813rem;
    }
}

/* ---- Very small screens ---- */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero h1,
    .hero .split-text {
        font-size: clamp(1.5rem, 9vw, 1.85rem);
    }

    .hero-content > p {
        font-size: 0.813rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.75rem;
    }

    nav .container {
        padding: 0.3rem 0.35rem;
    }

    nav .logo {
        font-size: 0.9rem;
        padding: 0.35rem 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}
