/* ==========================================================================
   Faaro - Design System | Preview B: Deel-Inspired
   Expanded palette, chunky shapes, illustrated elements, rich interactions
   ========================================================================== */

:root {
    /* Primary Palette */
    --navy: #1a2b4a;
    --navy-light: #2d4a7c;
    --navy-deep: #0f1d32;
    --charcoal: #1f2937;
    --slate: #374151;

    /* Gold Accents */
    --gold: #c9a227;
    --gold-light: #d4b84a;
    --gold-dark: #a68619;
    --gold-muted: rgba(201, 162, 39, 0.12);
    --gold-glow: rgba(201, 162, 39, 0.3);

    /* NEW: Expanded Accent Palette (Deel-inspired work cycle) */
    --coral: #e07a5f;
    --coral-light: #e99a84;
    --coral-muted: rgba(224, 122, 95, 0.12);
    --coral-glow: rgba(224, 122, 95, 0.25);

    --purple: #8b7ea8;
    --purple-light: #a599be;
    --purple-dark: #6b5e88;
    --purple-muted: rgba(139, 126, 168, 0.12);
    --purple-glow: rgba(139, 126, 168, 0.25);

    --teal: #4a9b9b;
    --teal-light: #6db3b3;
    --teal-dark: #3a7a7a;
    --teal-muted: rgba(74, 155, 155, 0.12);
    --teal-glow: rgba(74, 155, 155, 0.25);

    /* Gradient */
    --gradient-warm: linear-gradient(135deg, var(--coral) 0%, var(--gold) 50%, var(--purple) 100%);
    --gradient-accent: linear-gradient(90deg, var(--coral), var(--gold), var(--purple));

    /* Legacy compat */
    --cream: #f9fafb;

    /* Light Theme Colors - Warm Tones */
    --white: #ffffff;
    --off-white: #faf9f7;
    --gray-50: #faf9f7;
    --gray-100: #f5f4f2;
    --gray-200: #e8e6e3;
    --gray-300: #d4d2cf;
    --gray-400: #9c9a97;
    --gray-500: #6b6966;
    --gray-600: #4a4845;
    --gray-700: #363533;
    --gray-800: #1f1e1d;

    /* Semantic */
    --success: #10b981;

    /* Typography */
    --font-display: 'Montserrat', -apple-system, sans-serif;
    --font-body: 'Open Sans', -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.04);
    --shadow: 0 2px 6px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 8px 20px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 16px 32px -8px rgb(0 0 0 / 0.12);
    --shadow-xl: 0 24px 48px -12px rgb(0 0 0 / 0.15);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

/* ==========================================================================
   Typography - Enhanced
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

.gold { color: var(--gold); }
.light { color: var(--white); }

/* Gradient Text */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Highlight Colors */
.highlight-coral {
    color: var(--coral);
}

.highlight-purple {
    color: var(--purple);
}

.highlight-teal {
    color: var(--teal);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

.center { text-align: center; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

/* Logo - Small Caps Style */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--navy);
}

.logo-text .logo-dot {
    color: var(--gold);
}

.logo-sub {
    display: none; /* Remove "GLOBAL" subtitle */
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link.active {
    color: var(--navy);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Buttons - Enhanced with Color Variants
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    color: var(--navy);
    background: transparent;
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--coral);
    background: var(--coral-muted);
    color: var(--coral);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

/* ==========================================================================
   Hero Section - Deel-Inspired with Chunky Shapes
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-md);
    background: linear-gradient(160deg, var(--off-white) 0%, var(--white) 50%, var(--gray-50) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Chunky Blob Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.08;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    color: var(--coral);
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    color: var(--purple);
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    top: 40%;
    left: 50%;
    width: 300px;
    height: 300px;
    color: var(--teal);
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    max-width: 750px;
    text-align: center;
    animation: fadeUp 0.8s ease forwards;
    position: relative;
    z-index: 2;
}

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

.hero-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    background: var(--coral-muted);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
    border: 1px solid var(--coral-glow);
}

.hero-title {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-title .gold {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

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

/* Hero Illustration - Connection Graphic */
.hero-illustration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 300px;
    z-index: 1;
    opacity: 0.15;
    display: none;
}

@media (min-width: 1200px) {
    .hero-illustration {
        display: block;
    }
    .hero-content {
        margin-left: -15%;
    }
}

.integration-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.system-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.node-hris { top: 0; left: 0; border-color: var(--coral); }
.node-roster { top: 0; right: 0; border-color: var(--purple); }
.node-time { bottom: 0; left: 0; border-color: var(--teal); }
.node-payroll { bottom: 0; right: 0; border-color: var(--gold); }

.node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.hub-icon {
    color: var(--gold);
    width: 32px;
    height: 32px;
}

.hub-text {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.connection-lines {
    position: absolute;
    inset: 0;
}

.connection-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    opacity: 0.5;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
    z-index: 2;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--coral), var(--purple), transparent);
    border-radius: 1px;
}

/* ==========================================================================
   Section Shapes - Chunky Blob Backgrounds
   ========================================================================== */

.section-shape-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.section-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    opacity: 0.06;
}

.blob-left {
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--coral);
}

.blob-right {
    right: -200px;
    top: 30%;
    color: var(--purple);
}

/* ==========================================================================
   Section Styling
   ========================================================================== */

.section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: var(--space-sm);
}

.section-eyebrow.light {
    color: var(--gold-light);
}

.section-title {
    margin-bottom: var(--space-md);
    color: var(--navy);
}

.section-title.light {
    color: var(--white);
}

.section-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.section-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 650px;
    margin: 0 auto var(--space-xl);
}

/* ==========================================================================
   Problem Section
   ========================================================================== */

.problem-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.problem-stats {
    display: grid;
    gap: var(--space-md);
}

.stat-card {
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.stat-card.stat-coral::before { background: var(--coral); }
.stat-card.stat-purple::before { background: var(--purple); }
.stat-card.stat-teal::before { background: var(--teal); }

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-card.stat-coral:hover { border-color: var(--coral); }
.stat-card.stat-purple:hover { border-color: var(--purple); }
.stat-card.stat-teal:hover { border-color: var(--teal); }

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.stat-card.stat-coral:hover .stat-number { color: var(--coral); }
.stat-card.stat-purple:hover .stat-number { color: var(--purple); }
.stat-card.stat-teal:hover .stat-number { color: var(--teal); }

.stat-label {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==========================================================================
   Solution Section
   ========================================================================== */

.solution-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.approach-card {
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.approach-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.approach-card.card-coral::after { background: var(--coral); }
.approach-card.card-purple::after { background: var(--purple); }
.approach-card.card-teal::after { background: var(--teal); }

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.approach-card:hover::after {
    opacity: 1;
}

.approach-card.card-coral:hover { border-color: var(--coral); }
.approach-card.card-purple:hover { border-color: var(--purple); }
.approach-card.card-teal:hover { border-color: var(--teal); }

.approach-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--navy);
    transition: all var(--transition-base);
}

.approach-card.card-coral:hover .approach-icon {
    background: var(--coral-muted);
    color: var(--coral);
}

.approach-card.card-purple:hover .approach-icon {
    background: var(--purple-muted);
    color: var(--purple);
}

.approach-card.card-teal:hover .approach-icon {
    background: var(--teal-muted);
    color: var(--teal);
}

.approach-icon svg {
    width: 28px;
    height: 28px;
}

.approach-card h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.approach-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   Journey Section
   ========================================================================== */

.journey-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    position: relative;
    overflow: hidden;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--coral-glow) 0%, transparent 60%);
    border-radius: 50%;
}

.journey-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 60%);
    border-radius: 50%;
}

.journey-timeline {
    position: relative;
    margin: var(--space-xl) 0;
}

.journey-line {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.journey-progress {
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--gold), var(--purple), var(--teal));
    border-radius: 2px;
    opacity: 0.4;
}

.journey-stages {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
    position: relative;
}

.journey-stage {
    text-align: center;
}

.stage-marker {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    transition: all var(--transition-bounce);
}

.stage-marker span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.journey-stage:hover .stage-marker {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
}

.journey-stage:nth-child(1) .stage-marker { background: var(--coral); }
.journey-stage:nth-child(2) .stage-marker { background: var(--gold); }
.journey-stage:nth-child(3) .stage-marker { background: var(--purple); }
.journey-stage:nth-child(4) .stage-marker { background: var(--teal); }
.journey-stage:nth-child(5) .stage-marker { background: var(--gold); }
.journey-stage:nth-child(6) .stage-marker { background: var(--coral); }

.journey-stage h4 {
    font-size: 0.9375rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.journey-stage p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.journey-cta {
    text-align: center;
    margin-top: var(--space-xl);
    position: relative;
    z-index: 2;
}

.journey-section .btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.journey-section .btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

/* ==========================================================================
   Backbone Section
   ========================================================================== */

.backbone-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.backbone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.backbone-list {
    list-style: none;
    margin-top: var(--space-lg);
}

.backbone-list li {
    padding: var(--space-md) 0;
    padding-left: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition: all var(--transition-base);
    position: relative;
}

.backbone-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--space-md);
    width: 4px;
    height: calc(100% - var(--space-md) - var(--space-md));
    border-radius: 2px;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.backbone-list li:hover::before {
    opacity: 1;
}

.backbone-list li.list-coral::before { background: var(--coral); }
.backbone-list li.list-purple::before { background: var(--purple); }
.backbone-list li.list-teal::before { background: var(--teal); }

.backbone-list li:hover {
    padding-left: calc(var(--space-md) + 0.5rem);
}

.backbone-list li:first-child {
    padding-top: 0;
}

.backbone-list li:first-child::before {
    top: 0;
    height: calc(100% - var(--space-md));
}

.backbone-list li:last-child {
    border-bottom: none;
}

.backbone-list strong {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    transition: color var(--transition-fast);
}

.backbone-list li.list-coral:hover strong { color: var(--coral); }
.backbone-list li.list-purple:hover strong { color: var(--purple); }
.backbone-list li.list-teal:hover strong { color: var(--teal); }

.backbone-list span {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.backbone-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 420px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
}

.visual-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-xl), 0 20px 60px rgba(201, 162, 39, 0.15);
}

.visual-header {
    padding: var(--space-sm) var(--space-md);
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    gap: 8px;
}

.visual-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.visual-dot:first-child { background: var(--coral); }
.visual-dot:nth-child(2) { background: var(--gold); }
.visual-dot:nth-child(3) { background: var(--teal); }

.visual-content {
    padding: var(--space-lg);
    background: var(--white);
}

.visual-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.visual-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    width: 130px;
    flex-shrink: 0;
}

.visual-connector {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    position: relative;
}

.visual-connector.coral { background: linear-gradient(90deg, var(--gray-200), var(--coral)); }
.visual-connector.purple { background: linear-gradient(90deg, var(--gray-200), var(--purple)); }
.visual-connector.teal { background: linear-gradient(90deg, var(--gray-200), var(--teal)); }
.visual-connector.gold { background: linear-gradient(90deg, var(--gray-200), var(--gold)); }

.visual-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.visual-connector.coral::after { background: var(--coral); box-shadow: 0 0 10px var(--coral-glow); }
.visual-connector.purple::after { background: var(--purple); box-shadow: 0 0 10px var(--purple-glow); }
.visual-connector.teal::after { background: var(--teal); box-shadow: 0 0 10px var(--teal-glow); }
.visual-connector.gold::after { background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }

.visual-center {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: var(--radius-md);
    text-align: center;
}

.visual-hub {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.visual-sub {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.15em;
}

/* ==========================================================================
   Verticals Section
   ========================================================================== */

.verticals-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

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

.vertical-card {
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vertical-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.vertical-accent.coral { background: var(--coral); }
.vertical-accent.purple { background: var(--purple); }
.vertical-accent.teal { background: var(--teal); }
.vertical-accent.gold { background: var(--gold); }

.vertical-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.vertical-card:nth-child(1):hover { border-color: var(--coral); }
.vertical-card:nth-child(2):hover { border-color: var(--purple); }
.vertical-card:nth-child(3):hover { border-color: var(--teal); }
.vertical-card:nth-child(4):hover { border-color: var(--gold); }

.vertical-card h3 {
    font-size: 1.375rem;
    color: var(--navy);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-xs);
}

.vertical-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Featured Verticals - Strategic Focus */
.verticals-section.featured {
    background: var(--gray-50);
}

.verticals-grid.featured-grid {
    grid-template-columns: repeat(3, 1fr);
}

.vertical-card.featured {
    border-width: 3px;
    box-shadow: var(--shadow-md);
}

.vertical-card.featured:hover {
    box-shadow: var(--shadow-xl);
}

/* Secondary Verticals - Other Industries */
.verticals-section.secondary {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.verticals-section.secondary .section-eyebrow {
    color: var(--gray-400);
}

.verticals-grid.secondary-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.secondary-grid .vertical-card {
    padding: var(--space-lg);
    border-width: 1px;
    border-color: var(--gray-100);
}

.secondary-grid .vertical-card:hover {
    transform: translateY(-4px);
    border-color: var(--gray-300);
}

.secondary-grid .vertical-card h3 {
    font-size: 1.1rem;
    margin-top: 0;
}

.secondary-grid .vertical-card p {
    font-size: 0.85rem;
}

/* Responsive Verticals */
@media (max-width: 1024px) {
    .verticals-grid.featured-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .verticals-grid.secondary-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-blob {
    position: absolute;
    opacity: 0.1;
}

.cta-blob-1 {
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    color: var(--coral);
}

.cta-blob-2 {
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    color: var(--purple);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: var(--gradient-warm);
    color: var(--white);
    border: none;
}

.cta-section .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(224, 122, 95, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo-text {
    color: var(--navy);
}

.footer-brand p {
    margin-top: var(--space-md);
    font-size: 0.9375rem;
    color: var(--gray-500);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
}

.footer-links a,
.footer-contact a,
.footer-contact p {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--coral);
}

.footer-locations h4 {
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

.footer-locations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-locations li {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-hero {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-3xl);
    background: var(--gray-50);
    text-align: center;
}

.about-hero h1 {
    margin-bottom: var(--space-md);
}

.about-hero .hero-subtitle {
    margin-bottom: 0;
}

.philosophy-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.philosophy-item {
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
}

.philosophy-item h3 {
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.philosophy-item p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.difference-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

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

.difference-card {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
}

.difference-card h3 {
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.difference-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.team-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

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

.team-content p {
    font-size: 1.0625rem;
    color: var(--gray-600);
}

/* ==========================================================================
   Solutions Page
   ========================================================================== */

.solutions-hero {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-3xl);
    background: var(--gray-50);
    text-align: center;
}

.solutions-hero h1 {
    margin-bottom: var(--space-md);
}

.functions-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.function-card {
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.function-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.function-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: var(--white);
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    color: var(--navy);
}

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

.function-card h3 {
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.function-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.governance-section {
    padding: var(--space-3xl) 0;
    background: var(--navy);
}

.governance-intro {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.governance-intro p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
}

.governance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.governance-feature {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.governance-feature h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.governance-feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.verticals-accordion {
    padding: var(--space-3xl) 0;
    background: transparent;
}

.vertical-item {
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.vertical-item.open {
    border-color: var(--gold);
}

.vertical-header {
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--gray-50);
    transition: background var(--transition-base);
}

.vertical-item.open .vertical-header {
    background: var(--white);
}

.vertical-header h3 {
    margin: 0;
    color: var(--navy);
}

.vertical-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: transform var(--transition-base);
}

.vertical-item.open .vertical-toggle {
    transform: rotate(180deg);
    color: var(--gold);
}

.vertical-content {
    display: none;
    padding: 0 var(--space-lg) var(--space-lg);
}

.vertical-item.open .vertical-content {
    display: block;
}

.vertical-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.pricing-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.pricing-intro {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.pricing-intro p {
    font-size: 1.0625rem;
    color: var(--gray-600);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.pricing-card {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
}

.pricing-card h3 {
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.pricing-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-hero {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-3xl);
    background: var(--gray-50);
    text-align: center;
}

.contact-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info p {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
    color: var(--gray-500);
}

.contact-item a:hover {
    color: var(--navy);
}

.contact-form-wrapper {
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.1);
}

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

.contact-form .btn {
    width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .problem-grid,
    .backbone-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .approach-grid,
    .philosophy-grid,
    .functions-grid,
    .governance-grid,
    .pricing-cards {
        grid-template-columns: 1fr 1fr;
    }

    .journey-stages {
        grid-template-columns: repeat(3, 1fr);
    }

    .journey-line,
    .journey-progress {
        display: none;
    }

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

    .shape,
    .section-blob {
        opacity: 0.04;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: var(--space-2xl) var(--space-md);
        padding-top: calc(var(--space-2xl) + 80px);
        min-height: auto;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-scroll {
        display: none;
    }

    .approach-grid,
    .philosophy-grid,
    .functions-grid,
    .governance-grid,
    .pricing-cards,
    .difference-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .about-hero,
    .solutions-hero,
    .contact-hero {
        padding-top: calc(var(--space-2xl) + 80px);
    }
}

@media (max-width: 480px) {
    .journey-stages {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: var(--space-md);
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Mobile Menu (JavaScript controlled)
   ========================================================================== */

.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
    gap: var(--space-sm);
}

.nav-links.mobile-open .nav-link {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
}

.nav-links.mobile-open .nav-link:hover {
    background: var(--gray-50);
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================================================
   Animation Classes (for Intersection Observer)
   ========================================================================== */

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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