/* ========================================
   DESIGN SYSTEM - VERSION 2 ENHANCED
   Visual depth + Enterprise graphics
   ======================================== */

:root {
    /* Colors - Enhanced palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-elevated: #1a1a1a;
    --bg-card: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #707070;
    --border-subtle: #222222;
    --border-medium: #333333;
    --accent: #ffffff;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --grid-color: rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 2.5rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-10: 5rem;
    --space-12: 6rem;
    --space-16: 8rem;

    /* Layout */
    --container-width: 1120px;
    --nav-height: 64px;

    /* Animation */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
}

/* Animated grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.5;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    /* removed */
    border-bottom: none;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), inset 0 2px 3px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    display: block;
    height: 32px;
    transition: transform var(--transition-base);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--space-6);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: 6px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.2), inset 0 2px 3px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding-top: calc(var(--nav-height) + var(--space-16));
    padding-bottom: var(--space-16);
    position: relative;
    overflow: hidden;
    /* Clean dark background */
    background: #050505;
}

/* Technical Grid Background */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
}

/* Background gradient orb */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(130deg, #fff 0%, #c4b5ff 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-3);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-6);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Hero Visual - Dashboard Mockup */
.hero-visual {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.dashboard-mockup {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner ring */
    position: relative;
    transition: transform 0.5s ease-out;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Scan Line Animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent-blue), transparent);
    opacity: 0.5;
    animation: scan 4s linear infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: -10%;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--bg-elevated);
    /* removed */
    border-bottom: none;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-medium);
}

.mockup-dots span:nth-child(1) {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #f59e0b;
}

.mockup-dots span:nth-child(3) {
    background: #10b981;
}

.mockup-title {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.mockup-body {
    padding: var(--space-4);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.kpi-card {
    background: var(--bg-elevated);
    padding: var(--space-3);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.kpi-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.kpi-trend {
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.kpi-trend.positive {
    color: #10b981;
}

.chart-container {
    background: var(--bg-elevated);
    padding: var(--space-3);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.line-chart {
    width: 100%;
    height: auto;
}


/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: 6px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.5), inset 0 3px 5px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 600;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    transition: border-color var(--transition-base), background var(--transition-base);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

/* ========================================
   TRUST STRIP
   ======================================== */

.trust-strip {
    padding: var(--space-12) 0;
    /* removed */
    border-top: none;
    /* removed */
    border-bottom: none;
    text-align: center;
    background: #050505;
    position: relative;
    overflow: hidden;
}

.trust-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.trust-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.trust-label,
.trust-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.trust-logo {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transition: border-color var(--transition-base), color var(--transition-base);
}

.trust-logo:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.trust-context {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.trust-values {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-6);
}

.value-text {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    margin-bottom: var(--space-8);
    text-align: center;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
}

.section-lead {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-2);
}

.section-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   DIAGNOSIS SECTION
   ======================================== */

.diagnosis {
    padding: var(--space-16) 0;
    position: relative;
}

.diagnosis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.diagnosis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    max-width: 900px;
    margin: var(--space-8) auto 0;
    align-items: stretch;
}

.diagnosis-text {
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.diagnosis-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
}

.diagnosis-intro {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    font-weight: 500;
}

.diagnosis-list {
    list-style: none;
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
}

.diagnosis-list li {
    margin-bottom: var(--space-2);
    padding-left: var(--space-3);
    position: relative;
}

.diagnosis-list li::before {
    content: '\00d7';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.diagnosis-conclusion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    position: relative;
}

.diagnosis-conclusion::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.05;
    border-radius: 12px;
}

.conclusion-text {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: var(--space-3);
    position: relative;
}

.conclusion-action {
    font-size: var(--font-size-lg);
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    position: relative;
}

/* Data Flow Visualization */
.data-flow-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4);
    align-items: center;
    margin: var(--space-10) auto 0;
    padding: var(--space-6);
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    max-width: 1040px;
}

.flow-before,
.flow-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flow-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    font-weight: 500;
}

.chaos-diagram,
.clean-diagram {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
}

.flow-arrow {
    width: 60px;
    opacity: 0.7;
}

.flow-arrow svg {
    width: 100%;
    height: auto;
}


/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    position: relative;
}

.services-bundle {
    grid-column: 1 / -1;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    margin-top: var(--space-4);
    padding: clamp(2rem, 4vw, 3.5rem);
    background:
        radial-gradient(circle at 82% 22%, rgba(59, 130, 246, 0.24), transparent 34%),
        radial-gradient(circle at 14% 78%, rgba(139, 92, 246, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(11, 18, 38, 0.96), rgba(17, 24, 39, 0.88) 48%, rgba(8, 15, 30, 0.96)),
        var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0);
    transform-style: preserve-3d;
    box-shadow:
        0 40px 90px -50px rgba(0, 0, 0, 0.95),
        0 28px 80px -54px rgba(59, 130, 246, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(148, 163, 184, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.035);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.38s ease, box-shadow 0.38s ease;
}

.services-bundle::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 72% 48%, black 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 72% 48%, black 0%, transparent 72%);
    opacity: 0.82;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.38s ease, transform 0.38s ease;
}

.services-bundle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(96, 165, 250, 0.2);
    background:
        linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.7), transparent) top / 100% 1px no-repeat,
        linear-gradient(180deg, rgba(139, 92, 246, 0.42), transparent 34%, transparent 68%, rgba(34, 211, 238, 0.24)) right / 1px 100% no-repeat;
    opacity: 0.7;
    pointer-events: none;
}

.services-bundle:hover {
    transform: translateY(-6px);
    border-color: rgba(147, 197, 253, 0.32);
    box-shadow:
        0 52px 110px -54px rgba(0, 0, 0, 0.98),
        0 36px 90px -50px rgba(59, 130, 246, 0.86),
        0 0 52px -36px rgba(139, 92, 246, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(148, 163, 184, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.services-bundle:hover::before {
    opacity: 1;
    transform: translate3d(0, -6px, 0);
}

.services-bundle-depth {
    position: absolute;
    inset: 18px 22px -16px;
    z-index: -2;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.11));
    filter: blur(18px);
    opacity: 0.72;
    pointer-events: none;
}

.services-bundle-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: 700px;
}

.services-bundle-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    padding: 0.46rem 0.78rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(147, 197, 253, 0.26);
    color: #bfdbfe;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow:
        0 10px 24px -18px rgba(59, 130, 246, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.services-bundle-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.95);
}

.services-bundle-title {
    margin-bottom: 0.9rem;
    color: #f8fafc;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 720;
    line-height: 1.08;
}

.services-bundle-intro {
    max-width: 620px;
    margin-bottom: 0.9rem;
    color: rgba(248, 250, 252, 0.92);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 620;
    line-height: 1.55;
}

.services-bundle-description {
    max-width: 660px;
    margin-bottom: 1.65rem;
    color: rgba(226, 232, 240, 0.74);
    font-size: 0.98rem;
    line-height: 1.78;
}

.services-bundle-link {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.86rem 1.24rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.26), rgba(124, 58, 237, 0.2)),
        rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(191, 219, 254, 0.22);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 760;
    line-height: 1.2;
    box-shadow:
        0 18px 42px -28px rgba(59, 130, 246, 0.92),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.services-bundle-link::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.6), rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.4));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.services-bundle-link:hover {
    transform: translateY(-3px);
    border-color: rgba(191, 219, 254, 0.36);
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.34), rgba(124, 58, 237, 0.26)),
        rgba(255, 255, 255, 0.09);
    box-shadow:
        0 24px 52px -26px rgba(59, 130, 246, 1),
        0 0 32px -22px rgba(139, 92, 246, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.services-bundle-link:hover::before {
    opacity: 0.42;
}

.services-bundle-link span {
    transition: transform 0.28s ease;
}

.services-bundle-link:hover span {
    transform: translateX(3px);
}

.services-bundle-visual {
    position: relative;
    z-index: 2;
    min-width: 0;
    perspective: 900px;
}

.architecture-visual-shell {
    position: relative;
    min-height: 286px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 48%, rgba(96, 165, 250, 0.16), transparent 52%),
        rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow:
        0 26px 54px -36px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: rotateX(3deg) rotateY(-5deg) translateZ(0);
    transform-origin: center;
    overflow: hidden;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease;
}

.services-bundle:hover .architecture-visual-shell {
    transform: rotateX(1deg) rotateY(-2deg) translateY(-2px);
    box-shadow:
        0 34px 64px -34px rgba(0, 0, 0, 0.96),
        0 0 44px -34px rgba(59, 130, 246, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.architecture-visual-glow {
    position: absolute;
    inset: 12% 5%;
    background:
        radial-gradient(circle at 52% 48%, rgba(96, 165, 250, 0.28), transparent 34%),
        radial-gradient(circle at 72% 42%, rgba(139, 92, 246, 0.22), transparent 36%);
    filter: blur(22px);
    opacity: 0.9;
    animation: architectureGlowPulse 6s ease-in-out infinite;
}

.architecture-visual-map {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    min-height: 286px;
}

.architecture-visual-frame {
    fill: rgba(15, 23, 42, 0.42);
    stroke: rgba(148, 163, 184, 0.16);
}

.architecture-flow-line {
    fill: none;
    stroke: url(#bundleFlowGradient);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-dasharray: 8 14;
    opacity: 0.72;
    animation: architectureFlow 8s linear infinite;
}

.flow-line-b {
    animation-duration: 9.5s;
    animation-direction: reverse;
    opacity: 0.62;
}

.flow-line-c {
    animation-duration: 7.5s;
    opacity: 0.52;
}

.architecture-node rect {
    fill: rgba(15, 23, 42, 0.78);
    stroke: rgba(147, 197, 253, 0.24);
}

.architecture-node text,
.architecture-core-node text {
    fill: rgba(248, 250, 252, 0.86);
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 700;
    text-anchor: middle;
    letter-spacing: 0;
}

.architecture-core-node circle:first-child {
    fill: url(#bundleCoreGradient);
    stroke: rgba(147, 197, 253, 0.36);
    stroke-width: 1.2;
}

.architecture-core-ring {
    fill: none;
    stroke: rgba(96, 165, 250, 0.24);
    stroke-width: 1;
    stroke-dasharray: 10 12;
    transform-origin: 210px 150px;
    animation: architectureRing 16s linear infinite;
}

.architecture-particle {
    fill: #93c5fd;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.9));
    opacity: 0;
}

.particle-one {
    offset-path: path("M74 82 C138 54 168 104 210 148 C252 192 294 202 346 168");
    animation: architectureParticle 5.5s ease-in-out infinite;
}

.particle-two {
    offset-path: path("M78 220 C142 246 170 196 210 148 C250 100 292 96 346 126");
    animation: architectureParticle 6.8s ease-in-out infinite 1s;
}

.particle-three {
    offset-path: path("M78 150 H150 C174 150 184 150 210 150 H342");
    animation: architectureParticle 5.2s ease-in-out infinite 1.8s;
}

@keyframes architectureFlow {
    to {
        stroke-dashoffset: -88;
    }
}

@keyframes architectureRing {
    to {
        transform: rotate(360deg);
    }
}

@keyframes architectureParticle {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    12%,
    82% {
        opacity: 0.92;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

@keyframes architectureGlowPulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

html[data-theme="light"] .services-bundle,
body.light-theme .services-bundle {
    background:
        radial-gradient(circle at 82% 22%, rgba(37, 99, 235, 0.12), transparent 35%),
        radial-gradient(circle at 14% 78%, rgba(124, 58, 237, 0.08), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
        #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        0 34px 70px -44px rgba(15, 23, 42, 0.24),
        0 24px 60px -46px rgba(37, 99, 235, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.02);
}

html[data-theme="light"] .services-bundle::before,
body.light-theme .services-bundle::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
}

html[data-theme="light"] .services-bundle::after,
body.light-theme .services-bundle::after {
    border-color: rgba(37, 99, 235, 0.14);
    opacity: 0.5;
}

html[data-theme="light"] .services-bundle-depth,
body.light-theme .services-bundle-depth {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.07));
    opacity: 0.42;
}

html[data-theme="light"] .services-bundle-label,
body.light-theme .services-bundle-label {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(37, 99, 235, 0.16);
    color: #2563eb;
    box-shadow: 0 12px 26px -22px rgba(37, 99, 235, 0.36);
}

html[data-theme="light"] .services-bundle-title,
body.light-theme .services-bundle-title,
html[data-theme="light"] .services-bundle-intro,
body.light-theme .services-bundle-intro {
    color: #0f172a;
}

html[data-theme="light"] .services-bundle-description,
body.light-theme .services-bundle-description {
    color: #475569;
}

html[data-theme="light"] .services-bundle-link,
body.light-theme .services-bundle-link {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.075)),
        #ffffff;
    border-color: rgba(37, 99, 235, 0.18);
    color: #0f172a;
    box-shadow:
        0 16px 34px -24px rgba(37, 99, 235, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .services-bundle-link:hover,
body.light-theme .services-bundle-link:hover {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.09)),
        #ffffff;
    border-color: rgba(37, 99, 235, 0.22);
}

html[data-theme="light"] .architecture-visual-shell,
body.light-theme .architecture-visual-shell {
    background:
        radial-gradient(circle at 50% 48%, rgba(37, 99, 235, 0.09), transparent 52%),
        rgba(255, 255, 255, 0.78);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
        0 22px 46px -34px rgba(15, 23, 42, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .architecture-visual-frame,
body.light-theme .architecture-visual-frame {
    fill: rgba(248, 250, 252, 0.78);
    stroke: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .architecture-node rect,
body.light-theme .architecture-node rect {
    fill: rgba(255, 255, 255, 0.86);
    stroke: rgba(37, 99, 235, 0.18);
}

html[data-theme="light"] .architecture-node text,
body.light-theme .architecture-node text {
    fill: #334155;
}

html[data-theme="light"] .services-start-guide,
body.light-theme .services-start-guide {
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.09), transparent 34%),
        radial-gradient(circle at 88% 100%, rgba(124, 58, 237, 0.07), transparent 34%),
        #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .services-start-guide::before,
body.light-theme .services-start-guide::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
}

html[data-theme="light"] .services-start-guide-copy h3,
body.light-theme .services-start-guide-copy h3,
html[data-theme="light"] .services-start-card strong,
body.light-theme .services-start-card strong {
    color: #0f172a;
}

html[data-theme="light"] .services-start-guide-copy p:last-child,
body.light-theme .services-start-guide-copy p:last-child,
html[data-theme="light"] .services-start-card span:last-child,
body.light-theme .services-start-card span:last-child {
    color: #475569;
}

html[data-theme="light"] .services-start-card,
body.light-theme .services-start-card {
    background: rgba(248, 250, 252, 0.86);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
}

html[data-theme="light"] .services-start-card:hover,
html[data-theme="light"] .services-start-card:focus-visible,
body.light-theme .services-start-card:hover,
body.light-theme .services-start-card:focus-visible {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.24);
}

html[data-theme="light"] .final-cta-steps div,
body.light-theme .final-cta-steps div {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
}

html[data-theme="light"] .final-cta-steps strong,
body.light-theme .final-cta-steps strong {
    color: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
    .services-bundle,
    .services-bundle::before,
    .architecture-visual-shell,
    .architecture-flow-line,
    .architecture-core-ring,
    .architecture-particle,
    .architecture-visual-glow {
        animation: none !important;
        transition: none !important;
    }
}

.service-card {
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Tech Overlay on Hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    opacity: 0.8;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: var(--space-3);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
}

.service-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.service-tagline {
    font-size: var(--font-size-base);
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-4);
    font-weight: 500;
}

.service-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.service-outcomes {
    margin-bottom: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-3);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.outcomes-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.outcomes-list {
    list-style: none;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.outcomes-list li {
    margin-bottom: var(--space-1);
    padding-left: var(--space-3);
    position: relative;
}

.outcomes-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.service-context {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    font-style: italic;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link::after {
    content: '\2192';
}

/* Services CTA */
.services-cta {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.03;
    pointer-events: none;
}

.services-cta-text {
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin-bottom: var(--space-2);
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-subtext {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.7;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.services-start-guide {
    margin: var(--space-10) 0 var(--space-8);
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-6);
    align-items: stretch;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background:
        radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.14), transparent 34%),
        radial-gradient(circle at 88% 100%, rgba(127, 99, 246, 0.11), transparent 34%),
        var(--bg-card);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    position: relative;
    overflow: hidden;
}

.services-start-guide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    mask-image: linear-gradient(to right, black, transparent 88%);
    pointer-events: none;
}

.services-start-guide-copy,
.services-start-guide-grid {
    position: relative;
    z-index: 1;
}

.services-start-guide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-bottom: var(--space-3);
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 999px;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.09);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-start-guide-kicker::before {
    content: '';
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--accent-blue);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.75);
}

.services-start-guide-copy h3 {
    max-width: 420px;
    margin-bottom: var(--space-3);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.services-start-guide-copy p:last-child {
    max-width: 430px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-start-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.services-start-card {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    min-height: 145px;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.services-start-card:hover,
.services-start-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.08);
}

.services-start-card-label {
    width: fit-content;
    color: var(--accent-blue);
    font-size: var(--font-size-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-start-card strong {
    font-size: var(--font-size-base);
    line-height: 1.35;
}

.services-start-card span:last-child {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.45;
}

.services-start-card-featured {
    border-color: rgba(127, 99, 246, 0.42);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(127, 99, 246, 0.12));
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    padding: var(--space-16) 0;
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    z-index: 0;
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    font-size: var(--font-size-lg);
    font-weight: 600;
    background: var(--bg-primary);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-title {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.process-values {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.process-value {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
}

/* ========================================
   PROOF SECTION
   ======================================== */

.proof {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    position: relative;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.proof-category {
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: transform var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
}

.proof-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.proof-category:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}

.proof-category:hover::before {
    transform: scaleX(1);
}

.proof-category-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.proof-category-clients {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.proof-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: var(--space-4);
    transition: gap var(--transition-base);
}

.proof-link:hover {
    gap: 0.75rem;
}

.proof-link::after {
    content: '→';
}

/* ========================================
   IMPACT SECTION
   ======================================== */

.impact {
    padding: var(--space-16) 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 700px;
    margin-bottom: var(--space-6);
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.impact-item {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    padding-left: var(--space-3);
    position: relative;
}

.impact-item::before {
    content: '\25b8';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.impact-conclusion {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin-top: var(--space-6);
    font-weight: 500;
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */

.industries {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.industry-item {
    padding: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.industry-item:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.industries-conclusion {
    text-align: center;
    margin-top: var(--space-8);
}

.industries-conclusion p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   WHY SECTION
   ======================================== */

.why {
    padding: var(--space-16) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    max-width: 900px;
}

.why-column {
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    position: relative;
}

.why-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 12px 0 0 12px;
}

.why-column-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.why-list {
    list-style: none;
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
}

.why-list li {
    margin-bottom: var(--space-2);
    padding-left: var(--space-3);
    position: relative;
}

.why-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.why-conclusion {
    margin-top: var(--space-8);
    text-align: center;
}

.why-conclusion p {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FINAL CTA
   ======================================== */

.final-cta {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.final-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    margin-left: auto;
    margin-right: auto;
}

.final-cta-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    margin-left: auto;
    margin-right: auto;
}

.final-cta-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 860px;
    margin: 0 auto var(--space-6);
}

.final-cta-steps div {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
}

.final-cta-steps span {
    color: var(--accent-blue);
    font-size: var(--font-size-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
}

.final-cta-steps strong {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    line-height: 1.45;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: var(--space-10) 0 var(--space-6);
    /* removed */
    border-top: none;
    background: var(--bg-primary);
}

.footer-content {
    text-align: center;
    margin-bottom: var(--space-6);
}

.footer-logo {
    margin-bottom: var(--space-3);
    opacity: 0.8;
}

.footer-tagline {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    /* removed */
    border-top: none;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: var(--space-8);
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: var(--font-size-3xl);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-base), transform var(--transition-base);
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .hero-visual {
        order: -1;
    }

    .services-grid,
    .proof-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-bundle {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: var(--space-5);
    }

    .services-start-guide {
        grid-template-columns: 1fr;
    }

    .services-bundle-copy {
        max-width: 100%;
    }

    .services-bundle-visual {
        width: min(100%, 560px);
    }

    .diagnosis-content,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .data-flow-visual {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: var(--space-2) auto;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .process-steps::before {
        display: none;
    }

    .trust-values {
        flex-direction: column;
        gap: var(--space-3);
    }
}


@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .proof-grid,
    .industries-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .services-bundle {
        gap: var(--space-4);
        padding: clamp(1.35rem, 6vw, 1.8rem);
        border-radius: 14px;
    }

    .services-bundle-title {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .services-bundle-description {
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .services-bundle-link {
        width: 100%;
    }

    .services-start-guide {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .services-start-guide-grid,
    .final-cta-steps {
        grid-template-columns: 1fr;
    }

    .services-start-card {
        min-height: auto;
    }

    .architecture-visual-shell,
    .architecture-visual-map {
        min-height: 220px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .mockup-body {
        padding: var(--space-2);
    }
}


/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========================================
   DESIGN SYSTEM - VERSION 3
   V2 Foundation + V1 Sections + New Visuals
   ======================================== */


/* Hero Section Styles */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    /* Large padding to create impact and clear fixed nav */
    padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-12);
}

/* Ensure content is above any background effects */
.hero .container {
    position: relative;
    z-index: 2;
}

/* V1 Stats Bar Styles - Compact Version */
.v1-stats-bar-wrapper {
    padding: var(--space-4) 0;
    /* Reduced height to support hero */
    /* Reduced padding */
    background: var(--bg-secondary);
    /* removed */
    border-top: none;
    /* removed */
    border-bottom: none;
    position: relative;
    z-index: 2;
}

.v1-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    /* Reduced gap */
}

.v1-stat-item {
    text-align: center;
}

.v1-stat-number {
    font-size: var(--font-size-xl);
    /* Reduced visual weight */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.v1-stat-label {
    font-size: var(--font-size-base);
    /* Increased from xs */
    color: var(--text-secondary);
    /* Increased contrast */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.v1-stat-divider {
    width: 1px;
    height: 32px;
    /* Reduced from 60px */
    background: var(--border-subtle);
}

/* Proof Section refresh (Card Based) */
.proof-grid-v3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.proof-card-v3 {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-8);
    /* Equalized padding */
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centering content inside card */
    text-align: center;
    /* Centering text inside card */
    width: 100%;
}

.proof-card-v3:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.proof-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.proof-card-clients {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.proof-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.proof-cta-align {
    text-align: center;
}

.highlight-blue {
    color: var(--accent-blue);
}

.service-explanation {
    font-size: var(--font-size-sm);
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: -0.5rem;
    margin-bottom: var(--space-4);
    font-style: italic;
    opacity: 0.9;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    animation: fadeInUp 0.8s ease-out;
}

/* Global Section Refinement */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

/* Equalizing Proof Grid Spacing */
.proof-grid-v3 {
    justify-content: center;
}

/* Refined Footer V3 - Tightened & Structured */
.footer-v3 {
    background: var(--bg-secondary);
    padding: var(--space-10) 0 var(--space-8);
    /* removed */
    /* removed */
    border: none !important;
    position: relative;
    overflow: hidden;
}

/* Suble radial glow behind logo area */
.footer-v3::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.footer-main-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 2;
}

.footer-brand-side {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex: 1;
}

.footer-logo-circular {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.25));
}

.footer-divider-vertical {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-story-side {
    flex: 1.5;
    max-width: 480px;
}

.footer-story-side .story-title {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-weight: 700;
    text-transform: none;
}

.footer-story-side .story-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-credibility {
    font-size: var(--font-size-xs);
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* 5-Column Nav Grid */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-8);
    padding-top: var(--space-10);
    /* removed */
    /* removed */
    border: none !important;
    margin-bottom: var(--space-10);
    position: relative;
    z-index: 2;
}

.footer-nav-col h4 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 800;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: var(--space-2);
    white-space: nowrap;
}

.footer-nav-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-base);
}

.footer-nav-col a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
    display: inline-block;
}

/* Founders Column */
.founders-column {
    display: flex;
    flex-direction: column;
}

.founder-info {
    margin-bottom: var(--space-3);
}

.founder-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    display: block;
}

.founder-role {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

/* Footer Bottom Bar - Split Alignment */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright-left {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    opacity: 0.7;
}

.footer-motto-right {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--accent-blue);
}

.footer-motto-right p {
    margin: 0;
    letter-spacing: 0.01em;
}

/* Bridge Visual Styles */
.bridge-visual {
    margin-top: var(--space-10);
    padding: var(--space-10);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.bridge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

.chaos-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 120px;
    justify-content: center;
}

.chaos-icon {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.chaos-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.bridge-arrow {
    font-size: 2rem;
    color: var(--text-muted);
}

.clean-system {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.system-box,
.dashboard-box {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
}

.system-box.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid var(--border-blue-subtle);
}

.dashboard-box.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bridge-caption {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: var(--space-4);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bridge-conclusion {
    margin-top: var(--space-8);
    text-align: center;
}

.bridge-conclusion p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

.bridge-conclusion .bold-highlight {
    color: var(--text-primary);
    font-weight: 700;
}

.bridge-link {
    display: inline-block;
    margin-top: var(--space-4);
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.bridge-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments for V3 */
@media (max-width: 1024px) {
    .v1-stats-bar {
        gap: var(--space-6);
    }

    .problem-grid-v1 {
        grid-template-columns: 1fr 1fr;
    }

    .impact-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .proof-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main-block {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-8);
    }

    .footer-divider-vertical {
        display: none;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .v1-stats-bar {
        flex-direction: column;
        gap: var(--space-6);
    }

    .v1-stat-divider {
        display: none;
    }

    .problem-grid-v1 {
        grid-template-columns: 1fr;
    }

    .proof-grid-v3 {
        grid-template-columns: 1fr;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        text-align: left;
    }
}

/* Impact Section Styles */
.impact {
    padding: var(--space-16) 0;
}

.impact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.impact-chart-visual {
    position: relative;
}

.impact-visual-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-8);
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

.chart-box {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.chart-status {
    font-size: var(--font-size-xs);
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chart-bar-item {
    margin-bottom: var(--space-3);
}

.bar-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.bar-progress-bg {
    height: 10px;
    background: var(--bg-primary);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.bar-progress {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

.bar-value {
    text-align: right;
    font-size: var(--font-size-xs);
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 2px;
}

.chart-graphic {
    margin-top: var(--space-4);
    height: 80px;
    border-top: 1px dashed var(--border-subtle);
    padding-top: var(--space-4);
}

.fancy-wave {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.fancy-wave path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Problem Section V1 Restoration */
.problem-section-v1 {
    padding: var(--space-16) 0;
    background: var(--bg-primary);
    position: relative;
}

.section-header-v1 {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header-v1 h2,
.section-header-v1 .section-subtitle-v1 {
    margin-left: auto;
    margin-right: auto;
}

.section-badge-v1 {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.problem-grid-v1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.problem-card-v1 {
    background: var(--bg-card);
    padding: var(--space-8);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.problem-card-v1:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 15px 30px -10px rgba(239, 68, 68, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.problem-icon-v1 {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-4);
    display: block;
}

.problem-card-v1 h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2);
}

.problem-quote-v1 {
    margin-top: var(--space-4);
    font-style: italic;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    border-left: 2px solid #ef4444;
    padding-left: var(--space-3);
}

.problem-cta-v1 {
    text-align: center;
    max-width: 600px;
    margin: var(--space-10) auto 0;
    padding: var(--space-6);
    /* removed */
    border-top: none;
}

.problem-cta-v1 p {
    font-size: var(--font-size-lg);
    margin-left: auto;
    margin-right: auto;
}

.problem-cta-sub-v1 {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: var(--font-size-base) !important;
}

/* Navigation Right Alignment Fix */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: var(--space-6);
    margin-left: auto;
    margin-right: var(--space-4);
}

/* Footer Case Studies Two-Column Layout */
.footer-case-studies .case-studies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.footer-case-studies .case-studies-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-case-studies .case-studies-grid li {
    margin-bottom: var(--space-2);
}

.footer-case-studies .case-studies-grid a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-base);
}

.footer-case-studies .case-studies-grid a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
    display: inline-block;
}

/* Logo Marquee */
.logo-marquee-wrapper {
    overflow: hidden;
    padding: var(--space-8) 0;
    margin-top: var(--space-4);
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee {
    display: flex;
    overflow: hidden;
}

.logo-marquee-track {
    display: flex;
    gap: var(--space-12);
    animation: scroll 40s linear infinite;
    width: max-content;
}

.client-logo {
    height: 48px;
    width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   GAMIFIED ROADMAP (React.gg Style)
   ======================================== */
.roadmap-game {
    background-color: #050505;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: var(--space-16) 0;
    overflow: hidden;
    position: relative;
}

.roadmap-header {
    text-align: center;
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 2;
}

.roadmap-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roadmap-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-left: auto;
    margin-right: auto;
}

.game-board-wrapper {
    position: relative;
    width: 800px;
    height: 1400px;
    margin: 0 auto;
}

.game-path-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.6));
}

.track-segments {
    stroke-dasharray: 20 4;
    animation: trackFlow 20s linear infinite;
}

@keyframes trackFlow {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Game Steps - Absolute Positioning on Desktop */
.game-step {
    position: absolute;
    width: 280px;
    z-index: 10;
}

.step-marker {
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: absolute;
    top: -20px;
    left: -20px;
    /* Offset to sit on line/corner */
    z-index: 12;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-card {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover {
    transform: scale(1.05) rotate(1deg);
    border-color: #555;
    z-index: 15;
}

/* HEADINGS & COLORS */
.step-heading-pink {
    color: #FF00CC;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-heading-green {
    color: #00FF99;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-heading-yellow {
    color: #FFCC00;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-text {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* MINI UI ELEMENTS */
.step-mini-ui {
    background: #000;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ui-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.ui-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
}

.ui-dots span:nth-child(1) {
    background: #FF5f56;
}

.ui-dots span:nth-child(2) {
    background: #FFBD2E;
}

.ui-dots span:nth-child(3) {
    background: #27C93F;
}

.ui-line {
    height: 4px;
    background: #333;
    border-radius: 2px;
    width: 100%;
}

.ui-line.short {
    width: 60%;
}

.ui-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #000;
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
    width: fit-content;
}

.ui-progress {
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.ui-bar {
    height: 100%;
    background: #FF00CC;
}

.ui-chart-mini {
    width: 100%;
    height: 20px;
    background: linear-gradient(to right,
            transparent 0%, transparent 20%,
            #FFCC00 20%, #FFCC00 40%,
            transparent 40%, transparent 60%,
            #00FF99 60%, #00FF99 80%,
            transparent 80%);
}

.ui-toggle {
    width: 30px;
    height: 16px;
    background: #333;
    border-radius: 10px;
    position: relative;
}

.ui-toggle.on {
    background: #00FF99;
}

.ui-toggle.on::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
}

/* RESPONSIVE FALLBACK */
@media (max-width: 900px) {
    .roadmap-game {
        height: auto;
        padding-bottom: var(--space-16);
    }

    .game-board-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .game-path-svg {
        display: none;
        /* Hide SVG on mobile */
    }

    .game-step {
        position: relative;
        /* Stack normally */
        top: auto !important;
        left: auto !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .step-marker {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 10px;
        display: inline-flex;
    }

    .step-card {
        border-left: 4px solid #333;
    }

    .step-card:hover {
        transform: translateY(-2px);
    }
}


/* ========================================
   WHY SECTION - INTERACTIVE TABS (Glassmorphism)
   ======================================== */
.why-tabs-layout {
    display: flex;
    gap: var(--space-8);
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Sidebar Tabs */
.why-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 280px;
    flex-shrink: 0;
}

.why-tab {
    background: transparent;
    border: none;
    text-align: left;
    padding: var(--space-6);
    color: var(--text-secondary);
    font-size: 1.125rem;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
    position: relative;
    font-weight: 600;
    transition: all 0.3s;
    border-right: 2px solid transparent;
}

.why-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.why-tab.active {
    color: var(--text-primary);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
    border-right: 2px solid var(--accent-blue);
    /* Connect visually to panel */
}

.tab-glow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--accent-blue);
    border-radius: 2px;
    box-shadow: 0 10px 20px -5px var(--accent-blue), inset 0 2px 3px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.why-tab.active .tab-glow {
    display: block;
}

/* Glass Display Panel */
.why-display-panel {
    flex-grow: 1;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    /* Ensure height stability */
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Borders logic */
.why-display-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.why-content-block {
    display: none;
    /* Hidden by default */
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-8);
    height: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.why-content-block.active {
    display: grid !important;
    /* Force grid when active */
    opacity: 1;
    transform: translateY(0);
}

/* Hide non-active blocks completely */
.why-content-block:not(.active) {
    display: none;
}

.why-panel-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.why-list-styled {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8) 0;
}

.why-list-styled li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-4);
    font-size: 1rem;
    color: var(--text-secondary);
}

.why-list-styled .icon {
    font-size: 1.2em;
}

.why-panel-cta {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.why-panel-cta:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Visual Side - Abstract CSS Graphs */
.why-visual-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fancy background glow behind visual */
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.abstract-graph {
    width: 200px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    position: relative;
}

.graph-bar {
    width: 30px;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.2), rgba(0, 242, 255, 0.6));
    border-radius: 4px 4px 0 0;
    position: relative;
}

.graph-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(8px);
    opacity: 0.7;
}

.graph-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-line-svg svg {
    overflow: visible;
    filter: drop-shadow(0 4px 10px rgba(0, 242, 255, 0.4));
}

.abstract-circle-viz {
    width: 140px;
    height: 140px;
    position: relative;
}

.pulse-circle {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.5;
}

.pulse-circle.delay {
    animation-delay: 1s;
    border-color: var(--accent-blue);
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Enhanced Visual for 'Why Leaders Choose Us' */
.abstract-foundation-viz {
    width: 160px;
    height: 160px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.foundation-base {
    width: 120px;
    height: 12px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 4px;
    margin-top: auto;
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.2), inset 0 2px 3px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.foundation-pillar {
    width: 40px;
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.foundation-pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-blue), transparent);
    opacity: 0.3;
    animation: scanPillar 3s ease-in-out infinite;
}

.foundation-core {
    width: 60px;
    height: 60px;
    background: var(--bg-elevated);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    margin-bottom: -10px;
}

.foundation-check {
    color: var(--accent-blue);
    font-size: 24px;
    font-weight: bold;
}

@keyframes scanPillar {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.abstract-metric-viz {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.metric-card-float {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: float 3s ease-in-out infinite;
}

.metric-card-float.small {
    font-size: 1.5rem;
    animation-delay: 1.5s;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 900px) {
    .why-tabs-layout {
        flex-direction: column;
    }

    .why-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .why-tab {
        white-space: nowrap;
        border-radius: 8px;
        border-right: none;
        border-bottom: 2px solid transparent;
    }

    .why-tab.active {
        border-right: none;
        border-bottom: 2px solid var(--accent-blue);
    }

    .why-content-block {
        grid-template-columns: 1fr;
    }

    .why-visual-side {
        display: none;
        /* Hide visual on mobile to save space */
    }
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        justify-content: flex-start;
    }
}


/* Nav Logo - White Text Fix */
.nav-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

/* Footer Grid Layout with Vertical Dividers */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav-col {
    padding: 0 2rem;
    position: relative;
}

/* Vertical dividers between footer columns */
.footer-nav-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-nav-col:first-child {
    padding-left: 0;
}

.footer-nav-col:last-child {
    padding-right: 0;
}

.footer-nav-col h4 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col ul li {
    margin-bottom: 0.75rem;
    white-space: nowrap;
}

.footer-nav-col ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s;
    text-decoration: none;
}

.footer-nav-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-main-block {
    margin-bottom: 3rem;
}

/* Responsive footer */
@media (max-width: 1200px) {
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 0;
    }

    .footer-nav-col:nth-child(even)::after {
        display: none;
    }

    .footer-nav-col {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav-col::after {
        display: none;
    }

    .footer-nav-col {
        padding: 1.5rem 0;
        /* removed */
        /* removed */
        border: none !important;
    }

    .footer-nav-col:last-child {
        border-bottom: none;
    }
}

/* =============================================
   GLOBAL 3D DEPTH & SHADOW ENHANCEMENTS
   ============================================= */

/* --- Nav CTA Button --- */
.nav-cta {
    box-shadow: 0 4px 14px -3px rgba(255, 255, 255, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

/* --- Primary / Secondary buttons --- */
.btn-primary {
    position: relative;
    box-shadow: 0 10px 24px -6px rgba(59, 130, 246, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px -6px rgba(59, 130, 246, 0.55),
        inset 0 2px 5px rgba(255, 255, 255, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    box-shadow: 0 4px 12px -3px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.3),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

/* --- Dashboard Mockup image --- */
.dashboard-mockup {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.dashboard-mockup:hover {
    transform: translateY(-6px) perspective(800px) rotateX(2deg);
    box-shadow: 0 40px 75px -20px rgba(0, 0, 0, 0.9),
        inset 0 2px 5px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* --- KPI cards inside dashboard --- */
.kpi-card {
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -8px rgba(59, 130, 246, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

/* --- Service cards --- */
.service-card {
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* --- Proof / case study category cards --- */
.proof-category {
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.55),
        inset 0 1px 2px rgba(255, 255, 255, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proof-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px -10px rgba(59, 130, 246, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(59, 130, 246, 0.15);
}

/* --- Process step numbers --- */
.step-number {
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* --- Stats / Why tabs --- */
.why-tab {
    box-shadow: 0 4px 12px -3px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-tab:hover,
.why-tab.active {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -5px rgba(59, 130, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

/* --- Contact form --- */
.contact-card,
.contact-form-wrapper,
form[class*="contact"] {
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    border-radius: 16px;
}

/* --- Graph bars 3D depth --- */
.graph-bar {
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25),
        0 8px 16px -5px rgba(0, 0, 0, 0.5);
    border-radius: 4px 4px 0 0;
}

/* --- Trust logos lift --- */
.trust-logo {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px -5px rgba(255, 255, 255, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* --- Testimonial / Glass panel cards --- */
.glass-panel {
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px -12px rgba(0, 210, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 210, 255, 0.12);
}

/* --- Hero header image depth --- */
.hero-visual img,
.hero-visual canvas,
.hero-visual svg {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 4px 12px rgba(127, 99, 246, 0.2));
}

/* --- Scroll-to-top button --- */
.custom-scroll-top-btn {
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.6),
        inset 0 2px 3px rgba(255, 255, 255, 0.15);
}

.custom-scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.25);
}

/* --- Modal --- */
.modal-content,
.service-modal-content {
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9),
        inset 0 1px 3px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* --- Services CTA block --- */
.services-cta {
    box-shadow: 0 20px 50px -12px rgba(59, 130, 246, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* =============================================
   CONTACT PAGE — 3D DEPTH & SHADOW ENHANCEMENTS
   ============================================= */

/* --- Contact Hero Orb Depth --- */
.orb-left {
    filter: blur(80px) saturate(150%);
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(139, 92, 246, 0.3);
}

/* --- Glass Form & Sidebar --- */
.glass-form {
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 12, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 50px 110px -20px rgba(0, 0, 0, 0.9),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* --- Form Fields (Inset Inner Depth) --- */
.f-input {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.f-input:focus {
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

/* --- Submit Button (Contact) --- */
.f-btn {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.f-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 35px rgba(59, 130, 246, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.f-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4),
        inset 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* --- Sidebar Bullet Icons --- */
.aside-bullet {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4),
        inset 0 2px 3px rgba(255, 255, 255, 0.2);
}

/* --- KPI Bars --- */
.kpi {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    border-radius: 1rem;
    padding: 1rem;
}

.kpi:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px -10px rgba(59, 130, 246, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

/* --- Indicator Cards (Bottom Contact) --- */
.ind-card {
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.ind-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* ── GLOBAL 3D ENHANCEMENTS ── */
.btn-primary,
.btn-secondary,
.nav-cta,
.nav-links a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 40px -8px rgba(59, 130, 246, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
}

.dashboard-mockup,
.kpi-card,
.chart-container,
.diagnosis-text,
.diagnosis-conclusion,
.feature-card,
.proof-card,
.step-card,
.faq-item,
.trust-logo,
.value-text {
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7),
        inset 0 1px 1.5px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dashboard-mockup:hover,
.kpi-card:hover,
.chart-container:hover,
.diagnosis-text:hover,
.diagnosis-conclusion:hover,
.feature-card:hover,
.proof-card:hover,
.step-card:hover,
.faq-item:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85),
        inset 0 2.5px 4px rgba(255, 255, 255, 0.25),
        0 0 25px rgba(127, 99, 246, 0.12);
}

.nav {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0.5px rgba(255, 255, 255, 0.08) !important;
}

img:not(.nav-logo img) {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

img:not(.nav-logo img):hover {
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.5));
    transform: scale(1.025);
}

/* Homepage hero heading aligned to contact page typography */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-purple);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: #ffffff;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    display: block;
}

.hero-title .grad {
    background: linear-gradient(130deg, #ffffff 0%, #c4b5ff 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.55rem, 11vw, 3rem);
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }
}

/* =============================================
   HOMEPAGE - Light Theme Visual Refinements
   ============================================= */
html[data-theme="light"] .dashboard-mockup,
body.light-theme .dashboard-mockup {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-theme="light"] .dashboard-mockup:hover,
body.light-theme .dashboard-mockup:hover {
    box-shadow:
        0 22px 46px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .mockup-header,
body.light-theme .mockup-header {
    background: rgba(241, 245, 249, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .mockup-title,
body.light-theme .mockup-title {
    color: #475569;
}

html[data-theme="light"] .scan-line,
body.light-theme .scan-line {
    background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.45), transparent);
    opacity: 0.45;
}

html[data-theme="light"] .kpi-card,
html[data-theme="light"] .chart-container,
body.light-theme .kpi-card,
body.light-theme .chart-container {
    background: #f1f5f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .data-flow-visual,
body.light-theme .data-flow-visual {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .flow-label,
body.light-theme .flow-label {
    color: #475569;
}

html[data-theme="light"] .chaos-diagram .chaos-node,
body.light-theme .chaos-diagram .chaos-node {
    fill: #fff5f5;
    stroke: #fca5a5;
}

html[data-theme="light"] .chaos-diagram g[fill="#ef4444"],
body.light-theme .chaos-diagram g[fill="#ef4444"] {
    fill: #991b1b;
}

html[data-theme="light"] .chaos-diagram path[stroke="#ef4444"],
body.light-theme .chaos-diagram path[stroke="#ef4444"] {
    stroke: #fca5a5;
    opacity: 0.6;
}

html[data-theme="light"] .chaos-diagram circle[fill="#1a1a1a"][stroke="#ef4444"],
body.light-theme .chaos-diagram circle[fill="#1a1a1a"][stroke="#ef4444"] {
    fill: #fee2e2;
    stroke: #fca5a5;
}

html[data-theme="light"] .chaos-diagram text[fill="#ef4444"],
body.light-theme .chaos-diagram text[fill="#ef4444"] {
    fill: #991b1b;
}

html[data-theme="light"] .clean-diagram g[opacity="0.4"] rect,
body.light-theme .clean-diagram g[opacity="0.4"] rect {
    fill: #eff6ff;
    stroke: #93c5fd;
    opacity: 1;
}

html[data-theme="light"] .clean-diagram path[stroke="#3b82f6"],
body.light-theme .clean-diagram path[stroke="#3b82f6"] {
    stroke: #93c5fd;
}

html[data-theme="light"] .clean-diagram circle[fill="#0f172a"][stroke="#3b82f6"],
body.light-theme .clean-diagram circle[fill="#0f172a"][stroke="#3b82f6"] {
    fill: #dbeafe;
    stroke: #3b82f6;
    stroke-width: 2;
}

html[data-theme="light"] .clean-diagram text[fill="#60a5fa"],
body.light-theme .clean-diagram text[fill="#60a5fa"] {
    fill: #2563eb;
}

html[data-theme="light"] .clean-diagram circle[fill="none"][stroke="#3b82f6"],
body.light-theme .clean-diagram circle[fill="none"][stroke="#3b82f6"] {
    stroke: #93c5fd;
    opacity: 0.7;
}

html[data-theme="light"] .clean-diagram rect[fill="#064e3b"][stroke="#10b981"],
body.light-theme .clean-diagram rect[fill="#064e3b"][stroke="#10b981"] {
    fill: #eff6ff;
    stroke: #93c5fd;
}

html[data-theme="light"] .clean-diagram text[fill="#34d399"],
body.light-theme .clean-diagram text[fill="#34d399"] {
    fill: #2563eb;
}

html[data-theme="light"] .flow-arrow,
body.light-theme .flow-arrow {
    opacity: 0.85;
}

/* ========================================
   MOBILE EXPERIENCE OVERRIDES
   ======================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-8) !important;
    }

    .hero-content {
        order: 1 !important;
    }

    .hero-visual {
        order: 2 !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--nav-height) + 2.25rem) !important;
        padding-bottom: 3rem !important;
        min-height: auto !important;
    }

    .hero-grid {
        gap: 2rem !important;
        align-items: start !important;
    }

    .hero-content {
        max-width: 100% !important;
        text-align: left !important;
    }

    .hero-badge,
    .hero-subtitle {
        max-width: 100% !important;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.15rem) !important;
        line-height: 1.04 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-description {
        max-width: 100% !important;
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .hero-actions {
        align-items: stretch !important;
        margin-top: 1.5rem !important;
    }

    .hero-visual {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .dashboard-mockup {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        border-radius: 18px !important;
    }

    .mockup-body {
        padding: 1rem !important;
    }

    .kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }

    .kpi-card {
        padding: 0.75rem !important;
        min-width: 0;
    }

    .kpi-value {
        font-size: 1.05rem !important;
    }

    .kpi-label {
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
    }

    .problem-section-v1 {
        padding: 3.5rem 0 !important;
    }

    .section-header-v1 {
        margin-bottom: 2rem !important;
        text-align: left !important;
    }

    .section-header-v1 h2 {
        font-size: clamp(2rem, 9vw, 2.65rem) !important;
        line-height: 1.08 !important;
        max-width: 100% !important;
    }

    .section-header-v1 .section-subtitle-v1 {
        max-width: 100% !important;
        font-size: 0.98rem !important;
        line-height: 1.65 !important;
    }

    .problem-grid-v1 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .problem-card-v1 {
        padding: 1.25rem !important;
        border-radius: 14px !important;
    }

    .problem-card-v1:hover {
        transform: translateY(-3px) !important;
    }

    .problem-icon-v1 {
        font-size: 2rem !important;
        margin-bottom: 0.85rem !important;
    }

    .problem-card-v1 h3 {
        font-size: 1.08rem !important;
        line-height: 1.3 !important;
    }

    .problem-card-v1 p,
    .problem-quote-v1 {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .problem-quote-v1 {
        margin-top: 0.9rem !important;
        padding-left: 0.8rem !important;
    }

    .problem-cta-v1 {
        max-width: 100% !important;
        margin-top: 1.5rem !important;
        padding: 1.25rem !important;
        text-align: left !important;
    }

    .problem-cta-v1 p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .problem-cta-sub-v1 {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .bridge-visual {
        margin-top: 2rem !important;
        padding: 1.25rem !important;
        border-radius: 16px !important;
    }

    .bridge-container {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .chaos-icons {
        width: 100% !important;
        max-width: 260px !important;
    }

    .bridge-arrow {
        transform: rotate(90deg);
        font-size: 1.45rem !important;
    }

    .clean-system {
        width: 100% !important;
        max-width: 260px !important;
    }

    .system-box,
    .dashboard-box {
        width: 100% !important;
        padding: 0.65rem 0.8rem !important;
    }

    .bridge-caption {
        margin-top: 1rem !important;
        font-size: 0.68rem !important;
        line-height: 1.45 !important;
    }

    .bridge-conclusion {
        margin-top: 1.5rem !important;
    }

    .bridge-conclusion p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .impact-content-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .impact-text-card,
    .impact-visual-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem !important;
        box-sizing: border-box !important;
    }

    .impact-visual-container {
        min-height: 0 !important;
        height: auto !important;
    }

    .chart-box,
    .chart-header,
    .chart-bars,
    .chart-bar-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .why-tabs-layout,
    .why-sidebar,
    .why-display-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .why-tabs-layout {
        gap: 1rem !important;
        overflow: hidden !important;
    }

    .why-sidebar {
        flex-direction: column !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .why-tab {
        width: 100% !important;
        white-space: normal !important;
        padding: 1rem !important;
        border-radius: 12px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--border-subtle) !important;
    }

    .why-tab.active {
        border-bottom-color: var(--accent-blue) !important;
    }

    .why-display-panel {
        padding: 1.25rem !important;
        min-height: 0 !important;
    }

    .logo-marquee-wrapper,
    .logo-marquee {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        contain: size layout paint !important;
    }

    .logo-marquee-track {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem 1.25rem !important;
        animation: mobileLogoDrift 8s ease-in-out infinite alternate !important;
        overflow: hidden !important;
    }

    .client-logo {
        width: 86px !important;
        height: 38px !important;
        flex: 0 1 86px !important;
    }

    @keyframes mobileLogoDrift {
        from {
            opacity: 0.72;
            transform: translateY(0);
        }

        to {
            opacity: 1;
            transform: translateY(-4px);
        }
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.55rem) !important;
    }

    .kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .chart-header {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
}
