/* ==========================================================================
   CSS Variables & Theme
   ========================================================================== */
:root {
    /* Color Palette - Dark Premium */
    --bg-main: #020205;
    /* Deep Black */
    --bg-surface: #0a0a14;
    /* Graphite/Deep Blue Black */
    --bg-card: rgba(20, 20, 35, 0.4);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Accents */
    --accent-blue: #2563eb;
    --accent-cyan: #00e5ff;
    --accent-violet: #8b5cf6;
    --accent-green: #10b981;

    --glow-cyan: rgba(0, 229, 255, 0.5);
    --glow-violet: rgba(139, 92, 246, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    --gradient-text: linear-gradient(to right, #ffffff, #a5b4fc);
    --gradient-glow: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet), var(--accent-cyan));

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Utilities */
    --border-light: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

/* CSS Houdini: Animatable custom property for border glow rotation */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
}

/* ==========================================================================
   Skip to Content (Accessibility & SEO)
   ========================================================================== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 12px 24px;
    background: var(--accent-cyan);
    color: var(--bg-main);
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 9999;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Global Background Canvas
   ========================================================================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* ==========================================================================
   Ambient Animations & Backgrounds
   ========================================================================== */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
    pointer-events: none;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1), transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 60%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 5%) scale(1.1);
    }

    100% {
        transform: translate(-5%, 10%) scale(0.9);
    }
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.animated-gradient {
    background: var(--gradient-glow);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    z-index: 1;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    mix-blend-mode: overlay;
}

.btn-primary:hover .btn-glow {
    opacity: 0.3;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.group:hover .group-hover-translate-x {
    transform: translateX(4px);
}

.transition-transform {
    transition: transform var(--transition-fast);
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.05);
}

.glow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 229, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

.pill-badge-blue {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.05);
    margin: 0 auto 16px auto; /* Centered in container */
    font-size: 1.25rem;
    padding: 10px 24px;
    gap: 12px;
}

.glow-dot-blue {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(2, 2, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(2, 2, 5, 0.85);
    border-bottom: 1px solid var(--border-light);
    height: 70px;
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: baseline;
}

.logo-accent {
    color: var(--accent-cyan);
    font-size: 2rem;
    line-height: 0;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width var(--transition-normal);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.lang-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    width: 120px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.lang-option.active {
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Tech Decor */
.tech-decor {
    position: absolute;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    opacity: 0.5;
}

.tech-decor.top-left {
    top: 120px;
    left: 40px;
    flex-direction: column;
    align-items: flex-start;
}

.tech-decor.bottom-right {
    bottom: 40px;
    right: 40px;
}

.pulse-ring {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Scroll Indicator - hidden */
.scroll-indicator {
    display: none;
}


.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* ==========================================================================
   Animations (Reveal – Professional multi-direction)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 8px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Premium About Section (Answers "Qué es Zohra")
   ========================================================================== */
.about-premium-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.about-glass-card {
    position: relative;
    background: rgba(10, 10, 14, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.about-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px -10px rgba(0, 229, 255, 0.15);
}

.about-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 229, 255, 0.08) 40%,
        rgba(139, 92, 246, 0.08) 60%,
        transparent
    );
    transform: rotate(45deg) translateY(-100%);
    animation: sweep-light 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes sweep-light {
    0% { transform: rotate(45deg) translateY(-100%); }
    100% { transform: rotate(45deg) translateY(100%); }
}

/* Internal Dynamic Glow */
.card-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: slow-pulse 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes slow-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Subtle Technical Grid in background */
.card-tech-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.card-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cyber-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulsing-dot 2s infinite;
}

@keyframes pulsing-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.about-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto 32px auto;
    border-radius: 2px;
}

.about-desc {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* Animated Border Box */
.animated-border-box {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.animated-border-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(
        var(--border-angle, 0deg),
        transparent 40%,
        var(--accent-cyan) 50%,
        var(--accent-violet) 60%,
        transparent 70%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate-border 6s linear infinite;
    opacity: 0.6;
}

@property --border-angle {
    syntax: '<angle>';
    inherits: true;
    initial-value: 0deg;
}

@keyframes rotate-border {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .about-premium-section {
        padding: 48px 0;
    }
    .about-glass-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
    .about-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    position: relative;
}

.services-category {
    margin-bottom: 64px;
}

.services-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 32px;
}

.category-title {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.category-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    /* Only transition the specific properties that change on hover/reveal — avoids
       expensive "transition: all" style recalculations on every property change */
    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* Limit layout/style cascade from internal animations to this element */
    contain: layout style;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Card Assembly Animation – Tech "materialize" effect
   ========================================================================== */

/* --- Service cards: override generic reveal-scale --- */
.service-card.reveal-scale {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition:
        opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.service-card.reveal-scale.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Scan line that sweeps through the card after reveal */
.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    top: 0%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.8) 20%, rgba(139, 92, 246, 0.6) 80%, transparent 100%);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6), 0 0 60px rgba(0, 229, 255, 0.2);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
}

.service-card.reveal-scale.active::before {
    animation: scanLine 2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--delay, 0s) + 0.3s);
}

@keyframes scanLine {
    0% {
        top: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    80% {
        top: 100%;
        opacity: 0.5;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Content reveals progressively with stagger */
.service-card.reveal-scale .service-icon,
.service-card.reveal-scale .service-title,
.service-card.reveal-scale .service-desc {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card.reveal-scale.active .service-icon {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--delay, 0s) + 0.4s);
}

.service-card.reveal-scale.active .service-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--delay, 0s) + 0.6s);
}

.service-card.reveal-scale.active .service-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--delay, 0s) + 0.8s);
}

/* --- Process steps: smooth scale reveal (no clip-path to avoid clipping step numbers) --- */
.process-step.reveal-left,
.process-step.reveal,
.process-step.reveal-right {
    transition: none;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center center;
}

.process-step.reveal-left.active,
.process-step.reveal.active,
.process-step.reveal-right.active {
    animation: stepDeploy 2.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--delay, 0s);
}

@keyframes stepDeploy {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    6% {
        opacity: 1;
    }
    50% {
        transform: scaleX(1);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
    z-index: 0;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.service-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    z-index: 2;
}

.service-card:hover .service-hover-line {
    width: 100%;
}

/* ==========================================================================
   Tech Border Glow – Continuous rotating light on card borders
   ========================================================================== */
.service-card::after,
.process-step::after,
.trust-card::after,
.contact-form-container::after,
.cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle),
        transparent 20%,
        rgba(0, 229, 255, 0.6) 30%,
        rgba(139, 92, 246, 0.5) 42%,
        transparent 55%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    animation: borderGlow 6s linear infinite;
    /* JS IntersectionObserver sets --glow-paused to pause off-screen elements.
       CSS custom properties inherit to ::after pseudo-elements automatically. */
    animation-play-state: var(--glow-paused, running);
}

@keyframes borderGlow {
    to {
        --border-angle: 360deg;
    }
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section {
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-surface), var(--bg-main));
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    padding-top: 40px;
}

.process-line {
    position: absolute;
    top: 64px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--gradient-primary);
    animation: flowLine 4s ease-in-out infinite alternate;
}

@keyframes flowLine {
    0% {
        transform: translateX(0);
        width: 10%;
    }

    100% {
        transform: translateX(50vw);
        width: 30%;
    }
}

.process-step {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--bg-main);
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: -56px auto 24px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.benefits-marquee {
    display: flex;
    gap: 16px;
    width: max-content;
}

.marquee-left {
    animation: marqueeLeft 35s linear infinite;
}

.marquee-right {
    animation: marqueeRight 35s linear infinite;
}

.benefits-marquee:hover {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 8px)); }
}

@keyframes marqueeRight {
    0% { transform: translateX(calc(-50% - 8px)); }
    100% { transform: translateX(0); }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.benefit-item i {
    color: var(--accent-violet);
    font-size: 1.25rem;
}

/* ==========================================================================
   Use Cases Section (Marquee)
   ========================================================================== */
.cases-section {
    position: relative;
    overflow: hidden;
}

.mask-edges {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cases-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.cases-marquee {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.cases-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

.case-tag {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.case-tag:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

/* ==========================================================================
   Responsive Updates
   ========================================================================== */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 24px;
    }

    .process-line {
        display: none;
    }
}

@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   AI Agents Section
   ========================================================================== */
.ai-section {
    position: relative;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-features {
    margin-top: 32px;
}

.ai-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.ai-features i {
    color: var(--accent-cyan);
}

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.ai-orb-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-orb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-cyan), var(--accent-violet));
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.5);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.ai-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring-1 {
    width: 280px;
    height: 280px;
    animation: rotate 15s linear infinite;
    border-top-color: var(--accent-cyan);
    border-bottom-color: var(--accent-violet);
}

.ring-2 {
    width: 360px;
    height: 360px;
    animation: rotate 20s linear infinite reverse;
    border-left-color: var(--accent-violet);
    border-right-color: var(--accent-cyan);
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ai-status {
    position: absolute;
    bottom: -60px;
    background: rgba(20, 20, 35, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ==========================================================================
   Trust Section
   ========================================================================== */
.trust-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-card {
    padding: 32px;
    border-left: 2px solid var(--accent-cyan);
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.03), transparent);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.trust-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.125rem;
}

/* ==========================================================================
   Secondary CTA
   ========================================================================== */
.final-cta-section {
    padding-bottom: 120px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.8), rgba(10, 10, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    position: relative;
    z-index: 10;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 10;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 10;
}

.cta-bg-fx {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: rotateCta 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotateCta {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Vapi Voice Agent Widget
   ========================================================================== */
.vapi-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vapi-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.vapi-btn:active {
    transform: scale(0.95);
}

.vapi-btn i {
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.vapi-btn.active i {
    animation: pulseMic 1.5s infinite alternate;
}

@keyframes pulseMic {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.vapi-btn-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.6;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.vapi-btn.active .vapi-btn-glow {
    animation: intenseGlow 2s infinite alternate;
}

@keyframes intenseGlow {
    0% { opacity: 0.6; filter: blur(15px); }
    100% { opacity: 1; filter: blur(25px); }
}

.vapi-btn-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Fixed size — animation uses transform:scale instead of width/height
       to avoid triggering layout reflows on every frame */
    width: 65px;
    height: 65px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

.vapi-btn.active .vapi-btn-ring.ring-1 {
    animation: ripple 2s cubic-bezier(0.21, 0.53, 0.56, 0.8) infinite;
}

.vapi-btn.active .vapi-btn-ring.ring-2 {
    animation: ripple 2s cubic-bezier(0.21, 0.53, 0.56, 0.8) infinite 1s;
}

@keyframes ripple {
    /* GPU-composited: only transform and opacity — no layout reflows */
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.31);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .vapi-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #000;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links ul {
    gap: 12px;
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Responsive Updates II
   ========================================================================== */
@media (max-width: 1024px) {
    .ai-content {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* ── Canvas & ambient: neural network visible, content still leads ── */
    .hero-canvas {
        opacity: 0.42;   /* matrix rain readable as background layer */
    }

    .ambient-orb {
        opacity: 0.28;   /* warm atmospheric depth without flooding */
    }

    /* Orbs sized to frame content, not override it */
    .orb-1 {
        width: 65vw;
        height: 65vw;
    }

    .orb-2 {
        width: 75vw;
        height: 75vw;
    }

    .orb-3 {
        width: 50vw;
        height: 50vw;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    /* Category sub-titles smaller than main section title on mobile */
    .category-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .category-desc {
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 16px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Service cards: more compact on mobile */
    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .service-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .service-desc {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .services-grid {
        gap: 20px;
    }

    .services-category {
        margin-bottom: 40px;
    }

    .ai-visual {
        height: 300px;
    }
    
    .ai-orb-container {
        transform: scale(0.8);
    }

    .trust-card {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 32px 20px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }

}

/* ==========================================================================
   Responsive Defaults
   ========================================================================== */
@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(2, 2, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-light);
        padding: 32px 24px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 90;
    }

    .header.scrolled .main-nav {
        top: 70px;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .tech-decor {
        display: none;
    }
}

/* ==========================================================================
   Accessibility & Performance: Reduced Motion
   For users with vestibular disorders and low-power devices.
   Disabling heavy animations also benefits performance on those devices.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    /* Instant reveal — no fade/slide transitions */
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .service-card.reveal-scale,
    .process-step.reveal-left,
    .process-step.reveal,
    .process-step.reveal-right {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Reveal child elements immediately */
    .service-card.reveal-scale .service-icon,
    .service-card.reveal-scale .service-title,
    .service-card.reveal-scale .service-desc {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Stop continuous background animations */
    .ambient-orb,
    .about-glass-card::before,
    .card-ambient-glow,
    .animated-gradient,
    .ai-orb,
    .ai-ring,
    .process-line::after,
    .cta-bg-fx,
    .glow-dot,
    .glow-dot-blue,
    .cyber-dot,
    .status-dot,
    .pulse-ring::before,
    .wheel {
        animation: none !important;
    }

    /* Stop borderGlow on all card borders */
    .service-card::after,
    .process-step::after,
    .trust-card::after,
    .contact-form-container::after,
    .cta-box::after,
    .animated-border-box::before {
        animation: none !important;
    }

    /* Keep hover interactions but instant */
    .service-card,
    .btn,
    .process-step,
    .about-glass-card {
        transition: none !important;
    }
}