/* ============================================
   CREATO VERSE DIGITAL — Master Stylesheet
   Inspired by Refokus, MetaLab & DEPT®
   ============================================ */

/* ─── CSS Variables ─── */
:root {
    --primary: #0066FF;
    --primary-light: #38BDF8;
    --primary-dark: #0047BA;
    --accent: #00F0FF;
    --accent-light: #5EEAD4;
    --accent-glow: rgba(0, 240, 255, 0.45);
    --bg-dark: #040814;
    --bg-darker: #020409;
    --bg-card: rgba(8, 16, 36, 0.6);
    --bg-card-hover: rgba(0, 102, 255, 0.12);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #748399;
    --glass-bg: rgba(8, 16, 36, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 240, 255, 0.4);
    --gradient: linear-gradient(135deg, #0052FF 0%, #00F0FF 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(0, 82, 255, 0.15), rgba(0, 240, 255, 0.08));
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Syne', var(--font-heading);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: var(--font-main);
    --font-mono: 'JetBrains Mono', monospace;
    --color-cyan: var(--accent);
    --nav-height: 80px;
    --container-max: 1280px;
    --container-padding: 24px;
}

/* ─── Custom Luxury Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020409;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0052FF, #00F0FF);
    border-radius: 9999px;
    border: 2px solid #020409;
}
::-webkit-scrollbar-thumb:hover {
    background: #00F0FF;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    position: relative;
}

/* ─── Ambient Noise & Film Grain Overlay ─── */
.noise-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9995;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

::selection {
    background: var(--primary);
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    border: none;
    background: none;
    cursor: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ─── Utility: Glass ─── */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ─── Utility: Gradient Text ─── */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 0.08em;
    padding-right: 0.04em;
    vertical-align: baseline;
}

/* ─── Utility: Shimmer Text ─── */
.shimmer-text {
    background: linear-gradient(90deg, #FFFFFF 0%, #38BDF8 25%, #00F0FF 50%, #38BDF8 75%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 6s linear infinite;
}

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

/* ─── Utility: Refokus Outline Display Typography ─── */
.text-outline {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    letter-spacing: -0.01em;
}

.text-outline:hover {
    -webkit-text-stroke: 1.5px var(--accent);
    -webkit-text-fill-color: rgba(0, 240, 255, 0.12);
    text-shadow: 0 0 35px rgba(0, 240, 255, 0.45);
    transform: translateY(-2px);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.preloader-logo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, rgba(0, 240, 255, 0.08) 70%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 35px rgba(0, 102, 255, 0.4), 0 0 70px rgba(0, 240, 255, 0.2);
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.7));
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto 16px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    animation: preloaderFill 2s var(--transition) forwards;
}

.preloader-text {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: preloaderFade 1s ease infinite alternate;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes preloaderFade {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s var(--transition),
                height 0.3s var(--transition),
                border-color 0.3s ease,
                background 0.3s ease,
                transform 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background: rgba(0, 240, 255, 0.12);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-dot.hover {
    transform: translate(-50%, -50%) scale(0);
}

/* ============================================
   NAVIGATION (Floating Glass Capsule)
   ============================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 40px));
    height: 68px;
    z-index: 1000;
    padding: 0 28px;
    display: flex;
    align-items: center;
    border-radius: 9999px;
    background: rgba(6, 12, 28, 0.68);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.14);
    transition: all 0.4s var(--transition);
}

.navbar.scrolled {
    top: 12px;
    height: 64px;
    background: rgba(3, 7, 18, 0.92);
    border-color: rgba(0, 240, 255, 0.28);
    box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 240, 255, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
    transition: transform 0.3s var(--transition);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, rgba(0, 240, 255, 0.1) 70%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.35);
    transition: all 0.3s var(--transition);
    overflow: hidden;
    flex-shrink: 0;
}

.nav-logo:hover .logo-mark {
    transform: scale(1.08) rotate(3deg);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    display: flex;
    align-items: baseline;
}

.logo-creato {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo-verse {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--accent);
    margin-top: 2px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

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

.nav-links a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient);
    transition: width 0.3s var(--transition);
}

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

.nav-links a.active {
    color: #FFFFFF;
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sound-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.3);
}

.sound-toggle-btn.active {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.45);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.sound-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.sound-bars span {
    width: 2px;
    height: 4px;
    background: currentColor;
    border-radius: 1px;
    transition: height 0.2s ease;
}

.sound-toggle-btn.active .sound-bars span:nth-child(1) { animation: soundBar 0.8s ease-in-out infinite alternate; }
.sound-toggle-btn.active .sound-bars span:nth-child(2) { animation: soundBar 0.8s ease-in-out 0.2s infinite alternate; }
.sound-toggle-btn.active .sound-bars span:nth-child(3) { animation: soundBar 0.8s ease-in-out 0.4s infinite alternate; }

@keyframes soundBar {
    0% { height: 3px; }
    100% { height: 12px; }
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition), box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 102, 255, 0.5), 0 0 60px rgba(0, 240, 255, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(40px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-link {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s var(--transition);
    padding: 8px 0;
    letter-spacing: -0.02em;
}

.mobile-menu-link:hover {
    color: var(--text-primary);
    transform: translateX(10px);
}

.mobile-menu-cta {
    margin-top: 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px var(--container-padding) 60px;
    overflow: hidden;
    text-align: center;
}

/* Canvas host styling for the v4.0 global stage lives in the
   "GLOBAL WEBGL COSMOS STAGE" block near the end of this file. */
.webgl-global-canvas canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.hero-orb {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.22) 0%, rgba(0, 82, 255, 0) 70%);
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
    z-index: 0;
}

.hero-orb-2 {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0, 240, 255, 0) 70%);
    filter: blur(70px);
    top: 25%;
    right: 8%;
    pointer-events: none;
    animation: orbFloat2 10s ease-in-out infinite;
    z-index: 0;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 163, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 163, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33% { transform: translate(-45%, -55%) scale(1.1); }
    66% { transform: translate(-55%, -45%) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    border: 1px solid rgba(0, 240, 255, 0.32);
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.2), rgba(0, 240, 255, 0.08));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    margin-bottom: 32px;
    text-transform: uppercase;
}

.badge-status-text {
    color: #34D399;
    font-weight: 700;
}

.badge-status-sep {
    color: rgba(255, 255, 255, 0.25);
}

.badge-status-sub {
    color: var(--text-secondary);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: badgePulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 7vw, 92px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero-title-line {
    display: block;
}

.title-period {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 660px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.typed-text-wrapper {
    color: var(--primary-light);
    font-weight: 600;
}

.typed-cursor {
    animation: cursorBlink 1s ease-in-out infinite;
    font-weight: 300;
    color: var(--primary-light);
}

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

.hero-cta {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition), box-shadow 0.3s ease;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 30px -8px rgba(0, 102, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 102, 255, 0.6), 0 0 70px rgba(0, 240, 255, 0.45);
}

.btn-large {
    padding: 20px 48px;
    font-size: 17px;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    transition: all 0.3s var(--transition);
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* ============================================
   HYPER-REALISTIC SPATIAL COMMAND CONSOLE (Creato Growth OS)
   ============================================ */
.hero-console-wrap {
    width: 100%;
    max-width: 960px;
    margin: 54px auto 0;
    position: relative;
    z-index: 2;
    perspective: 1200px;
}

.spatial-console {
    background: linear-gradient(180deg, rgba(10, 20, 48, 0.75) 0%, rgba(3, 7, 18, 0.92) 100%);
    border: 1px solid rgba(0, 240, 255, 0.28);
    border-radius: 20px;
    box-shadow: 
        0 30px 80px -15px rgba(0, 0, 0, 0.85),
        0 0 50px rgba(0, 102, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 0 30px rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.spatial-console:hover {
    box-shadow: 
        0 40px 100px -20px rgba(0, 0, 0, 0.95),
        0 0 65px rgba(0, 240, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-color: rgba(0, 240, 255, 0.45);
}

.console-glare {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 240, 255, 0.04) 35%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transition: background 0.1s ease-out;
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: rgba(3, 7, 18, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.console-dots {
    display: flex;
    gap: 7px;
}

.c-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.c-dot.red { background: #FF5F56; }
.c-dot.yellow { background: #FFBD2E; }
.c-dot.green { background: #27C93F; }

.console-url-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 14px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-secondary);
}

.console-domain {
    color: #FFFFFF;
}

.console-tag-status {
    font-size: 10px;
    color: #34D399;
    letter-spacing: 0.05em;
}

.console-badge-live {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #38BDF8;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.06em;
}

.console-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 16px;
    padding: 22px;
    position: relative;
    z-index: 2;
}

.console-card {
    background: rgba(6, 12, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.console-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(8, 16, 38, 0.85);
    transform: translateY(-2px);
}

.c-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.c-card-title {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.c-card-badge {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.c-card-badge.green {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.c-card-badge.cyan {
    background: rgba(0, 240, 255, 0.15);
    color: #38BDF8;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.c-card-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.c-sub {
    font-size: 10.5px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 500;
}

/* Sparkline Chart */
.sparkline-chart {
    height: 48px;
    width: 100%;
}

.spark-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.spark-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawSpark 3s cubic-bezier(0.16, 1, 0.3, 1) forwards infinite alternate;
}

.spark-dot {
    filter: drop-shadow(0 0 6px #00F0FF);
}

@keyframes drawSpark {
    0% { stroke-dashoffset: 300; }
    100% { stroke-dashoffset: 0; }
}

/* Retention Meter */
.retention-meter {
    margin-top: 6px;
}

.meter-bar-track {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 6px;
}

.meter-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #0052FF 0%, #00F0FF 100%);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
    animation: meterGlow 2.5s ease-in-out infinite alternate;
}

@keyframes meterGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--text-muted);
}

.meter-labels .highlight {
    color: var(--accent);
    font-weight: 700;
}

/* Stream List */
.console-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.stream-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.stream-entry {
    animation: streamSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes streamSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stream-item strong {
    color: #FFFFFF;
}

.s-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.s-dot.green { background: #10B981; box-shadow: 0 0 6px #10B981; }
.s-dot.cyan  { background: #00F0FF; box-shadow: 0 0 6px #00F0FF; }
.s-dot.blue  { background: #0052FF; box-shadow: 0 0 6px #0052FF; }

/* Stats Ribbon */
.stats-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-top: 80px;
    padding: 28px 48px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    background: rgba(7, 15, 34, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 25px 50px -15px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 0 10px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 1px;
}

.scroll-line-fill {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    animation: scrollLine 2s var(--transition) infinite;
    transform-origin: top;
}

@keyframes scrollLine {
    0% { transform: scaleY(0) translateY(0); }
    50% { transform: scaleY(1) translateY(0); }
    100% { transform: scaleY(0) translateY(100%); }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.marquee-wrapper {
    overflow: hidden;
    margin-bottom: 16px;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-reverse .marquee-track {
    animation: marqueeScrollReverse 35s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(15px, 1.6vw, 20px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    padding: 10px 22px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.marquee-item:hover {
    color: #FFFFFF;
    background: rgba(0, 102, 255, 0.14);
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.22);
    transform: translateY(-2px);
}

.marquee-logo-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.marquee-item:hover .marquee-logo-icon {
    opacity: 1;
    stroke: var(--accent);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.7));
    transform: scale(1.12);
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 68px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 16px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin-bottom: 16px;
    overflow: visible;
    padding-bottom: 4px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================
   SERVICES — BENTO GRID
   ============================================ */
.services-section {
    padding: 130px 0;
    position: relative;
}

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

.bento-card {
    position: relative;
    padding: 38px 34px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 15, 34, 0.58);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 45px -15px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.4s var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 240, 255, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.bento-card:hover {
    border-color: rgba(0, 240, 255, 0.38);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 25px 55px -10px rgba(0, 102, 255, 0.24), 0 0 35px rgba(0, 240, 255, 0.12);
}

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

.bento-card.large {
    grid-column: span 2;
}

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

.bento-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--accent);
    transition: all 0.4s var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bento-card:hover .bento-card-icon {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.bento-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    color: #FFFFFF;
}

.bento-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 420px;
}

.bento-card-number {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: -0.05em;
    line-height: 1;
    transition: color 0.5s ease;
    z-index: 1;
}

.bento-card:hover .bento-card-number {
    color: rgba(255, 255, 255, 0.05);
}

/* Bento Card Visuals */
.bento-card-visual {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 60%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.bento-card:hover .bento-card-visual {
    opacity: 0.7;
}

/* Film strips & Live Timecode for Video */
.bento-visual-film {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transform: rotate(-8deg) translate(10%, 10%);
}

.film-timecode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 80, 0.4);
    font-family: var(--font-mono);
    font-size: 11px;
    color: #FF3366;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.2);
}

.rec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF3366;
    animation: recBlink 1s ease-in-out infinite alternate;
}

@keyframes recBlink {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.film-wave-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
    padding-right: 12px;
}

.wave-bar {
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: waveBounce 1.2s ease-in-out infinite alternate;
}
.wave-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 60%; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 90%; animation-delay: 0.15s; }
.wave-bar:nth-child(6) { height: 50%; animation-delay: 0.35s; }
.wave-bar:nth-child(7) { height: 75%; animation-delay: 0.25s; }

@keyframes waveBounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1.1); }
}

.film-strip-row {
    display: flex;
    gap: 4px;
}

.film-strip {
    width: 26px;
    height: 140px;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 102, 255, 0.4) 0px,
        rgba(0, 102, 255, 0.4) 16px,
        transparent 16px,
        transparent 22px
    );
    border-radius: 4px;
    opacity: 0.35;
    animation: filmScroll 3s linear infinite;
}

.film-strip:nth-child(2) { animation-delay: -1s; opacity: 0.25; }
.film-strip:nth-child(3) { animation-delay: -2s; opacity: 0.18; }

@keyframes filmScroll {
    from { transform: translateY(0); }
    to { transform: translateY(-44px); }
}

/* 3D Wireframe Cube for Motion Graphics */
.bento-visual-cube-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
}

.wireframe-cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: spinCube 12s linear infinite;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1.5px solid rgba(0, 240, 255, 0.4);
    background: rgba(0, 102, 255, 0.08);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.15);
}

.cube-face.front  { transform: rotateY(0deg) translateZ(30px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(30px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(30px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(30px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(30px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(30px); }

@keyframes spinCube {
    0% { transform: rotateX(15deg) rotateY(0deg); }
    100% { transform: rotateX(15deg) rotateY(360deg); }
}

/* Precision Branding Vector Grid & CMYK swatches */
.bento-visual-branding-system {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.branding-crosshair-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-circle-guide {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.35);
    animation: guideRotate 16s linear infinite;
}

@keyframes guideRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.branding-swatch-row {
    display: flex;
    gap: 6px;
}

.b-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.b-swatch.c1 { background: #0052FF; }
.b-swatch.c2 { background: #00F0FF; }
.b-swatch.c3 { background: #38BDF8; }
.b-swatch.c4 { background: #0A0F24; }

/* Poster stack */
.poster-stack {
    position: absolute;
    bottom: 20%;
    right: 20%;
}

.poster-card {
    width: 50px;
    height: 70px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    position: absolute;
}

.poster-card:nth-child(1) { transform: rotate(-5deg); background: rgba(0, 102, 255, 0.15); border-color: rgba(0, 102, 255, 0.3); }
.poster-card:nth-child(2) { transform: rotate(3deg) translate(10px, -8px); background: rgba(0, 240, 255, 0.12); border-color: rgba(0, 240, 255, 0.3); }
.poster-card:nth-child(3) { transform: rotate(-2deg) translate(20px, -16px); background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 240, 255, 0.15)); border-color: rgba(0, 240, 255, 0.4); }

/* Browser mockup for Landing Pages */
.bento-visual-browser {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 8px;
}

.browser-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.browser-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--glass-border);
}

.browser-dots span:first-child { background: rgba(255, 95, 87, 0.5); }
.browser-dots span:nth-child(2) { background: rgba(255, 189, 46, 0.5); }
.browser-dots span:nth-child(3) { background: rgba(40, 201, 65, 0.5); }

.browser-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.browser-line {
    height: 4px;
    border-radius: 2px;
    background: var(--glass-border);
}

.browser-line.w-60 { width: 60%; }
.browser-line.w-80 { width: 80%; }
.browser-line.w-40 { width: 40%; }

.browser-block {
    width: 100%;
    height: 30px;
    border-radius: 4px;
    background: var(--glass-bg);
    margin-top: 4px;
}

/* ============================================
   PORTFOLIO (Refokus-Grade Interactive Showcase)
   ============================================ */
.portfolio-section {
    padding: 130px 0;
    background: var(--bg-darker);
    position: relative;
}

/* ─── MetaLab-Style Category Filter Bar ─── */
.portfolio-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.filter-pill:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.filter-pill.active {
    background: var(--gradient);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.45), 0 0 50px rgba(0, 240, 255, 0.25);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 700;
    color: inherit;
    font-family: var(--font-mono);
}

.filter-pill.active .filter-count {
    background: rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
}

.project-item.filtered-out {
    display: none !important;
}

.project-item.fade-in {
    animation: projectFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes projectFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 36px;
    border-radius: 20px;
    background: rgba(7, 15, 34, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: all 0.4s var(--transition);
    overflow: hidden;
    text-decoration: none;
}

.project-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s var(--transition);
}

.project-item:hover {
    padding-left: 44px;
    background: rgba(10, 22, 52, 0.72);
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.project-item:hover::before {
    opacity: 1;
    width: 5px;
}

.project-info {
    display: flex;
    align-items: center;
    gap: 28px;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.22);
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.project-name {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: all 0.3s ease;
    color: #FFFFFF;
}

.project-item:hover .project-name {
    color: #FFFFFF;
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.project-tag {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 100px;
    white-space: nowrap;
}

.project-roi-badge {
    font-size: 12px;
    font-weight: 700;
    color: #34D399;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.32);
    border-radius: 100px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.project-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--transition);
    flex-shrink: 0;
}

.project-item:hover .project-arrow {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    transform: rotate(-45deg) scale(1.08);
    box-shadow: 0 0 22px rgba(0, 240, 255, 0.6);
}

/* ─── Refokus-Style Floating Interactive Preview Cards ─── */
.project-preview {
    position: fixed;
    width: 340px;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s var(--transition);
    box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.25);
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: rgba(7, 15, 34, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.project-item:hover .project-preview {
    opacity: 1;
}

.pp-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.12), transparent 70%);
}

.pp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.pp-window-dots {
    display: flex;
    gap: 6px;
}

.pp-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.pp-window-dots span:nth-child(1) { background: #FF5F56; }
.pp-window-dots span:nth-child(2) { background: #FFBD2E; }
.pp-window-dots span:nth-child(3) { background: #27C93F; }

.pp-url-bar {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.03em;
}

.pp-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(0, 102, 255, 0.25);
    color: #38BDF8;
    border: 1px solid rgba(0, 240, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 10px;
}

.pp-headline {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
    line-height: 1.2;
}

.pp-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: #34D399;
    margin-top: 4px;
}

.pp-mockup-graphic {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 140px;
    height: 90px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(0, 240, 255, 0.15));
    border: 1px solid rgba(0, 240, 255, 0.3);
    transform: rotate(-6deg);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pp-mockup-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.pp-mockup-bar.w-70 { width: 70%; background: var(--accent); }
.pp-mockup-bar.w-40 { width: 40%; }

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 120px 0;
    position: relative;
}

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

.about-text .section-label {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat {
    padding: 32px 28px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s var(--transition);
}

.about-stat:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
}

.about-stat-number {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: 120px 0;
    background: var(--bg-darker);
}

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

.process-step {
    padding: 36px 28px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s var(--transition);
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
}

.process-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.process-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 20px;
    transition: all 0.4s var(--transition);
}

.process-step:hover .process-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.process-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-line {
    position: absolute;
    top: 50%;
    right: -24px;
    width: 24px;
    height: 1px;
    background: var(--glass-border);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 120px 0;
}

.testimonial-container {
    overflow: hidden;
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s var(--transition);
    width: 100%;
    align-items: stretch;
}

.testimonial-card {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 56px 52px;
    border-radius: 28px;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(7, 15, 36, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.quote-watermark {
    position: absolute;
    top: -15px;
    right: 32px;
    font-family: Georgia, serif;
    font-size: 150px;
    line-height: 1;
    color: rgba(0, 240, 255, 0.04);
    pointer-events: none;
    user-select: none;
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.testimonial-stars {
    font-size: 18px;
    color: var(--accent);
    letter-spacing: 4px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.verified-client-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #34D399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 5px 12px;
    border-radius: 9999px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.testimonial-text {
    font-size: clamp(17px, 1.85vw, 21px);
    font-weight: 400;
    line-height: 1.85;
    color: #F8FAFC;
    margin-bottom: 32px;
    font-style: italic;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    position: relative;
    z-index: 2;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    border: 2px solid rgba(0, 240, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.testimonial-author {
    display: block;
    font-family: var(--font-heading);
    font-size: 16.5px;
    font-weight: 700;
    font-style: normal;
    color: #FFFFFF;
}

.testimonial-role {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.7);
    transform: scale(1.2);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.28) 0%, transparent 70%);
    filter: blur(90px);
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.cta-orb-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.22) 0%, transparent 70%);
    filter: blur(90px);
    bottom: 0;
    right: 10%;
    pointer-events: none;
    animation: orbFloat2 10s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    padding: 72px 48px;
    border-radius: 32px;
    background: rgba(7, 15, 36, 0.65);
    border: 1px solid rgba(0, 240, 255, 0.28);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 102, 255, 0.22);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5.2vw, 62px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.14;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    padding: 90px 0 0;
    border-top: 1px solid rgba(0, 163, 255, 0.16);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 4, 10, 0.95) 100%);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.18) 0%, rgba(0, 240, 255, 0.05) 50%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: transform 0.3s var(--transition);
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

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

.footer-email {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-block;
    margin-bottom: 28px;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--accent);
}

.footer-newsletter-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-input-group {
    display: flex;
    gap: 0;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.footer-input-group:focus-within {
    border-color: var(--primary);
}

.footer-input-group input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
}

.footer-input-group input::placeholder {
    color: var(--text-muted);
}

.footer-input-group button {
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-input-group button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

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

.footer-heart {
    color: var(--accent);
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
}

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

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
    transition-delay: var(--delay, 0s);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
    transition-delay: var(--delay, 0s);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.large {
        grid-column: span 2;
    }

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

    .process-line {
        display: none;
    }

    .about-content {
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
        --container-padding: 20px;
    }

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-dot,
    .project-preview {
        display: none !important;
    }

    .navbar {
        width: calc(100% - 24px);
        top: 12px;
        height: 60px;
        padding: 0 16px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 52px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats-ribbon {
        flex-direction: column;
        gap: 24px;
        padding: 28px 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .scroll-indicator {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.large {
        grid-column: span 1;
    }

    .bento-card {
        min-height: 240px;
    }

    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 22px 20px;
    }

    .project-item:hover {
        padding-left: 20px;
    }

    .project-meta {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding-left: 0;
    }

    .project-arrow {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .cta-content {
        padding: 48px 20px;
        border-radius: 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-text .section-title,
    .about-text .section-label {
        text-align: center;
    }

    .about-description {
        text-align: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .testimonial-text {
        font-size: 17px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-about {
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto 24px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-title {
        font-size: clamp(28px, 7vw, 44px);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 16px 40px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .project-name {
        font-size: 20px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about-stat {
        padding: 24px 16px;
    }
    .about-stat-number {
        font-size: 32px;
    }
}
/* ============================================
   BENTO GRID SERVICES — EXPANDED ENHANCEMENTS
   ============================================ */
.bento-card.wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 44px;
}

.bento-card.highlight-card {
    border-color: rgba(0, 163, 255, 0.35);
    background: radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.15) 0%, rgba(3, 7, 18, 0.85) 70%);
}

.bento-card.highlight-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

.service-pill-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 5px 12px;
    border-radius: 100px;
}

.service-pill.cyan {
    color: var(--accent);
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.service-pill.green {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.live-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulseDot 1.8s ease-in-out infinite;
}

.live-pulse.cyan {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.live-pulse.green {
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.service-stat-badge {
    font-size: 11px;
    font-weight: 700;
    color: #CBD5E1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 100px;
}

.service-stat-badge.green {
    color: #34D399;
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
}

.bento-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.card-tag {
    font-size: 11px;
    font-weight: 500;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.bento-card:hover .card-tag {
    border-color: rgba(0, 240, 255, 0.25);
    color: #E2E8F0;
}

/* ─── Bento Visual: Ads mini chart ─── */
.bento-visual-ads {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 220px;
    height: 140px;
}

.mini-ads-chart {
    background: rgba(3, 10, 28, 0.7);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 14px;
    padding: 14px 16px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.chart-header-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #CBD5E1;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pulse-dot-mini {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}

.chart-bars-mini {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 60px;
}

.c-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.7) 0%, rgba(0, 102, 255, 0.2) 100%);
    border-radius: 4px 4px 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4px;
    position: relative;
    transition: height 0.5s ease;
}

.c-bar span {
    font-size: 9px;
    font-weight: 700;
    color: #CBD5E1;
    position: absolute;
    top: -16px;
}

.c-bar.highlight {
    background: linear-gradient(180deg, var(--accent) 0%, rgba(0, 102, 255, 0.7) 100%);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.c-bar.highlight span {
    color: var(--accent);
}

/* ─── Bento Visual: Social Viral ─── */
.bento-visual-social {
    position: absolute;
    bottom: 24px;
    right: 24px;
}

.mini-reel-badge-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.mini-reel-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(0, 240, 255, 0.2));
    border: 1px solid rgba(0, 240, 255, 0.4);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.play-icon-mini {
    font-size: 9px;
    color: var(--accent);
}

.mini-reach-chip {
    font-size: 11px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ─── Bento Wide Visual: SEO Google Preview ─── */
.bento-wide-visual {
    position: relative;
    z-index: 2;
}

.mini-google-preview {
    background: rgba(3, 10, 28, 0.75);
    border: 1px solid rgba(0, 163, 255, 0.25);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.mg-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.mg-rank-tag {
    font-size: 10px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: 100px;
}

.mg-snippet {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.06);
    border: 1px solid rgba(0, 163, 255, 0.25);
    margin-bottom: 16px;
}

.mg-url {
    font-size: 11px;
    color: #94A3B8;
    margin-bottom: 4px;
}

.mg-title {
    font-size: 14px;
    font-weight: 700;
    color: #38BDF8;
    margin-bottom: 6px;
    line-height: 1.3;
}

.mg-desc {
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.5;
}

.mg-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mg-m {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 6px;
    border-radius: 8px;
}

.mg-m strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #10B981;
}

.mg-m span {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

@media (max-width: 992px) {
    .bento-card.wide {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

/* ─── Large Displays ─── */
@media (min-width: 1920px) {
    :root {
        --container-max: 1440px;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   1. BEFORE / AFTER TRANSFORMATION SECTION
   ============================================ */
.transformation-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
}

.transform-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.transform-tab {
    padding: 10px 24px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-body);
}

.transform-tab:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.transform-tab.active {
    background: var(--gradient);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.5), 0 0 45px rgba(0, 240, 255, 0.3);
}

.ba-slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.15);
    background: #030712;
    aspect-ratio: 16 / 9;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.ba-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
}

.ba-before {
    background: radial-gradient(circle at 30% 50%, #1e1e24 0%, #0d0d11 100%);
    z-index: 1;
}

.ba-after {
    background: radial-gradient(circle at 70% 50%, rgba(0, 82, 255, 0.3) 0%, #030712 100%);
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    transition: clip-path 0.05s linear;
}

.ba-badge {
    position: absolute;
    top: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10;
}

.before-badge {
    left: 24px;
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.after-badge {
    right: 24px;
    background: rgba(16, 185, 129, 0.18);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.ba-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-mockup-inner {
    text-align: center;
    max-width: 500px;
}

.ba-metric-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.ba-metric-chip.red {
    background: rgba(239, 68, 68, 0.12);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.ba-metric-chip.green {
    background: rgba(16, 185, 129, 0.15);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.ba-preview-art {
    padding: 30px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hyper-Realistic Timeline & Cinema HUD */
.ba-editor-timeline {
    margin-bottom: 14px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
}

.ba-timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 24px;
    background: #18181F;
    border-radius: 4px;
    padding: 0 10px;
}

.track-block.uncolored {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #94A3B8;
}

.track-dropoff {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #EF4444;
    background: rgba(239, 68, 68, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.ba-cinema-hud {
    background: rgba(0, 10, 28, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.hud-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.hud-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #38BDF8;
    background: rgba(0, 102, 255, 0.25);
    padding: 2px 8px;
    border-radius: 100px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.hud-timecode {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #00F0FF;
    letter-spacing: 0.05em;
}

.hud-lut {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.hud-waveform {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    width: 100%;
}

.hud-waveform span {
    flex: 1;
    background: linear-gradient(180deg, #00F0FF, #0052FF);
    border-radius: 2px;
    animation: hudWave 1.4s ease-in-out infinite alternate;
}
.hud-waveform span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.hud-waveform span:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.hud-waveform span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.hud-waveform span:nth-child(4) { height: 100%; animation-delay: 0.4s; }
.hud-waveform span:nth-child(5) { height: 75%; animation-delay: 0.15s; }
.hud-waveform span:nth-child(6) { height: 85%; animation-delay: 0.35s; }
.hud-waveform span:nth-child(7) { height: 50%; animation-delay: 0.25s; }
.hud-waveform span:nth-child(8) { height: 95%; animation-delay: 0.45s; }

@keyframes hudWave {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.1); }
}

.raw-art {
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 500;
}

.cinema-art {
    border-color: rgba(0, 240, 255, 0.4);
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(3, 7, 18, 0.9) 80%);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.2);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #FFFFFF;
    z-index: 20;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
    transition: left 0.05s linear;
}

.ba-handle-line {
    width: 100%;
    height: 100%;
    background: var(--gradient);
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #030712;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
    transition: transform 0.2s ease;
}

.ba-handle:hover .ba-handle-circle {
    transform: translate(-50%, -50%) scale(1.15);
}

/* ============================================
   2. INTERACTIVE FAQ ACCORDION
   ============================================ */
.faq-section {
    padding: 120px 0;
    position: relative;
    background: var(--bg-dark);
}

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 15, 34, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(10, 22, 52, 0.65);
}

.faq-item.active {
    border-color: rgba(0, 240, 255, 0.45);
    background: rgba(10, 22, 52, 0.85);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    font-family: var(--font-heading);
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 700;
    color: #FFFFFF;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 20px;
    transition: color 0.3s ease;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.35s var(--transition);
}

.faq-item.active .faq-icon {
    background: var(--gradient);
    color: #FFFFFF;
    transform: rotate(45deg);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.faq-answer strong {
    color: #FFFFFF;
}

/* ============================================
   3. CASE STUDY SLIDE-OVER DRAWER MODAL
   ============================================ */
.case-study-drawer {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.case-study-drawer.active {
    opacity: 1;
    visibility: visible;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.drawer-panel {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 100%;
    background: #050B18;
    border-left: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    overflow-y: auto;
}

.case-study-drawer.active .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    background: rgba(5, 11, 24, 0.95);
    backdrop-filter: blur(16px);
    z-index: 10;
}

.drawer-client-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drawer-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #EF4444;
    color: #EF4444;
    transform: rotate(90deg);
}

.drawer-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.drawer-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-stat-item strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: #34D399;
}

.drawer-stat-item span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.drawer-section-heading {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

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

.drawer-deliverables {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.drawer-deliverables li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #E2E8F0;
}

.drawer-deliverables li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 800;
}

.drawer-cta {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   4. FLOATING WHATSAPP QUICK CHAT WIDGET
   ============================================ */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
}

.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.8;
    animation: whatsappPulse 2.4s cubic-bezier(0.25, 0, 0, 1) infinite;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    visibility: hidden;
    background: rgba(7, 15, 34, 0.95);
    border: 1px solid rgba(37, 211, 102, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.wa-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 8px #25D366;
    flex-shrink: 0;
}

.wa-text-group {
    display: flex;
    flex-direction: column;
}

.wa-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
}

.wa-sub {
    font-size: 10.5px;
    color: #34D399;
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .ba-slider-container {
        aspect-ratio: 4 / 3;
    }
    .ba-layer {
        padding: 20px;
    }
    .floating-whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-btn {
        width: 52px;
        height: 52px;
    }
    .whatsapp-tooltip {
        display: none;
    }
    .drawer-panel {
        max-width: 100%;
    }
    .drawer-header {
        padding: 20px 24px;
    }
    .drawer-body {
        padding: 24px;
    }
    .drawer-stats-ribbon {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   REFOKUS KINETIC TYPOGRAPHY BANNER
   ============================================ */
.kinetic-ribbon-section {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0) 0%, rgba(0, 82, 255, 0.05) 50%, rgba(3, 7, 18, 0) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kinetic-ribbon-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    animation: kineticScroll 42s linear infinite;
}

.kinetic-ribbon-track:hover {
    animation-play-state: paused;
}

.kinetic-item {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    font-family: var(--font-display);
    font-size: clamp(34px, 5.5vw, 68px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    user-select: none;
}

.kinetic-item .k-outline {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
    color: transparent;
    transition: -webkit-text-stroke 0.3s ease;
}

.kinetic-item:hover .k-outline {
    -webkit-text-stroke: 1.5px var(--accent);
}

.kinetic-item .k-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kinetic-star {
    color: var(--accent);
    font-size: 0.6em;
    filter: drop-shadow(0 0 12px var(--accent));
}

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

/* Refokus-Style Cursor Project Badge */
.cursor.cursor-project {
    width: 95px;
    height: 95px;
    background: rgba(0, 102, 255, 0.88);
    border: 1px solid rgba(0, 240, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.cursor.cursor-project::after {
    content: 'VIEW ↗';
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.08em;
}

.cursor-dot.cursor-project {
    opacity: 0;
}

/* ============================================
   METALAB INTERACTIVE PROJECT INQUIRY MODAL
   ============================================ */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 10, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(10, 20, 48, 0.96) 0%, rgba(3, 7, 18, 0.98) 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 102, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-step-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #38BDF8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-step-title .step-num {
    background: rgba(0, 102, 255, 0.3);
    color: #FFFFFF;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.modal-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.modal-chip {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(0, 240, 255, 0.3);
}

.modal-chip.active {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.modal-chip-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.2s ease;
}

.modal-chip.active .modal-chip-check {
    background: var(--accent);
    border-color: var(--accent);
    color: #030712;
    font-weight: 800;
}

.modal-budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.budget-chip {
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
}

.budget-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(0, 240, 255, 0.3);
}

.budget-chip.active {
    background: var(--gradient);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.modal-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.modal-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-input-group.full {
    grid-column: 1 / -1;
}

.modal-label {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(4, 9, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: 13.5px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

textarea.modal-input {
    resize: vertical;
    min-height: 75px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.modal-submit-btn {
    width: 100%;
    padding: 15px 24px;
    border-radius: 14px;
    background: var(--gradient);
    border: none;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.45);
}

.modal-wa-btn {
    width: 100%;
    padding: 13px 24px;
    border-radius: 14px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #34D399;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.modal-wa-btn:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: #25D366;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.modal-success-screen {
    text-align: center;
    padding: 30px 10px;
    display: none;
}

.modal-success-screen.active {
    display: block;
}

.success-badge-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10B981;
    color: #10B981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

/* Legal Modal (Privacy & Terms) */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.legal-modal.active {
    opacity: 1;
    visibility: visible;
}

.legal-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    background: #04091A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.legal-content h3 {
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.legal-content p, .legal-content li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

/* Toast Notice */
.toast-notice {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    visibility: hidden;
    padding: 12px 24px;
    background: rgba(7, 15, 34, 0.95);
    border: 1px solid var(--accent);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-size: 13px;
    border-radius: 100px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.3);
    z-index: 10005;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-notice.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .modal-card {
        padding: 28px 20px;
    }
    .modal-fields-grid {
        grid-template-columns: 1fr;
    }
    .modal-chips-grid {
        grid-template-columns: 1fr;
    }
    .modal-budget-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   ADVANCED TOPIC-SPECIFIC TRANSFORMATION MOCKUPS
   ============================================ */
.ba-visual-slot {
    margin-bottom: 14px;
    width: 100%;
}

.ba-ads-bad-hud,
.ba-ads-scaled-hud,
.ba-landing-bad-hud,
.ba-landing-scaled-hud,
.ba-branding-bad-hud,
.ba-branding-scaled-hud {
    width: 100%;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--font-mono);
    text-align: left;
}

.ba-ads-bad-hud,
.ba-landing-bad-hud {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.ba-ads-scaled-hud {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.ba-landing-scaled-hud {
    background: rgba(0, 102, 255, 0.14);
    border: 1px solid rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.ba-branding-bad-hud {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    text-align: left;
}

.ba-branding-scaled-hud {
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.15) 0%, rgba(3, 7, 18, 0.85) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
    text-align: left;
}

.ba-hud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.ba-hud-stat {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 4px;
    border-radius: 6px;
    text-align: center;
}

.ba-hud-stat strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.ba-hud-stat strong.red {
    color: #F87171;
}

.ba-hud-stat strong.green {
    color: #34D399;
}

.ba-hud-stat span {
    display: block;
    font-size: 9.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   2. GLOBAL WEBGL COSMOS STAGE (v4.0 ENGINE)
   ============================================ */
.webgl-global-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s var(--transition);
}

body.webgl-live .webgl-global-canvas {
    opacity: 1;
}

/* Fallback grid — always rendered, dimmed once the GL stage is alive */
.webgl-fallback-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.045) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 10%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 10%, transparent 100%);
    transition: opacity 1.2s var(--transition);
}

body.webgl-live .webgl-fallback-grid {
    opacity: 0.18;
}

body.webgl-disabled .webgl-fallback-grid {
    opacity: 0.8;
}

body.webgl-disabled .webgl-global-canvas {
    display: none !important;
}

body.webgl-lite .webgl-fallback-grid {
    opacity: 0.4;
}

body.webgl-reduced-motion .webgl-fallback-grid {
    opacity: 0.3;
}

/* NOTE: the cosmos stage uses negative z-index, so all in-flow content paints
   above it automatically. Do not force z-index here — it would break the
   pre-existing 1000+/10000+ overlay layers (navbar, cursors, modals). */

/* ============================================
   3. MANIFESTO SECTION
   ============================================ */
.manifesto-section {
    position: relative;
    padding: 150px 0 130px;
    overflow: hidden;
    background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 82, 255, 0.16) 0%, transparent 70%);
}

.manifesto-glow {
    position: absolute;
    top: -180px;
    left: 50%;
    width: 900px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.17) 0%, rgba(0, 102, 255, 0.08) 45%, transparent 72%);
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}

.manifesto-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 3px 3px;
    mask-image: linear-gradient(180deg, transparent 0%, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 40%, transparent 100%);
}

.manifesto-inner {
    position: relative;
    text-align: center;
}

.manifesto-statement {
    font-family: var(--font-display);
    font-size: clamp(34px, 6.2vw, 82px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin: 22px 0 64px;
    text-transform: none;
}

.manifesto-line {
    display: block;
    color: var(--text-primary);
}

.manifesto-accent {
    font-style: italic;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.manifesto-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: left;
}

.manifesto-pillar {
    position: relative;
    padding: 32px 28px 34px;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.5s var(--transition), border-color 0.5s var(--transition), box-shadow 0.5s var(--transition);
}

.manifesto-pillar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.5s var(--transition);
    pointer-events: none;
}

.manifesto-pillar:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 26px 60px -24px rgba(0, 0, 0, 0.85), 0 0 34px rgba(0, 240, 255, 0.16);
}

.manifesto-pillar:hover::after {
    opacity: 1;
}

.manifesto-pillar-index {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 16px;
}

.manifesto-pillar-title {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

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

.manifesto-signoff {
    max-width: 680px;
    margin: 58px auto 0;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================
   4. PROOF / RESULTS SECTION
   ============================================ */
.proof-section {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(0, 240, 255, 0.09) 0%, transparent 72%);
}

.proof-orb {
    position: absolute;
    bottom: -220px;
    right: -120px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat2 11s ease-in-out infinite;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.proof-card {
    position: relative;
    padding: 28px 24px 26px;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.5s var(--transition), border-color 0.5s var(--transition), box-shadow 0.5s var(--transition);
}

.proof-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: var(--gradient);
    opacity: 0.55;
}

.proof-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.9), 0 0 36px rgba(0, 240, 255, 0.18);
}

.proof-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: var(--accent);
    background: rgba(0, 240, 255, 0.09);
    border: 1px solid rgba(0, 240, 255, 0.22);
}

.proof-delta {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 11px;
    border-radius: 9999px;
    white-space: nowrap;
}

.proof-delta.up {
    color: #34D399;
    background: rgba(16, 185, 129, 0.11);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.proof-metric {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-family: var(--font-heading);
}

.proof-number {
    font-size: clamp(38px, 4.4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 0%, #8FD8FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proof-unit {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.proof-label {
    font-family: var(--font-heading);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 14px 0 8px;
}

.proof-note {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.proof-spark {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 42px;
    margin-top: 22px;
}

.proof-spark span {
    flex: 1;
    height: var(--h, 40%);
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.85) 0%, rgba(0, 102, 255, 0.25) 100%);
    transform-origin: bottom;
    animation: sparkGrow 1.4s var(--transition) both;
}

@keyframes sparkGrow {
    from { transform: scaleY(0.12); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}

.proof-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 42px;
    padding: 26px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(6, 12, 28, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.proof-foot-text {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
}

.proof-foot-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* ============================================
   5. PRICING SECTION
   ============================================ */
.pricing-section {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background: radial-gradient(ellipse 65% 60% at 20% 10%, rgba(0, 82, 255, 0.14) 0%, transparent 70%);
}

.pricing-orb {
    position: absolute;
    top: 12%;
    left: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.14) 0%, rgba(0, 240, 255, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 28px 32px;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.5s var(--transition), border-color 0.5s var(--transition), box-shadow 0.5s var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 30px 70px -26px rgba(0, 0, 0, 0.9), 0 0 38px rgba(0, 240, 255, 0.16);
}

.pricing-card.featured {
    border-color: rgba(0, 240, 255, 0.42);
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.16) 0%, rgba(8, 16, 36, 0.72) 62%);
    box-shadow: 0 34px 90px -30px rgba(0, 0, 0, 0.95), 0 0 44px rgba(0, 102, 255, 0.24);
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-16px);
}

.pricing-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 11px;
    border-radius: 9999px;
    color: #040814;
    background: var(--gradient);
    box-shadow: 0 0 22px rgba(0, 240, 255, 0.4);
}

.pricing-tier-label {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
}

.pricing-plan {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 14px 0 10px;
}

.pricing-plan-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    min-height: 74px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 22px 0 6px;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
}

.pricing-currency {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-secondary);
}

.pricing-amount {
    font-size: clamp(40px, 4.6vw, 54px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 0%, #9FD9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-meta {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 30px;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.45);
}

.pricing-features li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 10px;
    width: 5px;
    height: 3px;
    border-left: 1.6px solid var(--accent);
    border-bottom: 1.6px solid var(--accent);
    transform: rotate(-45deg);
}

.pricing-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.pricing-assurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: center;
    gap: 26px;
    margin-top: 34px;
    padding: 30px 34px;
    border-radius: 22px;
}

.pricing-assurance-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pricing-assurance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--accent);
    background: rgba(0, 240, 255, 0.09);
    border: 1px solid rgba(0, 240, 255, 0.22);
}

.pricing-assurance-title {
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.pricing-assurance-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-assurance-cta {
    justify-content: center;
    white-space: nowrap;
}

/* ============================================
   6. TOOLSTACK SECTION
   ============================================ */
.toolstack-section {
    position: relative;
    padding: 120px 0 130px;
    overflow: hidden;
    background: radial-gradient(ellipse 55% 50% at 50% 100%, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
}

.toolstack-marquee {
    position: relative;
    margin: 8px 0 18px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.toolstack-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: toolstackScroll 46s linear infinite;
}

.toolstack-marquee.reverse .toolstack-track {
    animation-direction: reverse;
    animation-duration: 56s;
}

.toolstack-marquee:hover .toolstack-track {
    animation-play-state: paused;
}

@keyframes toolstackScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.toolstack-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-right: 14px;
    padding: 11px 18px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.35s var(--transition), border-color 0.35s var(--transition), background 0.35s var(--transition);
}

.toolstack-item:hover {
    color: var(--text-primary);
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.07);
}

.toolstack-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 26px;
    padding: 0 6px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.35) 0%, rgba(0, 240, 255, 0.16) 100%);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.toolstack-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 58px;
}

.toolstack-pillar {
    padding: 30px 26px;
    border-radius: 20px;
    transition: transform 0.5s var(--transition), border-color 0.5s var(--transition), box-shadow 0.5s var(--transition);
}

.toolstack-pillar:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 240, 255, 0.14);
}

.toolstack-pillar-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.toolstack-pillar-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.72;
}

.toolstack-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 44px;
    text-align: center;
}

.toolstack-cta-text {
    font-size: 15.5px;
    color: var(--text-secondary);
}

/* ============================================
   7. PRICING → MODAL BRIDGE NOTE
   ============================================ */
.modal-plan-note {
    display: inline-block;
    margin: 0 0 20px;
    padding: 9px 16px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.28);
}

.modal-plan-note[hidden] {
    display: none;
}

/* ============================================
   8. RESPONSIVE — NEW SECTIONS
   ============================================ */
@media (max-width: 1100px) {
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-assurance-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .manifesto-section,
    .proof-section,
    .pricing-section,
    .toolstack-section {
        padding: 96px 0;
    }

    .manifesto-pillars,
    .pricing-grid,
    .toolstack-pillars {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured,
    .pricing-card.featured:hover {
        transform: none;
    }

    .pricing-plan-desc {
        min-height: 0;
    }

    .proof-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .manifesto-statement {
        margin: 18px 0 44px;
    }

    .pricing-assurance {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

    .proof-foot-actions {
        width: 100%;
        flex-direction: column;
    }

    .proof-foot-actions .btn-primary,
    .proof-foot-actions .btn-secondary,
    .pricing-assurance-cta {
        width: 100%;
        justify-content: center;
    }

    .toolstack-cta {
        flex-direction: column;
        gap: 16px;
    }

    .toolstack-cta .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Reduced motion: freeze marquees and sparklines */
@media (prefers-reduced-motion: reduce) {
    .toolstack-track {
        animation: none !important;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .toolstack-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .proof-spark span {
        animation: none !important;
        transform: none;
    }

    .manifesto-glow,
    .pricing-orb,
    .proof-orb,
    .hero-orb,
    .hero-orb-2 {
        animation: none !important;
    }
}

/* ============================================================
   TWAIN-STYLE SECTION SYSTEM — v5.0
   ------------------------------------------------------------
   Every top-level block now reads as a rounded "sheet" inset from
   the page edge: hairline border, frosted surface, and a stacked
   paper seam where one sheet laps over the last. As the next sheet
   rises, the current one recedes (--sheet-recede, written by
   sectionHandoff() in script.js) so scrolling reads as one panel
   handing off to the next rather than one flat continuous page.

   Two deliberate constraints:
   1. Surfaces live on ::before, never on the sheet itself — a
      backdrop-filter/transform on the sheet would become the
      containing block for position:fixed children.
   2. .portfolio-section gets no transform at all, because its
      .project-preview card is position:fixed and follows the
      cursor from the viewport.
   ============================================================ */
:root {
    --block-radius: 40px;
    --block-gutter: 14px;
    --block-seam: 40px;
    --block-surface: rgba(4, 9, 20, 0.8);
    --block-line: rgba(255, 255, 255, 0.075);
    --block-line-lit: rgba(255, 255, 255, 0.17);
    --block-settle: rgba(255, 255, 255, 0.022);
    --block-sheet-shadow: 0 -34px 70px -34px rgba(0, 0, 0, 0.92);
    --ease-sheet: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* overflow-x: hidden can turn the body into a scroll container in some
   engines, which breaks sticky/scroll-snap descendants — clip cannot. */
body {
    overflow-x: clip;
}

/* ─── Sheet shell ─── */
main > .stack-block {
    position: relative;
    z-index: 0;
    isolation: isolate;
    margin: calc(-1 * var(--block-seam)) var(--block-gutter) var(--block-gutter);
    border: 1px solid var(--block-line);
    border-top-color: var(--block-line-lit);
    border-radius: var(--block-radius);
    background: transparent;
    box-shadow: var(--block-sheet-shadow);
    transform: scale(calc(1 - 0.035 * var(--sheet-recede, 0)));
    transform-origin: 50% 0;
    opacity: calc(1 - 0.34 * var(--sheet-recede, 0));
}

main > .portfolio-section {
    transform: none;
}

/* Frosted surface — on the pseudo so sheet content (and any fixed
   position child) keeps its normal containing block. */
main > .stack-block::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 260px),
        var(--block-surface);
    backdrop-filter: blur(22px) saturate(1.12);
    -webkit-backdrop-filter: blur(22px) saturate(1.12);
}

main > .stack-block.is-handing-off {
    will-change: transform, opacity;
}

/* Hero is the first sheet: same shell, but no frosting so the WebGL
   cosmos stage behind it stays pixel-crisp. */
main > .hero-section {
    border: 1px solid var(--block-line);
    border-top-color: var(--block-line-lit);
    border-radius: var(--block-radius);
    margin: var(--block-gutter) var(--block-gutter) var(--block-gutter);
    box-shadow: 0 50px 110px -60px rgba(0, 0, 0, 0.95);
}

/* Thin bands that ride the cosmos between sheets stay bare. */
.marquee-section,
.kinetic-ribbon-section {
    border-top: none;
    border-bottom: none;
}

/* ─── Editorial section header (twain type scale) ─── */
.section-header {
    margin-bottom: 56px;
}

.section-label {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 18px;
    text-wrap: balance;
}

.section-subtitle {
    font-size: 15.5px;
    line-height: 1.68;
    letter-spacing: -0.005em;
    max-width: 620px;
}

/* ─── Flat hairline cards: the neon glow is replaced by a settle
   surface + border lift, so sheets read as one calm system. ─── */
.bento-card,
.ba-card,
.proof-card,
.process-step,
.testimonial-card,
.pricing-card,
.faq-item,
.toolstack-pillar {
    border-radius: 16px;
    border: 1px solid var(--block-line);
    background: var(--block-settle);
    box-shadow: none;
    transition: border-color 0.4s var(--ease-sheet), background-color 0.4s var(--ease-sheet), transform 0.4s var(--ease-sheet);
}

.bento-card:hover,
.ba-card:hover,
.proof-card:hover,
.process-step:hover,
.testimonial-card:hover,
.pricing-card:hover,
.toolstack-pillar:hover {
    border-color: var(--block-line-lit);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Keep the pointer-tracking highlight, at a whisper instead of a flare. */
.bento-card::before {
    opacity: 0;
}

.bento-card:hover::before {
    opacity: 0.35;
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--block-line-lit);
}

.pricing-card.featured {
    background: rgba(0, 102, 255, 0.07);
    border-color: rgba(56, 189, 248, 0.3);
}

/* ─── Buttons: twain geometry (44px tall, 10px radius, flat fill) ─── */
.btn-primary,
.nav-cta {
    border-radius: 10px;
    background: var(--primary);
    box-shadow: none;
}

.btn-primary:hover,
.nav-cta:hover {
    transform: translateY(-1px);
    background: #1f74ff;
    box-shadow: none;
}

.btn-secondary {
    border-radius: 10px;
    border-color: var(--block-line-lit);
    background: var(--block-settle);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-large {
    padding: 16px 34px;
    font-size: 15.5px;
}

.btn-glow {
    display: none;
}

/* ─── Footer closes the stack as a sheet ─── */
.footer-section {
    margin: 0 var(--block-gutter) var(--block-gutter);
    padding: 84px 0 0;
    border: 1px solid var(--block-line);
    border-top-color: var(--block-line-lit);
    border-radius: var(--block-radius);
    background: var(--block-surface);
}

/* ─── Calmer reveals: shorter travel, one shared easing ─── */
.reveal {
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease-sheet), transform 0.7s var(--ease-sheet);
}

.reveal-scale {
    transform: scale(0.975);
    transition: opacity 0.6s var(--ease-sheet), transform 0.6s var(--ease-sheet);
}

/* ─── Snapping: sections settle edge-to-edge on desktop, while long
   sheets stay free-scrolling because proximity only bites near a
   boundary. ─── */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    html {
        scroll-snap-type: y proximity;
    }

    main > .stack-block {
        scroll-snap-align: start;
    }
}

/* ─── Responsive sheet scale ─── */
@media (max-width: 1100px) {
    :root {
        --block-radius: 32px;
        --block-gutter: 12px;
        --block-seam: 34px;
    }
}

@media (max-width: 768px) {
    :root {
        --block-radius: 24px;
        --block-gutter: 10px;
        --block-seam: 26px;
        --block-surface: rgba(4, 9, 20, 0.9);
    }

    main > .stack-block {
        transform: none;
        opacity: 1;
    }

    main > .stack-block::before {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .section-header {
        margin-bottom: 44px;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 34px);
    }
}

@media (prefers-reduced-motion: reduce) {
    main > .stack-block {
        transform: none !important;
        opacity: 1 !important;
    }

    html {
        scroll-snap-type: none;
    }
}

/* ============================================================
   PREMIUM UI LAYER — v6.0
   ------------------------------------------------------------
   Carries the v5.0 twain sheet system the last mile: the craft
   that separates "tidy" from "expensive".

   1. Refined tokens — one hairline scale, one easing, one depth set.
   2. Optical typography — fluid display scale, balanced wraps,
      tabular numerals for every metric on the site.
   3. Ambient depth — a fixed aurora + vignette sitting ABOVE the
      WebGL cosmos but BEHIND every sheet, so the frosted panels
      finally have real light to refract.
   4. Precision surfaces — a single hairline system plus a light
      seam across the top edge of every sheet and card.
   5. Motion — sheen sweeps, pointer halos, focus rings, scroll
      progress and a reduced-motion kill switch.

   Purely additive: no rule above this block is removed, so the 3D
   engine, sheet handoff, drawers and modals keep working as built.
   ============================================================ */

/* ─── 1. Tokens ─── */
:root {
    --lux-ink: #05070F;
    --lux-blue: #2F7DFF;
    --lux-cyan: #22D3EE;
    --lux-violet: #7C5CFF;
    --lux-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --lux-ease-soft: cubic-bezier(0.4, 0.14, 0.3, 1);
    --lux-hairline: rgba(255, 255, 255, 0.10);
    --lux-hairline-lit: rgba(255, 255, 255, 0.22);
    --lux-seam: rgba(150, 210, 255, 0.55);
    --lux-panel: rgba(7, 13, 28, 0.55);
    --lux-shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
    --lux-shadow-md: 0 24px 60px -30px rgba(0, 0, 0, 0.95);
    --lux-shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.98);
    --lux-glow-blue: 0 0 44px -16px rgba(47, 125, 255, 0.65);
    --lux-glow-cyan: 0 0 44px -16px rgba(34, 211, 238, 0.55);
    --scroll-progress: 0;
}

/* ─── 2. Optical typography ─── */
body {
    font-optical-sizing: auto;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.hero-title,
.section-title,
.manifesto-statement {
    font-kerning: normal;
    text-wrap: balance;
    -webkit-font-smoothing: antialiased;
}

p, blockquote, li,
.section-subtitle,
.bento-card-desc,
.proof-note,
.toolstack-pillar-desc,
.pricing-plan-desc {
    text-wrap: pretty;
}

/* Metrics, prices and counters should read as data, never as prose. */
.counter, .stat-number, .stat-plus, .stat-label,
.pricing-amount, .pricing-currency, .pricing-period,
.drawer-stat-item strong, .process-number, .bento-card-number,
.mg-m strong, .manifesto-pillar-index, .s-text strong {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* ─── 3. Ambient depth: aurora + vignette ─── */
/* Markup sits after the WebGL canvas, so a -1 z-index places this
   layer above the cosmos and below every sheet in the tree. */
.ambient-aurora {
    position: fixed;
    /* Oversized so the scroll parallax in script.js can shift the whole
       field without ever exposing a bare edge. */
    inset: -8%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.6s var(--lux-ease);
}

body.webgl-live .ambient-aurora,
body.js-ready .ambient-aurora {
    opacity: 1;
}

.ambient-aurora::before {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(60% 45% at 12% 8%, rgba(47, 125, 255, 0.20) 0%, rgba(47, 125, 255, 0) 62%),
        radial-gradient(45% 40% at 88% 22%, rgba(34, 211, 238, 0.16) 0%, rgba(34, 211, 238, 0) 66%),
        radial-gradient(70% 55% at 50% 96%, rgba(124, 92, 255, 0.18) 0%, rgba(124, 92, 255, 0) 68%);
    animation: luxAurora 34s var(--lux-ease-soft) infinite alternate;
}

.ambient-aurora::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.55) 100%),
        linear-gradient(180deg, rgba(2, 4, 9, 0.45) 0%, rgba(2, 4, 9, 0) 18%);
}

@keyframes luxAurora {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(1.6%, -1.2%, 0) scale(1.05); }
    100% { transform: translate3d(-1.4%, 1.4%, 0) scale(1.02); }
}

/* ─── 4. Scroll progress hairline ─── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 9998;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.07));
}

.scroll-progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 0 50%;
    transform: scaleX(var(--scroll-progress, 0));
    background: linear-gradient(90deg, var(--lux-blue) 0%, var(--lux-cyan) 62%, #A5F3FC 100%);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.6), 0 0 34px rgba(47, 125, 255, 0.35);
    transition: transform 0.12s linear;
}

/* ─── 5. Sheet craft: a seam of light across every panel edge ─── */
main > .stack-block,
main > .hero-section,
.footer-section {
    box-shadow: var(--lux-shadow-lg);
}

main > .stack-block::after,
main > .hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.26) 22%,
        var(--lux-seam) 50%,
        rgba(255, 255, 255, 0.26) 78%,
        rgba(255, 255, 255, 0) 100%);
    opacity: 0.6;
    transition: opacity 0.6s var(--lux-ease), left 0.6s var(--lux-ease), right 0.6s var(--lux-ease);
}

main > .stack-block:hover::after,
main > .hero-section:hover::after {
    left: 4%;
    right: 4%;
    opacity: 1;
}

/* Glass sheets get a hairline-lifted surface so panels read as
   one milled system rather than flat fills. */
main > .stack-block::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 280px),
        linear-gradient(180deg, rgba(6, 11, 24, 0.86), rgba(4, 8, 18, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* The hero is the first sheet — no frosting, just a crisp edge. */
main > .hero-section {
    box-shadow: 0 60px 130px -70px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ─── 6. Editorial section headers ─── */
.section-header {
    margin-bottom: 76px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 14px;
    border: 1px solid var(--lux-hairline);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), var(--lux-shadow-sm);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1;
    color: #CBD5E1;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.85);
    animation: luxDot 3.4s var(--lux-ease-soft) infinite;
}

@keyframes luxDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.72); }
}

.section-title {
    font-size: clamp(32px, 4.1vw, 54px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.038em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section-subtitle {
    font-size: 16px;
    line-height: 1.72;
    max-width: 640px;
    margin: 0 auto;
    color: #9FB0C9;
}

.section-header::after {
    content: '';
    display: block;
    width: 132px;
    height: 1px;
    margin: 34px auto 0;
    background: linear-gradient(90deg,
        rgba(47, 125, 255, 0) 0%,
        rgba(47, 125, 255, 0.7) 34%,
        rgba(34, 211, 238, 0.8) 66%,
        rgba(34, 211, 238, 0) 100%);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.32);
}

/* ─── 7. Panel surfaces — one milled hairline system ─── */
.bento-card,
.ba-card,
.proof-card,
.process-step,
.testimonial-card,
.pricing-card,
.faq-item,
.toolstack-pillar,
.manifesto-pillar {
    border: 1px solid var(--lux-hairline);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.014) 38%, rgba(255, 255, 255, 0.024) 100%),
        var(--lux-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--lux-shadow-sm);
    /* Deliberately NO backdrop-filter here: these panels already sit on a
       frosted sheet, so a per-card blur would cost GPU time for no visual
       gain. The depth comes from the gradient, hairline and light seam. */
    transition:
        transform 0.55s var(--lux-ease),
        border-color 0.55s var(--lux-ease),
        box-shadow 0.55s var(--lux-ease);
}

/* Light seam along the top edge — the "machined" detail that makes a
   card read as a physical object. (.proof-card owns its own seam on
   ::before, so it is deliberately left out of this list.) */
.bento-card::after,
.ba-card::after,
.process-step::after,
.testimonial-card::after,
.pricing-card::after,
.toolstack-pillar::after,
.manifesto-pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 16%;
    right: 16%;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
    opacity: 0.5;
    transition: opacity 0.55s var(--lux-ease), left 0.55s var(--lux-ease), right 0.55s var(--lux-ease);
}

.bento-card:hover::after,
.ba-card:hover::after,
.process-step:hover::after,
.testimonial-card:hover::after,
.pricing-card:hover::after,
.toolstack-pillar:hover::after,
.manifesto-pillar:hover::after {
    left: 5%;
    right: 5%;
    opacity: 1;
}

/* Card lift stays tight on purpose — premium reads as controlled. */
.bento-card:hover,
.ba-card:hover,
.proof-card:hover,
.process-step:hover,
.testimonial-card:hover,
.toolstack-pillar:hover,
.manifesto-pillar:hover {
    transform: translateY(-4px);
    border-color: var(--lux-hairline-lit);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.03) 100%),
        rgba(9, 16, 34, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 34px 72px -36px rgba(0, 0, 0, 0.98),
        0 0 44px -22px rgba(47, 125, 255, 0.6);
}

.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured { transform: translateY(-8px); }
.pricing-card.featured:hover { transform: translateY(-12px); }

/* Accordion rows keep their calm: the edge lights, nothing moves. */
.faq-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--lux-hairline-lit);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 54px -34px rgba(0, 0, 0, 0.95);
}

/* ─── 8. Jewellery icon tiles ─── */
.bento-card-icon,
.process-icon,
.proof-icon,
.pricing-assurance-icon {
    background: linear-gradient(160deg, rgba(56, 189, 248, 0.18), rgba(124, 92, 255, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #9FD8FF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 26px -16px rgba(47, 125, 255, 0.9);
}

.bento-card:hover .bento-card-icon,
.process-step:hover .process-icon {
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    border-color: rgba(255, 255, 255, 0.3);
    color: #041020;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 30px -14px rgba(34, 211, 238, 0.9);
}

.proof-icon { color: var(--lux-cyan); }

/* ─── 9. Chips, tags & bullets ─── */
.card-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #B7C4D8;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--lux-hairline);
    border-radius: 999px;
    padding: 5px 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.35s var(--lux-ease), color 0.35s var(--lux-ease), background-color 0.35s var(--lux-ease);
}

.service-pill,
.service-stat-badge,
.verified-client-badge,
.project-roi-badge {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
    letter-spacing: 0.11em;
}

.pricing-tier-label {
    display: inline-block;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    color: #7FD7F5;
}

.pricing-features li {
    color: #9FB0C9;
    font-size: 14px;
    line-height: 1.6;
}

.pricing-features li::before {
    top: 5px;
    width: 16px;
    height: 16px;
    background: linear-gradient(150deg, rgba(56, 189, 248, 0.24), rgba(124, 92, 255, 0.14));
    border: 1px solid rgba(120, 210, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 14px -8px rgba(34, 211, 238, 0.9);
}

.pricing-features li::after {
    left: 5.5px;
    top: 9.5px;
    border-left-width: 1.6px;
    border-bottom-width: 1.6px;
    border-color: #7FE6FF;
}

.faq-icon {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--lux-hairline);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    color: #041020;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px -12px rgba(34, 211, 238, 0.9);
}

.process-number {
    opacity: 0.22;
    letter-spacing: -0.02em;
}

.process-step:hover .process-number { opacity: 0.4; }

/* ─── 10. Navigation: milled glass capsule ─── */
.navbar {
    background: linear-gradient(180deg, rgba(10, 16, 32, 0.74), rgba(5, 9, 20, 0.58));
    border: 1px solid var(--lux-hairline);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
}

.navbar.scrolled {
    background: linear-gradient(180deg, rgba(8, 13, 28, 0.93), rgba(4, 8, 18, 0.87));
    border-color: var(--lux-hairline-lit);
    box-shadow: 0 28px 64px -26px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.logo-mark {
    border-radius: 13px;
    background: radial-gradient(circle at 32% 24%, rgba(56, 189, 248, 0.32) 0%, rgba(10, 20, 44, 0.92) 72%);
    border: 1px solid rgba(160, 220, 255, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 22px -12px rgba(47, 125, 255, 0.95);
}

.nav-logo:hover .logo-mark {
    transform: scale(1.06) rotate(2deg);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 26px -12px rgba(34, 211, 238, 0.95);
}

.logo-img {
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.logo-sub {
    letter-spacing: 0.34em;
    color: #7FD7F5;
}

.nav-links a {
    padding: 6px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.012em;
    color: #9FB0C9;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.nav-links a.active {
    color: #FFFFFF;
    text-shadow: none;
}

.nav-links a::after {
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lux-blue), var(--lux-cyan));
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

/* Active section gets a soft halo instead of a hard underline glow. */
.nav-links a.active::before {
    content: '';
    position: absolute;
    inset: -7px -12px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(47, 125, 255, 0.26), rgba(47, 125, 255, 0));
}

.sound-toggle-btn {
    border: 1px solid var(--lux-hairline);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sound-toggle-btn.active {
    color: #7FE6FF;
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 22px -6px rgba(34, 211, 238, 0.6);
}

/* ─── 11. Buttons: gradient fill + light sweep ─── */
.btn-primary,
.nav-cta {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, #2F7DFF 0%, #1E8FF5 48%, #22D3EE 100%);
    color: #FFFFFF;
    box-shadow: 0 14px 34px -16px rgba(47, 125, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transition: transform 0.45s var(--lux-ease), box-shadow 0.45s var(--lux-ease);
}

.btn-primary:hover,
.nav-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3D8BFF 0%, #22A2FF 48%, #3EE0F5 100%);
    box-shadow:
        0 20px 46px -18px rgba(47, 125, 255, 1),
        0 0 0 1px rgba(140, 220, 255, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:active,
.nav-cta:active,
.btn-secondary:active {
    transform: translateY(0) scale(0.985);
}

/* The sheen: a single band of light that crosses the button on hover. */
.btn-primary .btn-glow,
.nav-cta .btn-glow {
    display: block;
    position: absolute;
    inset: -30% -12%;
    opacity: 1;
    pointer-events: none;
    background: linear-gradient(100deg,
        rgba(255, 255, 255, 0) 34%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 66%);
    transform: translateX(-135%);
    transition: transform 0.9s var(--lux-ease);
}

.btn-primary:hover .btn-glow,
.nav-cta:hover .btn-glow {
    transform: translateX(135%);
}

.btn-secondary {
    border: 1px solid var(--lux-hairline-lit);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    color: #FFFFFF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.45s var(--lux-ease), border-color 0.45s var(--lux-ease),
                background 0.45s var(--lux-ease), box-shadow 0.45s var(--lux-ease);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(160, 220, 255, 0.5);
    background: linear-gradient(180deg, rgba(120, 200, 255, 0.13), rgba(120, 200, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 40px -22px rgba(47, 125, 255, 0.9);
}

/* ─── 12. Focus + selection: keyboard users get the same polish ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid rgba(120, 210, 255, 0.85);
    outline-offset: 3px;
    border-radius: 10px;
}

::selection {
    background: rgba(47, 125, 255, 0.42);
    color: #FFFFFF;
}

/* ─── 13. Hero ─── */
.hero-badge {
    padding: 9px 22px;
    color: #E7EEFA;
    border: 1px solid rgba(160, 220, 255, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px -22px rgba(47, 125, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.badge-status-text {
    color: #4ADE80;
}

.hero-title {
    font-size: clamp(44px, 7.2vw, 100px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-shadow: 0 2px 34px rgba(0, 40, 90, 0.5);
}

.hero-subtitle {
    color: #9FB0C9;
    max-width: 690px;
    line-height: 1.78;
}

.typed-text-wrapper,
.typed-cursor {
    color: #7FD7F5;
}

/* ─── 14. Testimonials ─── */
.testimonial-card {
    padding: 58px 54px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 45%, rgba(255, 255, 255, 0.022));
    border: 1px solid var(--lux-hairline);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--lux-shadow-md);
}

.quote-watermark {
    top: -34px;
    right: 34px;
    font-size: 190px;
    color: transparent;
    background: linear-gradient(160deg, rgba(120, 210, 255, 0.14), rgba(124, 92, 255, 0.04));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.testimonial-stars {
    color: #FFD166;
    letter-spacing: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 200, 90, 0.35));
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.68;
    letter-spacing: -0.012em;
    color: #E3EBF7;
}

.testimonial-author {
    color: #FFFFFF;
    font-weight: 700;
}

.testimonial-role {
    color: #7FD7F5;
}

.testimonial-avatar {
    border: 1px solid rgba(160, 220, 255, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 20px -12px rgba(47, 125, 255, 0.9);
}

.testimonial-btn {
    border: 1px solid var(--lux-hairline);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.4s var(--lux-ease), border-color 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
}

.testimonial-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(160, 220, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 34px -20px rgba(47, 125, 255, 0.9);
}

.testimonial-dot {
    background: rgba(255, 255, 255, 0.16);
    transition: all 0.4s var(--lux-ease);
}

.testimonial-dot.active {
    background: linear-gradient(90deg, var(--lux-blue), var(--lux-cyan));
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
}

/* ─── 15. Pricing emphasis ─── */
.pricing-badge {
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.14em;
    padding: 7px 13px;
    color: #041020;
    background: linear-gradient(135deg, #7FD7F5, #22D3EE);
    box-shadow: 0 10px 26px -12px rgba(34, 211, 238, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pricing-card.featured {
    border-color: rgba(120, 210, 255, 0.42);
    background:
        linear-gradient(180deg, rgba(47, 125, 255, 0.16) 0%, rgba(255, 255, 255, 0.012) 46%, rgba(255, 255, 255, 0.02) 100%),
        rgba(8, 15, 32, 0.66);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 40px 90px -40px rgba(0, 0, 0, 0.98),
        0 0 70px -34px rgba(47, 125, 255, 0.85);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    /* Explicit 1 so the shared pointer-halo rule cannot blank the glow. */
    opacity: 1;
    background: radial-gradient(120% 60% at 50% 0%, rgba(120, 210, 255, 0.14), rgba(120, 210, 255, 0) 62%);
}

.pricing-plan {
    letter-spacing: -0.03em;
}

.pricing-price {
    color: #FFFFFF;
}

.pricing-meta {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.03em;
    color: #8A9AB4;
}

.pricing-assurance {
    border-radius: 20px;
    border: 1px solid var(--lux-hairline);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--lux-shadow-sm);
}

.pricing-assurance-title {
    color: #FFFFFF;
}

.pricing-assurance-desc {
    color: #9FB0C9;
}

/* ─── 16. Modal & drawer controls ─── */
.modal-chip,
.budget-chip {
    border: 1px solid var(--lux-hairline);
    background: rgba(255, 255, 255, 0.035);
    color: #C3CFE2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.35s var(--lux-ease), background-color 0.35s var(--lux-ease), color 0.35s var(--lux-ease);
}

.modal-chip:hover,
.budget-chip:hover {
    border-color: var(--lux-hairline-lit);
    background: rgba(255, 255, 255, 0.07);
    color: #FFFFFF;
}

.modal-chip.active,
.budget-chip.active {
    border-color: rgba(120, 210, 255, 0.55);
    background: linear-gradient(180deg, rgba(47, 125, 255, 0.22), rgba(34, 211, 238, 0.1));
    color: #FFFFFF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 26px -10px rgba(34, 211, 238, 0.8);
}

.modal-submit-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, #2F7DFF 0%, #1E8FF5 48%, #22D3EE 100%);
    color: #FFFFFF;
    box-shadow: 0 16px 38px -18px rgba(47, 125, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.modal-submit-btn:hover {
    background: linear-gradient(135deg, #3D8BFF 0%, #22A2FF 48%, #3EE0F5 100%);
    box-shadow: 0 22px 48px -20px rgba(47, 125, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.drawer-panel {
    border-left: 1px solid var(--lux-hairline);
    background: linear-gradient(180deg, rgba(8, 13, 28, 0.96), rgba(4, 8, 18, 0.94));
}

/* ─── 17. Stats ribbon & scroll indicator ─── */
.stats-ribbon {
    padding: 30px 52px;
    border: 1px solid var(--lux-hairline);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.012) 55%, rgba(255, 255, 255, 0.022) 100%);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--lux-shadow-md);
}

.stat-number,
.stat-plus {
    letter-spacing: -0.035em;
}

.stat-label {
    color: #8A9AB4;
    letter-spacing: 0.035em;
}

.stat-divider {
    height: 46px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0) 100%);
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.26em;
    color: #7FD7F5;
}

.scroll-line {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-line-fill {
    background: linear-gradient(180deg, var(--lux-blue), var(--lux-cyan));
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
}

/* ─── 18. Client ribbon ─── */
.marquee-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: #8A9AB4;
}

.marquee-item {
    color: #8A9AB4;
}

.marquee-item:hover {
    color: #FFFFFF;
    background: rgba(47, 125, 255, 0.1);
}

/* ─── 19. Closing CTA ─── */
.cta-content {
    border-radius: 28px;
    border: 1px solid var(--lux-hairline);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(47, 125, 255, 0.18), rgba(47, 125, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
        rgba(6, 11, 24, 0.72);
    backdrop-filter: blur(26px) saturate(1.2);
    -webkit-backdrop-filter: blur(26px) saturate(1.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--lux-shadow-lg);
}

.cta-title {
    font-size: clamp(34px, 4.7vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.cta-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16.5px;
    line-height: 1.75;
    color: #9FB0C9;
}

/* ─── 20. Footer ─── */
.footer-section {
    border-radius: var(--block-radius);
    border: 1px solid var(--lux-hairline);
    background:
        radial-gradient(90% 60% at 50% 0%, rgba(47, 125, 255, 0.12), rgba(47, 125, 255, 0) 60%),
        linear-gradient(180deg, rgba(6, 11, 24, 0.92), rgba(3, 6, 14, 0.95));
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #7FD7F5;
}

.footer-links a,
.footer-contact-text {
    color: #9FB0C9;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-email {
    color: #7FD7F5;
}

.social-link {
    border: 1px solid var(--lux-hairline);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s var(--lux-ease), color 0.4s var(--lux-ease),
                border-color 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
}

.social-link:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    border-color: rgba(120, 210, 255, 0.45);
    background: rgba(47, 125, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 30px -18px rgba(47, 125, 255, 0.95);
}

.footer-input-group {
    border: 1px solid var(--lux-hairline);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-input-group:focus-within {
    border-color: rgba(120, 210, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 3px rgba(47, 125, 255, 0.16);
}

.footer-input-group button {
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    color: #041020;
}

.footer-bottom {
    border-top: 1px solid var(--lux-hairline);
}

.footer-copyright,
.footer-bottom-links a {
    color: #7E8CA6;
}

.footer-bottom-links a:hover {
    color: #FFFFFF;
}

/* ─── 21. Direct chat widget ─── */
.whatsapp-btn {
    box-shadow: 0 18px 40px -18px rgba(16, 185, 129, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.whatsapp-tooltip {
    border: 1px solid var(--lux-hairline);
    background: linear-gradient(180deg, rgba(10, 16, 32, 0.95), rgba(5, 9, 20, 0.92));
    box-shadow: var(--lux-shadow-md);
}

/* ─── 22. Two details that tie the surface system together ─── */
.proof-card::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    opacity: 0.6;
}

.bento-card::before {
    background: radial-gradient(460px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
        rgba(120, 210, 255, 0.16), rgba(120, 210, 255, 0) 68%);
}

.bento-card:hover::before {
    opacity: 0.55;
}

/* ─── 23. Responsive tune-ups ─── */
@media (max-width: 1100px) {
    .section-title { font-size: clamp(30px, 4.6vw, 44px); }
    .hero-title { font-size: clamp(40px, 8vw, 72px); }
    .stats-ribbon { padding: 26px 32px; gap: 26px; }
}

/* Once the pricing grid stacks to a single column the raised "featured" card
   no longer needs its lift — the original 992px sheet stands it down, so the
   premium lift must stand down at the same width. */
@media (max-width: 992px) {
    .pricing-card.featured,
    .pricing-card.featured:hover { transform: none; }
}

@media (max-width: 900px) {
    .nav-links a { font-size: 12.5px; }
    .testimonial-card { padding: 44px 34px; }
    .quote-watermark { font-size: 148px; }
}

@media (max-width: 768px) {
    main > .stack-block::after,
    main > .hero-section::after { left: 18%; right: 18%; }

    .section-header { margin-bottom: 50px; }
    .section-label { font-size: 10px; letter-spacing: 0.14em; padding: 6px 13px 6px 11px; gap: 8px; }
    .section-title { font-size: clamp(27px, 7vw, 38px); letter-spacing: -0.03em; }
    .section-subtitle { font-size: 15px; }

    .hero-title { font-size: clamp(34px, 10.5vw, 54px); letter-spacing: -0.035em; }
    .hero-badge { padding: 8px 16px; font-size: 10.5px; letter-spacing: 0.08em; gap: 8px; }

    .stats-ribbon { padding: 22px 18px; border-radius: 18px; }
    /* Below 768px the ribbon stacks, so the divider returns to a hairline
       (restated because the desktop rule above would otherwise win). */
    .stat-divider { height: 1px; }

    .testimonial-card { padding: 30px 22px; border-radius: 22px; }
    .testimonial-text { font-size: 16.5px; line-height: 1.66; }
    .quote-watermark { top: -14px; right: 14px; font-size: 110px; }

    .cta-content { padding: 46px 22px; border-radius: 22px; }
    .cta-title { font-size: clamp(28px, 7vw, 42px); }

    .card-tag { font-size: 10px; padding: 4px 9px; }

    /* Keep the aurora as atmosphere, not as glare, on small screens. */
    .ambient-aurora::before { inset: -22%; }
    .ambient-aurora::after {
        background:
            radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.42) 100%),
            linear-gradient(180deg, rgba(2, 4, 9, 0.35) 0%, rgba(2, 4, 9, 0) 16%);
    }
}

/* ─── 24. Motion guards ─── */
@media (prefers-reduced-motion: reduce) {
    .ambient-aurora::before,
    .section-label::before { animation: none; }

    .btn-primary .btn-glow,
    .nav-cta .btn-glow { display: none; }

    .scroll-progress-fill,
    main > .stack-block::after,
    main > .hero-section::after,
    .bento-card::after,
    .ba-card::after,
    .process-step::after,
    .testimonial-card::after,
    .pricing-card::after,
    .toolstack-pillar::after,
    .manifesto-pillar::after { transition: none; }

    .bento-card:hover,
    .ba-card:hover,
    .proof-card:hover,
    .process-step:hover,
    .testimonial-card:hover,
    .toolstack-pillar:hover,
    .manifesto-pillar:hover,
    .pricing-card:hover,
    .pricing-card.featured,
    .pricing-card.featured:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .nav-cta:hover { transform: none; }
}

/* ─── 25. High-contrast preference ─── */
@media (prefers-contrast: more) {
    .section-subtitle,
    .hero-subtitle,
    .bento-card-desc,
    .toolstack-pillar-desc,
    .pricing-plan-desc,
    .pricing-features li,
    .testimonial-text,
    .footer-links a,
    .footer-contact-text,
    .drawer-text,
    .proof-note,
    .card-tag { color: #DCE5F2; }

    .card-tag,
    .modal-chip,
    .budget-chip { border-color: rgba(255, 255, 255, 0.34); }

    main > .stack-block,
    main > .hero-section,
    .footer-section { border-color: rgba(255, 255, 255, 0.2); }
}

/* ─── 26. Highlight bento card ───
   The single card flagged .highlight-card keeps its accent, but expressed in
   the new light system rather than the old neon radial. Variant rules from
   the base sheet carry higher specificity, so these are declared explicitly. */
.bento-card.highlight-card {
    border-color: rgba(120, 210, 255, 0.38);
    background:
        radial-gradient(110% 70% at 82% 12%, rgba(47, 125, 255, 0.18), rgba(47, 125, 255, 0) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.014) 38%, rgba(255, 255, 255, 0.024) 100%),
        var(--lux-panel);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        var(--lux-shadow-md),
        0 0 60px -30px rgba(47, 125, 255, 0.8);
}

.bento-card.highlight-card:hover {
    border-color: rgba(160, 220, 255, 0.5);
    background:
        radial-gradient(110% 70% at 82% 12%, rgba(47, 125, 255, 0.22), rgba(47, 125, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.03) 100%),
        rgba(9, 16, 34, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 34px 72px -36px rgba(0, 0, 0, 0.98),
        0 0 56px -22px rgba(47, 125, 255, 0.85);
}

/* ─── 27. Pointer halos ───
   Coordinates (--mouse-x / --mouse-y) are written by premiumPanelSpotlight()
   in script.js. The halo stays at zero opacity unless the panel is hovered,
   so it reads as light reacting to the cursor, never as a permanent wash.
   Panels whose ::before is already spoken for (bento spotlight, proof seam)
   are handled by their own rules above. */
.pricing-card::before,
.testimonial-card::before,
.toolstack-pillar::before,
.process-step::before,
.manifesto-pillar::before,
.proof-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(420px circle at var(--mouse-x, -600px) var(--mouse-y, -600px),
        rgba(120, 210, 255, 0.10), rgba(120, 210, 255, 0) 70%);
    transition: opacity 0.45s var(--lux-ease);
}

.pricing-card:hover::before,
.testimonial-card:hover::before,
.toolstack-pillar:hover::before,
.process-step:hover::before,
.manifesto-pillar:hover::before,
.proof-card:hover::after {
    opacity: 1;
}

/* ─── 28. Section open — every sheet arrives, then opens ───
   sectionHandoff() already recedes the outgoing sheet; this is the incoming
   half of the same choreography. Every closed state hangs off html.lux-open,
   which script.js only adds once the module is fully wired, so reduced motion,
   a JS failure or a missing IntersectionObserver all leave the page in its
   normal, open state.

   A sheet opens by growing out of its own top edge (transform-origin 50% 0),
   which leaves getBoundingClientRect().top — the value sectionHandoff() reads
   from the next sheet — exactly where layout put it, so the two systems can
   never feed back into each other. */

/* Desktop: --sheet-open (0 → 1) is written per frame by
   premiumSectionOpen() and composed with the recede, so both motions travel
   in one transform and one opacity. */
@media (min-width: 769px) {
    html.lux-open main > .stack-block:not(.portfolio-section),
    html.lux-open .footer-section {
        transform-origin: 50% 0;
        transform: scale(calc((1 - 0.012 * var(--sheet-recede, 0)) * (0.985 + 0.015 * var(--sheet-open, 1))));
        opacity: calc((1 - 0.08 * var(--sheet-recede, 0)) * (0.92 + 0.08 * var(--sheet-open, 1)));
    }

    /* Glass materialises a beat behind the frame. */
    html.lux-open main > .stack-block::before {
        opacity: calc(0.42 + 0.58 * var(--sheet-open, 1));
    }

    /* .portfolio-section keeps transform: none — its position:fixed
       .project-preview has to keep the viewport as its containing block — so
       that one sheet opens on opacity alone. */
    html.lux-open main > .portfolio-section {
        opacity: calc((1 - 0.34 * var(--sheet-recede, 0)) * (0.36 + 0.64 * var(--sheet-open, 1)));
    }

    /* The thin bands riding the cosmos between sheets ignite the same way. */
    html.lux-open main > .marquee-section,
    html.lux-open main > .kinetic-ribbon-section {
        opacity: calc(0.28 + 0.72 * var(--sheet-open, 1));
    }

    /* Compositor hints only while a sheet is actually mid-arrival.
       .portfolio-section is deliberately excluded: will-change: transform
       would make it the containing block for its position: fixed
       .project-preview, the same trap as constraint 2 above. */
    html.lux-open main > .stack-block:not(.portfolio-section).is-arriving {
        will-change: transform, opacity;
    }

    html.lux-open main > .portfolio-section.is-arriving {
        will-change: opacity;
    }
}

/* ─── Hero: the first beat belongs to the curtain ───
   The hero sheet is outside the recede system, so a plain transition is safe
   here. It stays closed until the preloader lifts (script.js adds .is-open),
   which is the only moment its entrance can actually be seen. */
html.lux-open main > .hero-section {
    transform-origin: 50% 0;
    transform: scale(0.972);
    opacity: 0;
    transition: transform 1.1s var(--lux-ease), opacity 0.95s var(--lux-ease);
}

html.lux-open main > .hero-section.is-open {
    transform: none;
    opacity: 1;
}

/* Hero content assembles behind the same curtain, keeping the --delay stagger
   already authored in the markup (0.1s → 0.5s across the column). */
html.lux-open main > .hero-section .reveal,
html.lux-open main > .hero-section .reveal-scale {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s var(--lux-ease), transform 0.85s var(--lux-ease);
    transition-delay: var(--delay, 0s);
}

html.lux-open main > .hero-section.is-open .reveal,
html.lux-open main > .hero-section.is-open .reveal-scale {
    opacity: 1;
    transform: none;
}

/* ─── Editorial titles wipe open out of their own line box ───
   This is the gesture that makes a section read as *opening* rather than
   merely sliding: the header block only fades (no second translate on top of
   the wipe), and the title line rises out of a mask. Keyed on .active — the
   flag scrollReveal() already writes — so the wipe always plays in step with
   the header it belongs to. The mask opens past the box on both sides so
   tight line-height and descenders are never clipped at rest. */
html.lux-open .section-header {
    transform: none;
}

html.lux-open .section-header .section-title,
html.lux-open .section-header.active .section-title {
    clip-path: none !important;
}

html.lux-open .cta-title,
html.lux-open .cta-title.reveal {
    transform: none;
    opacity: 1 !important;
}

html.lux-open .cta-title-text,
html.lux-open .cta-title.reveal.active .cta-title-text {
    display: block;
    clip-path: none !important;
    opacity: 1 !important;
}

/* ─── Below 769px: no per-frame writes happen, so the same states are flipped
   by .is-open and one transition does the work. ─── */
@media (max-width: 768px) {
    html.lux-open main > .stack-block:not(.portfolio-section),
    html.lux-open .footer-section {
        transform-origin: 50% 0;
        transform: scale(0.956);
        opacity: 0.34;
        transition: transform 0.95s var(--lux-ease), opacity 0.8s var(--lux-ease);
    }

    html.lux-open main > .stack-block:not(.portfolio-section).is-open,
    html.lux-open .footer-section.is-open {
        transform: none;
        opacity: 1;
    }

    html.lux-open main > .portfolio-section {
        opacity: 0.34;
        transition: opacity 0.8s var(--lux-ease);
    }

    html.lux-open main > .portfolio-section.is-open {
        opacity: 1;
    }

    html.lux-open main > .marquee-section,
    html.lux-open main > .kinetic-ribbon-section {
        opacity: 0.28;
        transition: opacity 0.85s var(--lux-ease);
    }

    html.lux-open main > .marquee-section.is-open,
    html.lux-open main > .kinetic-ribbon-section.is-open {
        opacity: 1;
    }

    /* Frost trails the frame by a beat, so a panel reads as glass
       materialising rather than a flat rectangle sliding up. */
    html.lux-open main > .stack-block::before {
        opacity: 0.4;
        transition: opacity 0.95s var(--lux-ease) 0.08s;
    }

    html.lux-open main > .stack-block.is-open::before {
        opacity: 1;
    }
}

/* Motion guard: everything above is opt-in motion, so a reduced-motion
   preference settles every panel instantly — and premiumSectionOpen() removes
   html.lux-open on a live change to the preference as well. */
@media (prefers-reduced-motion: reduce) {
    html.lux-open main > .stack-block,
    html.lux-open main > .hero-section,
    html.lux-open .footer-section,
    html.lux-open main > .marquee-section,
    html.lux-open main > .kinetic-ribbon-section,
    html.lux-open main > .stack-block::before,
    html.lux-open main > .hero-section .reveal,
    html.lux-open main > .hero-section .reveal-scale,
    html.lux-open .section-header .section-title,
    html.lux-open .cta-title.reveal,
    html.lux-open .cta-title-text {
        transform: none;
        opacity: 1;
        clip-path: none;
        transition: none;
    }
}

/* ─── Premium UI layer v6.0 — end ─── */

/* ─── Form delivery status lines ───
   Both the modal intake form (#modalFormStatus) and the footer newsletter
   (#newsletterStatus) receive their words from script.js, which also sets
   data-tone at the same moment — so the colour can never disagree with the
   message on screen. Nothing is shown until a real send attempt happens. */
.modal-form-status,
.footer-newsletter-status {
    display: block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}

.modal-form-status[hidden],
.footer-newsletter-status[hidden] {
    display: none;
}

.modal-form-status[data-tone="pending"],
.footer-newsletter-status[data-tone="pending"] {
    color: var(--text-secondary);
}

.modal-form-status[data-tone="success"],
.footer-newsletter-status[data-tone="success"] {
    color: var(--accent);
}

.modal-form-status[data-tone="error"],
.footer-newsletter-status[data-tone="error"] {
    color: #FF7A8A;
}

/* ============================================
   23. WHATSAPP PRIMARY CONVERSION FOCUS STYLES
   ============================================ */
.nav-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(16, 185, 129, 0.12));
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #34D399;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    white-space: nowrap;
}

.nav-wa-btn:hover {
    background: linear-gradient(135deg, #25D366, #10B981);
    border-color: #34D399;
    color: #030712;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.65);
}

.nav-wa-btn svg {
    flex-shrink: 0;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #10B981 100%) !important;
    color: #020617 !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    font-weight: 800 !important;
}

.btn-whatsapp .btn-text {
    color: #020617 !important;
    font-weight: 800 !important;
}

.btn-whatsapp:hover {
    box-shadow: 0 20px 44px -8px rgba(37, 211, 102, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px);
}

.footer-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #34D399;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.footer-wa-link:hover {
    background: rgba(37, 211, 102, 0.24);
    border-color: #25D366;
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 1120px) {
    .nav-wa-btn .wa-nav-label {
        display: none;
    }
    .nav-wa-btn {
        padding: 10px;
    }
}

/* ─── Hero Trust Bar & Service Card Direct WhatsApp CTAs ─── */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-top: 22px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #94A3B8;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust-item strong {
    color: #E2E8F0;
    font-weight: 600;
}

.bento-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.14), rgba(0, 240, 255, 0.08));
    border: 1px solid rgba(37, 211, 102, 0.38);
    color: #34D399;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
    position: relative;
    z-index: 3;
}

.bento-card-cta .cta-arrow {
    transition: transform 0.25s ease;
}

.bento-card-cta:hover {
    background: linear-gradient(135deg, #25D366, #10B981);
    border-color: #34D399;
    color: #020617;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.55);
}

.bento-card-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ============================================
   24. TOP 1% INTERACTIVE CALCULATOR, COMPARISON MATRIX & A11Y
   ============================================ */
.skip-to-content {
    position: fixed;
    top: -100px;
    left: 24px;
    z-index: 10005;
    padding: 12px 20px;
    background: #25D366;
    color: #020617;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    transition: top 0.2s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.skip-to-content:focus {
    top: 20px;
    outline: 2px solid #FFFFFF;
}

.calculator-section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

.calc-shell {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 28px;
    padding: 36px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(10, 18, 38, 0.78), rgba(5, 10, 24, 0.88));
    border: 1px solid rgba(150, 210, 255, 0.16);
    box-shadow: 0 32px 80px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.calc-step-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #38BDF8;
    margin-bottom: 14px;
}

.calc-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00F0FF;
    font-size: 11px;
}

.calc-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.calc-service-btn {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    color: #CBD5E1;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-service-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.calc-service-btn.active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 240, 255, 0.1));
    border-color: rgba(0, 240, 255, 0.55);
    color: #FFFFFF;
    box-shadow: 0 12px 28px -12px rgba(0, 240, 255, 0.35);
}

.calc-s-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calc-s-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: #F8FAFC;
}

.calc-s-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #94A3B8;
}

.calc-service-btn.active .calc-s-meta {
    color: #7DD3FC;
}

.calc-s-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.calc-service-btn.active .calc-s-check {
    background: #00F0FF;
    border-color: #00F0FF;
    color: #020617;
    font-weight: 800;
}

.calc-velocity-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.calc-vel-btn {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.22s ease;
}

.calc-vel-btn span {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    color: #748399;
    margin-top: 3px;
}

.calc-vel-btn.active {
    background: rgba(37, 211, 102, 0.14);
    border-color: rgba(37, 211, 102, 0.55);
    color: #FFFFFF;
}

.calc-vel-btn.active span {
    color: #34D399;
}

.calc-output-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(15, 25, 52, 0.9), rgba(4, 9, 22, 0.95));
    border: 1px solid rgba(0, 240, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.calc-out-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-out-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calc-out-tier-badge {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.14);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00F0FF;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
}

.calc-compare-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.calc-comp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-comp-row.bad {
    color: #94A3B8;
}

.calc-comp-row.bad strong {
    color: #FCA5A5;
    text-decoration: line-through;
    font-family: var(--font-mono);
    font-size: 15px;
}

.calc-comp-row.good {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.14), rgba(0, 240, 255, 0.09));
    border-color: rgba(37, 211, 102, 0.45);
}

.calc-comp-row.good strong {
    color: #34D399;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}

.calc-comp-label {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
}

.calc-comp-label small {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: #748399;
    font-weight: 400;
}

.calc-savings-banner {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.35);
    margin-bottom: 20px;
    text-align: center;
}

.calc-savings-title {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A7F3D0;
    margin-bottom: 4px;
}

.calc-savings-value {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #34D399;
}

.calc-savings-sub {
    font-size: 12px;
    color: #CBD5E1;
    margin-top: 4px;
}

.calc-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ─── Comparison Matrix Table (SEO Featured Snippet & Buyer Psychology) ─── */
.comparison-matrix-wrap {
    margin-top: 56px;
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(9, 16, 34, 0.72), rgba(4, 8, 20, 0.85));
    border: 1px solid rgba(150, 210, 255, 0.14);
    overflow-x: auto;
}

.comparison-matrix-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    text-align: center;
}

.comparison-matrix-sub {
    font-size: 14px;
    color: #94A3B8;
    text-align: center;
    margin-bottom: 24px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    font-size: 13.5px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.comparison-table thead th {
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table thead th.highlight-col,
.comparison-table tbody td.highlight-col {
    background: rgba(0, 240, 255, 0.07);
    border-left: 1px solid rgba(0, 240, 255, 0.25);
    border-right: 1px solid rgba(0, 240, 255, 0.25);
    color: #FFFFFF;
    font-weight: 700;
}

.comparison-table thead th.highlight-col {
    color: #00F0FF;
    border-top: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 12px 12px 0 0;
}

.comparison-table tbody td {
    color: #94A3B8;
}

.comparison-table tbody td:first-child {
    color: #E2E8F0;
    font-weight: 600;
}

@media (max-width: 992px) {
    .calc-shell {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
    .calc-services-grid {
        grid-template-columns: 1fr;
    }
    .calc-velocity-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   25. WORLD-BEST SUITE: ⌘K COMMAND PALETTE,
       60S BOTTLENECK DIAGNOSTIC, PRICING TOGGLE,
       SILO HUB PILLS & MULTI-PAGE COMPONENTS
   ============================================ */

/* Navbar ⌘K Command Trigger */
.cmd-k-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
}

.cmd-k-btn:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.45);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.cmd-k-kbd {
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 10px;
    color: #38BDF8;
}

/* Hero Dedicated SEO Hub Quick-Bar */
.hero-hubs-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.hero-hubs-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #748399;
    margin-right: 4px;
}

.hero-hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #CBD5E1;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
}

.hero-hub-pill:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.45);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Service Card Actions Row */
.bento-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    position: relative;
    z-index: 3;
}

.bento-card-actions .bento-card-cta {
    margin-top: 0;
}

.bento-card-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
}

.bento-card-hub-link:hover {
    background: rgba(0, 240, 255, 0.14);
    border-color: rgba(0, 240, 255, 0.5);
    color: #00F0FF;
    transform: translateY(-2px);
}

/* Transformation Dynamic Bottleneck Action Bar */
.transform-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
    padding: 18px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(10, 20, 42, 0.85), rgba(4, 10, 24, 0.92));
    border: 1px solid rgba(0, 240, 255, 0.22);
}

.transform-action-text {
    font-size: 14px;
    color: #E2E8F0;
}

.transform-action-text strong {
    color: #00F0FF;
}

/* 60-Second Interactive Bottleneck Diagnostic (#diagnostic) */
.diagnostic-section {
    position: relative;
    padding: 110px 0;
    z-index: 2;
}

.diag-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(9, 17, 36, 0.82), rgba(4, 8, 20, 0.92));
    border: 1px solid rgba(150, 210, 255, 0.16);
}

.diag-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.diag-opt-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    text-align: left;
    cursor: pointer;
    transition: all 0.22s ease;
}

.diag-opt-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.35);
    transform: translateX(3px);
}

.diag-opt-btn.active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.22), rgba(0, 240, 255, 0.1));
    border-color: #00F0FF;
    color: #FFFFFF;
    box-shadow: 0 10px 26px -10px rgba(0, 240, 255, 0.4);
}

.diag-opt-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #F8FAFC;
    display: block;
}

.diag-opt-sub {
    font-size: 12px;
    color: #94A3B8;
}

.diag-stage-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.diag-stage-btn {
    padding: 10px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.diag-stage-btn.active {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    color: #FFFFFF;
}

.diag-prescription-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(14, 26, 54, 0.92), rgba(4, 9, 22, 0.96));
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.diag-rx-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.14);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #34D399;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 14px;
}

.diag-rx-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.diag-rx-cause {
    font-size: 13.5px;
    color: #CBD5E1;
    line-height: 1.65;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.diag-rx-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}

.diag-rx-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #E2E8F0;
}

.diag-rx-list li::before {
    content: '⚡';
    flex-shrink: 0;
}

/* Process Timeline Badge */
.process-timeline-pill {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.28);
    color: #38BDF8;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* Pricing Cadence Switcher (Monthly vs Quarterly -15%) */
.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: -18px auto 40px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(8, 15, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.pricing-cadence-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pricing-cadence-btn.active {
    background: linear-gradient(135deg, #0052FF, #00F0FF);
    color: #020617;
    box-shadow: 0 8px 24px -6px rgba(0, 240, 255, 0.5);
}

.pricing-save-pill {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #34D399;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
}

.pricing-cadence-btn.active .pricing-save-pill {
    background: #020617;
    color: #34D399;
    border-color: #020617;
}

.pricing-quarterly-note {
    display: block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: #34D399;
    margin-top: 4px;
    min-height: 18px;
}

/* ⌘K Command Palette Overlay */
.cmd-palette-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.cmd-palette-modal.active {
    opacity: 1;
    visibility: visible;
}

.cmd-palette-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(11, 20, 42, 0.97), rgba(4, 9, 22, 0.98));
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.15);
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.cmd-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.cmd-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: 15px;
}

.cmd-search-input::placeholder {
    color: #748399;
}

.cmd-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cmd-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #E2E8F0;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.18s ease;
    cursor: pointer;
}

.cmd-item:hover,
.cmd-item:focus {
    background: rgba(0, 240, 255, 0.13);
    color: #FFFFFF;
    outline: none;
}

.cmd-item-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #38BDF8;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 240, 255, 0.08);
}

/* Case Study Drawer Tech Stack Pills */
.drawer-stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.drawer-stack-pill {
    padding: 5px 11px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: #7DD3FC;
    font-family: var(--font-mono);
    font-size: 11px;
}

@media (max-width: 992px) {
    .diag-grid {
        grid-template-columns: 1fr;
        padding: 24px 18px;
    }
    .diag-stage-pills {
        grid-template-columns: repeat(2, 1fr);
    }
    .cmd-k-btn {
        display: none;
    }
}

/* ============================================
   26. CURSOR & INTERACTION CONSISTENCY FIXES
   ============================================ */
body:not(.js-ready),
body:not(.js-ready) a,
body:not(.js-ready) button {
    cursor: auto;
}

@media (pointer: fine) {
    body.js-ready,
    body.js-ready a,
    body.js-ready button,
    body.js-ready .calc-service-btn,
    body.js-ready .calc-vel-btn,
    body.js-ready .diag-opt-btn,
    body.js-ready .diag-stage-btn,
    body.js-ready .pricing-cadence-btn,
    body.js-ready .cmd-k-btn,
    body.js-ready .cmd-item,
    body.js-ready .modal-submit-btn,
    body.js-ready .modal-wa-btn,
    body.js-ready .ba-handle {
        cursor: none;
    }
}

/* ============================================
   27. HEADLINE & DEDICATED PAGE VISIBILITY GUARDS
   ============================================ */
.section-title,
.cta-title,
.cta-title-text,
.hero-title,
.hero-title-line,
.manifesto-statement,
.manifesto-line {
    clip-path: none !important;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wa-inline-svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
}


/* ==========================================================
   v7.0 CALM LUXURY UI & SPATIAL CLARITY UPGRADE
   - Higher-contrast obsidian glass over Three.js canvas
   - Interactive Hero Spatial Console mode switcher
   - Relocated Dedicated Service Hubs Bar in #services
   - Floating Quick-Jump Section Dock for effortless navigation
   - Visual 1-2-3 Step Flow Badges for zero cognitive overload
   ========================================================== */

/* 1. Higher-contrast glass cards so text is 100% effortless to read over WebGL */
.glass,
.bento-card,
.portfolio-card,
.proof-card,
.pricing-card,
.process-step,
.testimonial-card,
.faq-item,
.calc-shell,
.diag-grid {
    background: linear-gradient(180deg, rgba(10, 19, 42, 0.88) 0%, rgba(5, 11, 26, 0.92) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    box-shadow:
        0 20px 50px -15px rgba(0, 0, 0, 0.72),
        0 1px 0 0 rgba(255, 255, 255, 0.12) inset !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.bento-card:hover,
.portfolio-card:hover,
.proof-card:hover,
.pricing-card:hover {
    border-color: rgba(0, 240, 255, 0.36) !important;
    box-shadow:
        0 26px 64px -12px rgba(0, 82, 255, 0.26),
        0 1px 0 0 rgba(0, 240, 255, 0.32) inset !important;
}

/* 2. Calm, Scannable Hero Spacing & Subtle Text Backplate */
.hero-content {
    position: relative;
    z-index: 4;
}

.hero-subtitle {
    color: #E2E8F0 !important;
    font-size: clamp(1rem, 1.18vw, 1.16rem) !important;
    line-height: 1.72 !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 18px rgba(2, 6, 18, 0.85);
}

/* 3. Interactive Mode Switcher inside Hero Spatial Console */
.console-mode-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(3, 8, 22, 0.78);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.console-mode-label {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.console-mode-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.console-mode-btn {
    appearance: none;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #CBD5E1;
    font-family: var(--font-sans, sans-serif);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.console-mode-btn:hover {
    border-color: rgba(0, 240, 255, 0.45);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.console-mode-btn.active {
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.38), rgba(0, 240, 255, 0.22));
    border-color: rgba(0, 240, 255, 0.68);
    color: #FFFFFF;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.22);
}

.console-card {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, opacity 0.22s ease;
}

.console-card.is-switching {
    opacity: 0.45;
    transform: translateY(3px);
}

/* 4. Dedicated Service Hubs Bar at bottom of #services */
.services-hubs-showcase {
    margin-top: 36px;
    padding: 22px 26px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(8, 17, 38, 0.92), rgba(4, 10, 25, 0.95));
    border: 1px solid rgba(0, 240, 255, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.services-hubs-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.services-hubs-kicker {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00F0FF;
    font-weight: 600;
}

.services-hubs-heading {
    font-size: 15px;
    font-weight: 700;
    color: #F8FAFC;
    margin: 0;
}

/* 5. Easy 3-Step Visual Guide Banner for Interactive Tools */
.easy-steps-strip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(8, 17, 38, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 12.5px;
    color: #CBD5E1;
}

.easy-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #F8FAFC;
}

.easy-step-pill strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.18);
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #00F0FF;
    font-size: 11px;
    font-family: var(--font-mono, monospace);
}

.easy-step-sep {
    color: #748399;
    font-size: 12px;
}

/* 6. Floating Quick-Jump Section Dock (Desktop & Tablet) */
.quick-jump-dock {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%) translateY(0);
    z-index: 940;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(5, 11, 26, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.68),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.quick-jump-link {
    font-family: var(--font-sans, sans-serif);
    font-size: 12px;
    font-weight: 600;
    color: #CBD5E1;
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 999px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-jump-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.07);
}

.quick-jump-link.active {
    color: #030712;
    background: linear-gradient(135deg, #00F0FF 0%, #38BDF8 100%);
    font-weight: 700;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.quick-jump-link.quick-jump-wa {
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.12);
    margin-left: 2px;
}

.quick-jump-link.quick-jump-wa:hover {
    background: rgba(16, 185, 129, 0.24);
    color: #FFFFFF;
}

@media (max-width: 900px) {
    .quick-jump-dock {
        display: none !important;
    }
    .console-mode-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .services-hubs-showcase {
        padding: 18px;
    }
}

/* ==========================================================
   v8.0 / v9.0 EXPERT UI/UX AUDIT & EVERY-DEVICE RESPONSIVE OVERHAUL
   - Universal device coverage: 280px (Galaxy Fold), 320px (iPhone SE),
     360px–430px (Android/iPhone), 540px–1024px (Phablets, iPads, Surface),
     1025px–1440px (Laptops & Desktops), 1920px–2560px+ (Full HD / 4K),
     plus Mobile Landscape (max-height: 520px) & Touch/Coarse Pointer devices
   ========================================================== */

/* ─── 1. Premium Floating Capsule Navbar (Every Viewport Width) ─── */
.navbar {
    width: min(1360px, calc(100% - 32px));
    height: 68px;
    padding: 0 22px;
    border-radius: 9999px;
    box-sizing: border-box;
    z-index: 1005;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
}

.navbar.scrolled {
    height: 64px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-width: 0;
}

.nav-logo {
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.45vw, 24px);
    flex: 1 1 auto;
    min-width: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13.5px;
    line-height: 1.2;
    padding: 6px 2px;
}

.nav-links a::after {
    bottom: -3px;
}

.nav-links a.active::before {
    inset: -5px -10px;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.cmd-k-btn,
.sound-toggle-btn,
.nav-wa-btn,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    height: 40px;
    line-height: 1;
    border-radius: 9999px !important;
    box-sizing: border-box;
}

.cmd-k-btn {
    padding: 0 13px;
    gap: 7px;
}

.sound-toggle-btn {
    padding: 0 13px;
    gap: 7px;
}

/* Distinct equalizer bar heights even when audio is paused so icon never looks like '...' */
.sound-bars {
    height: 13px;
    gap: 2.5px;
    align-items: flex-end;
}
.sound-bars span:nth-child(1) { height: 6px; }
.sound-bars span:nth-child(2) { height: 12px; }
.sound-bars span:nth-child(3) { height: 8px; }

.nav-wa-btn {
    padding: 0 15px;
    gap: 7px;
}

.nav-cta {
    padding: 0 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.nav-cta .btn-text {
    white-space: nowrap;
    line-height: 1;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Floating Quick-Jump Dock: hidden on Hero so it never overlaps Hero CTAs; appears on scroll */
.quick-jump-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.quick-jump-dock.dock-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Ultra-Wide & 4K Displays (>= 1920px) */
@media (min-width: 1920px) {
    .navbar {
        width: min(1480px, calc(100% - 64px));
        height: 72px;
        padding: 0 28px;
    }
    .nav-links {
        gap: 28px;
    }
    .nav-links a {
        font-size: 14px;
    }
}

/* Compact Desktop / 13" Laptop (1161px – 1300px): keep all links & actions crisp */
@media (max-width: 1300px) {
    .navbar {
        width: calc(100% - 24px);
        padding: 0 18px;
    }
    .nav-container {
        gap: 12px;
    }
    .nav-links {
        gap: clamp(11px, 1.15vw, 18px);
    }
    .nav-links a {
        font-size: 13px;
    }
    .nav-actions {
        gap: 8px;
    }
    .cmd-k-btn > span:first-child {
        display: none;
    }
    .cmd-k-btn {
        padding: 0 10px;
    }
    .sound-toggle-btn .sound-text {
        display: none;
    }
    .sound-toggle-btn {
        width: 38px;
        height: 38px;
        padding: 0;
    }
    .nav-cta {
        padding: 0 16px;
        font-size: 12.5px;
    }
}

/* Small Laptop (1025px – 1160px): icon-only WhatsApp + compact nav links */
@media (max-width: 1160px) {
    .nav-wa-btn .wa-nav-label {
        display: none;
    }
    .nav-wa-btn {
        width: 38px;
        height: 38px;
        padding: 0;
    }
    .nav-links {
        gap: 11px;
    }
    .nav-links a {
        font-size: 12.5px;
    }
}

/* Tablet & Compact Viewports (<= 1024px): switch cleanly to hamburger drawer before any link crowding */
@media (max-width: 1024px) {
    .navbar {
        width: calc(100% - 24px);
        top: 12px;
        height: 62px;
        padding: 0 16px;
    }
    .navbar.scrolled {
        height: 58px;
    }
    .nav-links,
    .cmd-k-btn {
        display: none !important;
    }
    .nav-actions {
        margin-left: auto;
        gap: 8px;
    }
    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.1);
        flex-shrink: 0;
        padding: 0;
    }
}

/* Mobile Viewports (<= 768px) */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 20px);
        top: 10px;
        height: 58px;
        padding: 0 12px 0 14px;
    }
    .navbar.scrolled {
        top: 8px;
        height: 56px;
    }
    .nav-cta {
        display: none !important;
    }
    .sound-toggle-btn,
    .nav-wa-btn,
    .menu-toggle {
        width: 36px;
        height: 36px;
        padding: 0;
    }
    .sound-toggle-btn .sound-text,
    .nav-wa-btn .wa-nav-label {
        display: none !important;
    }
    .logo-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .logo-img {
        width: 21px;
        height: 21px;
    }
    .logo-creato,
    .logo-verse {
        font-size: 17px;
    }
    .logo-sub {
        font-size: 8px;
        letter-spacing: 0.28em;
    }
}

@media (max-width: 380px) {
    .navbar {
        width: calc(100% - 16px);
        padding: 0 10px 0 12px;
    }
    .nav-container {
        gap: 8px;
    }
    .nav-logo {
        gap: 8px;
        margin-right: 0;
    }
    .logo-mark {
        width: 30px;
        height: 30px;
    }
    .logo-img {
        width: 18px;
        height: 18px;
    }
    .logo-creato,
    .logo-verse {
        font-size: 15px;
    }
    .logo-sub {
        font-size: 7.5px;
        letter-spacing: 0.22em;
    }
    .nav-actions {
        gap: 6px;
    }
    .sound-toggle-btn,
    .nav-wa-btn,
    .menu-toggle {
        width: 34px;
        height: 34px;
    }
}

/* Ultra-Compact / Foldable Outer Screen (<= 310px, e.g., Galaxy Fold 280px) */
@media (max-width: 310px) {
    .navbar {
        width: calc(100% - 12px);
        padding: 0 8px 0 10px;
        height: 54px;
    }
    .nav-container {
        gap: 4px;
    }
    .logo-mark {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
    .logo-creato,
    .logo-verse {
        font-size: 13.5px;
    }
    .logo-sub {
        font-size: 6.5px;
        letter-spacing: 0.18em;
    }
    .sound-toggle-btn,
    .nav-wa-btn,
    .menu-toggle {
        width: 30px;
        height: 30px;
    }
    .menu-toggle span {
        width: 15px;
    }
}

/* ─── 2. Ergonomic, Non-Clipped Mobile Menu Overlay ─── */
.mobile-menu {
    z-index: 1000;
    background: rgba(3, 7, 18, 0.97);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    justify-content: center;
    padding: 84px 18px calc(36px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.mobile-menu-inner {
    width: min(460px, 100%);
    margin: auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
    text-align: center;
}

.mobile-menu-link {
    font-size: clamp(14px, 3.6vw, 17px);
    font-weight: 700;
    color: #E2E8F0;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    min-width: 0;
    word-break: break-word;
}

.mobile-menu-link:hover {
    transform: translateY(-2px);
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.35);
}

/* If a mobile menu has an odd number of links, span the last link across both columns */
.mobile-menu-inner > .mobile-menu-link:last-of-type:nth-of-type(odd) {
    grid-column: 1 / -1;
}

.mobile-menu-cta {
    grid-column: 1 / -1;
    margin-top: 6px !important;
    padding: 14px 18px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.1);
    color: #FFFFFF;
    text-align: center;
    line-height: 1.3;
    box-sizing: border-box;
}

@media (max-width: 310px) {
    .mobile-menu-inner {
        grid-template-columns: 1fr;
    }
}

/* ─── 3. Hero Section & Spatial Command Console Responsive Fix ─── */
.hero-content {
    width: 100%;
    max-width: 900px;
    min-width: 0;
    box-sizing: border-box;
}

.hero-badge {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.hero-trust-bar {
    max-width: 100%;
    box-sizing: border-box;
}

.hero-trust-item {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hero-console-wrap,
.spatial-console {
    width: 100%;
    max-width: 960px;
    min-width: 0;
    box-sizing: border-box;
}

.console-card {
    min-width: 0;
}

@media (max-width: 992px) {
    .console-body {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 18px;
    }
    .console-body > .console-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 96px 16px 44px;
    }
    .hero-badge {
        padding: 8px 14px;
        font-size: 10px;
        line-height: 1.45;
        gap: 6px;
        margin-bottom: 22px;
        border-radius: 18px;
    }
    .badge-status-sep {
        display: none;
    }
    .badge-status-sub {
        display: block;
        width: 100%;
    }
    .console-header {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 14px;
    }
    .console-url-pill {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 10.5px;
        padding: 4px 10px;
        flex: 1 1 auto;
        min-width: 0;
    }
    .console-domain {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .console-tag-status {
        display: none;
    }
    .console-mode-bar {
        padding: 10px 14px;
        gap: 8px;
    }
    .console-mode-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .console-mode-btn {
        justify-content: center;
        font-size: 11.5px;
        padding: 7px 10px;
        white-space: nowrap;
    }
    .console-body {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 12px;
    }
    .console-body > .console-card:last-child {
        grid-column: span 1;
    }
    .c-card-value {
        font-size: 20px;
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .console-mode-tabs {
        grid-template-columns: 1fr;
    }
}

/* ─── 4. Before / After Transformation Slider & Action Bar Anti-Clipping Fix ─── */
.ba-before {
    background: radial-gradient(circle at 30% 50%, #1e1e26 0%, #0b0c10 100%), #0b0c10 !important;
}

.ba-after {
    background: radial-gradient(circle at 70% 50%, rgba(0, 82, 255, 0.34) 0%, rgba(3, 7, 18, 0.98) 75%), #030712 !important;
}

.raw-art {
    background: #10121A !important;
}

.cinema-art {
    background: radial-gradient(circle, rgba(8, 28, 68, 0.96) 0%, #040918 85%), #040918 !important;
}

.hud-top {
    flex-wrap: wrap;
    gap: 6px;
}

.transform-action-bar {
    max-width: 1000px;
    margin: 22px auto 0;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .ba-slider-container {
        aspect-ratio: auto;
        min-height: 460px;
        height: 460px;
    }
}

@media (max-width: 768px) {
    .ba-slider-container {
        aspect-ratio: auto;
        min-height: 480px;
        height: 480px;
    }
    .ba-layer {
        padding: 52px 14px 16px;
        justify-content: center;
    }
    .ba-badge {
        top: 12px;
        font-size: 9px;
        letter-spacing: 0.03em;
        padding: 4px 8px;
        max-width: calc(50% - 20px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .before-badge {
        left: 12px;
    }
    .after-badge {
        right: 12px;
    }
    .ba-mockup-inner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .ba-metric-chip {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 10px;
        max-width: 100%;
        white-space: normal;
        line-height: 1.3;
    }
    .ba-preview-art {
        padding: 14px 12px;
        font-size: 13px;
    }
    .ba-hud-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .ba-hud-stat {
        padding: 5px 3px;
    }
    .ba-hud-stat strong {
        font-size: 11px;
    }
    .ba-hud-stat span {
        font-size: 9px;
    }
    .transform-action-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 18px 16px;
    }
    .transform-action-bar .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .ba-slider-container {
        min-height: 500px;
        height: 500px;
    }
    .ba-layer {
        padding: 48px 12px 14px;
    }
    .ba-preview-art {
        padding: 12px 10px;
        font-size: 12px;
    }
    .ba-preview-art p {
        font-size: 11.5px !important;
        line-height: 1.45 !important;
    }
}

@media (max-width: 310px) {
    .ba-slider-container {
        min-height: 530px;
        height: 530px;
    }
    .hud-lut {
        display: none;
    }
}

/* ─── 5. FAQ Accordion Full-Height Expansion on All Devices ─── */
.faq-item.active .faq-answer {
    max-height: 1200px;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 15.5px;
        line-height: 1.4;
        gap: 14px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }
}

/* ─── 6. Modals, Drawers & Command Palette Multi-Device Safety ─── */
.cmd-palette-modal {
    overflow-y: auto;
    padding: max(16px, 8vh) 16px 16px;
    box-sizing: border-box;
}

.cmd-palette-card {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.cmd-list {
    max-height: min(380px, calc(100vh - 110px));
    max-height: min(380px, calc(100dvh - 110px));
    flex: 1 1 auto;
}

.project-modal {
    padding: 16px;
    box-sizing: border-box;
}

.modal-card {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    box-sizing: border-box;
}

.drawer-panel {
    box-sizing: border-box;
}

/* ─── 7. CSS Grid Track Safety & Small-Screen Ergonomics (280px – 768px) ─── */
.bento-card,
.bento-card-content,
.bento-wide-visual,
.calc-controls,
.calc-output-panel,
.diag-options,
.diag-prescription-card,
.footer-col,
.about-text,
.about-visual,
.pricing-card,
.proof-card {
    min-width: 0;
    box-sizing: border-box;
}

.calc-out-header {
    flex-wrap: wrap;
}

.footer-input-group input {
    min-width: 0;
    width: 100%;
}

.footer-wa-link {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.calc-savings-sub strong,
.cta-subtitle strong,
.hero-trust-item strong {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.whatsapp-btn {
    overflow: visible;
}

@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .btn-large {
        padding: 14px 22px;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }
    .btn-text {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .bento-card,
    .bento-card.wide {
        padding: 24px 18px;
    }
    .calc-shell {
        padding: 20px 16px;
        gap: 20px;
    }
    .calc-output-panel,
    .diag-prescription-card {
        padding: 20px 16px;
    }
    .diag-grid {
        padding: 20px 16px;
        gap: 20px;
    }
    .comparison-matrix-wrap {
        padding: 20px 14px;
    }
    .pricing-toggle-wrap {
        max-width: 100%;
        flex-wrap: wrap;
    }
    .pricing-cadence-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
    .footer-desc {
        max-width: 100%;
    }
    .floating-whatsapp-widget {
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        right: 18px;
    }
}

@media (max-width: 420px) {
    :root {
        --container-padding: 14px;
        --block-gutter: 8px;
    }
    .about-stats-grid,
    .diag-stage-pills {
        grid-template-columns: 1fr;
    }
    .mg-metrics {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .calc-comp-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .project-roi-badge {
        white-space: normal;
        max-width: 100%;
    }
    .modal-budget-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 310px) {
    :root {
        --container-padding: 10px;
        --block-gutter: 6px;
    }
    .bento-card,
    .bento-card.wide,
    .calc-shell,
    .calc-output-panel,
    .diag-grid,
    .diag-prescription-card,
    .pricing-card,
    .testimonial-card,
    .cta-content {
        padding: 16px 12px;
    }
    .footer-wa-link {
        font-size: 11.5px;
        padding: 8px 10px;
    }
}

/* ─── 8. Mobile Landscape Mode (Short Viewports, max-height: 520px) ─── */
@media (max-height: 520px) and (orientation: landscape) {
    .navbar {
        top: 8px;
        height: 52px;
    }
    .navbar.scrolled {
        top: 6px;
        height: 48px;
    }
    .mobile-menu {
        padding: 68px 20px 24px;
    }
    .mobile-menu-inner {
        width: min(640px, 100%);
        grid-template-columns: repeat(3, 1fr);
        gap: 6px 8px;
    }
    .mobile-menu-link {
        padding: 8px 8px;
        font-size: 13.5px;
    }
    .mobile-menu-inner > .mobile-menu-link:nth-of-type(11) {
        grid-column: span 1;
    }
    .mobile-menu-cta {
        padding: 10px 16px;
        font-size: 13.5px;
    }
    .hero-section {
        padding-top: 80px;
    }
}

/* ─── 9. Touch & Tablet Pointer Ergonomics (iPads, Android Tablets, Touch Laptops) ─── */
@media (hover: none), (pointer: coarse) {
    body,
    body.js-ready,
    body.js-ready a,
    body.js-ready button {
        cursor: auto !important;
    }
    .cursor,
    .cursor-dot,
    .project-preview {
        display: none !important;
    }
}

/* ==========================================================
   v10.0 TOP 1% AWWWARDS UI, LASER BORDER BEAMS, QUANTUM THEMES
   & INTERACTIVE GROWTH PIPELINE STUDIO
   ========================================================== */

/* ─── 1. Multi-Atmosphere Quantum Theme Engine ─── */
html[data-theme="emerald"] {
    --primary: #059669;
    --primary-light: #34D399;
    --primary-dark: #047857;
    --accent: #10B981;
    --lux-blue: #10B981;
    --lux-cyan: #6EE7B7;
    --gradient: linear-gradient(135deg, #059669 0%, #10B981 50%, #6EE7B7 100%);
}

html[data-theme="violet"] {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --accent: #C084FC;
    --lux-blue: #8B5CF6;
    --lux-cyan: #E879F9;
    --gradient: linear-gradient(135deg, #6D28D9 0%, #9333EA 50%, #E879F9 100%);
}

html[data-theme="gold"] {
    --primary: #D97706;
    --primary-light: #FBBF24;
    --primary-dark: #B45309;
    --accent: #F59E0B;
    --lux-blue: #F59E0B;
    --lux-cyan: #FDE68A;
    --gradient: linear-gradient(135deg, #D97706 0%, #F59E0B 50%, #FDE68A 100%);
}

/* ─── 2. Animated Conic-Gradient Laser Border Beams (Linear / Raycast Style) ─── */
@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spinLaserBeam {
    from { --beam-angle: 0deg; }
    to { --beam-angle: 360deg; }
}

.spatial-console::after,
.blueprint-studio-shell::after,
.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.2px;
    background: conic-gradient(
        from var(--beam-angle),
        transparent 0%,
        transparent 68%,
        var(--lux-blue, #2F7DFF) 82%,
        var(--accent, #00F0FF) 93%,
        #FFFFFF 97%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
    opacity: 0.78;
    animation: spinLaserBeam 8s linear infinite;
}

/* ─── 3. Hero Console Atmosphere Switcher & Live Telemetry Bar ─── */
.console-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.console-theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.theme-switch-label {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-right: 2px;
}

.theme-orb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-orb.cyan { background: linear-gradient(135deg, #0052FF, #00F0FF); }
.theme-orb.emerald { background: linear-gradient(135deg, #059669, #34D399); }
.theme-orb.violet { background: linear-gradient(135deg, #7C3AED, #E879F9); }
.theme-orb.gold { background: linear-gradient(135deg, #D97706, #FDE68A); }

.theme-orb:hover,
.theme-orb.active {
    transform: scale(1.22);
    border-color: #FFFFFF;
    box-shadow: 0 0 12px var(--accent, #00F0FF);
}

.console-telemetry-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(2, 6, 18, 0.9);
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    position: relative;
    z-index: 3;
}

.telemetry-metrics {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #94A3B8;
}

.tm-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tm-item strong {
    color: #F8FAFC;
    font-weight: 700;
}

.tm-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: badgePulse 1.8s ease-in-out infinite;
}

.tm-sep {
    color: rgba(148, 163, 184, 0.35);
}

.telemetry-log {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #CBD5E1;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.14);
    padding: 6px 12px;
    border-radius: 8px;
    text-align: left;
    overflow: hidden;
    min-width: 0;
}

#consoleLiveLogText {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.log-prefix {
    color: var(--accent, #00F0FF);
    font-weight: 700;
    margin-right: 4px;
}

.console-surge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.3), rgba(0, 240, 255, 0.18));
    border: 1px solid var(--accent, #00F0FF);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.console-surge-btn:hover,
.console-surge-btn.surging {
    background: var(--gradient);
    color: #020617;
    transform: translateY(-1px);
    box-shadow: 0 0 28px var(--accent, #00F0FF);
}

.spatial-console.is-surging .console-card {
    border-color: var(--accent, #00F0FF) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.22) !important;
}

/* ─── 4. Interactive Growth Pipeline & Funnel Architecture Studio (#blueprint) ─── */
.blueprint-section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

.blueprint-studio-shell {
    position: relative;
    border-radius: 28px;
    padding: 36px;
    background: linear-gradient(180deg, rgba(8, 16, 36, 0.92) 0%, rgba(4, 9, 22, 0.96) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 34px 90px -25px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    overflow: hidden;
    box-sizing: border-box;
}

.bp-controls-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.bp-control-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent, #00F0FF);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bp-industry-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bp-ind-btn {
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #CBD5E1;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
}

.bp-ind-btn:hover {
    border-color: var(--accent, #00F0FF);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.bp-ind-btn.active {
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.35), rgba(0, 240, 255, 0.2));
    border-color: var(--accent, #00F0FF);
    color: #FFFFFF;
    box-shadow: 0 10px 26px -10px rgba(0, 240, 255, 0.45);
}

.bp-slider-group {
    background: rgba(2, 6, 18, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    padding: 16px 20px;
    min-width: 0;
}

.bp-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.bp-slider-header .bp-control-label {
    margin-bottom: 0;
}

.bp-spend-readout {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #34D399;
}

.bp-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary, #0052FF), var(--accent, #00F0FF));
    outline: none;
    cursor: pointer;
}

.bp-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--accent, #00F0FF);
    box-shadow: 0 0 15px var(--accent, #00F0FF);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.bp-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.18);
}

.bp-slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: #748399;
}

/* 4-Node Connected Circuit Graph */
.bp-circuit-wrap {
    position: relative;
    margin-bottom: 28px;
}

.bp-circuit-line {
    position: absolute;
    top: 50%;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 82, 255, 0.25), rgba(0, 240, 255, 0.55), rgba(16, 185, 129, 0.45));
    transform: translateY(-50%);
    z-index: 1;
    overflow: hidden;
    border-radius: 999px;
}

.bp-packet {
    position: absolute;
    top: 0;
    left: -12%;
    width: 72px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #FFFFFF, var(--accent, #00F0FF), transparent);
    box-shadow: 0 0 14px var(--accent, #00F0FF);
    animation: packetFlow 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.bp-packet.p2 { animation-delay: 1.2s; }
.bp-packet.p3 { animation-delay: 2.4s; }

@keyframes packetFlow {
    0% { left: -12%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 105%; opacity: 0; }
}

.bp-nodes-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bp-node {
    background: linear-gradient(180deg, rgba(12, 22, 48, 0.94), rgba(5, 10, 24, 0.97));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 20px 18px;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    box-sizing: border-box;
}

.bp-node:hover,
.bp-node.active {
    transform: translateY(-4px);
    border-color: var(--accent, #00F0FF);
    box-shadow:
        0 20px 44px -15px rgba(0, 82, 255, 0.45),
        0 0 24px rgba(0, 240, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bp-node-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 12px;
}

.bp-node-step {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.08em;
}

.bp-node-status {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.bp-node-status.live {
    background: rgba(56, 189, 248, 0.14);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.bp-node-status.cyan {
    background: rgba(0, 240, 255, 0.14);
    color: #00F0FF;
    border: 1px solid rgba(0, 240, 255, 0.35);
}

.bp-node-status.green {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.38);
}

.bp-node-status.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.38);
}

.bp-node-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px;
    line-height: 1.3;
}

.bp-node-metric {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent, #00F0FF);
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.bp-node-metric span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: #CBD5E1;
}

.bp-node-desc {
    font-size: 12.5px;
    line-height: 1.58;
    color: #94A3B8;
    margin: 0 0 14px;
}

.bp-node-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bp-node-tags span {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #CBD5E1;
}

/* Bottom Output & Telemetry Bar */
.bp-output-bar {
    background: rgba(2, 6, 18, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bp-output-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bp-out-cell {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.14);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bp-out-cell.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(0, 240, 255, 0.08));
    border-color: rgba(16, 185, 129, 0.45);
}

.bp-out-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #94A3B8;
}

.bp-out-val {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    color: #FFFFFF;
}

.bp-out-val.cyan { color: var(--accent, #00F0FF); }
.bp-out-val.green { color: #34D399; }

.bp-out-sub {
    font-size: 11.5px;
    color: #CBD5E1;
}

.bp-output-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.bp-inspector-note {
    font-size: 13.5px;
    color: #E2E8F0;
    flex: 1 1 280px;
    min-width: 0;
}

.bp-inspector-note strong {
    color: var(--accent, #00F0FF);
}

/* Responsive rules for #blueprint & Hero Telemetry Bar across all devices */
@media (max-width: 1024px) {
    .bp-controls-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bp-nodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bp-circuit-line {
        display: none;
    }
    .bp-output-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blueprint-section {
        padding: 84px 0;
    }
    .blueprint-studio-shell {
        padding: 22px 16px;
        border-radius: 22px;
    }
    .bp-industry-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    .bp-ind-btn {
        font-size: 12px;
        padding: 9px 10px;
        text-align: center;
    }
    .bp-nodes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .bp-output-bar {
        padding: 18px 14px;
    }
    .bp-output-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .bp-output-cta .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .console-telemetry-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px;
        gap: 10px;
    }
    .telemetry-metrics {
        justify-content: center;
    }
    .telemetry-log {
        flex: none;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .console-surge-btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .bp-industry-tabs {
        grid-template-columns: 1fr;
    }
    .console-theme-switcher .theme-switch-label {
        display: none;
    }
}

@media (max-width: 310px) {
    .blueprint-studio-shell {
        padding: 16px 10px;
    }
    .bp-slider-group {
        padding: 12px 10px;
    }
    .bp-node {
        padding: 16px 12px;
    }
    .bp-out-cell {
        padding: 12px 10px;
    }
}

/* ============================================
   T13: CSS-DRIVEN HERO LCP ENTRANCE (@keyframes + --delay)
   Keeps hero h1/subtitle in the first paint without waiting for script.js
   ============================================ */
@keyframes heroRevealUp {
    0% {
        opacity: 0.01;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes preloaderAutoHide {
    0%, 60% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.preloader {
    pointer-events: none;
    animation: preloaderAutoHide 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-section .reveal,
html.lux-open main > .hero-section .reveal,
html.lux-open main > .hero-section.is-open .reveal {
    opacity: 1;
    transform: translateY(0);
    animation: heroRevealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) both;
    transition: none;
}

html.lux-open main > .hero-section,
html.lux-open main > .hero-section.is-open {
    opacity: 1;
    transform: none;
}



@media (prefers-reduced-motion: reduce) {
    .hero-section .reveal,
    html.lux-open main > .hero-section .reveal,
    .preloader {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .preloader {
        display: none !important;
    }
}

/* ============================================
   T17: FOCUS-VISIBLE & NATIVE CURSOR ACCESSIBILITY
   Ensures every outline:none element has a visible :focus-visible ring
   and form controls / touch devices always show the native cursor.
   ============================================ */
.footer-input-group input:focus-visible,
.modal-input:focus-visible,
.cmd-search-input:focus-visible,
.cmd-item:focus-visible,
.bp-spend-slider:focus-visible {
    outline: 2px solid var(--accent, #00F0FF) !important;
    outline-offset: 2px;
}

input,
textarea,
select,
[contenteditable="true"] {
    cursor: text !important;
}

@media (hover: none), (pointer: coarse) {
    body,
    a,
    button,
    input,
    textarea,
    select,
    .magnetic-btn,
    body.js-ready .modal-submit-btn,
    body.js-ready .modal-wa-btn,
    body.js-ready .ba-handle {
        cursor: auto !important;
    }
    .cursor,
    .cursor-dot {
        display: none !important;
    }
}

/* ============================================
   T18: MINIMUM 12PX READABLE CAPTIONS & FORM HELPER TEXT
   Raises zero-shift helper notes to 12px; remaining 10.5-11.5px rules that shift card height listed under Needs Approval.
   ============================================ */
.pricing-quarterly-note {
    font-size: 12px;
}

/* ============================================
   FOLLOW-UP FIXES (1, 3, 4):
   - Fix 1: Bottom-docked slim cookie bar (~48px desktop, 2-line mobile with safe-area)
            + .floating-whatsapp-widget lift while visible
   - Fix 3: Breakpoint-specific #hero .hero-subtitle height reservation (0px visual shift)
            + fixed pixel top for #hero .hero-orb / .hero-orb-2 and .console-stream lock
   - Fix 4: Cloudflare Turnstile slot styling (hidden when TURNSTILE_SITE_KEY is empty)
   ============================================ */
#hero .hero-subtitle {
    min-height: 127.6875px;
}
@media (max-width: 1440px) {
    #hero .hero-subtitle {
        min-height: 110.0625px;
    }
}
@media (max-width: 1024px) {
    #hero .hero-subtitle {
        min-height: 110.0625px;
    }
}
@media (max-width: 640px) {
    #hero .hero-subtitle {
        min-height: 165.09375px;
    }
}
@media (max-width: 480px) {
    #hero .hero-subtitle {
        min-height: 220.125px;
        margin-bottom: 12.484375px;
    }
    #hero .hero-orb {
        top: 1254.234375px;
    }
    #hero .hero-orb-2 {
        top: 627.109375px;
    }
}

.console-stream {
    position: relative;
    overflow: hidden;
}

.creato-consent-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    min-height: 48px;
    padding: 8px 24px;
    background: rgba(4, 9, 26, 0.96);
    border-top: 1px solid rgba(56, 189, 248, 0.24);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 12.5px;
    line-height: 1.4;
    color: #CBD5E1;
}
.creato-consent-bar[hidden] {
    display: none !important;
}
.creato-consent-text {
    margin: 0;
    color: #CBD5E1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.creato-consent-text a {
    color: #38BDF8;
    text-decoration: underline;
}
.creato-consent-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.creato-consent-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}
.creato-consent-btn-decline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #CBD5E1;
}
.creato-consent-btn-accept {
    border: 1px solid rgba(0, 240, 255, 0.48);
    background: rgba(0, 240, 255, 0.16);
    color: #FFFFFF;
}
body.consent-bar-visible .floating-whatsapp-widget {
    transform: translateY(calc(-1 * var(--consent-bar-offset, 48px)));
}
@media (max-width: 768px) {
    .creato-consent-bar {
        min-height: 0;
        padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
        font-size: 12px;
    }
    .creato-consent-text {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
.cf-turnstile-slot[hidden] {
    display: none !important;
}
.cf-turnstile-slot {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}
