/* ============================================
   MiraiX — Futuristic Dark Theme
   ============================================ */

:root {
    --color-bg-deep: #050a15;
    --color-bg-card: rgba(10, 18, 37, 0.55);
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(0, 198, 255, 0.3);
    --color-text: #e2e8f0;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-white: #ffffff;
    --color-cyan: #00c6ff;
    --color-blue: #0072ff;
    --gradient-brand: linear-gradient(135deg, #00c6ff, #0072ff);
    --gradient-brand-hover: linear-gradient(135deg, #00d4ff, #0080ff);
    --gradient-glow: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 198, 255, 0.15), transparent 50%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1200px;
    --nav-height: 72px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-glow: 0 0 40px rgba(0, 198, 255, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================
   Global Background Layers
   ============================================ */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 198, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 198, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}

.bg-blob--1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.07) 0%, transparent 70%);
    top: -10%;
    right: -15%;
    animation: blobPulse1 8s ease-in-out infinite;
}

.bg-blob--2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 114, 255, 0.06) 0%, transparent 70%);
    top: 25%;
    left: -20%;
    animation: blobPulse2 11s ease-in-out infinite;
}

.bg-blob--3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.05) 0%, transparent 70%);
    top: 55%;
    right: -10%;
    animation: blobPulse3 14s ease-in-out infinite;
}

.bg-blob--4 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(80, 0, 255, 0.04) 0%, transparent 70%);
    top: 75%;
    left: -10%;
    animation: blobPulse1 16s ease-in-out infinite reverse;
}

.bg-blob--5 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.05) 0%, transparent 70%);
    top: 90%;
    right: 20%;
    animation: blobPulse2 12s ease-in-out infinite;
}

@keyframes blobPulse1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    33% { transform: translate(-40px, 30px) scale(1.15); opacity: 0.7; }
    66% { transform: translate(30px, -20px) scale(0.9); opacity: 1; }
}

@keyframes blobPulse2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(35px, -25px) scale(1.2); opacity: 1; }
}

@keyframes blobPulse3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, 15px) scale(1.1); }
    66% { transform: translate(-20px, -10px) scale(0.95); }
}

/* Section divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 198, 255, 0.15), rgba(0, 114, 255, 0.15), transparent);
    margin-bottom: 60px;
}

/* ---- Container ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    color: var(--color-white);
    line-height: 1.2;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient-brand);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text.shimmer {
    animation: shimmer 2.5s ease-in-out forwards;
}

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

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    will-change: transform;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--color-white);
    box-shadow: 0 4px 24px rgba(0, 114, 255, 0.3), 0 0 60px rgba(0, 198, 255, 0.1);
}

.btn-primary:hover {
    background: var(--gradient-brand-hover);
    box-shadow: 0 6px 32px rgba(0, 114, 255, 0.45), 0 0 80px rgba(0, 198, 255, 0.2);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-bg-deep);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 198, 255, 0.08);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 198, 255, 0.15);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 10, 21, 0.8);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

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

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

.logo-img--footer {
    height: 30px;
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
    letter-spacing: 0.01em;
}

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

.nav-cta {
    background: var(--gradient-brand);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all var(--transition) !important;
    box-shadow: 0 2px 16px rgba(0, 114, 255, 0.25);
}

.nav-cta:hover {
    box-shadow: 0 4px 24px rgba(0, 114, 255, 0.4);
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 860px;
    text-align: center;
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-wrap {
    position: relative;
    margin-bottom: 56px;
    left: -18px;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.12) 0%, rgba(0, 114, 255, 0.06) 40%, transparent 70%);
    animation: heroGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-logo {
    width: 360px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 40px rgba(0, 198, 255, 0.15));
    transform: scale(1.95);
    transform-origin: center center;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.75;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.btn-ghost:hover {
    color: var(--color-white);
    border-color: rgba(0, 198, 255, 0.3);
    background: rgba(0, 198, 255, 0.05);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-line {
    width: 1px;
    height: 48px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-cyan));
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--color-cyan);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.7s step-end infinite;
}

.typewriter-cursor.done {
    animation: cursorFadeOut 2.1s step-end forwards;
}

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

@keyframes cursorFadeOut {
    0%   { opacity: 1; }
    14%  { opacity: 0; }
    28%  { opacity: 1; }
    42%  { opacity: 0; }
    57%  { opacity: 1; }
    71%  { opacity: 0; }
    85%  { opacity: 1; }
    100% { opacity: 0; }
}

/* ============================================
   Sections (shared) — all transparent
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--gradient-brand);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-label.shimmer {
    animation: shimmer 2.5s ease-in-out forwards;
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin-bottom: 60px;
}

/* ============================================
   Cards (Glassmorphism)
   ============================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: all var(--transition);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

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

.card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.25);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ============================================
   Approach
   ============================================ */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.approach-col {
    border-radius: var(--radius);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.approach-old {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.approach-new {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.08), rgba(0, 114, 255, 0.08));
    border: 1px solid var(--color-border-hover);
    box-shadow: var(--shadow-glow);
}

.approach-header { margin-bottom: 28px; }

.approach-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.approach-header--old .approach-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
}

.approach-header--new .approach-tag {
    background: rgba(0, 198, 255, 0.12);
    color: var(--color-cyan);
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 15px;
    line-height: 1.5;
}

.approach-old .approach-list li {
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.approach-new .approach-list li {
    color: var(--color-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.08);
}

.approach-list li:last-child { border-bottom: none; }

.approach-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.approach-icon--old {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
}

.approach-icon--new {
    background: rgba(0, 198, 255, 0.12);
    color: var(--color-cyan);
}

/* ============================================
   End-to-End Solutions
   ============================================ */
.solutions-journey {
    position: relative;
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.solutions-track {
    position: absolute;
    top: 38px;
    left: 4%;
    width: 92%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 198, 255, 0.12), rgba(0, 114, 255, 0.5), rgba(0, 198, 255, 0.12));
    border-radius: 2px;
    overflow: hidden;
}

.solutions-track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateX(-100%);
    animation: trackSweep 3.6s ease-in-out infinite;
}

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

.solution-step {
    position: relative;
    z-index: 1;
    padding: 34px 26px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: rgba(7, 14, 29, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.solution-step::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-brand);
    box-shadow: 0 0 0 5px rgba(0, 198, 255, 0.08), 0 0 20px rgba(0, 198, 255, 0.4);
}

.solution-step:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
}

.solution-phase {
    display: inline-block;
    margin-left: 24px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-cyan);
}

.solution-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solution-points li {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.solution-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.85);
}

.solutions-highlight {
    margin-top: 30px;
    position: relative;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.08));
    overflow: hidden;
}

.solutions-highlight-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    top: -220px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.22), transparent 68%);
    pointer-events: none;
}

.solutions-highlight-content {
    position: relative;
    z-index: 1;
    padding: 30px 34px;
}

.solutions-highlight-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 10px;
}

.solutions-highlight-title {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 760px;
    margin-bottom: 20px;
}

.solutions-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.solutions-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-text);
    padding: 9px 14px;
}

/* ============================================
   Stats
   ============================================ */
.stats-section {
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

/* ============================================
   CTA / Contact
   ============================================ */
.cta {
    text-align: center;
    padding: 140px 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-logo {
    width: 220px;
    margin: 0 auto 52px;
    opacity: 0.9;
}

.cta-title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 44px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
    border-top: 1px solid var(--color-border);
    background: rgba(5, 10, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    width: 100%;
    text-align: center;
}

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

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal-up,
.reveal-scale,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-up { transform: translateY(40px); }
.reveal-scale { transform: scale(0.92); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-scale.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ============================================
   3D Tilt
   ============================================ */
[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
}

[data-tilt] .card-icon,
[data-tilt] .service-number {
    transform: translateZ(30px);
    transition: transform var(--transition);
}

[data-tilt] .card-title,
[data-tilt] .service-title {
    transform: translateZ(20px);
    transition: transform var(--transition);
}

/* ============================================
   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-up, .reveal-scale, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }
    #particleCanvas, .bg-grid, .bg-effects { display: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .solutions-journey { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .solutions-track { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 10, 21, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 0;
        border-left: 1px solid var(--color-border);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-cta {
        margin-top: 16px;
        text-align: center;
        border-bottom: none !important;
    }

    .hero { min-height: auto; padding: 130px 0 60px; }
    .hero-logo { width: 250px; transform: scale(1.65); }
    .hero-logo-glow { width: 500px; height: 500px; }
    .hero-logo-wrap { margin-bottom: 34px; left: 0; }
    .hero-title { font-size: clamp(28px, 7vw, 42px); }
    .hero-tagline { font-size: 12px; letter-spacing: 0.14em; }
    .hero-subtitle { font-size: 15px; line-height: 1.65; margin-bottom: 34px; }
    .hero-actions { flex-direction: column; gap: 12px; width: 100%; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-scroll-indicator { display: none; }
    .section { padding: 80px 0; }
    .cards { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
    .solutions-journey { grid-template-columns: 1fr; }
    .solution-step { padding: 30px 22px 22px; }
    .solution-title { font-size: 18px; }
    .solutions-highlight-content { padding: 24px 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .cta { padding: 80px 0; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .bg-grid { display: none; }
    .logo-img { height: 36px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero-logo { width: 210px; transform: scale(1.45); }
    .hero-logo-glow { width: 360px; height: 360px; }
    .hero-logo-wrap { margin-bottom: 24px; left: 0; }
    .hero-title { font-size: 28px; }
    .section-title { font-size: 26px; }
    .stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .approach-col { padding: 28px 24px; }
    .card { padding: 32px 24px; }
    .service-item { padding: 28px 24px; }
}
