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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Surfaces */
    --bg-base: #050810;
    --bg-deep: #03050b;
    --bg-surface: #0a0f1a;
    --bg-card: rgba(14, 21, 36, 0.55);

    /* Text */
    --text-main: #f1f5f9;
    --text-muted: #97a6bd;
    --text-dim: #64748b;

    /* Lines */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    /* Accents */
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --cyan: #22d3ee;
    --indigo: #818cf8;
    --neon-blue: #2563eb;
    --neon-light: #60a5fa;
    --neon-glow: rgba(56, 189, 248, 0.25);

    /* Gradients */
    --grad-accent: linear-gradient(135deg, #2563eb 0%, #3b82f6 45%, #22d3ee 100%);
    --grad-text: linear-gradient(120deg, #93c5fd 0%, #38bdf8 48%, #a5b4fc 100%);
    --grad-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));

    /* Glass */
    --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
    --glass-blur: blur(20px) saturate(135%);
    --glass-blur-sm: blur(12px) saturate(130%);

    /* Shadows */
    --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
    --shadow-glow: 0 0 0 1px rgba(96, 165, 250, 0.35), 0 18px 50px -18px rgba(37, 99, 235, 0.55);
    --shadow-btn: 0 10px 30px -8px rgba(37, 99, 235, 0.6);

    /* Radii */
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;

    --font-main: 'Hanken Grotesk', sans-serif;
    --font-display: 'Space Grotesk', 'Hanken Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-index scale */
    --z-bg: -2;
    --z-base: 1;
    --z-raised: 10;
    --z-header: 1000;
    --z-overlay: 9999;
}

@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}
@property --mesh-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

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

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(56, 189, 248, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 10px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1440px; width: 92%; margin: 0 auto; }
.section-padding { padding: 130px 0; }
.relative { position: relative; }
.z-10 { z-index: var(--z-raised); }

.text-blue {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.bg-surface { background-color: var(--bg-surface); }
.bg-card { background-color: var(--bg-card); }
.border-t { border-top: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }
.border-y { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.9rem; }
.text-lg { font-size: 1.2rem; line-height: 1.7; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1.5rem; }
.pb-1 { padding-bottom: 0.75rem; }
.pt-4 { padding-top: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.justify-center { justify-content: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; } .mt-4 { margin-top: 4rem; }
.gap-2 { gap: 1.5rem; }
.w-full { width: 100%; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.col-span-2 { grid-column: span 2; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1.05rem 2.2rem; border-radius: 50px; font-weight: 600; font-size: 0.98rem;
    cursor: pointer; position: relative; overflow: hidden; white-space: nowrap;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
    will-change: transform;
}
.btn .ico { transition: transform 0.35s var(--ease-out); }
.btn:hover .ico:not(.ico-spin) { transform: translateX(4px); }

.btn-primary {
    background: var(--grad-accent); color: #fff; border: 1px solid transparent;
    box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-18deg); transition: left 0.7s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(37, 99, 235, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary:hover::after { left: 130%; }

.btn-glass {
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    color: var(--text-main); border: 1px solid var(--border-strong);
}
.btn-glass:hover { transform: translateY(-3px); border-color: rgba(96, 165, 250, 0.5); box-shadow: 0 0 30px -5px rgba(56, 189, 248, 0.4); color: #fff; }

/* ============================================================
   BACKGROUND SYSTEM
   ============================================================ */
.bg-layers { position: fixed; inset: 0; z-index: var(--z-bg); overflow: hidden; pointer-events: none; }

.aurora { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; mix-blend-mode: screen; }
.aurora-1 { width: 50vw; height: 50vw; top: -15%; left: -10%; background: radial-gradient(circle, #1d4ed8, transparent 65%); animation: drift 22s ease-in-out infinite; }
.aurora-2 { width: 45vw; height: 45vw; top: 30%; right: -12%; background: radial-gradient(circle, #0e7490, transparent 65%); animation: drift 26s ease-in-out infinite reverse; animation-delay: -8s; }
.aurora-3 { width: 40vw; height: 40vw; bottom: -10%; left: 25%; background: radial-gradient(circle, #4338ca, transparent 65%); animation: drift 30s ease-in-out infinite; animation-delay: -15s; }
.aurora-4 { width: 38vw; height: 38vw; top: 45%; left: 45%; background: radial-gradient(circle, #0891b2, transparent 65%); animation: drift 34s ease-in-out infinite reverse; opacity: 0.35; }

.bg-mesh {
    position: absolute; inset: -10%; opacity: 0.35; mix-blend-mode: screen; contain: paint;
    background: conic-gradient(from var(--mesh-angle) at 50% 40%,
        rgba(37, 99, 235, 0.25), rgba(34, 211, 238, 0.18) 25%,
        rgba(129, 140, 248, 0.22) 50%, rgba(37, 99, 235, 0.12) 75%,
        rgba(37, 99, 235, 0.25) 100%);
    filter: blur(100px);
    animation: meshRotate 90s linear infinite;
}
@keyframes meshRotate {
    to { --mesh-angle: 360deg; }
}

.ambient-orb { position: absolute; border-radius: 50%; filter: blur(150px); opacity: 0.28; }
.orb-1 { width: 500px; height: 500px; background: var(--neon-blue); top: -8%; left: -6%; }
.orb-2 { width: 700px; height: 700px; background: #0e2a4f; bottom: -20%; right: -10%; }

.bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.bg-noise {
    position: absolute; inset: 0; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(4%, 6%) scale(1.12); }
}

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: var(--z-overlay); background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: var(--grad-accent); box-shadow: 0 0 12px rgba(56, 189, 248, 0.7); }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.main-header {
    position: fixed; top: 0; width: 100%; padding: 1.3rem 0; z-index: var(--z-header);
    background: rgba(6, 9, 16, 0.5); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.main-header.scrolled { padding: 0.85rem 0; background: rgba(5, 8, 14, 0.8); box-shadow: 0 12px 40px -14px rgba(0, 0, 0, 0.7); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.logo-dot {
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.desktop-nav { display: flex; align-items: center; }
.nav-link { position: relative; margin: 0 1.4rem; font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px; background: var(--grad-accent); transition: width 0.35s var(--ease-out); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: #fff; }

.header-action { display: flex; align-items: center; gap: 1rem; }
.header-action .btn { padding: 0.85rem 1.8rem; font-size: 0.92rem; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 12px; background: var(--glass-bg); border: 1px solid var(--border-strong); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); z-index: 999;
    background: rgba(7, 11, 19, 0.85); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--border-strong); padding: 7rem 2rem 2rem;
    transform: translateX(100%); transition: transform 0.45s var(--ease-out); box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.7);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav .nav-link { margin: 0; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--border-color); }
.mobile-nav .nav-link::after { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 130px; padding-bottom: 60px; }
.hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.hero-content { flex: 1.25; max-width: 820px; }
.hero-visual { flex: 0.85; display: flex; justify-content: flex-end; }

.badge {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1.25rem; border-radius: 50px;
    font-size: 0.8rem; letter-spacing: 0.3px; margin-bottom: 2rem; color: var(--text-muted);
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border: 1px solid var(--border-strong);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.4s ease-out infinite; }

.hero h1 { font-size: clamp(2.5rem, 5vw, 4.9rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1.6rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 580px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.sub-title { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 1.1rem; color: var(--text-muted); font-weight: 500; }
.sub-title .ico { width: 0.66em; height: 0.66em; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 3.2rem; }
.hero-stat { padding-right: 2.2rem; }
.hero-stat + .hero-stat { padding-left: 2.2rem; border-left: 1px solid var(--border-color); }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat span { display: block; margin-top: 0.5rem; color: var(--text-muted); font-size: 0.85rem; }

/* Orbital visual */
.orbital { position: relative; width: min(520px, 100%); aspect-ratio: 1 / 1; animation: floatY 7s ease-in-out infinite; }
.orbit-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07); }
.ring-1 { width: 100%; height: 100%; animation: spin 28s linear infinite; }
.ring-2 { width: 74%; height: 74%; border-style: dashed; border-color: rgba(96, 165, 250, 0.18); animation: spin 22s linear infinite reverse; }
.ring-3 { width: 50%; height: 50%; animation: spin 16s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px 2px var(--cyan); }
.ring-2::before { background: var(--indigo); box-shadow: 0 0 16px 2px var(--indigo); }

.orbit-node {
    position: absolute; width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--blue-light); z-index: 4;
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-strong); box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: floatNode 5.5s ease-in-out infinite;
}
.node-1 { top: -3%; left: 50%; transform: translateX(-50%); }
.node-2 { bottom: 6%; left: -2%; animation-delay: 1.1s; }
.node-3 { top: 42%; right: -5%; animation-delay: 0.5s; }

.orbit-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 62%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.abstract-shape { position: absolute; inset: 0; }
.shape-layer { position: absolute; inset: 0; border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
.layer-1 { border: 1.5px solid rgba(96, 165, 250, 0.5); animation: morph 9s linear infinite; }
.layer-2 { border: 1.5px solid rgba(255, 255, 255, 0.08); animation: morph 13s linear infinite reverse; }
.layer-3 { background: radial-gradient(circle at 35% 30%, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.12) 45%, transparent 70%); filter: blur(6px); animation: morph 11s linear infinite; }

.core-glass {
    position: relative; z-index: 3; display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 1.25rem; border-radius: 14px;
    background: rgba(9, 14, 24, 0.65); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-strong); box-shadow: var(--shadow-card);
}
.core-pulse { flex-shrink: 0; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); animation: pulse 2.2s infinite; }
.core-label strong { display: block; font-family: var(--font-main); font-size: 0.92rem; color: #fff; }
.core-label small { color: var(--text-muted); font-size: 0.76rem; }

/* ============================================================
   GLASS CARD PRIMITIVE (features, services, why-us)
   ============================================================ */
.feature-box, .service-card {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color); border-radius: var(--r-lg);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.feature-box::before, .service-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--border-angle), var(--blue), var(--cyan), var(--indigo), var(--blue));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.45s var(--ease-out);
}
@media (hover: hover) {
    .feature-box:hover::before, .service-card:hover::before { animation: borderRotate 2.6s linear infinite; }
}
.feature-box::after, .service-card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, 0.20), transparent 62%);
    opacity: 0; transition: opacity 0.5s var(--ease-out);
}
@media (hover: hover) {
    .feature-box:hover, .service-card:hover {
        transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
        box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(96, 165, 250, 0.15);
    }
}
@media (hover: none) {
    .feature-box:active, .service-card:active { transform: translateY(-4px); }
}
.feature-box:hover::before, .service-card:hover::before, .feature-box:hover::after, .service-card:hover::after { opacity: 1; }

.core-features { margin-top: -70px; position: relative; z-index: var(--z-raised); }
.feature-box { padding: 3rem 2.5rem; }
.feature-box .icon {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px;
    font-size: 1.7rem; color: var(--blue-light); margin-bottom: 1.6rem;
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.06)); border: 1px solid var(--border-strong);
}
.feature-box h3 { font-size: 1.45rem; margin-bottom: 0.9rem; }
.feature-box h4 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.feature-box p { color: var(--text-muted); font-size: 1rem; }

.section-header { margin-bottom: 2.5rem; max-width: 900px; }
.section-header h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.center.section-header { margin-left: auto; margin-right: auto; text-align: center; }
.center.section-header .sub-title { justify-content: center; }

/* Services */
.service-card { padding: 3rem 2.5rem; }
.service-card .num { position: absolute; top: 1.6rem; right: 2rem; font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08); color: transparent; }
.service-card .icon {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px;
    font-size: 1.7rem; color: var(--blue-light); margin-bottom: 1.6rem;
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.06)); border: 1px solid var(--border-strong);
}
.service-card h3 { font-size: 1.55rem; margin-bottom: 0.85rem; }
.service-card p { color: var(--text-muted); font-size: 1rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-images { position: relative; }
.img-main { border-radius: var(--r-lg); border: 1px solid var(--border-color); width: 100%; height: 640px; object-fit: cover; box-shadow: var(--shadow-card); }
.img-sub { position: absolute; bottom: -45px; right: -40px; width: 52%; border-radius: var(--r-md); border: 6px solid var(--bg-base); box-shadow: var(--shadow-card); }
.floating-stat {
    position: absolute; top: 45px; left: -45px; padding: 1.75rem 2rem; border-radius: var(--r-md);
    background: rgba(9, 14, 24, 0.6); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-strong); box-shadow: var(--shadow-card);
}
.floating-stat h2 { font-size: 2.8rem; margin-bottom: 0.2rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.floating-stat .unit { font-size: 1.7rem; }
.floating-stat p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.4; }

.about-content { padding-left: 1.5rem; }
.about-content p { color: var(--text-muted); font-size: 1.12rem; margin-bottom: 2.5rem; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin-bottom: 2.5rem; }
.about-list li { display: flex; align-items: center; gap: 0.85rem; font-weight: 500; font-size: 1.05rem; }
.about-list li .ico { color: var(--blue-light); }

/* ============================================================
   PORTFOLIO — CATEGORY HEADERS
   ============================================================ */
.cat-header { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.cat-index {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 1px;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cat-index::after { content: "//"; -webkit-text-fill-color: var(--text-dim); margin-left: 0.65rem; font-weight: 500; }
.cat-header h3 { font-family: var(--font-display); font-size: 1.18rem; letter-spacing: 0.5px; color: var(--text-main); }
.cat-line { flex: 1 1 60px; height: 1px; background: linear-gradient(90deg, var(--border-strong), rgba(96, 165, 250, 0.18) 40%, transparent); }
.cat-count { font-size: 0.74rem; color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; font-weight: 600; }

/* ============================================================
   PORTFOLIO — PROJECT CARDS (01)
   ============================================================ */
.project-card { cursor: pointer; display: block; position: relative; }
.project-card .img-wrapper {
    position: relative; isolation: isolate; border-radius: var(--r-md); overflow: hidden;
    border: 1px solid var(--border-color); aspect-ratio: 3 / 2; box-shadow: var(--shadow-card);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.project-card.wide .img-wrapper { aspect-ratio: 2.4 / 1; }
.project-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease-out); }

/* Gradient ring (::before) + glare sweep (::after) */
.project-card .img-wrapper::before {
    content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--border-angle), var(--blue), var(--cyan), var(--indigo), var(--blue));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.45s var(--ease-out);
}
@media (hover: hover) {
    .project-card:hover .img-wrapper::before { animation: borderRotate 2.6s linear infinite; }
}
.project-card .img-wrapper::after {
    content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%; z-index: 3; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    transform: skewX(-18deg); transition: left 0.9s var(--ease-out);
}
.project-card:hover .img-wrapper::before, .project-card:focus-visible .img-wrapper::before { opacity: 0.85; }
.project-card:hover .img-wrapper::after { left: 140%; }
.project-card:hover .img-wrapper, .project-card:focus-visible .img-wrapper {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 34px 80px -32px rgba(0, 0, 0, 0.95), 0 0 44px -10px rgba(37, 99, 235, 0.35);
}
.project-card:hover img { transform: scale(1.05); }

.view-overlay {
    position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
    padding: 1.6rem 1.75rem;
    background: linear-gradient(to top, rgba(3, 5, 11, 0.92) 0%, rgba(3, 5, 11, 0.45) 38%, transparent 62%);
    opacity: 0; transition: opacity 0.45s var(--ease-out);
}
.overlay-text { transform: translateY(14px); transition: transform 0.5s var(--ease-out); }
.overlay-tag { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--blue-light); margin-bottom: 0.4rem; font-weight: 600; }
.overlay-text h4 { font-size: 1.3rem; color: #fff; }
.overlay-icon {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 1rem;
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--border-strong);
    transform: translateY(14px); transition: transform 0.5s var(--ease-out) 0.05s;
}
.project-card:hover .view-overlay, .project-card:focus-visible .view-overlay { opacity: 1; }
.project-card:hover .overlay-text, .project-card:hover .overlay-icon,
.project-card:focus-visible .overlay-text, .project-card:focus-visible .overlay-icon { transform: translateY(0); }

/* ============================================================
   PORTFOLIO — VIDEO SHOWCASE (02)
   ============================================================ */
.video-showcase { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.video-swiper {
    padding: 2.5rem 0;
    perspective: 1800px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.video-swiper .swiper-wrapper { transform-style: preserve-3d; }
.video-swiper .swiper-slide {
    width: min(880px, 76vw);
    transform: scale(0.88) rotateY(var(--cf-rotate, 0deg)); opacity: 0.35; filter: saturate(0.6) brightness(0.75);
    transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out);
    transform-origin: center center;
}
.video-swiper .swiper-slide-active { transform: scale(1) rotateY(var(--cf-rotate, 0deg)); opacity: 1; filter: none; }

.video-frame {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border-strong); background: #000;
    box-shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.9);
    transition: box-shadow 0.9s var(--ease-out);
}
.swiper-slide-active .video-frame {
    box-shadow: 0 50px 110px -38px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(96, 165, 250, 0.22), 0 0 70px -18px rgba(37, 99, 235, 0.45);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 5, 11, 0.78), transparent 42%); pointer-events: none; }
.video-meta {
    position: absolute; left: 1.9rem; bottom: 1.7rem; right: 1.9rem; pointer-events: none;
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.7s var(--ease-out) 0.25s, transform 0.7s var(--ease-out) 0.25s;
}
.swiper-slide-active .video-meta { opacity: 1; transform: none; }
.video-tag {
    padding: 0.34rem 0.95rem; border-radius: 50px; font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; color: var(--blue-light);
    background: rgba(9, 14, 24, 0.55); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm);
    border: 1px solid rgba(96, 165, 250, 0.28);
}
.video-meta h4 { font-size: clamp(1.1rem, 2vw, 1.55rem); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }

.showcase-controls { display: flex; align-items: center; justify-content: center; gap: 1.75rem; padding: 0 max(4vw, 1.25rem); }
.ctrl-btn {
    width: 56px; height: 56px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: #fff;
    display: flex; justify-content: center; align-items: center; transition: var(--transition);
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--border-strong);
}
.ctrl-btn:hover { background: var(--grad-accent); border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-btn); }
.showcase-progress { display: flex; align-items: center; gap: 1.25rem; flex: 0 1 340px; }
.showcase-counter { font-family: var(--font-display); font-size: 0.85rem; color: var(--text-dim); letter-spacing: 2px; white-space: nowrap; }
.showcase-counter b { color: #fff; font-weight: 600; }
.progress-track { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.progress-track span {
    position: absolute; inset: 0; border-radius: inherit; background: var(--grad-accent);
    transform: scaleX(0); transform-origin: left;
}

/* ============================================================
   PORTFOLIO — POSTER CONVEYOR (03)
   ============================================================ */
.poster-marquee {
    position: relative; width: 100vw; margin-left: calc(50% - 50vw);
    padding: 2.2rem 0 2.6rem; overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.poster-marquee::-webkit-scrollbar { display: none; }
.poster-marquee.is-live { overflow: hidden; cursor: grab; touch-action: pan-y; }
.poster-marquee.is-live.dragging { cursor: grabbing; }
.poster-marquee:not(.is-live) .poster-track { padding: 0 4vw; }
.poster-track { display: flex; gap: 1.75rem; width: max-content; will-change: transform; }

.poster-item {
    position: relative; flex-shrink: 0; isolation: isolate;
    height: 540px; aspect-ratio: var(--ar, 0.72);
    border-radius: var(--r-md); overflow: hidden; cursor: pointer;
    border: 1px solid var(--border-color); background: var(--bg-card); box-shadow: var(--shadow-card);
    transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.poster-item::before {
    content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--border-angle), var(--blue), var(--cyan), var(--indigo), var(--blue));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.45s var(--ease-out);
}
@media (hover: hover) {
    .poster-item:hover::before, .poster-item:focus-visible::before { animation: borderRotate 2.6s linear infinite; }
}
.poster-item img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.poster-item:hover, .poster-item:focus-visible {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-10px);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 36px 80px -30px rgba(0, 0, 0, 0.95), 0 0 50px -12px rgba(37, 99, 235, 0.4);
}
.poster-item:hover::before, .poster-item:focus-visible::before { opacity: 0.85; }

.poster-overlay {
    position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem;
    padding: 1.4rem;
    background: linear-gradient(to top, rgba(3, 5, 11, 0.9), rgba(3, 5, 11, 0.3) 36%, transparent 58%);
    opacity: 0; transition: opacity 0.45s var(--ease-out);
}
.poster-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff; transform: translateY(10px); transition: transform 0.5s var(--ease-out); align-self: flex-end; }
.poster-overlay .overlay-icon { width: 42px; height: 42px; font-size: 0.9rem; }
.poster-item:hover .poster-overlay, .poster-item:focus-visible .poster-overlay { opacity: 1; }
.poster-item:hover .poster-name, .poster-item:hover .overlay-icon,
.poster-item:focus-visible .poster-name, .poster-item:focus-visible .overlay-icon { transform: translateY(0); }

.strip-hint {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    color: var(--text-dim); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}
.strip-hint .ico { color: var(--blue-light); width: 0.95em; height: 0.95em; }
.mobile-only { display: none; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(2, 4, 9, 0.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); z-index: var(--z-overlay); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; display: flex; transform: scale(0.94); transition: transform 0.4s var(--ease-out); }
.modal-overlay.active .lightbox-content { transform: scale(1); }
.lightbox-content img { max-width: 100%; max-height: 86vh; border-radius: var(--r-sm); border: 1px solid var(--border-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8); }
.lightbox-caption { position: absolute; left: 50%; bottom: -2.4rem; transform: translateX(-50%); color: var(--text-muted); font-size: 0.88rem; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.close-modal { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; z-index: 10; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border: 1px solid var(--border-strong); color: #fff; cursor: pointer; font-size: 1.2rem; transition: var(--transition); }
.close-modal:hover { color: var(--cyan); transform: rotate(90deg); border-color: rgba(96, 165, 250, 0.5); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); padding: 2.25rem 0; overflow: hidden; display: flex; width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee { display: flex; width: max-content; animation: scrollLeft 26s linear infinite; }
.marquee-wrapper:hover .marquee { animation-play-state: paused; }
.marquee-content { display: flex; }
.marquee-content span { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; margin: 0 3rem; display: flex; align-items: center; gap: 1.25rem; color: rgba(255, 255, 255, 0.55); }
.marquee-content span .ico { width: 1.1rem; height: 1.1rem; }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-visual img { border-radius: var(--r-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-card); }
.process-timeline { display: flex; flex-direction: column; }
.timeline-step { display: flex; gap: 2.25rem; padding: 1.75rem; margin-bottom: 0.5rem; border-radius: var(--r-md); border: 1px solid transparent; opacity: 0.55; transition: var(--transition); cursor: pointer; }
.timeline-step:hover, .timeline-step.active { opacity: 1; background: var(--glass-bg); border-color: var(--border-color); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); }
.step-num { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--blue-light); letter-spacing: 1px; flex-shrink: 0; }
.timeline-step.active .step-num, .timeline-step:hover .step-num { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step-info h4 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.step-info p { color: var(--text-muted); font-size: 1rem; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us .feature-box { padding: 2.75rem 2.25rem; }
.why-us .icon { width: 56px; height: 56px; font-size: 1.5rem; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.detail-row { display: flex; gap: 1.1rem; align-items: flex-start; }
.detail-row .icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; font-size: 1.1rem; color: var(--blue-light); background: linear-gradient(160deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.06)); border: 1px solid var(--border-strong); }
.detail-row h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.detail-row p { color: var(--text-muted); }

.contact-form {
    padding: 3rem; border-radius: var(--r-lg);
    background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color); box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
input, select, textarea {
    width: 100%; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border-color); padding: 1.15rem 1.25rem;
    border-radius: var(--r-sm); color: var(--text-main); font-family: inherit; font-size: 1rem; transition: var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
select { color: var(--text-dim); }
select option { background: var(--bg-surface); color: var(--text-main); }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(96, 165, 250, 0.6); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12); }
textarea { resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: var(--z-raised); background: rgba(6, 9, 16, 0.5); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); }
.footer h2 { font-family: var(--font-display); }
.footer p { color: var(--text-muted); }
.footer h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.footer ul li { margin-bottom: 0.85rem; font-size: 1rem; color: var(--text-muted); }
.footer ul li a:hover { color: var(--blue-light); padding-left: 4px; }
.footer-bottom { color: var(--text-dim); }

/* ============================================================
   SCROLL REVEAL (initial states; JS animates to visible)
   ============================================================ */
.gs-fade-up, .gs-fade-left, .gs-fade-right, .gs-zoom-in { will-change: transform, opacity; }

/* ============================================================
   PREMIUM MICRO-INTERACTIONS & A11Y POLISH
   ============================================================ */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 4px;
}
.btn:active { transform: translateY(-1px) scale(0.985); }

/* Living gradient on headline accents */
h1 .text-blue, h2 .text-blue { background-size: 220% auto; animation: gradFlow 8s ease-in-out infinite; }
@keyframes gradFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Icon lift on card hover */
.service-card .icon, .feature-box .icon, .detail-row .icon {
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.service-card:hover .icon, .feature-box:hover .icon {
    transform: translateY(-5px); border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 14px 30px -12px rgba(37, 99, 235, 0.55);
}

/* Custom select chevron */
select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2397a6bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1.15rem center; background-size: 14px;
    padding-right: 3rem; cursor: pointer;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes floatNode { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.node-1 { animation-name: floatNodeCentered; }
@keyframes floatNodeCentered { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-14px); } }
@keyframes morph {
    0% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg); }
    50% { border-radius: 62% 38% 42% 58% / 58% 56% 44% 42%; }
    100% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; transform: rotate(360deg); }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes spin360 { to { transform: rotate(360deg); } }
@keyframes borderRotate { to { --border-angle: 360deg; } }
@keyframes cueFall { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }

/* ============================================================
   INLINE SVG ICON SYSTEM (replaces Font Awesome webfont)
   ============================================================ */
.ico {
    width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico-fill { fill: currentColor; stroke: none; }
.ico-accent { color: var(--blue-light); }
.ico-bullet { width: 0.6em; height: 0.6em; fill: currentColor; stroke: none; }
.ico-spin { animation: spin360 0.8s linear infinite; transform-origin: 50% 50%; }

/* ============================================================
   CURSOR GLOW (desktop pointer only)
   ============================================================ */
.cursor-glow {
    position: fixed; top: 0; left: 0; width: 540px; height: 540px; border-radius: 50%;
    margin: -270px 0 0 -270px; pointer-events: none; z-index: -1; opacity: 0;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.13), rgba(37, 99, 235, 0.05) 42%, transparent 68%);
    mix-blend-mode: screen; will-change: transform; transition: opacity 0.5s ease;
}

/* ============================================================
   CINEMATIC REVEAL (scroll-driven clip-path)
   ============================================================ */
.reveal-scroll { position: relative; height: 230vh; z-index: var(--z-raised); }
.reveal-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.reveal-depth {
    position: absolute; inset: 0; perspective: 1200px; transform-style: preserve-3d;
}
.reveal-bg {
    position: absolute; inset: 0;
    background: url("art-reveal.svg") center center / cover no-repeat;
    clip-path: inset(0 round 0px); will-change: clip-path, transform;
    transform-style: preserve-3d;
}
.reveal-layer {
    position: absolute; inset: -10%; pointer-events: none; transform-style: preserve-3d;
    will-change: transform, opacity;
}
.reveal-grid-layer {
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
    opacity: 0.5;
}
.reveal-glow-layer {
    background: radial-gradient(circle at 30% 35%, rgba(37, 99, 235, 0.35), transparent 50%),
                radial-gradient(circle at 75% 65%, rgba(34, 211, 238, 0.28), transparent 50%);
    filter: blur(60px);
    mix-blend-mode: screen;
    opacity: 0.5;
}
.reveal-orbit-layer {
    background: radial-gradient(circle at 50% 50%, transparent 28%, rgba(129, 140, 248, 0.15) 29%, rgba(129, 140, 248, 0.15) 29.5%, transparent 30.5%),
                radial-gradient(circle at 50% 50%, transparent 38%, rgba(56, 189, 248, 0.12) 39%, rgba(56, 189, 248, 0.12) 39.5%, transparent 40.5%);
    opacity: 0.4;
}
.reveal-grain {
    position: absolute; inset: 0; opacity: 0.05; pointer-events: none; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.reveal-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 6%;
    background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(3, 5, 11, 0.74), rgba(3, 5, 11, 0.42) 70%, rgba(3, 5, 11, 0.7));
}
.reveal-inner { max-width: 840px; position: relative; }
.reveal-inner .sub-title { justify-content: center; }
.reveal-inner h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 0; }
.reveal-inner p { color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 560px; margin: 1.5rem auto 2.4rem; }
.reveal-scrollcue {
    position: absolute; left: 50%; bottom: 6vh; width: 26px; height: 42px; margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 14px;
}
.reveal-scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--blue-light); animation: cueFall 1.8s var(--ease-out) infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .container { width: 90%; }
}

@media (max-width: 992px) {
    .section-padding { padding: 90px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2.5rem; }
    .col-span-2 { grid-column: span 1; }
    .hero { min-height: auto; padding-top: 120px; }
    .hero-layout { flex-direction: column; text-align: left; gap: 2.5rem; position: relative; overflow: hidden; }
    .hero-content { position: relative; z-index: 1; }
    .hero-visual {
        position: absolute; top: -40px; right: -10%; width: 55%; max-width: 280px;
        opacity: 0.55; pointer-events: none; z-index: 0;
    }
    .orbital { width: 100%; }
    .hero-stats {
        margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color);
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    }
    .hero-stat { padding: 0 !important; border: none !important; text-align: left; }
    .hero-stat strong { font-size: 1.7rem; }
    .desktop-nav, .header-action .btn { display: none; }
    .nav-toggle { display: flex; }
    .about-images {
        position: relative; display: grid; grid-template-columns: 1fr;
        padding-top: 1rem; padding-right: 18%; margin-bottom: 4rem;
    }
    .about-content { padding-left: 0; }
    .img-main { height: 380px; }
    .img-sub {
        display: block; position: absolute; bottom: -30px; right: -4%;
        width: 48%; border-width: 4px;
    }
    .floating-stat {
        position: absolute; top: -1rem; left: -0.5rem; padding: 1.1rem 1.4rem;
        max-width: 180px;
    }
    .floating-stat h2 { font-size: 1.9rem; }
    .floating-stat p { font-size: 0.78rem; }
    .portfolio-category .grid-2 {
        width: 100vw; margin-left: calc(50% - 50vw);
        padding: 0 4vw 0.5rem;
        display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .portfolio-category .grid-2::-webkit-scrollbar { display: none; }
    .portfolio-category .grid-2 > .project-card { flex: 0 0 82vw; scroll-snap-align: center; }
    .portfolio-category .grid-2 > .project-card.wide { flex: 0 0 90vw; }
    .portfolio-category .grid-2 .project-card .img-wrapper { aspect-ratio: 4 / 3; }
    .portfolio-category .grid-2 .project-card.wide .img-wrapper { aspect-ratio: 3 / 2; }
    .mobile-only { display: flex; }
    .video-swiper .swiper-slide { width: 86vw; }
    .video-meta { left: 1.3rem; bottom: 1.2rem; right: 1.3rem; }
    .poster-item { height: 460px; }
    .contact-form { padding: 2rem; }
    .reveal-scroll { height: 185vh; }
}

@media (max-width: 560px) {
    .container { width: 90%; }
    .feature-box, .service-card { padding: 2.25rem 1.75rem; }
    .hero-visual { display: none; }
    .hero-stats { grid-template-columns: 1fr; gap: 0.85rem; }
    .hero-stat strong { font-size: 1.6rem; }
    .marquee-content span { font-size: 1.4rem; margin: 0 2rem; }
    .about-list { grid-template-columns: 1fr; }
    .about-images { padding-right: 22%; padding-top: 1.5rem; }
    .img-main { height: 300px; }
    .img-sub { width: 50%; bottom: -20px; }
    .floating-stat { max-width: 150px; padding: 0.9rem 1.1rem; }
    .floating-stat h2 { font-size: 1.6rem; }
    .floating-stat p { font-size: 0.72rem; line-height: 1.3; }
    .timeline-step { gap: 1.25rem; padding: 1.25rem; }
    .close-modal { top: -56px; right: 0; }
    .video-swiper .swiper-slide { width: 88vw; }
    .video-swiper { padding: 1.5rem 0; }
    .showcase-controls { gap: 1rem; }
    .ctrl-btn { width: 48px; height: 48px; }
    .showcase-progress { flex: 1 1 auto; }
    .portfolio-category .grid-2 > .project-card,
    .portfolio-category .grid-2 > .project-card.wide { flex: 0 0 88vw; }
    .poster-item { height: 390px; }
    .poster-track { gap: 1.1rem; }
    .overlay-text h4 { font-size: 1.1rem; }
    .view-overlay { padding: 1.1rem 1.2rem; }
    .overlay-icon { width: 40px; height: 40px; font-size: 0.85rem; }
    .cat-header { gap: 0.85rem; }
    .strip-hint { font-size: 0.68rem; letter-spacing: 1.2px; }
    .reveal-scroll { height: 165vh; }
    .reveal-inner p { font-size: 1.02rem; }
}

/* ============================================================
   MOBILE PERFORMANCE
   Heavy backdrop-filter blur and constantly-animating fixed
   background layers are the main GPU/compositing cost behind
   janky scrolling on phones & tablets. Trim them below 993px;
   desktop (>992px) keeps the original glass/aurora look.
   ============================================================ */
@media (max-width: 992px) {
    :root {
        --glass-blur: blur(8px) saturate(120%);
        --glass-blur-sm: blur(6px) saturate(115%);
    }
    .aurora { filter: blur(60px); animation: none; }
    .bg-mesh { filter: blur(50px); animation: none; }
    .ambient-orb { filter: blur(80px); }
    .reveal-depth { perspective: none; }
    .reveal-bg, .reveal-layer { transform-style: flat; will-change: auto; }
}

/* Hide custom cursor glow on touch devices */
@media (hover: none) {
    .cursor-glow { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .gs-fade-up, .gs-fade-left, .gs-fade-right, .gs-zoom-in { opacity: 1 !important; transform: none !important; }
}
