*,
*::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;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.proof-dot {
    color: var(--accent);
    opacity: 0.75;
}

.btn-presentation {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0;
    font-family: var(--sans);
}

.btn-presentation:hover {
    color: var(--text-secondary);
    border-bottom-color: var(--text-muted);
}

/* ── 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-tight {
    padding: 6rem 0;
}

.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);
}

/* Integrations */
.integrations-section {
    overflow: hidden;
}

.integrations-section .section-subtitle strong {
    color: var(--accent);
}

.integration-marquee {
    position: relative;
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
    padding: 1.5rem 0;
    overflow: hidden;
}

.integration-marquee::before,
.integration-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(16vw, 220px);
    z-index: 2;
    pointer-events: none;
}

.integration-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.integration-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary), transparent);
}

.marquee-row {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 0.75rem;
    width: max-content;
    min-width: max-content;
    animation: integrationMarquee 38s linear infinite;
    will-change: transform;
}

.marquee-row-reverse .marquee-track {
    animation-name: integrationMarqueeReverse;
    animation-duration: 44s;
}

.marquee-row-slow .marquee-track {
    animation-duration: 52s;
}

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

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none !important;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .marquee-row {
        width: 100%;
        overflow: visible;
    }
}

.int-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.62rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: #dbeafe;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.int-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.12);
    flex-shrink: 0;
}

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

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

/* Services */
.services-grid,
.pillars-grid,
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card,
.pillar,
.outcome-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s var(--ease-out-expo), border-color 0.45s, box-shadow 0.45s;
}

.hover-fx:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 35px rgba(56, 189, 248, 0.08);
}

.svc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.svc-num,
.pillar-step {
    color: rgba(56, 189, 248, 0.7);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1;
}

.svc-tag {
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card h3,
.pillar h3 {
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
}

.svc-desc,
.pillar p,
.outcome-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.svc-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
    margin-top: 1.35rem;
}

.svc-list li {
    display: flex;
    gap: 0.65rem;
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.5;
}

.svc-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-top: 0.52rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    flex-shrink: 0;
}

/* Workflow Flow */
.flow-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.flow-rail {
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 2rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.flow-rail-pulse {
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    animation: railPulse 4s linear infinite;
}

@keyframes railPulse {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(340%);
    }
}

.flow-step {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
}

.flow-step-marker {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    background: rgba(7, 13, 26, 0.92);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
    z-index: 2;
}

.flow-step-marker.is-final {
    background: linear-gradient(135deg, var(--accent), #6366f1);
    color: #fff;
}

.flow-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    padding: 1.5rem;
}

.flow-icon {
    grid-row: span 3;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(56, 189, 248, 0.16);
}

.flow-icon svg {
    width: 24px;
    height: 24px;
}

.flow-step-label {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.flow-card h4,
.outcome-card h4 {
    font-size: 1.15rem;
}

.flow-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.flow-foot {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
}

/* Why / Outcomes / FAQ */
.pillar-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(56, 189, 248, 0.16);
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-step {
    display: block;
    margin-bottom: 0.8rem;
}

.outcome-metric {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.outcome-card h4 {
    margin-bottom: 0.75rem;
}

.outcome-tag {
    display: inline-flex;
    margin-top: 1.25rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.outcomes-note {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.faq-container {
    max-width: 980px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-q {
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
}

.faq-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 0.25s;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
    padding: 0 1.5rem 1.35rem;
    color: var(--text-secondary);
}

.faq-a p {
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ── 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('bg-healthcare.jpg');
}

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

.bg-legal::after {
    background-image: url('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;
}

/* ── Contact Form ── */
.contact-form {
    max-width: 50rem;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    /* very subtle glass */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-group label {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.input-wrap {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 0.65rem;
    /* Changed from bottom to top to anchor to the input line */
    width: 18px;
    height: 18px;
    max-width: 18px;
    /* Kept from our previous fix */
    max-height: 18px;
    /* Kept from our previous fix */
    flex-shrink: 0;
    /* Kept from our previous fix */
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    padding: 0.5rem 0 0.5rem 2.25rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
    width: 100%;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-bottom-color: #fff;
}

.contact-form select {
    color: #fff;
    cursor: pointer;
}

.contact-form select option {
    background: var(--bg-secondary);
    color: #fff;
}

.custom-brief-section {
    text-align: left;
}

.custom-brief-section h2,
.custom-brief-section>div>div>p {
    text-align: center;
}

.custom-brief-section>div>div>p {
    max-width: 720px;
}

.brief-step-label,
.brief-panel-label,
.checkbox-fieldset legend {
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brief-step-label {
    max-width: 1220px;
    margin: 3.5rem auto 1.2rem;
}

.service-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1220px;
    margin: 0 auto 3rem;
}

.brief-service-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background 0.3s;
}

.brief-service-card:hover,
.brief-service-card.active {
    border-color: rgba(56, 189, 248, 0.8);
    background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.16), rgba(255, 255, 255, 0.035) 48%, rgba(255, 255, 255, 0.015));
    box-shadow: 0 0 38px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brief-service-card:hover {
    transform: translateY(-3px);
}

.brief-card-num {
    color: var(--text-muted);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.brief-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
}

.brief-card-title {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.1;
}

.brief-card-status {
    min-height: 26px;
    padding: 0.38rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brief-service-card.active .brief-card-status {
    border-color: rgba(56, 189, 248, 0.7);
    color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
}

.brief-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: start;
    max-width: 1220px;
    margin: 0 auto;
}

.custom-brief-form {
    max-width: none;
    margin: 0;
    border-color: var(--glass-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    backdrop-filter: blur(20px);
}

.brief-form-heading {
    margin-bottom: 2rem;
}

.brief-form-heading h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    margin-bottom: 0.55rem;
}

.brief-form-heading p {
    max-width: none;
    margin: 0;
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.brief-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.custom-brief-form .form-group {
    margin-bottom: 1.45rem;
}

.custom-brief-form .form-group label,
.checkbox-fieldset legend {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.custom-brief-form input,
.custom-brief-form select,
.custom-brief-form textarea {
    padding: 0.88rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(2, 4, 10, 0.28);
}

.custom-brief-form input:focus,
.custom-brief-form select:focus,
.custom-brief-form textarea:focus {
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.08);
}

.checkbox-fieldset {
    border: none;
    padding: 0;
}

.checkbox-fieldset label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: 0.72rem;
    cursor: pointer;
}

.checkbox-fieldset input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    padding: 0;
}

.brief-side {
    display: grid;
    gap: 1rem;
}

.brief-info-card {
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
    backdrop-filter: blur(20px);
}

.brief-next-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    margin-top: 1.6rem;
}

.brief-next-step>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    color: #fff;
    font-weight: 900;
}

.brief-next-step h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.brief-next-step p,
.brief-stack-card p {
    max-width: none;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.brief-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.brief-mini-stats div {
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.brief-mini-stats strong {
    display: block;
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
}

.brief-mini-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.35;
    margin-top: 0.45rem;
}

.name-split {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.name-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sub-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.btn-pill {
    background: #c3246f;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.btn-pill:hover {
    background: #db2c80;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(195, 36, 111, 0.4);
}

.label-optional {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.contact-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 2rem auto 0;
    text-align: center;
}

.contact-meta>div {
    padding: 1.25rem;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.contact-meta-label {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-meta a,
.contact-meta span,
.contact-meta button {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    text-decoration: none;
}

.contact-meta button {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.contact-meta a:hover,
.contact-meta button:hover,
.contact-meta button:focus-visible {
    color: #fff;
}

.contact-meta button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }
}

/* ── 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;
    }

    .services-grid,
    .pillars-grid,
    .outcomes-grid {
        grid-template-columns: repeat(2, 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;
    }

    .contact-meta {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-toggle {
        display: block;
    }

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

    .services-grid,
    .pillars-grid,
    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .flow-rail {
        left: 1.4rem;
    }

    .flow-step {
        grid-template-columns: 2.8rem 1fr;
        gap: 1rem;
    }

    .flow-step-marker {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 0.78rem;
    }

    .flow-card {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .flow-icon {
        grid-row: auto;
    }

    .service-card,
    .pillar,
    .outcome-card {
        padding: 1.5rem;
    }

    .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;
    }

    .hero-proof {
        font-size: 0.72rem;
    }

    .contact-form {
        padding: 2rem 1.25rem;
    }

    .service-selector,
    .brief-layout,
    .brief-form-grid,
    .brief-mini-stats {
        grid-template-columns: 1fr;
    }

    .brief-service-card {
        min-height: 160px;
    }

    .brief-info-card {
        padding: 1.5rem;
    }

    .integration-marquee::before,
    .integration-marquee::after {
        width: 54px;
    }

    .int-pill {
        min-height: 38px;
        font-size: 0.78rem;
    }

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

@media (max-width: 1024px) {
    .brief-layout,
    .service-selector {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        min-width: 0;
    }

    .marquee-row {
        width: auto;
        justify-content: center;
    }
}
