:root {
    --bg: #070b14;
    --bg-soft: #0f172a;
    --bg-alt: #0f172a;
    --card: #131d33;
    --text: #f8fafc;
    --muted: #a7b6d2;
    --text-muted: #a7b6d2;
    --primary: #7c8cff;
    --primary-strong: #5b6bff;
    --accent: #22d3ee;
    --success: #34d399;
    --border: rgba(148, 163, 184, 0.22);
    --glass: rgba(15, 23, 42, 0.74);
    --container: 1240px;
    --r-lg: 24px;
    --r-md: 16px;
    --r-sm: 12px;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --section-pad: clamp(3.5rem, 6.5vw, 6.5rem);
    --card-pad: clamp(1.35rem, 2.5vw, 2.2rem);
    --container-pad: clamp(1rem, 3.5vw, 2rem);
    --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 16px 32px rgba(2, 8, 23, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    font-size: 16px;
    width: 100%;
    overflow-x: clip;
}

body {
    font-family: "Instrument Sans", "Inter", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background:
        radial-gradient(1000px 600px at 80% -20%, rgba(124, 140, 255, 0.24), transparent 60%),
        radial-gradient(900px 500px at 0% 12%, rgba(34, 211, 238, 0.1), transparent 60%),
        var(--bg);
    overflow-x: clip;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Sora", "Instrument Sans", sans-serif;
    line-height: 1.15;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 4.2rem); line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.9rem); line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1.28; }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.35; }

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }

.container {
    width: min(var(--container), 100% - var(--container-pad) * 2);
    margin: 0 auto;
}
section {
    padding: var(--section-pad) 0;
    position: relative;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 280ms ease, transform 280ms ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 70ms; }
.delay-2 { transition-delay: 140ms; }
.delay-3 { transition-delay: 210ms; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.8rem 1.4rem;
    font-size: 0.92rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 10px 22px rgba(91, 107, 255, 0.35);
}
.btn-outline {
    border-color: var(--border);
    background: rgba(15, 23, 42, 0.45);
    color: #e2e8f0;
}   
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 140, 255, 0.12);
    color: #fff;
}
.btn-white {
    background: #f8fafc;
    color: #0f172a;
}
.btn-white:hover {
    background: #fff;
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.3);
}
.btn-call {
    background: linear-gradient(135deg, #36d1d6, #36a9ad);
    color: #ecfeff;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 26px rgba(5, 150, 105, 0.45);
}
.btn-call:hover {
    box-shadow: 0 14px 32px rgba(5, 150, 105, 0.55);
}
.btn-lg { font-size: clamp(0.92rem, 1.2vw, 1.02rem); padding: 0.92rem 1.7rem; }
.btn-sm { font-size: 0.82rem; padding: 0.5rem 1rem; }
.btn-block { width: 100%; display: flex; justify-content: center; text-align: center; }

.badge, .subheading {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(124, 140, 255, 0.4);
    background: rgba(124, 140, 255, 0.12);
    color: #dbe6ff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.8rem;
}
.section-header {
    max-width: 760px;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}
.section-header .subheading {
    margin-bottom: 0.75rem;
}
.section-header h2 {
    margin-bottom: 0.85rem;
}
.section-header p {
    color: var(--muted);
    font-size: clamp(0.95rem, 1.2vw, 1.12rem);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
}

/* ===================================================
   FLOATING GLASS CAPSULE NAVIGATION DOCK (COMPACT & AESTHETIC)
   =================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.85rem 1rem;
    pointer-events: none;
    transition: padding 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar.scrolled {
    padding: 0.5rem 1rem;
}

.nav-dock {
    pointer-events: auto;
    width: min(880px, calc(100% - 2rem));
    height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.55rem 0 1.15rem;
    border-radius: 999px;
    background: rgba(10, 16, 30, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 
        0 14px 34px -6px rgba(2, 8, 23, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    flex-wrap: nowrap;
    box-sizing: border-box;
    transition: all 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle top hairline reflection */
.nav-dock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 140, 255, 0.6), rgba(34, 211, 238, 0.8), transparent);
    pointer-events: none;
    border-radius: 999px;
}

.navbar.scrolled .nav-dock {
    height: 48px;
    background: rgba(7, 11, 22, 0.94);
    border-color: rgba(124, 140, 255, 0.32);
    box-shadow: 
        0 18px 38px -8px rgba(2, 8, 23, 0.7),
        0 0 20px rgba(124, 140, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform var(--transition), opacity var(--transition);
}
.logo:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}
.logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.logo-text {
    font-family: "Sora", "Instrument Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.logo-accent {
    background: linear-gradient(135deg, #7c8cff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-left: 2px;
}

/* Streamlined Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.nav-links li {
    display: flex;
    align-items: center;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
    border: 1px solid transparent;
}
.nav-item:hover,
.nav-item:focus-visible {
    color: #ffffff;
    background: rgba(124, 140, 255, 0.12);
    border-color: rgba(124, 140, 255, 0.2);
}
.nav-item.active {
    color: #ffffff;
    background: rgba(124, 140, 255, 0.18);
    border-color: rgba(124, 140, 255, 0.38);
    box-shadow: 0 0 12px rgba(124, 140, 255, 0.2);
    font-weight: 700;
}

/* Right-side Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

/* Compact Aesthetic CTA Button */
.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 1.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    height: 36px;
    line-height: 1;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c8cff, #5b6bff 55%, #22d3ee);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 3px 14px rgba(91, 107, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 180ms ease, box-shadow 180ms ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    box-sizing: border-box;
}
.btn-nav-cta svg {
    transition: transform 180ms ease;
    flex-shrink: 0;
}
.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(91, 107, 255, 0.5), 0 0 16px rgba(34, 211, 238, 0.35);
    color: #ffffff;
}
.btn-nav-cta:hover svg {
    transform: translateX(2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    padding: 8px;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background var(--transition), border-color var(--transition);
}
.mobile-menu-btn:hover {
    background: rgba(124, 140, 255, 0.15);
    border-color: rgba(124, 140, 255, 0.4);
}
.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    background: #dbe7ff;
    border-radius: 4px;
    transition: transform var(--transition), background var(--transition);
}
.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
    background: var(--accent);
}
.mobile-menu-btn.open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
    background: var(--accent);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    padding: clamp(6.5rem, 10vw, 8.5rem) 0 clamp(3rem, 5vw, 5rem);
}
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-text-wrap {
    text-align: left;
}
.hero-text-wrap .badge {
    margin-bottom: 1.2rem;
}
.hero-text-wrap h1 {
    font-size: clamp(2.1rem, 5vw, 3.9rem);
    margin-bottom: 1.2rem;
    line-height: 1.14;
}
.hero-text-wrap h1 span {
    background: linear-gradient(120deg, #9bb0ff, #77e9f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text-wrap p {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--muted);
    margin-bottom: 1.8rem;
    max-width: 580px;
    line-height: 1.65;
}
.hero-text-wrap .hero-btns {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 2rem;
}
.hero-text-wrap .hero-proof {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    color: #dbe7ff;
    background: rgba(124, 140, 255, 0.11);
    border: 1px solid rgba(124, 140, 255, 0.32);
}
.hero-proof strong {
    color: #ffffff;
    font-weight: 800;
}
.hero-glow {
    position: absolute;
    left: 50%;
    top: -100px;
    transform: translateX(-50%);
    width: min(860px, 100vw);
    height: 520px;
    background: radial-gradient(circle, rgba(124, 140, 255, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Technology marquee */
.tech-marquee { padding: 2rem 0 3rem; }
.tech-marquee .section-header { margin-bottom: 1rem; }
.marquee-track-wrap {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(7, 11, 20, 0.3));
}
.marquee-track-wrap::before,
.marquee-track-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 64px;
    z-index: 2;
    pointer-events: none;
}
.marquee-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-track-wrap::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track {
    display: flex;
    width: max-content;
    gap: 0.7rem;
    padding: 0.9rem 0;
    animation: marquee-scroll 30s linear infinite;
}
.marquee-track span {
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(124, 140, 255, 0.35);
    background: rgba(124, 140, 255, 0.12);
    color: #dbe7ff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.46rem 0.88rem;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Shared card look */
.services, .about, .testimonials { background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.22)); }
.service-card, .case-card, .why-item, .about-ai-box, .ai-stats-box, .visual-card, .testimonial-card {
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.94), rgba(15, 23, 42, 0.84));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}

/* Features */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.service-card {
    padding: var(--card-pad);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(124, 140, 255, 0.5); }
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e4ebff;
    background: linear-gradient(145deg, rgba(124, 140, 255, 0.3), rgba(34, 211, 238, 0.2));
    border: 1px solid rgba(124, 140, 255, 0.42);
    margin-bottom: 1rem;
}
.service-card p { color: var(--muted); }

/* AI / Showcase */
.ai-edge {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: radial-gradient(1200px 360px at 50% 0%, rgba(124, 140, 255, 0.14), transparent 72%);
}
.ai-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; align-items: center; }
.ai-content p { color: var(--muted); }
.ai-features { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.ai-feature {
    display: flex;
    gap: 0.8rem;
    padding: 0.9rem;
    border-radius: var(--r-md);
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(19, 29, 51, 0.5);
}
.ai-stats-box { padding: 1.35rem; border-radius: 18px; }
.impact-label {
    color: #dbe4ff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    margin-bottom: 1rem;
}
.ai-stats-box .stat-item { margin-bottom: 1.1rem; }
.ai-stats-box .val { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
.ai-stats-box .desc { color: var(--muted); }
.outcome-pill {
    border-radius: var(--r-sm);
    border: 1px solid rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.08);
    padding: 0.85rem;
}

/* Case studies as self-contained in-page showcase */
.case-studies { background: transparent; }
.cases-container { display: grid; gap: 2rem; }
.case-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.95), rgba(15, 23, 42, 0.88));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(124, 140, 255, 0.52); }
.case-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    opacity: 0.9;
}
.case-content { padding: var(--card-pad); }
.case-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.8rem;
}
.case-tag { color: #b8c5ff; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.case-card h3 { margin: 0 0 1.2rem; font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: #fff; }

.case-metrics-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}
.c-metric-pill {
    background: rgba(7, 11, 20, 0.5);
    border: 1px solid rgba(124, 140, 255, 0.25);
    border-radius: var(--r-sm);
    padding: 0.75rem 0.6rem;
    text-align: center;
}
.c-metric-pill .c-val {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
}
.c-metric-pill .c-lbl {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0.2rem;
    display: block;
}

.case-details { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1.4rem; }
.case-point {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(7, 11, 20, 0.45);
    border-radius: var(--r-sm);
    padding: 1.2rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
.case-point strong { color: #e7eeff; font-size: 0.95rem; display: block; margin-bottom: 0.4rem; }
.case-point.result { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08); }
.case-point.result strong { color: var(--success); }

.case-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.case-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.case-tech-tags .tag {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(124, 140, 255, 0.08);
    color: #d4def3;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
}
.case-outcome-badge {
    color: var(--success);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 1.3rem; align-items: center; }
.about-text p { color: var(--muted); }
.about-ai-box { padding: 1.2rem; margin-top: 1.1rem; border-radius: 18px; }
.about-ai-list { margin: 0.8rem 0 1rem; padding-left: 0; }
.about-ai-list li { color: #dbe7ff; margin-bottom: 0.45rem; }
.about-ai-list li::before { content: "•"; color: var(--accent); margin-right: 0.5rem; }
.about-cta-note { color: #dbe7ff !important; margin-bottom: 0 !important; }
.visual-card { padding: 1rem; }
.visual-image-wrapper {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}
.visual-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 11, 20, 0.35), transparent 45%); }
.stats-float-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 0.8rem; }
.stat-float-item {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(7, 11, 20, 0.35);
    text-align: center;
    padding: 0.75rem 0.4rem;
}
.stat-float-item .val { display: block; font-size: 1.2rem; font-weight: 800; }
.stat-float-item .lbl { font-size: 0.68rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.expertise-tags { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.expertise-tags .tag {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(7, 11, 20, 0.35);
    color: #d4def3;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
}

/* Agency Practice Overview */
.practice-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.practice-card,
.practice-metrics-card {
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.94), rgba(15, 23, 42, 0.84));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: var(--card-pad);
}

.practice-card h2 {
    margin: 0.8rem 0 1rem;
}

.practice-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.practice-pillars-list {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.9rem;
}

.practice-pillar-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.95rem 1.1rem;
    border-radius: var(--r-sm);
    background: rgba(7, 11, 20, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.practice-pillar-item .pillar-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.practice-pillar-item strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.practice-pillar-item span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.practice-metrics-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metrics-header .badge {
    margin-bottom: 0.8rem;
}

.metrics-header h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.3;
}

.practice-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.p-stat-box {
    background: rgba(7, 11, 20, 0.5);
    border: 1px solid rgba(124, 140, 255, 0.25);
    border-radius: var(--r-md);
    padding: 1.25rem 1rem;
    text-align: center;
}

.p-stat-box .val {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    background: linear-gradient(120deg, #9bb0ff, #77e9f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.p-stat-box .lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.35rem;
    display: block;
}

.industry-coverage {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding-top: 1.2rem;
}

.industry-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.7rem;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.industry-tags .tag {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(124, 140, 255, 0.08);
    color: #d4def3;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
}

.cta-phone-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-phone-note a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.why-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
.why-item { padding: 1.3rem 1.1rem; border-radius: 18px; }
.why-icon { font-size: 1.7rem; margin-bottom: 0.65rem; }
.why-item p { color: var(--muted); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.testimonial-card {
    padding: 1.4rem;
    border-radius: 18px;
    transition: transform var(--transition), border-color var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(124, 140, 255, 0.48); }
.testimonial-card p { color: #dbe7ff; margin-bottom: 0.9rem; }
.testimonial-card h4 { color: var(--accent); font-size: 0.95rem; }
.testimonial-industry { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }

/* CTA */
.cta { padding: var(--section-pad) 0; }
.cta-box {
    border-radius: clamp(18px, 3vw, 28px);
    text-align: center;
    color: #fff;
    padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1.2rem, 3.5vw, 2.5rem);
    background:
        radial-gradient(420px 200px at 20% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
        linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 24px 54px rgba(34, 211, 238, 0.18);
}
.cta-box p {
    max-width: 620px;
    margin: 1rem auto 2rem;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.85rem; }

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background: rgba(7, 11, 20, 0.85);
    padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}
.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}
.footer-logo {
    display: inline-flex;
    width: 156px;
    margin-bottom: 0.9rem;
}
.footer-logo img {
    width: 100%;
    height: auto;
}
.footer-brand p, .footer-links a, .footer-contact a { color: var(--muted); }
.footer-links h4, .footer-contact h4 { margin-bottom: 0.8rem; }
.footer-links li, .footer-contact li { margin-bottom: 0.5rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }

.footer-social-wrap {
    margin-top: 1.25rem;
}
.linkedin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(10, 102, 194, 0.16);
    border: 1px solid rgba(10, 102, 194, 0.45);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--transition);
}
.linkedin-badge svg {
    color: #38bdf8;
    transition: transform var(--transition);
}
.linkedin-badge:hover {
    background: rgba(10, 102, 194, 0.35);
    border-color: #38bdf8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}
.linkedin-badge:hover svg {
    transform: scale(1.12);
}
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition);
}
.footer-contact-link svg {
    color: var(--accent);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.footer-contact-link:hover svg {
    transform: scale(1.15);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.2rem;
    text-align: center;
}
.footer-bottom p { color: var(--muted); font-size: 0.9rem; }

/* ===================================================
   PRODUCT DEVELOPMENT CONSULTING SECTION
   =================================================== */
.product-consulting {
    padding: var(--section-pad) 0;
    background: radial-gradient(1200px 500px at 50% 0%, rgba(34, 211, 238, 0.08), transparent 70%);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.consulting-tracks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}
.consulting-card {
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.95), rgba(15, 23, 42, 0.88));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--card-pad);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.consulting-header {
    margin-bottom: 1.5rem;
}
.consulting-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.badge-scratch {
    background: rgba(34, 211, 238, 0.12);
    color: var(--accent);
    border: 1px solid rgba(34, 211, 238, 0.35);
}
.badge-upgrade {
    background: rgba(124, 140, 255, 0.12);
    color: #dbe7ff;
    border: 1px solid rgba(124, 140, 255, 0.35);
}
.consulting-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}
.consulting-card .consulting-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.consulting-deliverables {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 2rem;
}
.consulting-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: rgba(7, 11, 20, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--r-sm);
}
.consulting-item .c-icon {
    color: var(--accent);
    font-size: 1.1rem;
    line-height: 1.2;
    flex-shrink: 0;
}
.consulting-item strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}
.consulting-item span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}
.consulting-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.consulting-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.consulting-pills .pill {
    font-size: 0.74rem;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}

/* Interactive Consultation Path Selector */
.path-finder-box {
    margin-top: 3.5rem;
    background: linear-gradient(160deg, rgba(24, 38, 68, 0.85), rgba(11, 18, 33, 0.85));
    border: 1px solid rgba(124, 140, 255, 0.35);
    border-radius: var(--r-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow);
}
.path-finder-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 1.8rem;
}
.path-finder-header h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.path-finder-header p {
    color: var(--muted);
    font-size: 0.92rem;
}
.path-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}
.path-btn {
    background: rgba(7, 11, 20, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1rem 0.9rem;
    text-align: center;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}
.path-btn:hover {
    border-color: rgba(124, 140, 255, 0.5);
    color: #fff;
}
.path-btn.active {
    background: linear-gradient(135deg, rgba(124, 140, 255, 0.22), rgba(34, 211, 238, 0.15));
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.18);
}
.path-result-panel {
    background: rgba(7, 11, 20, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--r-md);
    padding: 1.6rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

/* ===================================================
   NEXT-LEVEL INTERACTIVE & OUT-OF-THE-BOX COMPONENTS
   =================================================== */

/* --- Spotlight Card Interaction --- */
.spotlight-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.94), rgba(15, 23, 42, 0.84));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(34, 211, 238, 0.5), rgba(124, 140, 255, 0.25) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.spotlight-card:hover::before {
    opacity: 1;
}

/* Button Shimmer */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(25deg);
    transition: none;
}
.btn-shimmer:hover::after {
    left: 130%;
    transition: left 0.75s ease;
}


/* Hero Live Cockpit (Delivery Command Center) */
.hero-cockpit {
    background: linear-gradient(160deg, rgba(19, 29, 51, 0.95), rgba(7, 11, 20, 0.92));
    border: 1px solid rgba(124, 140, 255, 0.35);
    border-radius: var(--r-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 140, 255, 0.15);
    overflow: hidden;
    backdrop-filter: blur(16px);
}
.cockpit-header {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cockpit-dots {
    display: flex;
    gap: 6px;
}
.cockpit-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.cockpit-dots span:nth-child(1) { background: #ef4444; }
.cockpit-dots span:nth-child(2) { background: #f59e0b; }
.cockpit-dots span:nth-child(3) { background: #10b981; }

.cockpit-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.cockpit-body {
    padding: 1.4rem;
}

/* Cockpit switch tabs */
.cockpit-tabs {
    display: flex;
    gap: 0.4rem;
    background: rgba(7, 11, 20, 0.6);
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    margin-bottom: 1.2rem;
}
.cockpit-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.5rem 0.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}
.cockpit-tab.active {
    background: rgba(124, 140, 255, 0.22);
    color: #fff;
    border: 1px solid rgba(124, 140, 255, 0.4);
    box-shadow: 0 4px 12px rgba(124, 140, 255, 0.15);
}

.cockpit-telemetry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.telemetry-item {
    background: rgba(7, 11, 20, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--r-sm);
    padding: 0.8rem 0.6rem;
    text-align: center;
}
.telemetry-item .t-val {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}
.telemetry-item .t-lbl {
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-top: 0.2rem;
}

/* Simulated activity feed */
.cockpit-feed {
    background: rgba(7, 11, 20, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--r-sm);
    padding: 0.9rem;
    display: grid;
    gap: 0.6rem;
}
.feed-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: #cbd5e1;
}
.feed-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.feed-badge.success { background: rgba(52, 211, 153, 0.2); color: var(--success); border: 1px solid rgba(52, 211, 153, 0.35); }
.feed-badge.info { background: rgba(34, 211, 238, 0.2); color: var(--accent); border: 1px solid rgba(34, 211, 238, 0.35); }
.feed-badge.primary { background: rgba(124, 140, 255, 0.2); color: var(--primary); border: 1px solid rgba(124, 140, 255, 0.35); }
.feed-time {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--muted);
    flex-shrink: 0;
}

/* --- Interactive Project Delay & ROI Calculator --- */
.calc-section {
    padding: var(--section-pad) 0;
    background: radial-gradient(1000px 500px at 50% 50%, rgba(124, 140, 255, 0.09), transparent 70%);
}
.calc-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-top: 2rem;
}
.calc-inputs-card {
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.94), rgba(15, 23, 42, 0.84));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: var(--card-pad);
}
.calc-inputs-card h3 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.35rem;
}
.calc-inputs-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.slider-group {
    display: grid;
    gap: 1.8rem;
}
.slider-item label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.65rem;
}
.slider-item .slider-val {
    font-family: "Sora", sans-serif;
    color: var(--accent);
    font-weight: 800;
    font-size: 1.15rem;
}
.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
    cursor: pointer;
    border: 2px solid #fff;
    transition: transform 0.15s ease;
}
.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-output-card {
    background: linear-gradient(160deg, rgba(24, 38, 68, 0.95), rgba(11, 18, 33, 0.9));
    border: 1px solid rgba(124, 140, 255, 0.35);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: var(--card-pad);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.calc-output-card::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
    pointer-events: none;
}
.calc-metrics-grid {
    display: grid;
    gap: 1.2rem;
    margin: 1.5rem 0 2rem;
}
.c-metric-box {
    background: rgba(7, 11, 20, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--r-md);
    padding: 1.2rem 1.1rem;
}
.c-metric-box.highlight {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.08);
}
.c-metric-box .metric-lbl {
    font-size: 0.76rem;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.3rem;
}
.c-metric-box .metric-num {
    font-family: "Sora", sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}
.c-metric-box.danger .metric-num {
    color: #f87171;
}
.c-metric-box.highlight .metric-num {
    color: var(--success);
}

/* --- 4-Stage Delivery OS (Interactive Process Tabs) --- */
.process-section {
    padding: var(--section-pad) 0;
}
.process-tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.p-tab-btn {
    background: rgba(19, 29, 51, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.1rem 0.8rem;
    text-align: left;
    color: var(--muted);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.p-tab-btn:hover {
    border-color: rgba(124, 140, 255, 0.5);
    background: rgba(19, 29, 51, 0.85);
}
.p-tab-btn.active {
    background: linear-gradient(160deg, rgba(124, 140, 255, 0.2), rgba(34, 211, 238, 0.12));
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.15);
}
.p-tab-step {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}
.p-tab-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}
.p-tab-content-card {
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.94), rgba(15, 23, 42, 0.84));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: var(--card-pad);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.p-content-left h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
}
.p-content-left p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.p-deliverables {
    display: grid;
    gap: 0.75rem;
}
.p-deliv-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #dbe7ff;
    font-size: 0.95rem;
}
.p-deliv-item::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    font-size: 1rem;
}

/* --- Comparison Matrix (Battle Card) --- */
.comparison-section {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(7, 11, 20, 0.6));
}
.comparison-wrap {
    overflow-x: auto;
    margin-top: 2rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}
.comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: rgba(19, 29, 51, 0.7);
}
.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.4rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 0.92rem;
}
.comparison-table th {
    background: rgba(15, 23, 42, 0.95);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table .highlight-col {
    background: rgba(124, 140, 255, 0.12);
    border-left: 1px solid rgba(124, 140, 255, 0.4);
    border-right: 1px solid rgba(124, 140, 255, 0.4);
    color: #fff;
    font-weight: 600;
}
.comparison-table th.highlight-col {
    background: rgba(124, 140, 255, 0.22);
    color: var(--accent);
}
.highlight-pill {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #070b14;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* --- Interactive FAQ Accordion --- */
.faq-section {
    padding: var(--section-pad) 0;
}
.faq-grid {
    max-width: 820px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1rem;
}
.faq-item {
    background: linear-gradient(180deg, rgba(19, 29, 51, 0.85), rgba(15, 23, 42, 0.75));
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item.active {
    border-color: rgba(124, 140, 255, 0.5);
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.35);
}
.faq-question {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}
.faq-icon {
    font-size: 1.2rem;
    transition: transform var(--transition);
    color: var(--accent);
    flex-shrink: 0;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.4rem;
}

/* ===================================================
   RESPONSIVE DESIGN & BREAKPOINTS (END-TO-END)
   =================================================== */

/* Tablet & Mobile Navigation + Layout Switch (< 880px) */
@media (max-width: 880px) {
    .navbar {
        padding: 0.5rem 0.75rem;
    }
    .navbar.scrolled {
        padding: 0.35rem 0.75rem;
    }
    .nav-dock {
        width: 100%;
        height: 48px;
        border-radius: 999px;
        padding: 0 0.45rem 0 0.85rem;
    }
    .logo img {
        width: 24px;
        height: 24px;
    }
    .logo-text {
        font-size: 0.95rem;
    }
    .btn-nav-cta {
        height: 32px;
        padding: 0 0.85rem;
        font-size: 0.78rem;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        padding: 1rem;
        border-radius: 20px;
        border: 1px solid rgba(124, 140, 255, 0.28);
        background: rgba(9, 14, 28, 0.98);
        backdrop-filter: blur(28px) saturate(200%);
        -webkit-backdrop-filter: blur(28px) saturate(200%);
        box-shadow: 
            0 24px 50px rgba(0, 0, 0, 0.8),
            0 0 25px rgba(124, 140, 255, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        z-index: 1001;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .nav-links.active {
        display: flex;
        animation: menu-slide-down 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }
    @keyframes menu-slide-down {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links .nav-item {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.7rem 1rem;
        border-radius: 12px;
        color: #d1ddf0;
        font-size: 0.92rem;
        font-weight: 600;
        background: rgba(19, 29, 51, 0.4);
        border: 1px solid rgba(148, 163, 184, 0.08);
    }
    .nav-links .nav-item:hover,
    .nav-links .nav-item:focus-visible {
        background: rgba(124, 140, 255, 0.16);
        border-color: rgba(124, 140, 255, 0.35);
        color: #fff;
    }
    .nav-links .nav-item.active {
        background: rgba(124, 140, 255, 0.22);
        border-color: rgba(124, 140, 255, 0.45);
        color: #fff;
    }

    /* Stack split sections on tablet/mobile */
    .hero-split {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }
    .hero-text-wrap {
        text-align: center;
    }
    .hero-text-wrap p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-text-wrap .hero-btns {
        justify-content: center;
    }
    .hero-text-wrap .hero-proof {
        justify-content: center;
    }

    .calc-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-grid, .ai-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    .practice-overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .p-tab-content-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .case-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .consulting-tracks-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .path-result-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Tablet (641px - 1040px) */
@media (min-width: 641px) and (max-width: 1040px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }
    .process-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .path-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Desktop (1041px+) */
@media (min-width: 1041px) {
    .nav-links {
        display: flex !important;
        position: static;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        gap: clamp(0.7rem, 1.4vw, 1.3rem);
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .hero-split {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
        text-align: left;
    }
    .hero-text-wrap {
        text-align: left;
    }
    .hero-text-wrap p {
        margin: 0 0 1.8rem;
    }
    .hero-text-wrap .hero-btns {
        justify-content: flex-start;
    }
    .hero-text-wrap .hero-proof {
        justify-content: flex-start;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6rem;
    }
    .consulting-tracks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .path-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.9rem;
    }
    .path-result-panel {
        grid-template-columns: 1.35fr 0.65fr;
        gap: 2rem;
    }
    .process-tabs-nav {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.85rem;
    }
    .p-tab-content-card {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 2.5rem;
    }
    .calc-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.2rem;
    }
    .about-grid, .ai-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
    }
    .practice-overview-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 2.5rem;
    }
    .case-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.4rem;
    }
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.4rem;
    }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3.5rem;
    }
}

/* Widescreen Desktop (1280px+) */
@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .process-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .p-tab-btn {
        padding: 0.8rem 0.6rem;
    }
    .p-tab-step {
        font-size: 0.7rem;
    }
    .p-tab-title {
        font-size: 0.85rem;
    }
    .path-options {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .why-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .marquee-track-wrap::before, .marquee-track-wrap::after {
        width: 28px;
    }
    .marquee-track {
        animation-duration: 22s;
    }
}

/* Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
    .hero {
        padding-top: 5.5rem;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .hero-btns .btn {
        width: 100%;
    }
    .hero-proof {
        gap: 0.45rem;
    }
    .hero-proof span {
        font-size: 0.75rem;
        padding: 0.3rem 0.65rem;
    }

    .cockpit-body {
        padding: 1rem 0.85rem;
    }
    .cockpit-tabs {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    .cockpit-tab {
        font-size: 0.68rem;
        padding: 0.45rem 0.2rem;
    }
    .cockpit-telemetry {
        gap: 0.4rem;
    }
    .telemetry-item {
        padding: 0.6rem 0.3rem;
    }
    .telemetry-item .t-val {
        font-size: 1.1rem;
    }
    .telemetry-item .t-lbl {
        font-size: 0.62rem;
    }

    .case-metrics-inline {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    .c-metric-pill {
        padding: 0.5rem 0.25rem;
    }
    .c-metric-pill .c-val {
        font-size: 1.1rem;
    }
    .c-metric-pill .c-lbl {
        font-size: 0.62rem;
    }

    .c-metric-box .metric-num {
        font-size: 1.6rem;
    }
    .calc-slider::-webkit-slider-thumb {
        width: 26px;
        height: 26px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .cta-actions .btn {
        width: 100%;
    }
}

/* Accessibility + Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .btn, .service-card, .case-card, .testimonial-card, .consulting-card {
        transition: none !important;
        transform: none !important;
    }
    .marquee-track { animation: none; }
}
