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

:root {
    --bg-primary: #02040a;
    --bg-secondary: #070d1a;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.4);
    --accent-dim: rgba(56, 189, 248, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #556678;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --glass-bg: rgba(10, 15, 30, 0.25);
    --glass-border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.3);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: auto !important;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: #000;
}

/* ── Three.js Canvas ── */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    background: radial-gradient(circle at center, #070d1a 0%, #02040a 100%);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.serif-italic {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* ── Glass Panel ── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.2;
    z-index: -1;
    mix-blend-mode: screen;
}

/* ═══ CRITICAL FIX: reveal starts invisible but VISIBLE ═══ */
/* GSAP will animate from opacity:0, but we use visibility:visible    */
/* so content is still accessible if GSAP fails to load               */
.reveal {
    opacity: 0;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
    padding: 0.85rem 0;
    background: rgba(2, 4, 10, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn-primary):hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.5);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ── Mobile ── */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(2, 4, 10, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #fff;
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-close svg {
    width: 28px;
    height: 28px;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-tag .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Chat Widget ── */
.chat-widget {
    height: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(56, 189, 248, 0.1), inset 0 2px 20px rgba(255, 255, 255, 0.05);
}

.chat-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
}

.chat-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}

.chat-header-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
    text-transform: uppercase;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 4px;
}

.msg {
    max-width: 85%;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    animation: msgIn 0.5s var(--ease-out-expo);
    backdrop-filter: blur(10px);
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.msg-bot {
    align-self: flex-start;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-bottom-left-radius: 4px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.msg-user {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 0.75rem;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.chat-input-area input::placeholder {
    color: var(--text-muted);
}

.chat-input-area input:focus {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.1);
}

.chat-send {
    background: linear-gradient(135deg, var(--accent), #6366f1);
    border: none;
    border-radius: 12px;
    width: 48px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

.chat-send:active {
    transform: scale(0.95);
}

.chat-send svg {
    width: 20px;
    height: 20px;
}

/* ── Stats Bar ── */
.stats-bar {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3.5rem 0;
    background: rgba(7, 13, 26, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ── Sections ── */
.section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.section-bg {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: block;
}

.section-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Spatial Cards ── */
.spatial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    padding: 2.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s, border-color 0.6s;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
}

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

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.08);
}

.card>* {
    position: relative;
    z-index: 1;
}

.pkg-number {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.pkg-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-dim);
    border: 1px solid rgba(56, 189, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pkg-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.pkg-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.pkg-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pkg-includes-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.pkg-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex-grow: 1;
}

.pkg-list li {
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    line-height: 1.5;
}

.pkg-list li::before {
    content: '✦';
    color: var(--accent);
    font-size: 0.7rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ── Elite Banner ── */
.elite-banner {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 20px;
    padding: 2.75rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 2.5rem;
    backdrop-filter: blur(20px);
}

.elite-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #818cf8, var(--accent));
}

.elite-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--accent), #818cf8);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.elite-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.elite-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.elite-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.elite-price strong {
    font-size: 1.15rem;
    color: var(--accent);
}

/* ── Use Cases Carousel ── */
.use-cases-carousel-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    right: 0;
    padding: 1rem 0;
    overflow: hidden;
}

.use-cases-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.carousel-nav {
    display: flex;
    gap: 0.75rem;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
    transform: scale(1.05);
}

.carousel-btn svg {
    transition: transform 0.3s;
    width: 22px;
    height: 22px;
}

.carousel-btn.next-btn:hover svg {
    transform: translateX(4px);
}

.carousel-btn.prev-btn:hover svg {
    transform: translateX(-4px);
}

.use-cases-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 calc(max(1rem, (100vw - 1200px) / 2));
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 2rem;
    /* space for hover shadow */
}

.use-cases-track::-webkit-scrollbar {
    display: none;
}

.use-case-card {
    flex: 0 0 clamp(320px, 30vw, 420px);
    height: 520px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #050a14;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s;
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.1);
}

@media (max-width: 768px) {
    .use-case-card {
        flex: 0 0 85vw;
        height: 460px;
        padding: 2rem;
        scroll-snap-align: center;
    }

    .use-cases-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.use-case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.use-case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(5, 10, 20, 1) 0%, rgba(5, 10, 20, 0.4) 50%, rgba(5, 10, 20, 0.1) 100%);
    pointer-events: none;
}

.bg-healthcare::after {
    background-image: url('/public/bg-healthcare.jpg');
}

.bg-ecommerce::after {
    background-image: url('/public/bg-ecommerce.jpg');
    filter: hue-rotate(-20deg);
}

.bg-legal::after {
    background-image: url('/public/bg-legal.jpg');
    filter: sepia(0.3) hue-rotate(200deg);
}

.bg-personal-brand::after {
    background-image: url('bg-personal-brand.jpg');
}

.use-case-card:hover::after {
    opacity: 0.85;
    transform: scale(1.05);
}

.use-case-card>* {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.use-case-top {
    align-self: flex-start;
}

.use-case-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.use-case-title {
    font-size: 2.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.1;
    font-family: var(--sans);
}

.use-case-content {
    margin-top: auto;
}

.use-case-card p.pkg-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    transition: color 0.3s;
}

.use-case-card:hover p.pkg-desc {
    color: #fff;
}

/* ── Process: Stacked Scroll Cards ── */
#process {
    position: relative;
    z-index: 1;
    padding-bottom: 0;
}

#process>.container {
    position: relative;
    z-index: 2;
}

#process .section-header {
    margin-bottom: 2rem;
}

.process-scroll-wrapper {
    position: relative;
    height: 70vh;
    transform-style: preserve-3d;
    perspective: 1200px;
}

.process-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 90vw);
    padding: 3.5rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(56, 189, 248, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    overflow: hidden;
}

.process-card>* {
    position: relative;
    z-index: 2;
}

.process-card[data-index="0"] {
    opacity: 1;
}

.process-card[data-index="1"],
.process-card[data-index="2"],
.process-card[data-index="3"] {
    opacity: 0;
}

/* ── Process Card Backgrounds ── */
.process-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    transition: opacity 0.6s var(--ease-out-expo);
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.bg-workflow-audit::after {
    background-image: url('Workflow Audit.jpg');
}

.bg-blueprint-scope::after {
    background-image: url('Blueprint & Scope.jpg');
}

.bg-build-sprints::after {
    background-image: url('Build in Sprints.jpg');
}

.bg-launch-scale::after {
    background-image: url('Launch & Scale.jpg');
}

.process-card-step {
    font-size: 5.5rem;
    font-family: var(--serif);
    font-style: italic;
    color: rgba(56, 189, 248, 0.08);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.process-card h4 {
    font-size: 1.65rem;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.process-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 500px;
}

.process-progress {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.process-pip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.5s var(--ease-out-expo);
}

.process-pip.active {
    background: var(--accent);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

@media (max-width: 768px) {
    .process-card {
        width: 92vw;
        padding: 2.5rem 1.75rem;
    }

    .process-card-step {
        font-size: 3.5rem;
    }

    .process-card h4 {
        font-size: 1.25rem;
    }

    .process-card p {
        font-size: 0.9rem;
    }
}

/* ── About ── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.05);
}

.about-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.6s;
}

.about-image-wrapper:hover img {
    opacity: 1;
}

/* Animated SVG overlay */
.about-svg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.about-svg-overlay .pulse-node {
    fill: var(--accent);
    opacity: 0;
}

.about-svg-overlay .conn-line {
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
    opacity: 0.5;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.about-svg-overlay .glow-ring {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1;
    opacity: 0;
}

/* Ambient glow behind image */
.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -30%;
    z-index: -1;
    background: radial-gradient(ellipse at 60% 40%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    filter: blur(40px);
}

.about-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    margin-top: 0.75rem;
}

/* ── CTA ── */
.cta {
    text-align: center;
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

.cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 0;
    background: rgba(2, 4, 10, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-grid>div:last-child {
        max-width: 500px;
    }

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

    .spatial-grid .card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        justify-self: center;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .elite-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .elite-banner .btn-primary {
        align-self: center;
    }
}

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

    .mobile-toggle {
        display: block;
    }

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

    .spatial-grid .card:nth-child(3) {
        max-width: 100%;
    }

    .use-case-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .chat-widget {
        height: 440px;
    }

    .hero {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}