/* Quantum Mobility - Brand Stylesheet */
/* Colors: Deep Navy/Graphite (trust), Electric Blue/Teal (intelligence), Slate Grey, White */
/* Typography: Inter (modern geometric sans-serif) */

/* ==================== CSS Variables ==================== */
:root {
    /* Primary Colors */
    --deep-navy: #0a1628;
    --graphite: #1a2332;
    --electric-blue: #0066ff;
    --teal: #00c4cc;
    --teal-light: #00e5e5;

    /* Neutral Colors */
    --slate-grey: #64748b;
    --slate-light: #94a3b8;
    --slate-lighter: #cbd5e1;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-grey: #e2e8f0;

    /* Accent & Gradients */
    --gradient-primary: linear-gradient(135deg, var(--electric-blue) 0%, var(--teal) 100%);
    --gradient-dark: linear-gradient(180deg, var(--deep-navy) 0%, var(--graphite) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 196, 204, 0.1) 100%);
    --gradient-text: linear-gradient(135deg, var(--electric-blue) 0%, var(--teal) 100%);
    --gradient-glow: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 120px;
    --section-padding-mobile: 80px;

    /* Transitions - Stripe-inspired cubic-bezier */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows - Premium layered system (Stripe-inspired) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.06), 0 15px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(10, 22, 40, 0.2), 0 18px 36px -18px rgba(0, 0, 0, 0.25);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.12), 0 30px 70px -20px rgba(10, 22, 40, 0.2);
    --shadow-premium: 0 50px 100px -20px rgba(10, 22, 40, 0.18), 0 30px 60px -30px rgba(0, 0, 0, 0.22);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15), 0 0 80px rgba(0, 196, 204, 0.1);

    /* Border Radius - More organic (Stripe-inspired) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* ==================== Container ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-navy);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--slate-grey);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--slate-grey);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--deep-navy);
    border-color: var(--light-grey);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--electric-blue);
    color: var(--electric-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--electric-blue);
    border-color: var(--electric-blue);
}

.btn-outline:hover {
    background: var(--electric-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-bottom-color: transparent;
}

.navbar.scrolled .logo {
    transform: scale(0.95);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-item {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--graphite);
    transition: color var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
    color: var(--electric-blue);
}

.nav-item.active {
    font-weight: 600;
}

.nav-item.dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item.dropdown > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 16px 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(226, 232, 240, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9375rem;
    color: var(--graphite);
    transition: all var(--transition-fast);
}

.dropdown-content a:hover {
    background: var(--off-white);
    color: var(--electric-blue);
}

.nav-actions {
    display: none;
}

@media (min-width: 1024px) {
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--graphite);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Mobile menu open state */
.navbar.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

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

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #0a3d5c 70%, #0d5c6d 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 196, 204, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 196, 204, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(0, 196, 204, 0.25) 0%, transparent 50%),
                radial-gradient(ellipse 80% 60% at 80% 80%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse 60% 50% at 20% 60%, rgba(0, 229, 229, 0.15) 0%, transparent 50%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 196, 204, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 24px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--teal-light);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero secondary button on dark background */
.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--teal);
    color: var(--white);
}

/* Hero Diagram */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==================== Advanced Hero Diagram ==================== */
.hero-diagram-advanced {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* Orbital rings */
.orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 196, 204, 0.2);
    animation: orbitPulse 4s ease-in-out infinite;
}

.ring-1 {
    inset: 5%;
    border-color: rgba(0, 196, 204, 0.15);
    animation-delay: 0s;
}

.ring-2 {
    inset: 20%;
    border-color: rgba(0, 102, 255, 0.2);
    animation-delay: 0.5s;
}

.ring-3 {
    inset: 35%;
    border-color: rgba(0, 196, 204, 0.25);
    animation-delay: 1s;
}

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

/* Data streams SVG */
.data-streams {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.data-path {
    fill: none;
    stroke: rgba(0, 196, 204, 0.3);
    stroke-width: 2;
    stroke-dasharray: 8 16;
    animation: dataFlow 3s linear infinite;
}

.path-1 { animation-delay: 0s; }
.path-2 { animation-delay: 0.5s; }
.path-3 { animation-delay: 1s; }
.path-4 { animation-delay: 1.5s; }
.path-5 { animation-delay: 2s; }
.path-6 { animation-delay: 2.5s; }

@keyframes dataFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -48; }
}

/* Floating nodes */
.float-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    animation: nodeFloat 6s ease-in-out infinite;
}

.node-pos-1 { top: 2%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-pos-2 { top: 20%; right: 2%; animation-delay: 1s; }
.node-pos-3 { bottom: 20%; right: 2%; animation-delay: 2s; }
.node-pos-4 { bottom: 2%; left: 50%; transform: translateX(-50%); animation-delay: 3s; }
.node-pos-5 { bottom: 20%; left: 2%; animation-delay: 4s; }
.node-pos-6 { top: 20%; left: 2%; animation-delay: 5s; }

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

.node-pos-1, .node-pos-4 {
    animation-name: nodeFloatCenter;
}

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

.node-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 196, 204, 0.4) 0%, transparent 70%);
    animation: nodePulseAnim 2s ease-in-out infinite;
}

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

.node-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 196, 204, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.node-icon svg {
    width: 24px;
    height: 24px;
    color: var(--teal);
}

.float-node:hover .node-icon {
    background: rgba(0, 196, 204, 0.2);
    border-color: var(--teal);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 196, 204, 0.4);
}

.float-node span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Central hub */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.hub-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, rgba(0, 196, 204, 0.2) 40%, transparent 70%);
    filter: blur(30px);
    animation: hubGlowPulse 4s ease-in-out infinite;
}

@keyframes hubGlowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hub-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    top: 50%;
    left: 50%;
}

.hub-ring-1 {
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    border-color: rgba(0, 196, 204, 0.5);
    animation: hubRingSpin 20s linear infinite;
}

.hub-ring-2 {
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
    border-color: rgba(0, 102, 255, 0.3);
    border-style: dashed;
    animation: hubRingSpin 30s linear infinite reverse;
}

@keyframes hubRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hub-core {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.9) 0%, rgba(0, 196, 204, 0.9) 100%);
    border-radius: 50%;
    box-shadow:
        0 0 40px rgba(0, 102, 255, 0.4),
        0 0 80px rgba(0, 196, 204, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
}

.hub-core::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hub-label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.hub-sublabel {
    font-size: 0.625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating particles */
.particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--teal);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

.p1 { top: 30%; left: 20%; animation-delay: 0s; }
.p2 { top: 15%; left: 60%; animation-delay: 1s; }
.p3 { top: 50%; left: 85%; animation-delay: 2s; }
.p4 { top: 75%; left: 70%; animation-delay: 3s; }
.p5 { top: 85%; left: 40%; animation-delay: 4s; }
.p6 { top: 60%; left: 10%; animation-delay: 5s; }
.p7 { top: 40%; left: 40%; animation-delay: 6s; }
.p8 { top: 25%; left: 75%; animation-delay: 7s; }

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translate(20px, -30px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(25px, -35px) scale(0);
    }
}

/* Responsive adjustments for advanced diagram */
@media (max-width: 640px) {
    .hero-diagram-advanced {
        max-width: 350px;
    }

    .node-icon {
        width: 40px;
        height: 40px;
    }

    .node-icon svg {
        width: 20px;
        height: 20px;
    }

    .float-node span {
        font-size: 0.65rem;
    }

    .hub-core {
        width: 100px;
        height: 100px;
    }

    .hub-ring-1 {
        width: 120px;
        height: 120px;
        margin: -60px 0 0 -60px;
    }

    .hub-ring-2 {
        width: 140px;
        height: 140px;
        margin: -70px 0 0 -70px;
    }

    .hub-label {
        font-size: 0.875rem;
    }
}

/* ==================== Products Section ==================== */
.products-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-featured {
        grid-column: span 2;
    }
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-8px);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.product-icon {
    width: 56px;
    height: 56px;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
    color: var(--deep-navy);
}

.product-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal) !important;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 0.9375rem;
    color: var(--slate-grey);
    flex-grow: 1;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--electric-blue);
    transition: gap var(--transition-fast);
}

.product-card:hover .product-link {
    gap: 12px;
}

.product-link svg {
    transition: transform var(--transition-fast);
}

.product-card:hover .product-link svg {
    transform: translateX(4px);
}

/* ==================== AI Section ==================== */
.ai-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    color: var(--white);
}

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

@media (min-width: 1024px) {
    .ai-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.ai-text h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.ai-text > p {
    font-size: 1.125rem;
    color: var(--slate-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ai-features {
    margin-bottom: 32px;
}

.ai-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-features li:last-child {
    border-bottom: none;
}

.ai-features svg {
    flex-shrink: 0;
    color: var(--teal);
}

/* AI Diagram */
.ai-visual {
    display: flex;
    justify-content: center;
}

.ai-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 400px;
}

.ai-layer {
    width: 100%;
    padding: 24px;
    text-align: center;
    border-radius: 12px;
}

.ai-layer span {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.ai-layer small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    opacity: 0.8;
}

.layer-top {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.layer-middle {
    background: var(--gradient-primary);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
}

.layer-bottom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--teal), var(--electric-blue));
    position: relative;
}

.ai-arrow::before,
.ai-arrow::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.ai-arrow::before {
    top: 0;
    border-bottom: 8px solid var(--teal);
}

.ai-arrow::after {
    bottom: 0;
    border-top: 8px solid var(--electric-blue);
}

/* ==================== Industries Section ==================== */
.industries-section {
    padding: var(--section-padding) 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-8px);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
    color: var(--teal);
}

.industry-icon {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-icon {
    width: 64px;
    height: 64px;
    color: var(--electric-blue);
    margin-bottom: 16px;
}

.industry-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--graphite);
    margin-bottom: 8px;
}

.industry-subcontent {
    font-size: 0.8125rem;
    color: var(--slate-grey);
    line-height: 1.5;
    margin-top: 0;
    list-style: disc;
    padding-left: 1.25rem;
    text-align: left;
}

.industry-subcontent li {
    margin-bottom: 4px;
}

.section-cta {
    text-align: center;
}

/* ==================== Why Section ==================== */
.why-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.why-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 196, 204, 0.3);
}

.why-card:hover .why-number {
    transform: scale(1.2);
}

.why-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--deep-navy);
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--slate-grey);
}

/* ==================== Future Section ==================== */
.future-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    text-align: center;
}

.future-content {
    max-width: 800px;
    margin: 0 auto;
}

.future-content h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.future-content > p {
    font-size: 1.125rem;
    color: var(--slate-light);
    margin-bottom: 40px;
}

.future-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.future-item {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ==================== Footer ==================== */
.footer {
    padding: 80px 0 40px;
    background: var(--deep-navy);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
        gap: 40px;
    }
}

.footer-brand {
    max-width: 280px;
}

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

.footer-brand p {
    color: var(--slate-light);
    font-size: 0.9375rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--slate-light);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--slate-light);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

/* ==================== Page Header (for inner pages) ==================== */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-dark);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--slate-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Utility Classes ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Gradient Text (Stripe/BriskPE inspired) */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-animated {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--teal) 50%, var(--electric-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

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

/* ==================== Mobile Menu ==================== */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
    }

    .navbar.menu-open .nav-menu {
        display: flex;
        transform: translateX(0);
    }

    .nav-item {
        padding: 16px 0;
        border-bottom: 1px solid var(--light-grey);
    }

    .nav-item.dropdown .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 8px 0 8px 16px;
        display: none;
    }

    .nav-item.dropdown.open .dropdown-content {
        display: block;
    }

    .nav-actions {
        display: flex;
        padding-top: 24px;
    }

    .nav-actions .btn {
        width: 100%;
    }
}

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

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

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

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

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

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Scroll-triggered animations (BriskPE-inspired) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.visible {
    opacity: 1;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

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

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