/* ==========================================================================
   Cognitive Insight Consulting - Website Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties / Theme System
   -------------------------------------------------------------------------- */

:root {
    /* Typography */
    --font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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: 3.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-padding: var(--space-6);
    --section-padding: var(--space-20);
    --border-radius-sm: 0.375rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Theme: Deep Blue + Teal (Default) */
.theme-blue {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-accent: #0d9488;
    --color-accent-light: #14b8a6;
    --color-background: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-alt: #f1f5f9;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #0d9488 100%);
    --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-text: linear-gradient(135deg, #0d9488 0%, #1a365d 100%);
}

/* Theme: Purple + Blue Gradient */
.theme-purple {
    --color-primary: #5b21b6;
    --color-primary-light: #7c3aed;
    --color-accent: #3b82f6;
    --color-accent-light: #60a5fa;
    --color-background: #faf5ff;
    --color-surface: #ffffff;
    --color-surface-alt: #f3e8ff;
    --color-text: #1e1b4b;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-border: #e9d5ff;
    --gradient-primary: linear-gradient(135deg, #5b21b6 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(180deg, #faf5ff 0%, #e9d5ff 100%);
    --gradient-text: linear-gradient(135deg, #5b21b6 0%, #3b82f6 100%);
}

/* Theme: Dark Mode */
.theme-dark {
    --color-primary: #38bdf8;
    --color-primary-light: #7dd3fc;
    --color-accent: #a78bfa;
    --color-accent-light: #c4b5fd;
    --color-background: #0f172a;
    --color-surface: #1e293b;
    --color-surface-alt: #334155;
    --color-text: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-text-light: #64748b;
    --color-border: #334155;
    --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
    --gradient-hero: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-text: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background-color: var(--color-surface);
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: var(--color-surface);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-4) var(--container-padding);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    transition: opacity var(--transition-fast);
}

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

.logo-img {
    height: 28px;
    width: auto;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    padding: var(--space-2) var(--space-4);
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--border-radius);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* --------------------------------------------------------------------------
   Theme Switcher
   -------------------------------------------------------------------------- */

.theme-switcher {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    display: flex;
    gap: var(--space-2);
    padding: var(--space-2);
    background: var(--color-surface);
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.theme-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 4px;
    background: transparent;
    transition: transform var(--transition-fast);
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-preview {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-border);
}

.theme-preview-blue {
    background: linear-gradient(135deg, #1a365d 50%, #0d9488 50%);
}

.theme-preview-purple {
    background: linear-gradient(135deg, #5b21b6 50%, #3b82f6 50%);
}

.theme-preview-dark {
    background: linear-gradient(135deg, #0f172a 50%, #38bdf8 50%);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
    overflow: hidden;
}

/* Particles.js container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    #particles-js {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-24) 0;
    max-width: 900px;
}


.hero-title {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.hero-tags {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: var(--space-2) var(--space-4);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-sm);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    animation: bounce 2s ease-in-out infinite;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.scroll-indicator:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface-alt);
    border-color: var(--color-text-light);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-label {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--gradient-primary);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--border-radius-full);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Venn Diagram & Track Badges
   -------------------------------------------------------------------------- */

.edge-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto var(--space-12);
}

.edge-card {
    border-left: 3px solid var(--color-accent);
    padding: var(--space-6) var(--space-8);
    background: var(--color-surface-alt, var(--color-surface));
    border-radius: var(--border-radius);
}

.edge-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.edge-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.comparison-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 800px;
    margin: 0 auto var(--space-12);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--color-surface);
}

.comparison-col {
    padding: var(--space-6);
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.comparison-col:last-child {
    border-right: none;
}

.comparison-col-highlight {
    background: var(--color-surface-alt);
    position: relative;
}

.comparison-col-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
}

.comparison-header {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.comparison-col-highlight .comparison-header {
    color: var(--color-primary);
}

.comparison-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .comparison-table {
        grid-template-columns: 1fr;
    }

    .comparison-col {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .comparison-col:last-child {
        border-bottom: none;
    }
}

/* --------------------------------------------------------------------------
   Differentiators Section
   -------------------------------------------------------------------------- */

.differentiators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

.diff-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-surface-alt);
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-base);
}

.diff-item:hover {
    transform: translateX(4px);
}

.diff-indicator {
    flex-shrink: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.diff-content {
    flex: 1;
}

.diff-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.diff-desc {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Clients Section
   -------------------------------------------------------------------------- */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
}

.client-card {
    padding: var(--space-6);
    background: var(--color-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.client-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-4);
    background: var(--color-surface-alt);
    border-radius: var(--border-radius);
    color: var(--color-primary);
}

.client-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.client-desc {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */

.team-accomplishments {
    max-width: 800px;
    margin: 0 auto var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.team-accomplishment {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    padding: var(--space-4);
    background: var(--color-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.team-accomplishment::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.team-logos {
    display: flex;
    gap: var(--space-8);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.6;
}

.team-logo-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Process Section
   -------------------------------------------------------------------------- */

.process-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    width: 100%;
    display: flex;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--color-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.process-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    font-size: var(--font-size-xl);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-content {
    flex: 1;
}

.process-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.process-desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.process-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.process-details li {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    padding-left: var(--space-4);
    position: relative;
}

.process-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.process-connector {
    width: 2px;
    height: 40px;
    background: var(--color-border);
}

@media (max-width: 600px) {
    .process-details {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */

.section-contact {
    background: var(--gradient-primary);
    color: white;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content .section-label {
    background: rgba(255, 255, 255, 0.2);
}

.contact-title {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.contact-desc {
    opacity: 0.9;
    margin-bottom: var(--space-8);
    font-size: var(--font-size-lg);
}

.section-contact .btn-primary {
    background: white;
    color: var(--color-primary);
}

.section-contact .btn-primary:hover {
    background: var(--color-surface-alt);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
    padding: var(--space-6) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Solution Section — Dual Pillars
   -------------------------------------------------------------------------- */

.pillars {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    align-items: stretch;
    margin-bottom: var(--space-8);
}

.pillar {
    padding: var(--space-8);
    background: var(--color-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.pillar-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-primary);
}

.pillar-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.pillar-item {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    padding-left: var(--space-5);
    position: relative;
}

.pillar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.pillar-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: 300;
    color: var(--color-text-light);
}

.shared-foundation {
    padding: var(--space-6);
    background: var(--color-surface-alt);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    margin-bottom: var(--space-6);
}

.shared-foundation-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-accent);
}

.shared-tags {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
}

.shared-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
    border-radius: var(--border-radius-full);
    border: 1px solid var(--color-border);
}

.solution-cta {
    text-align: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.4;
    margin-bottom: var(--space-12);
}

.track-badges {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.track-badge {
    padding: var(--space-3) var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Team Stats
   -------------------------------------------------------------------------- */

.team-stats {
    display: flex;
    gap: var(--space-10);
    justify-content: center;
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.team-stat {
    text-align: center;
}

.team-stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.team-stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Clients Also Footer
   -------------------------------------------------------------------------- */

.clients-also {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-8);
    padding: var(--space-4) var(--space-6);
    background: var(--color-surface);
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-sm);
}

.clients-also-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-right: var(--space-2);
}

.clients-also-item {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.clients-also-sep {
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Process Duration Label
   -------------------------------------------------------------------------- */

.process-duration {
    display: inline-block;
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    :root {
        --section-padding: var(--space-12);
    }

    .hero-content {
        padding: var(--space-16) 0;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-number {
        margin: 0 auto;
    }

    .diff-item {
        flex-direction: column;
    }

    .diff-indicator {
        width: 100%;
        height: 4px;
    }

    .theme-switcher {
        bottom: var(--space-4);
        right: var(--space-4);
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .pillar-connector {
        transform: rotate(90deg);
        padding: 0;
    }

    .team-accomplishments {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .team-stats {
        gap: var(--space-4);
    }

    .team-stat-number {
        font-size: var(--font-size-3xl);
    }

    .track-badges {
        flex-direction: column;
        align-items: center;
    }
}
