/* ==========================================================================
   HOLD UP - ENTERPRISE DESIGN SYSTEM & STYLESHEET
   Inspired by TCS, IBM, and Accenture Institutional Standards
   Brand Identity Tokens:
   - Primary Brand Plum: #800974
   - Charcoal Slate:     #424242
   - Platinum Hairline:  #D6D6D6
   - Base White:         #FFFFFF
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Brand Foundation */
    --brand-primary: #800974;
    --brand-primary-hover: #69065f;
    --brand-primary-subtle: #faf2f9;
    --brand-primary-border: rgba(128, 9, 116, 0.22);
    --brand-primary-glow: rgba(128, 9, 116, 0.12);

    /* Corporate Neutrals */
    --brand-charcoal: #424242;
    --brand-platinum: #D6D6D6;
    --brand-white: #FFFFFF;

    /* Semantic Typography Colors */
    --text-primary: #11141a;
    --text-secondary: #4b5262;
    --text-muted: #717b8c;
    --text-inverse: #ffffff;
    --text-inverse-muted: #9ba3b2;

    /* Surface & Background Colors */
    --bg-page: #ffffff;
    --bg-subtle: #f8f9fc;
    --bg-card: #ffffff;
    --bg-dark: #101217;
    --bg-dark-card: #181b22;
    --bg-dark-subtle: #14161d;

    /* Structural Hairline Borders */
    --border-hairline: #e3e6eb;
    --border-platinum: #d6d6d6;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-focus: #800974;

    /* Typography Hierarchy */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout & Sizing */
    --container-max: 1280px;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
    overflow-x: hidden;
    max-width: 100vw;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==========================================================================
   CONTAINER & GRID UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
}

.section-subtle {
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

/* Section Header Typography */
.section-header {
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.section-eyebrow-light {
    color: #cb53bf;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    max-width: 820px;
}

.section-title-dark {
    color: var(--text-inverse);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-top: 16px;
    max-width: 720px;
}

.section-desc-dark {
    color: var(--text-inverse-muted);
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: 1px solid var(--brand-primary);
}

.btn-primary:hover {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(128, 9, 116, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-charcoal);
    border: 1px solid var(--border-platinum);
}

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: var(--brand-charcoal);
    color: var(--text-primary);
}

.btn-secondary-dark {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-secondary-dark:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

/* ==========================================================================
   ENTERPRISE UTILITY BAR & MAIN HEADER
   ========================================================================== */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--bg-page);
    box-shadow: 0 1px 0 var(--border-hairline);
    transition: var(--transition);
}

.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 0 var(--border-hairline);
}

/* Top Global Utility Bar */
.top-utility-bar {
    background-color: #0d0f14;
    color: #9ba3b2;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
}

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

.utility-left, .utility-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.18s ease;
}

.utility-item:hover {
    color: #ffffff;
}

.portal-link {
    color: #e599e0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.portal-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Main Navigation Bar */
.main-navbar {
    height: 74px;
    display: flex;
    align-items: center;
}

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

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

.brand-logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--brand-charcoal);
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--brand-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--brand-primary);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-toggle-btn {
    display: none;
    padding: 8px;
    color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-enterprise {
    position: relative;
    padding-top: 104px;
    padding-bottom: 92px;
    background-color: #ffffff;
    background-image: 
        linear-gradient(to right, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(255, 255, 255, 0.94) 46%, 
            rgba(255, 255, 255, 0.65) 75%, 
            rgba(255, 255, 255, 0.30) 100%
        ),
        url('../assets/images/indian-corporate-office-bw.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-hairline);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--brand-primary-subtle);
    border: 1px solid var(--brand-primary-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.78125rem;
    font-weight: 600;
    color: var(--brand-primary);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.4vw, 3.875rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--brand-primary); /* Official Hold Up Plum #800974 */
    margin-bottom: 24px;
}

.hero-heading span.highlight {
    color: var(--brand-primary);
}

.hero-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 48px;
}

/* Hero Right Column: Architecture & Verification Panel */
.hero-visual-card {
    background-color: #0f1218;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 32px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), #bd37ab);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.card-status-title {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ba3b2;
}

.status-badge-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #10b981;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.telemetry-row {
    margin-bottom: 20px;
}

.telemetry-label {
    font-size: 0.8125rem;
    color: #9ba3b2;
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.telemetry-progress-bg {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.telemetry-progress-fill {
    height: 100%;
    background-color: var(--brand-primary);
    border-radius: 3px;
}

.architecture-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-cell {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
}

.spec-cell-num {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.spec-cell-label {
    font-size: 0.75rem;
    color: #9ba3b2;
    margin-top: 2px;
}

/* ==========================================================================
   GROWTH SCORE BENCHMARK CARD (HERO VISUAL CARD)
   Executive enterprise benchmark module with ambient violet glow.
   ========================================================================== */
.hero-growth-benchmark-card {
    margin-top: 0;
    padding: 34px 30px;
    background-color: #0c0e14;
    background-image: radial-gradient(120% 120% at 50% 0%, #1e1329 0%, #12141c 45%, #0b0d13 100%);
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: 0 0 25px -2px rgba(168, 85, 247, 0.4), 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: violetGlowPulse 4s infinite ease-in-out;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
}

@keyframes violetGlowPulse {
    0%, 100% {
        box-shadow: 0 0 22px -2px rgba(168, 85, 247, 0.32), 0 0 55px -12px rgba(128, 9, 116, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
        border-color: rgba(168, 85, 247, 0.45);
    }
    50% {
        box-shadow: 0 0 35px 2px rgba(168, 85, 247, 0.55), 0 0 75px -6px rgba(147, 51, 234, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
        border-color: rgba(192, 132, 252, 0.8);
    }
}

.hero-growth-benchmark-card:hover {
    border-color: rgba(216, 180, 254, 0.9);
    box-shadow: 0 0 42px 4px rgba(168, 85, 247, 0.65), 0 0 85px -4px rgba(147, 51, 234, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

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

.hgb-card-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e9d5ff;
    font-weight: 600;
}

.hgb-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #c084fc;
    box-shadow: 0 0 10px #c084fc, 0 0 16px rgba(192, 132, 252, 0.8);
    animation: violetDotBlink 2s infinite ease-in-out;
}

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

.hgb-card-ver {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.hgb-card-title-group {
    margin-bottom: 20px;
}

.hgb-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.hgb-card-subtitle {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.5;
}

.hgb-telemetry-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.hgb-preview-pill {
    background-color: #141722;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.hgb-preview-pill:hover {
    background-color: #1e1b2e;
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-1px);
}

.hgb-pill-icon {
    color: #c084fc;
    flex-shrink: 0;
}

.hgb-pill-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: -0.01em;
}

.hgb-trust-features {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.71875rem;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.hgb-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hgb-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 22px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #9333ea 100%);
    color: #ffffff;
    border: 1px solid rgba(216, 180, 254, 0.4);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(147, 51, 234, 0.45);
    transition: var(--transition);
}

.hgb-card-cta:hover {
    background: linear-gradient(135deg, #9e1490 0%, #a855f7 100%);
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.6);
    transform: translateY(-1px);
    color: #ffffff;
}

.hgb-card-cta:hover {
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 28px rgba(168, 85, 247, 0.65);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   METRIC BANNER (INSTITUTIONAL METRICS)
   ========================================================================== */
.metrics-strip {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-hairline);
    padding: 40px 0;
}

.metrics-container-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.metric-unit {
    position: relative;
    padding-right: 24px;
}

.metric-unit:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-platinum);
}

.metric-figure {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-primary);
    line-height: 1.1;
}

.metric-caption {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-charcoal);
    margin-top: 6px;
}

.metric-subcaption {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ==========================================================================
   CLIENT & INSTITUTIONAL TRUST LOGOS
   ========================================================================== */
.client-trust-section {
    padding: 48px 0;
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border-hairline);
}

.trust-eyebrow {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.trust-logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-client-badge {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #636b7b;
    text-transform: uppercase;
    transition: var(--transition);
}

.trust-client-badge:hover {
    color: var(--brand-primary);
}

/* ==========================================================================
   INTERACTIVE CAPABILITIES MATRIX (PRACTICE AREAS)
   ========================================================================== */
.capabilities-matrix-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.capability-tabs-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-hairline);
    background-color: var(--bg-subtle);
}

.capability-tab-btn {
    padding: 24px 28px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-charcoal);
    border-bottom: 1px solid var(--border-hairline);
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.capability-tab-btn:hover {
    background-color: #ffffff;
    color: var(--brand-primary);
}

.capability-tab-btn.active {
    background-color: #ffffff;
    color: var(--brand-primary);
    font-weight: 700;
}

.capability-tab-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--brand-primary);
}

.capability-tab-content-panel {
    padding: 44px 48px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-lead-title {
    font-family: var(--font-heading);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.pane-lead-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 780px;
}

.pane-modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.submodule-card {
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    padding: 20px;
    background: #ffffff;
    transition: var(--transition);
}

.submodule-card:hover {
    border-color: var(--brand-platinum);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.submodule-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.submodule-icon {
    color: var(--brand-primary);
}

.submodule-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.submodule-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.pane-metric-callout {
    background-color: var(--brand-primary-subtle);
    border-left: 3px solid var(--brand-primary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.callout-metric-text {
    font-size: 0.9375rem;
    color: var(--brand-charcoal);
    font-weight: 500;
}

.callout-metric-stat {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

/* ==========================================================================
   INDUSTRY VERTICALS
   ========================================================================== */
.industry-grid-enterprise {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-card {
    background-color: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    padding: 32px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.ind-icon-wrap {
    width: 44px;
    height: 44px;
    background-color: var(--brand-primary-subtle);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.ind-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ind-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.ind-features-list {
    list-style: none;
    font-size: 0.8125rem;
    color: var(--brand-charcoal);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-hairline);
}

.ind-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ind-features-list li::before {
    content: '■';
    color: var(--brand-primary);
    font-size: 0.6rem;
}

/* ==========================================================================
   DOCUMENTED CLIENT IMPACT (CASE STUDIES)
   ========================================================================== */
.impact-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.case-card-enterprise {
    background: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.case-card-enterprise:hover {
    border-color: var(--border-platinum);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.case-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-subtle);
}

.case-client-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.case-sector-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: var(--brand-primary-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.case-card-body {
    padding: 28px;
    flex-grow: 1;
}

.case-overview-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.case-meta-spec {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.meta-label {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.78125rem;
    text-transform: uppercase;
}

.meta-value {
    color: var(--text-secondary);
}

.case-card-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-hairline);
    background-color: #fafbfc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-metric-highlight {
    font-family: var(--font-mono);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.case-metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-mono);
}

/* ==========================================================================
   ENTERPRISE METHODOLOGY (DELIVERY FRAMEWORK)
   ========================================================================== */
.framework-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 40px;
}

.framework-timeline-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 40px;
    right: 40px;
    height: 1px;
    background-color: var(--border-platinum);
    z-index: 1;
}

.framework-step-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding-top: 10px;
}

.step-number-circle {
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   HOLD UP LABS (APPLIED AI & R&D)
   ========================================================================== */
.labs-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.labs-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.labs-feature-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.labs-feature-item:hover {
    border-color: rgba(128, 9, 116, 0.4);
    background-color: rgba(255, 255, 255, 0.04);
}

.labs-item-icon {
    color: #cb53bf;
    flex-shrink: 0;
    margin-top: 2px;
}

.labs-item-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.labs-item-desc {
    font-size: 0.875rem;
    color: var(--text-inverse-muted);
    line-height: 1.5;
}

.labs-code-terminal {
    background: #090b0e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-family: var(--font-mono);
}

.terminal-header {
    background: #14171f;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.terminal-title {
    font-size: 0.75rem;
    color: #9ba3b2;
    margin-left: 8px;
}

.terminal-body {
    padding: 24px;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #d1d5db;
}

.code-keyword { color: #f43f5e; }
.code-func { color: #38bdf8; }
.code-str { color: #34d399; }
.code-comment { color: #6b7280; }

/* ==========================================================================
   EXECUTIVE CONSULTATION INQUIRY FORM
   ========================================================================== */
.consultation-card {
    background-color: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: 56px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 36px;
    min-width: 0;
    width: 100%;
}

.form-grid > * {
    min-width: 0;
}

.form-group-full {
    grid-column: 1 / -1;
    min-width: 0;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-charcoal);
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid var(--border-platinum);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-glow);
}

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

/* ==========================================================================
   ENTERPRISE FOOTER
   ========================================================================== */
.enterprise-footer {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand-col {
    padding-right: 32px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--text-inverse-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    font-size: 0.875rem;
    color: var(--text-inverse-muted);
    transition: var(--transition);
}

.footer-nav-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom-bar {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: #64748b;
}

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

.footer-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    
    .metrics-container-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .metric-unit:not(:last-child)::after {
        display: none;
    }

    .capabilities-matrix-wrap {
        grid-template-columns: 1fr;
    }

    .capability-tabs-list {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-hairline);
    }

    .capability-tab-btn.active::before {
        left: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 3px;
    }

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

    .impact-case-grid {
        grid-template-columns: 1fr;
    }

    .framework-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .framework-timeline-grid::before {
        display: none;
    }

    .labs-showcase-grid {
        grid-template-columns: 1fr;
    }

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

/* ==========================================================================
   ABOUT PILLARS GRID (CORPORATE PROFILE)
   ========================================================================== */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-pillar-card {
    border: 1px solid var(--border-hairline);
    padding: 36px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-pillar-card:hover {
    transform: translateY(-3px);
    border-color: rgba(128, 9, 116, 0.35);
    box-shadow: 0 8px 24px rgba(128, 9, 116, 0.08);
}

/* ==========================================================================
   MOBILE RESPONSIVE NAVIGATION & BUTTONS
   ========================================================================== */
.mobile-nav-drawer {
    display: none;
}
.nav-btn-text-mobile {
    display: none;
}
.nav-btn-text-desktop {
    display: inline;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .top-utility-bar {
        display: none !important;
    }

    .nav-menu {
        display: none !important;
    }

    .header-wrapper {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #ffffff;
    }

    .main-navbar {
        height: 64px;
    }

    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-logo-img {
        height: 24px !important;
        width: auto;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-btn-cta {
        padding: 6px 14px !important;
        font-size: 0.8125rem !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        white-space: nowrap;
    }

    .nav-btn-text-desktop {
        display: none;
    }

    .nav-btn-text-mobile {
        display: inline;
    }

    .mobile-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 6px;
        border: 1px solid var(--border-hairline);
        background: #ffffff;
        color: var(--text-primary);
        cursor: pointer;
        transition: background 0.15s ease, border-color 0.15s ease;
    }

    .mobile-toggle-btn:hover {
        background: var(--bg-subtle);
        border-color: rgba(128, 9, 116, 0.3);
    }

    .mobile-toggle-btn * {
        pointer-events: none;
    }

    /* Mobile Drawer */
    .mobile-nav-drawer {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border-hairline);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    .mobile-nav-drawer.open {
        display: block !important;
        animation: mainDrawerSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes mainDrawerSlideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-drawer-inner {
        padding: 20px 20px 24px 20px;
        max-width: 500px;
        margin: 0 auto;
    }

    .mobile-drawer-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 20px;
        padding: 0;
    }

    .mobile-drawer-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        font-family: var(--font-heading);
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.15s ease;
    }

    .mobile-drawer-link .drawer-icon {
        color: var(--brand-primary);
        display: flex;
        align-items: center;
    }

    .mobile-drawer-link:hover,
    .mobile-drawer-link:active {
        background: var(--brand-primary-subtle);
        color: var(--brand-primary);
    }

    .mobile-drawer-bottom {
        padding-top: 16px;
        border-top: 1px solid var(--border-hairline);
    }

    /* Section Sizing */
    .section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-desc {
        font-size: 0.9375rem;
        line-height: 1.55;
    }

    /* Hero Section Mobile */
    .hero-enterprise {
        padding-top: 40px;
        padding-bottom: 36px;
        overflow: hidden;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px;
        width: 100%;
    }

    .hero-left,
    .hero-right {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-heading {
        font-size: clamp(1.45rem, 6.2vw, 2.05rem);
        line-height: 1.18;
        letter-spacing: -0.025em;
        margin-bottom: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-heading br {
        display: none;
    }

    .hero-lead {
        font-size: 0.9375rem;
        line-height: 1.55;
        margin-bottom: 24px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.9375rem;
        box-sizing: border-box;
    }

    .hero-growth-benchmark-card {
        margin-top: 0;
        padding: 22px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .hgb-card-title {
        font-size: 1.25rem;
    }

    .hgb-telemetry-preview {
        gap: 8px;
        margin-bottom: 16px;
    }

    @media (max-width: 370px) {
        .hgb-telemetry-preview {
            grid-template-columns: 1fr;
            gap: 6px;
        }
    }

    .hgb-preview-cell,
    .hgb-preview-pill {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .hgb-trust-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 12px;
        margin-bottom: 16px;
        padding-top: 12px;
        font-size: 0.6875rem;
    }

    .btn-hgb-action,
    .hgb-card-cta {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
        font-size: 0.875rem;
    }

    /* Capabilities Section */
    .capabilities-matrix-wrap {
        min-width: 0;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .capability-tabs-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 6px;
        gap: 6px;
        min-width: 0;
    }

    .capability-tabs-list::-webkit-scrollbar {
        display: none;
    }

    .capability-tab-btn {
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 0.8125rem;
        white-space: nowrap;
        border-radius: 4px;
        border: 1px solid var(--border-hairline);
        background: #ffffff;
    }

    .capability-tab-btn.active {
        background: var(--brand-primary);
        color: #ffffff;
        border-color: var(--brand-primary);
    }

    .capability-tab-btn.active::before {
        display: none;
    }

    .capability-tab-btn i,
    .capability-tab-btn svg {
        display: none;
    }

    .capability-tab-content-panel {
        padding: 24px 16px;
        min-width: 0;
    }

    .pane-lead-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .pane-lead-desc {
        font-size: 0.875rem;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .pane-modules-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .submodule-card {
        padding: 16px 14px;
    }

    .pane-metric-callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
        margin-top: 20px;
    }

    /* Other Grids */
    .industry-grid-enterprise {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industry-card-enterprise {
        padding: 24px 20px;
    }

    .framework-timeline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .framework-step-card {
        padding: 24px 20px;
    }

    /* About Section */
    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-pillar-card {
        padding: 24px 20px;
    }

    /* Labs Section */
    .labs-showcase-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .labs-code-terminal {
        margin-top: 16px;
        min-width: 0;
        width: 100%;
    }

    .terminal-body {
        padding: 16px;
        font-size: 0.75rem;
        line-height: 1.6;
        overflow-x: auto;
        white-space: pre-wrap;
        word-break: break-word;
    }

    /* Consultation Form */
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .consultation-card {
        padding: 28px 18px;
    }

    .btn-submit-consultation {
        padding: 14px 18px !important;
        font-size: 0.9375rem !important;
        white-space: normal !important;
        text-align: center;
        line-height: 1.35;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 640px) {
    .metrics-strip {
        padding: 28px 0;
    }

    .metrics-container-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .metric-number,
    .metric-figure {
        font-size: 1.75rem;
    }

    .metric-label,
    .metric-caption {
        font-size: 0.8125rem;
    }

    .metric-sub,
    .metric-subcaption {
        font-size: 0.6875rem;
    }
}



/* ==========================================================================
   ENTERPRISE MEGAMENU & NAVBAR DROPDOWNS
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: -12px;
}

.nav-item-dropdown:hover .megamenu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    width: 680px;
    background: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
    padding: 28px 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
}

.megamenu-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.megamenu-item:hover {
    background-color: var(--bg-subtle);
}

.megamenu-icon {
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.megamenu-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.megamenu-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.megamenu-footer-bar {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}

.megamenu-footer-link {
    color: var(--brand-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   ENTERPRISE VALUE & ROI MODELING CALCULATOR
   ========================================================================== */
.calculator-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-top: 48px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.calc-inputs-panel {
    padding: 44px;
    border-right: 1px solid var(--border-hairline);
}

.calc-results-panel {
    background: #0f1218;
    color: #ffffff;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.calc-results-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), #cb53bf);
}

.calc-slider-group {
    margin-bottom: 28px;
}

.calc-slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-charcoal);
}

.calc-slider-val-badge {
    font-family: var(--font-mono);
    color: var(--brand-primary);
    font-size: 1.0625rem;
    font-weight: 700;
}

.calc-range-input {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-platinum);
    outline: none;
    accent-color: var(--brand-primary);
    cursor: pointer;
}

.calc-metric-output-box {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-output-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ba3b2;
    margin-bottom: 4px;
}

.calc-output-num {
    font-family: var(--font-mono);
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.calc-output-sub {
    font-size: 0.75rem;
    color: #10b981;
    margin-top: 4px;
}

/* ==========================================================================
   CASE STUDY MODAL DRAWER
   ========================================================================== */
.case-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 18, 23, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.case-modal-container {
    background: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.case-modal-header {
    padding: 28px 36px;
    border-bottom: 1px solid var(--border-hairline);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: var(--bg-subtle);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--brand-charcoal);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--brand-primary);
    background: rgba(0, 0, 0, 0.05);
}

.case-modal-body {
    padding: 36px;
}

.case-modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 28px;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    color: var(--brand-charcoal);
}

.case-quote-box {
    background-color: var(--brand-primary-subtle);
    border-left: 3px solid var(--brand-primary);
    padding: 20px 24px;
    margin-top: 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.case-quote-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--brand-charcoal);
    line-height: 1.6;
    margin-bottom: 8px;
}

.case-quote-author {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.btn-case-detail {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px 0;
}

.btn-case-detail:hover {
    color: var(--brand-primary-hover);
    gap: 10px;
}
