/* ==========================================================================
   Softmax Data Website - Main Stylesheet
   Version: 1.0
   ========================================================================== */

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
    /* Background Colors - VIBRANT COLORED THEME (like socket.dev) */
    --bg-main: #1e1b4b;          /* Deep indigo - main background */
    --bg-dark: #1e1b4b;          /* Deep indigo */
    --bg-light: #252262;         /* Slightly lighter indigo */
    --bg-card: rgba(255, 255, 255, 0.08);  /* Translucent cards */
    --bg-card-hover: rgba(255, 255, 255, 0.12);

    /* Brand Colors - Softmax Blue (vibrant) */
    --primary: #60a5fa;          /* Bright sky blue */
    --primary-light: #93c5fd;    /* Lighter blue */
    --primary-dark: #3b82f6;     /* Medium blue */
    --accent: #60a5fa;
    --accent-secondary: #a78bfa; /* Soft violet */
    --accent-green: #34d399;     /* Mint green */

    /* Text Colors - LIGHT for dark backgrounds */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Border Colors */
    --border: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    /* Shadows - glowy for dark theme */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-colored: 0 10px 40px rgba(96, 165, 250, 0.3);
    --shadow-glow: 0 0 30px rgba(96, 165, 250, 0.2);

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ==========================================================================
   Base Styles / Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Global section containment - prevent horizontal overflow */
section, footer, nav, div {
    max-width: 100vw;
}

section, footer {
    overflow-x: hidden;
}

/* Prevent long words from causing overflow */
h1, h2, h3, h4, h5, h6, p, li, a, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 27, 75, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-button {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

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

.cta-button-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.cta-button-outline:hover {
    background: var(--primary);
    color: white;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    padding: 8rem 6rem 4rem;
    gap: 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Hero Animation Container (Gradient Descent)
   ========================================================================== */
.hero-animation {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gradient-descent-canvas {
    width: 400px;
    max-width: 100%;
    height: 380px;
    position: relative;
}

.loss-surface {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.surface-grid {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
}

.grid-line {
    position: absolute;
    background: rgba(96, 165, 250, 0.2);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.contour {
    position: absolute;
    border: 2px solid rgba(96, 165, 250, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contour:nth-child(1) { width: 280px; height: 190px; opacity: 0.2; }
.contour:nth-child(2) { width: 220px; height: 150px; opacity: 0.3; }
.contour:nth-child(3) { width: 160px; height: 110px; opacity: 0.4; }
.contour:nth-child(4) { width: 100px; height: 70px; opacity: 0.5; }
.contour:nth-child(5) { width: 50px; height: 35px; opacity: 0.6; }

.optimum {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent-green);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--accent-green), 0 0 40px rgba(52, 211, 153, 0.3);
    z-index: 10;
}

.descent-ball {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(96, 165, 250, 0.5);
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trail-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.gradient-arrow {
    position: absolute;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform-origin: left center;
    opacity: 0;
    z-index: 15;
}

.gradient-arrow::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    border-left: 7px solid var(--primary);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.glow-bg {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* ==========================================================================
   Floating Code Elements (Hero Background)
   ========================================================================== */
.floating-element {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
    box-shadow: var(--shadow-sm);
}

.floating-element:nth-child(1) { top: 15%; left: 5%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 25%; right: 8%; animation-delay: -3s; }
.floating-element:nth-child(3) { top: 60%; left: 3%; animation-delay: -6s; }
.floating-element:nth-child(4) { top: 70%; right: 5%; animation-delay: -9s; }
.floating-element:nth-child(5) { top: 40%; left: 8%; animation-delay: -12s; }
.floating-element:nth-child(6) { top: 80%; left: 15%; animation-delay: -15s; }

.code-keyword { color: var(--primary); }
.code-string { color: var(--accent-green); }
.code-func { color: var(--accent); }
.code-comment { color: var(--text-muted); font-style: italic; }

/* ==========================================================================
   Gradient Orbs (Background Decoration)
   ========================================================================== */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: pulse 8s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-green);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
}

/* ==========================================================================
   Trusted By / Logo Carousel Section - Socket.dev inspired
   ========================================================================== */
.trusted-section {
    padding: 0;
    /* Simple gradient from blue to purple like socket.dev */
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.trusted-section h3 {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    padding: 1rem 2rem 0;
    margin: 0;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
}

/* Fade edges to blend with gradient */
.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #3b82f6, transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(-90deg, #8b5cf6, transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.logo-track:hover {
    animation-play-state: paused;
}

/* Client logo images */
.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
    opacity: 0.85;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: filter 0.2s ease;
}

.client-logo:hover img {
    filter: brightness(1.1);
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-section {
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.partner-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.partner-badge img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    padding: 5rem 2rem;
    background: var(--bg-main);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Section Headers (Reusable)
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(74, 173, 232, 0.15);
    border: 1px solid rgba(74, 173, 232, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==========================================================================
   Two Ways Section
   ========================================================================== */
.two-ways-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

.two-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 2rem;
}

.way-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.way-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.way-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.way-card:hover::before {
    opacity: 1;
}

.way-card .icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.way-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.way-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.way-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.way-card li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.way-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.way-card .learn-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.way-card .learn-more:hover {
    gap: 0.75rem;
}

/* ==========================================================================
   How We Work / Process Section
   ========================================================================== */
.how-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--gradient-1);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Success Stories Section
   ========================================================================== */
.stories-section {
    padding: 6rem 2rem;
    background: var(--bg-card);
}

.stories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 1.5rem;
}

.story-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-fast);
}

.story-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.story-tag {
    display: inline-block;
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.story-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.story-outcome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card .service-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Assessment CTA Section
   ========================================================================== */
.assessment-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(74, 173, 232, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.assessment-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.assessment-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.assessment-content h2 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assessment-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.assessment-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.assessment-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.assessment-feature .check {
    width: 24px;
    height: 24px;
    background: rgba(52, 211, 153, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 0.8rem;
}

.assessment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.assessment-card .duration {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assessment-card .days {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.assessment-card .credit {
    background: rgba(52, 211, 153, 0.15);
    color: var(--accent-green);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* ─── Testimonials Section ─── */
.testimonials-section {
  padding: 6rem 2rem;
  background: var(--bg-dark);
  overflow: hidden;
}
.testimonials-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}
.testimonials-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.testimonials-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.testimonials-track {
  position: relative;
  min-height: 480px;
}


.testimonial-card {
  position: absolute;
  top: 0; left: 0; width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.5rem;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.testimonial-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.testimonial-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(96,165,250,0.3);
  flex-shrink: 0;
}
.testimonial-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.testimonial-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.testimonial-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}
.company-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 100%;
  text-transform: uppercase;
  opacity: 0.6;
}
.testimonial-quote p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 2rem;
}
.testimonial-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.testimonial-results {
  display: flex;
  gap: 3rem;
}
.result-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.result-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}
.result-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.testimonial-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.testimonial-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(96,165,250,0.1);
}
.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}
.dot:hover {
  background: rgba(96,165,250,0.5);
}
@media (max-width: 768px) {
  .testimonials-section { padding: 4rem 1.25rem; }
  .testimonial-card { padding: 1.75rem; }
  .testimonial-top { flex-direction: column; gap: 1rem; }
  .testimonial-photo { width: 60px; height: 60px; }
  .testimonial-name { font-size: 1.15rem; }
  .testimonial-quote p { font-size: 1rem; }
  .testimonial-results { gap: 2rem; }
  .result-value { font-size: 1.4rem; }
  .testimonials-track { min-height: 520px; }
}
/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-section {
    padding: 6rem 2rem;
    background: var(--bg-card);
}

.blog-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-link:hover .blog-card {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.blog-card-link .blog-card:hover {
    transform: none;
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.blog-image-placeholder {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.blog-content {
    padding: 1.5rem;
}

.blog-tag {
    display: inline-block;
    background: rgba(74, 173, 232, 0.15);
    color: var(--primary-light);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta {
    padding: 8rem 2rem;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta .orb {
    position: absolute;
}

.final-cta .orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
}

.final-cta-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    padding: 4rem 2rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    margin-bottom: 1rem;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #0A66C2;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.linkedin-btn:hover {
    background: #004182;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-bottom a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.page-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ==========================================================================
   Content Section (Generic)
   ========================================================================== */
.content-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* ==========================================================================
   Error Pages
   ========================================================================== */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.error-content h1 {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Contact Hero */
.contact-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero .hero-subhead {
    font-size: 1.15rem;
    color: #94a3b8;
}

/* Contact Content Section */
.contact-content {
    padding: 4rem 2rem 5rem;
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

/* Left Column - Form */
.contact-form-column h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.contact-form-column .form-intro {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Email Callout Box */
.email-callout {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.email-callout h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.email-callout p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

.email-callout .email-link {
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.email-callout .email-link:hover {
    color: #c4b5fd;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(30, 27, 75, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input::placeholder {
    color: #64748b;
}

.form-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(30, 27, 75, 0.7);
}

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

.recaptcha-group {
    margin-top: 0.5rem;
}

.captcha-error {
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-submit {
    margin-top: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Error Message */
.form-error-message {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.form-error-message p {
    color: #f87171;
    font-size: 0.95rem;
    margin: 0;
}

/* Success Message */
.success-message {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: #fff;
}

.success-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #94a3b8;
    font-size: 1rem;
}

/* Right Column - Office Info */
.contact-info-column {
    padding-top: 0.5rem;
}

.office-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
}

.office-card {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.office-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
}

.office-card address {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    font-style: normal;
}

.office-card address strong {
    color: #cbd5e1;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.map-container iframe {
    display: block;
}

/* Contact Page Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-column {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-content {
        padding: 3rem 1.5rem 4rem;
    }

    .contact-form-column h2 {
        font-size: 1.5rem;
    }

    .form-input {
        padding: 0.875rem 1rem;
    }
}

/* Legacy contact section (for other pages) */
.contact-section {
    padding: 4rem 2rem;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 1.5rem;
}

.contact-method strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-form-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.contact-form-placeholder p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Service Card Link Variant
   ========================================================================== */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link .learn-more {
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: gap var(--transition-fast);
}

.service-card-link:hover .learn-more {
    text-decoration: underline;
}

.services-grid-large {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

/* ==========================================================================
   Active Nav Link
   ========================================================================== */
.nav-links a.active {
    color: var(--primary);
}

/* ==========================================================================
   Service Page Styles
   ========================================================================== */

/* Service Hero Enhancement */
.service-hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.service-hero .hero-content {
    text-align: left;
}

.hero-quiet-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-quiet-link a {
    color: var(--primary);
    text-decoration: none;
}

.hero-quiet-link a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Neural Pipeline Animation (Document AI)
   ========================================================================== */
.neural-pipeline-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.pipeline-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, rgba(167, 139, 250, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
}

/* Grid Background */
.pipeline-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.3;
}

.grid-line-h,
.grid-line-v {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.2), transparent);
}

.grid-line-h {
    left: 0;
    right: 0;
    height: 1px;
}

.grid-line-v {
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.2), transparent);
}

/* Pipeline Input Document */
.pipeline-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.input-doc {
    width: 90px;
    height: 120px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 27, 75, 0.9) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 10px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanMove 2s ease-in-out infinite;
}

@keyframes scanMove {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.doc-text-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    margin-bottom: 6px;
}

.doc-text-line.short {
    width: 65%;
}

.doc-table {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    padding: 4px;
    margin: 8px 0;
}

.table-row {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 3px;
    border-radius: 1px;
}

.table-row:last-child {
    margin-bottom: 0;
}

.pipeline-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Neural Network Layers */
.neural-layers {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 0 1rem;
    z-index: 2;
}

.connection-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.connection-path {
    fill: none;
    stroke: rgba(96, 165, 250, 0.2);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    animation: dashFlow 3s linear infinite;
}

@keyframes dashFlow {
    to { stroke-dashoffset: -24; }
}

.layer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1;
}

.node {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(167, 139, 250, 0.15) 100%);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.1);
}

.node::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.node:hover::before {
    opacity: 0.3;
}

.layer-2 .node {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
    border-color: rgba(167, 139, 250, 0.4);
    color: var(--accent-purple);
}

/* Data Particles */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(96, 165, 250, 0.5);
    animation: particleFlow 4s ease-in-out infinite;
}

.particle.p1 { left: 18%; top: 35%; animation-delay: 0s; }
.particle.p2 { left: 18%; top: 50%; animation-delay: 0.8s; }
.particle.p3 { left: 18%; top: 65%; animation-delay: 1.6s; }
.particle.p4 { left: 50%; top: 40%; animation-delay: 2.4s; background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }
.particle.p5 { left: 50%; top: 60%; animation-delay: 3.2s; background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }

@keyframes particleFlow {
    0% { transform: translateX(0) scale(0); opacity: 0; }
    10% { transform: translateX(10px) scale(1); opacity: 1; }
    90% { transform: translateX(100px) scale(1); opacity: 1; }
    100% { transform: translateX(120px) scale(0); opacity: 0; }
}

/* Pipeline Output JSON */
.pipeline-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.output-json {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95) 0%, rgba(20, 18, 50, 0.95) 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 6px;
    padding: 12px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.55rem;
    line-height: 1.6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    min-width: 120px;
}

.json-line {
    white-space: nowrap;
}

.json-line.indent {
    padding-left: 0.75rem;
}

.json-brace {
    color: var(--text-muted);
}

.json-key {
    color: var(--primary);
}

.json-colon {
    color: var(--text-muted);
}

.json-value {
    color: var(--accent-green);
}

.extracted-val {
    animation: typeIn 2s ease-out infinite;
}

@keyframes typeIn {
    0%, 40% { opacity: 0.3; }
    50%, 90% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Accuracy Badge */
.accuracy-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(52, 211, 153, 0.05) 100%);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
}

.accuracy-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
}

.accuracy-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Training Loop Animation (Custom Model Development)
   ========================================================================== */
.training-loop-canvas {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: trainingPulse 4s ease-in-out infinite;
}

@keyframes trainingPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.training-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

/* Data Batches */
.training-data {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.data-batch {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    animation: batchFlow 2s ease-in-out infinite;
}

.data-batch.batch-2 {
    animation-delay: 1s;
}

@keyframes batchFlow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(20px); }
}

.data-point {
    width: 30px;
    height: 6px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    border-radius: 3px;
}

/* Model Core */
.model-core {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring {
    position: absolute;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
}

.core-ring.ring-1 {
    width: 100%;
    height: 100%;
    animation: ringRotate 8s linear infinite;
}

.core-ring.ring-2 {
    width: 80%;
    height: 80%;
    border-color: rgba(96, 165, 250, 0.3);
    animation: ringRotate 6s linear infinite reverse;
}

.core-ring.ring-3 {
    width: 60%;
    height: 60%;
    border-color: rgba(34, 197, 94, 0.3);
    animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.core-center {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(96, 165, 250, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.core-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 0.05em;
}

/* Gradient Flow Particles */
.gradient-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #a78bfa;
    border-radius: 50%;
    box-shadow: 0 0 10px #a78bfa;
}

.gradient-particle.gp-1 {
    animation: gradientOrbit 3s linear infinite;
}

.gradient-particle.gp-2 {
    animation: gradientOrbit 3s linear infinite;
    animation-delay: -1s;
}

.gradient-particle.gp-3 {
    animation: gradientOrbit 3s linear infinite;
    animation-delay: -2s;
}

@keyframes gradientOrbit {
    0% { transform: rotate(0deg) translateX(55px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(55px) rotate(-360deg); }
}

/* Loss Display */
.loss-display {
    position: absolute;
    right: 10%;
    top: 20%;
    background: rgba(30, 27, 75, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 100px;
}

.loss-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.loss-curve {
    width: 80px;
    height: 30px;
    display: block;
}

.loss-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLoss 3s ease-out forwards infinite;
}

@keyframes drawLoss {
    0% { stroke-dashoffset: 200; }
    50%, 100% { stroke-dashoffset: 0; }
}

.loss-value {
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 600;
    margin-top: 6px;
    animation: lossUpdate 3s ease-in-out infinite;
}

@keyframes lossUpdate {
    0%, 40% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

/* Hyperparameter Panel */
.hyperparam-panel {
    position: absolute;
    right: 10%;
    bottom: 20%;
    display: flex;
    gap: 12px;
}

.param-item {
    background: rgba(30, 27, 75, 0.8);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
}

.param-label {
    display: block;
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.param-value {
    display: block;
    font-size: 0.8rem;
    color: #60a5fa;
    font-weight: 600;
    font-family: monospace;
}

.epoch-counter {
    animation: epochCount 0.5s steps(1) infinite;
}

@keyframes epochCount {
    0% { content: "147"; }
    25% { content: "148"; }
    50% { content: "149"; }
    75% { content: "150"; }
}

/* How We Work Grid */
.how-we-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.how-step {
    text-align: center;
    padding: 2rem;
}

.how-step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(139, 92, 246, 0.3);
    margin-bottom: 1rem;
}

.how-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.how-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Training Animation */
@media (max-width: 768px) {
    .training-loop-canvas {
        height: 250px;
    }

    .training-data {
        left: 5%;
    }

    .loss-display,
    .hyperparam-panel {
        display: none;
    }

    .model-core {
        width: 100px;
        height: 100px;
    }

    .how-we-work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .how-step {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Document AI Stats Section
   ========================================================================== */
.doc-stats-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 2rem;
}

.doc-stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.doc-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.doc-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.doc-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.doc-stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* Content Container */
.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Alternating Background */
.alt-bg {
    background: var(--bg-card);
}

/* Two Column Text */
.two-column-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 2rem;
}

.two-column-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 1.5rem;
}

/* 2x2 Symmetric Grid Layout */
.feature-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .feature-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-fast);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Challenges Grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1rem;
}

.challenge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.challenge-item:hover {
    border-color: var(--primary);
}

.challenge-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Fit Checklist */
.fit-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.fit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-dark);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
}

.fit-check {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Misconceptions Grid */
.misconceptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.misconception-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.misconception-myth {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.misconception-reality {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Deliverables List */
.deliverables-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.deliverable-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.deliverable-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.deliverable-item strong {
    color: var(--text-primary);
}

.deliverable-detail {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1.5rem;
}

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all var(--transition-fast);
}

.option-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.option-badge {
    position: absolute;
    top: -10px;
    left: 1.5rem;
    background: var(--gradient-1);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.option-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.option-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Proof Grid */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.proof-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-fast);
}

.proof-card:hover {
    border-color: var(--primary);
}

.proof-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.proof-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.learn-more:hover {
    text-decoration: underline;
}

.inline-learn-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.inline-learn-more:hover {
    text-decoration: underline;
}

/* Tech Stack Section */
.tech-stack-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.tech-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(96, 165, 250, 0.03) 49.5%, rgba(96, 165, 250, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(96, 165, 250, 0.03) 49.5%, rgba(96, 165, 250, 0.03) 50.5%, transparent 50.5%);
    background-size: 60px 60px;
    pointer-events: none;
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(167, 139, 250, 0.08) 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.tech-icon {
    font-size: 1.1rem;
}

.tech-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.demo-card p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.demo-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* CTA Checklist */
.cta-checklist {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 1.5rem 0 2rem;
    padding: 0;
}

.cta-checklist li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.cta-checklist li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(1deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Scroll Animation Classes (Applied via JavaScript)
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ==========================================================================
   Mobile Menu Styles
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(30, 27, 75, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-links a {
    display: block;
    padding: 1rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

.mobile-cta {
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
}

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

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .hero {
        padding: 8rem 8rem 4rem;
    }
}

/* Desktop (1024px - 1399px) */
@media (max-width: 1399px) {
    .hero {
        padding: 8rem 4rem 4rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 7rem 2rem 3rem;
        gap: 2rem;
    }

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

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-animation {
        height: 350px;
    }

    .gradient-descent-canvas {
        transform: scale(0.85);
    }

    .process-steps::before {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .assessment-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .assessment-features {
        align-items: center;
    }

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

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

    /* Stories grid - adjust for tablet */
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services grid - adjust for tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Two cards - single column on tablet */
    .two-cards {
        grid-template-columns: 1fr;
    }

    .way-card {
        max-width: 600px;
        margin: 0 auto;
    }

    /* Section padding reduction */
    .two-ways-section,
    .how-section,
    .stories-section,
    .services-section,
    .assessment-section,
    .fit-section,
    .blog-section {
        padding: 4rem 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* Large Mobile / Small Tablet */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

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

    .mobile-menu {
        display: block;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    /* Hero */
    .floating-element {
        display: none;
    }

    .hero {
        padding: 5.5rem 1.25rem 2rem;
        gap: 1.5rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-animation {
        height: 260px;
    }

    .gradient-descent-canvas {
        transform: scale(0.65);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-button,
    .cta-button-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    /* Hide/scale orbs on mobile to prevent overflow */
    .orb {
        display: none;
    }

    .hero-bg {
        overflow: hidden;
    }

    /* Logo carousel */
    .logo-carousel::before,
    .logo-carousel::after {
        width: 60px;
    }

    .logo-track {
        gap: 2rem;
    }

    .client-logo img {
        height: 24px;
    }

    /* Page hero responsive */
    .page-hero {
        min-height: 40vh;
        padding: 6rem 1.25rem 3rem;
    }

    .page-hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* Contact section responsive */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-placeholder {
        padding: 2rem 1.5rem;
    }

    /* Section padding */
    .two-ways-section,
    .how-section,
    .stories-section,
    .services-section,
    .assessment-section,
    .fit-section,
    .blog-section,
    .content-section,
    .contact-section {
        padding: 3rem 1.25rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Two cards */
    .two-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .way-card {
        padding: 2rem 1.5rem;
    }

    .way-card h3 {
        font-size: 1.25rem;
    }

    /* Process / How section */
    .process-steps {
        gap: 2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
    }

    /* Stories grid */
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .story-card {
        padding: 1.5rem;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Assessment section */
    .assessment-content h2 {
        font-size: 1.75rem;
    }

    .assessment-content p {
        font-size: 1rem;
    }

    .assessment-card {
        padding: 2rem 1.5rem;
    }

    .assessment-card .duration {
        font-size: 2.5rem;
    }

    /* Fit section */
    .fit-card {
        padding: 1.5rem;
    }

    .fit-card h3 {
        font-size: 1.1rem;
    }

    /* Blog grid */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Final CTA */
    .final-cta {
        padding: 4rem 1.25rem;
    }

    .final-cta h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer {
        padding: 3rem 1.25rem 1.5rem;
    }

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

    .footer-brand p {
        max-width: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom a {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }

    /* Partners section */
    .partners-container {
        gap: 1.5rem;
    }

    .partner-badge {
        padding: 0.75rem 1.25rem;
    }

    .partner-badge img {
        height: 44px;
    }

    /* Stats section */
    .stats-section {
        padding: 3rem 1.25rem;
    }

    .stats-container {
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

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

    /* Service page components */
    .service-hero {
        padding-top: 5.5rem;
        padding-bottom: 2rem;
    }

    .service-hero .hero-content {
        text-align: center;
    }

    .hero-quiet-link {
        font-size: 0.85rem;
    }

    /* Neural pipeline animation responsive */
    .neural-pipeline-canvas {
        min-height: 300px;
        transform: scale(0.9);
    }

    .input-doc {
        width: 75px;
        height: 100px;
    }

    .output-json {
        min-width: 100px;
        font-size: 0.5rem;
    }

    .node {
        width: 36px;
        height: 36px;
        font-size: 0.5rem;
    }

    .layer-2 .node {
        width: 30px;
        height: 30px;
    }

    .accuracy-badge {
        padding: 0.4rem 0.6rem;
    }

    .accuracy-value {
        font-size: 0.9rem;
    }

    /* Doc stats responsive */
    .doc-stats-container {
        gap: 2rem;
    }

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

    .doc-stat-divider {
        height: 40px;
    }

    /* Tech stack responsive */
    .tech-badge {
        padding: 0.6rem 1rem;
    }

    .tech-name {
        font-size: 0.8rem;
    }

    .process-gear {
        font-size: 1rem;
    }

    .float-tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 1.75rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .challenge-item {
        padding: 1rem 1.25rem;
    }

    .fit-item {
        padding: 1rem 1.25rem;
    }

    .misconception-card {
        padding: 1.5rem;
    }

    .misconception-myth {
        font-size: 1.1rem;
    }

    .deliverable-item {
        padding: 1rem 1.25rem;
    }

    .option-card {
        padding: 1.5rem;
    }

    .option-card h4 {
        font-size: 1.05rem;
    }

    .proof-card {
        padding: 1.5rem;
    }

    .proof-stat {
        font-size: 1.5rem;
    }

    .demo-card {
        padding: 2rem 1.5rem;
    }

    .cta-checklist li {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-animation {
        height: 220px;
    }

    .gradient-descent-canvas {
        transform: scale(0.55);
    }

    .cta-button,
    .cta-button-outline {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }

    /* Logo carousel smaller */
    .logo-carousel {
        padding: 1rem 0;
    }

    .client-logo img {
        height: 20px;
    }

    /* Smaller section padding */
    .two-ways-section,
    .how-section,
    .stories-section,
    .services-section,
    .assessment-section,
    .fit-section,
    .blog-section {
        padding: 2.5rem 1rem;
    }

    .way-card {
        padding: 1.5rem 1.25rem;
    }

    .story-card,
    .service-card {
        padding: 1.25rem;
    }

    .fit-card {
        padding: 1.25rem;
    }

    .assessment-card {
        padding: 1.5rem 1.25rem;
    }

    .final-cta {
        padding: 3rem 1rem;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    /* Service page components - small mobile */
    .service-hero {
        padding-top: 5rem;
        padding-bottom: 1.5rem;
    }

    .service-hero .hero-animation {
        height: 200px;
    }

    /* Neural pipeline - small mobile */
    .neural-pipeline-canvas {
        min-height: 180px;
        transform: scale(0.65);
    }

    .input-doc {
        width: 60px;
        height: 80px;
        padding: 6px;
    }

    .output-json {
        min-width: 80px;
        font-size: 0.45rem;
        padding: 8px;
    }

    .node {
        width: 28px;
        height: 28px;
        font-size: 0.4rem;
    }

    .layer-2 .node {
        width: 24px;
        height: 24px;
    }

    .neural-layers {
        gap: 1.5rem;
    }

    .accuracy-badge {
        display: none;
    }

    .data-particles {
        display: none;
    }

    .pipeline-label {
        font-size: 0.55rem;
    }

    /* Doc stats - small mobile */
    .doc-stats-section {
        padding: 2rem 1rem;
    }

    .doc-stats-container {
        gap: 1.5rem;
    }

    .doc-stat-number {
        font-size: 1.75rem;
    }

    .doc-stat-label {
        font-size: 0.7rem;
    }

    .doc-stat-divider {
        display: none;
    }

    /* Tech stack - small mobile */
    .tech-badge {
        padding: 0.5rem 0.75rem;
    }

    .tech-icon {
        font-size: 0.9rem;
    }

    .tech-name {
        font-size: 0.75rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    .feature-card h4 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .challenge-item {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .challenge-icon {
        font-size: 1.1rem;
    }

    .fit-item {
        padding: 1rem;
    }

    .misconception-card {
        padding: 1.25rem;
    }

    .misconception-myth {
        font-size: 1rem;
    }

    .misconception-reality {
        font-size: 0.9rem;
    }

    .deliverable-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .deliverable-detail {
        font-size: 0.85rem;
    }

    .option-card {
        padding: 1.25rem;
        padding-top: 1.5rem;
    }

    .option-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .option-card h4 {
        font-size: 1rem;
    }

    .option-card p {
        font-size: 0.85rem;
    }

    .proof-card {
        padding: 1.25rem;
    }

    .proof-stat {
        font-size: 1.25rem;
    }

    .proof-stat-label {
        font-size: 0.75rem;
    }

    .proof-card p {
        font-size: 0.85rem;
    }

    .demo-card {
        padding: 1.5rem 1.25rem;
    }

    .demo-card h3 {
        font-size: 1.25rem;
    }

    .demo-card p {
        font-size: 0.85rem;
    }

    .cta-checklist li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
}

/* ========================================
   AI AGENTS PAGE STYLES
   ======================================== */

/* Reasoning Chain Animation Canvas */
.reasoning-canvas {
    position: relative;
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.4) 0%, rgba(30, 27, 75, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.reasoning-canvas .pipeline-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Reasoning SVG */
.reasoning-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 400px;
}

/* Connection paths */
.reason-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 6 3;
    opacity: 0.4;
    animation: pathFlow 3s linear infinite;
}

.reason-path.rp4,
.reason-path.rp5,
.reason-path.rp6,
.reason-path.rp7 {
    animation-delay: 0.5s;
}

.reason-path.rp8,
.reason-path.rp9 {
    stroke: #10b981;
    animation-delay: 1s;
}

@keyframes pathFlow {
    0% { stroke-dashoffset: 18; }
    100% { stroke-dashoffset: 0; }
}

/* Flow particles */
.flow-particle {
    fill: var(--primary);
    filter: drop-shadow(0 0 4px var(--primary));
}

.flow-particle.fp4,
.flow-particle.fp5 {
    fill: #10b981;
    filter: drop-shadow(0 0 4px #10b981);
}

/* Reasoning nodes */
.reason-node rect,
.reason-node circle {
    fill: var(--bg-dark);
    stroke: var(--border);
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.reason-node text {
    fill: var(--text-secondary);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 12px;
    font-weight: 500;
}

/* Query node */
.node-query rect {
    stroke: var(--primary);
    animation: nodePulse 3s ease-in-out infinite;
}

.node-query text {
    fill: var(--text-primary);
    font-size: 11px;
}

/* Source nodes */
.node-source circle {
    stroke: var(--primary);
    opacity: 0.8;
}

.node-source text {
    fill: var(--primary);
    font-size: 10px;
}

/* Analysis nodes */
.node-analysis rect {
    stroke: rgba(139, 92, 246, 0.6);
}

.node-analysis text {
    fill: #a78bfa;
    font-size: 11px;
    font-style: italic;
}

/* Output node */
.node-output rect {
    stroke: #10b981;
    animation: outputPulse 2s ease-in-out infinite;
}

.node-output text {
    fill: #10b981;
    font-size: 16px;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes outputPulse {
    0%, 100% { stroke-opacity: 0.6; }
    50% { stroke-opacity: 1; filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4)); }
}

/* Reasoning labels */
.reasoning-labels {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
}

.reason-label {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.65rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.label-retrieve { color: var(--primary); }
.label-analyze { color: #a78bfa; }
.label-synthesize { color: #10b981; }

/* Proof status badge */
.proof-status {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Capability Cards */
.capability-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.capability-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all var(--transition-fast);
}

.capability-card:hover {
    border-color: var(--primary);
}

.capability-number {
    position: absolute;
    top: -12px;
    left: 24px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

.capability-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.capability-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.capability-card > p:not(.capability-subtitle) {
    color: var(--text-secondary);
    line-height: 1.7;
}

.example-questions {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.example-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.75rem;
}

.example-questions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.example-questions li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    padding-left: 1rem;
    position: relative;
}

.example-questions li::before {
    content: '"';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Example Outcome (for "What We've Built" cards) */
.example-outcome {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.example-outcome p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Context Layer Grid */
.context-layer-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.context-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.context-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.context-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.context-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.context-summary {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.context-summary strong {
    color: var(--primary);
}

/* Misconception Note */
.misconception-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-dark);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1rem;
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Proof Note */
.proof-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* AI Agents Responsive */
@media (max-width: 768px) {
    .reasoning-canvas {
        height: 260px;
    }

    .reasoning-svg {
        width: 95%;
    }

    .reason-node text {
        font-size: 10px;
    }

    .node-query text {
        font-size: 9px;
    }

    .reasoning-labels {
        gap: 1rem;
    }

    .reason-label {
        font-size: 0.55rem;
    }

    .capability-card {
        padding: 1.5rem;
        padding-top: 1.75rem;
    }

    .capability-number {
        top: -10px;
        left: 20px;
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .capability-card h3 {
        font-size: 1.1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step {
        padding: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .reasoning-canvas {
        height: 220px;
    }

    .reasoning-svg {
        width: 100%;
    }

    .reason-node text {
        font-size: 8px;
    }

    .reasoning-labels {
        bottom: 8px;
        gap: 0.75rem;
    }

    .reason-label {
        font-size: 0.5rem;
    }

    .context-item {
        padding: 0.875rem 1rem;
    }

    .context-icon {
        font-size: 1.1rem;
    }
}

/* ========================================
   WORKFLOW AUTOMATION PAGE STYLES
   ======================================== */

/* Workflow DAG Animation Canvas */
.workflow-canvas {
    position: relative;
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.4) 0%, rgba(30, 27, 75, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.workflow-canvas .pipeline-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Workflow SVG */
.workflow-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 400px;
}

/* Workflow connection paths */
.workflow-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 6 3;
    opacity: 0.4;
    animation: workflowPathFlow 3s linear infinite;
}

.workflow-path.wp5,
.workflow-path.wp6,
.workflow-path.wp7 {
    stroke: #a78bfa;
    animation-delay: 0.5s;
}

.workflow-path.wp8 {
    stroke: #10b981;
    animation-delay: 1s;
}

@keyframes workflowPathFlow {
    0% { stroke-dashoffset: 18; }
    100% { stroke-dashoffset: 0; }
}

/* Task flow particles */
.task-particle {
    fill: var(--primary);
    filter: drop-shadow(0 0 4px var(--primary));
}

.task-particle.tp2 {
    fill: #a78bfa;
    filter: drop-shadow(0 0 4px #a78bfa);
}

.task-particle.tp3 {
    fill: #10b981;
    filter: drop-shadow(0 0 4px #10b981);
}

/* Workflow nodes */
.workflow-node rect,
.workflow-node circle,
.workflow-node polygon {
    fill: var(--bg-dark);
    stroke: var(--border);
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.workflow-node text {
    fill: var(--text-secondary);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 12px;
    font-weight: 500;
}

/* Input node */
.node-input rect {
    stroke: var(--primary);
    animation: nodePulse 3s ease-in-out infinite;
}

.node-input text {
    fill: var(--text-primary);
    font-size: 11px;
}

/* Router node (diamond) */
.node-router polygon {
    stroke: var(--primary);
    fill: var(--bg-dark);
}

.node-router text {
    fill: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

/* Task nodes */
.node-task rect {
    stroke: rgba(139, 92, 246, 0.6);
}

.node-task text {
    fill: #a78bfa;
    font-size: 11px;
}

/* Review gate node */
.node-review circle {
    stroke: #f59e0b;
    stroke-width: 2;
    animation: reviewPulse 2s ease-in-out infinite;
}

.node-review text {
    fill: #f59e0b;
    font-size: 14px;
}

@keyframes reviewPulse {
    0%, 100% { stroke-opacity: 0.6; }
    50% { stroke-opacity: 1; filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4)); }
}

/* Output node */
.workflow-node.node-output rect {
    stroke: #10b981;
    animation: outputPulse 2s ease-in-out infinite;
}

.workflow-node.node-output text {
    fill: #10b981;
    font-size: 16px;
}

/* Workflow labels */
.workflow-labels {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
}

.workflow-label {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.65rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.label-route { color: var(--primary); }
.label-process { color: #a78bfa; }
.label-review { color: #f59e0b; }

/* Capability List */
.capability-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.capability-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.capability-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

/* Proof Details */
.proof-details {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.proof-details li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.proof-details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Workflow Automation Responsive */
@media (max-width: 768px) {
    .workflow-canvas {
        height: 260px;
    }

    .workflow-svg {
        width: 95%;
    }

    .workflow-node text {
        font-size: 10px;
    }

    .node-input text,
    .node-router text {
        font-size: 9px;
    }

    .workflow-labels {
        gap: 1rem;
    }

    .workflow-label {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .workflow-canvas {
        height: 220px;
    }

    .workflow-svg {
        width: 100%;
    }

    .workflow-node text {
        font-size: 8px;
    }

    .workflow-labels {
        bottom: 8px;
        gap: 0.75rem;
    }

    .workflow-label {
        font-size: 0.5rem;
    }
}

/* ========================================
   DATA FOUNDATIONS PAGE STYLES
   ======================================== */

/* Lakehouse Architecture Animation Canvas */
.lakehouse-canvas {
    position: relative;
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.4) 0%, rgba(30, 27, 75, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.lakehouse-canvas .pipeline-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Lakehouse SVG */
.lakehouse-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 400px;
}

/* Lakehouse connection paths */
.lake-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 6 3;
    opacity: 0.4;
    animation: lakePathFlow 3s linear infinite;
}

.lake-path.lp4 {
    stroke: #f59e0b;
    animation-delay: 0.5s;
}

.lake-path.lp5 {
    stroke: #10b981;
    animation-delay: 1s;
}

@keyframes lakePathFlow {
    0% { stroke-dashoffset: 18; }
    100% { stroke-dashoffset: 0; }
}

/* Data flow particles */
.lake-particle {
    fill: var(--primary);
    filter: drop-shadow(0 0 4px var(--primary));
}

.lake-particle.dp2 {
    fill: #f59e0b;
    filter: drop-shadow(0 0 4px #f59e0b);
}

.lake-particle.dp3 {
    fill: #10b981;
    filter: drop-shadow(0 0 4px #10b981);
}

/* Lakehouse nodes */
.lake-node rect,
.lake-node circle,
.lake-node polygon {
    fill: var(--bg-dark);
    stroke: var(--border);
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.lake-node text {
    fill: var(--text-secondary);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 11px;
    font-weight: 500;
}

/* Source nodes */
.lake-node.node-source rect {
    stroke: var(--primary);
    opacity: 0.8;
}

.lake-node.node-source text {
    fill: var(--primary);
    font-size: 10px;
}

/* Lakehouse node (delta) */
.node-lakehouse polygon {
    stroke: #f59e0b;
    stroke-width: 2;
    animation: lakehousePulse 3s ease-in-out infinite;
}

.node-lakehouse text {
    fill: #f59e0b;
    font-size: 20px;
    font-weight: 600;
}

@keyframes lakehousePulse {
    0%, 100% { stroke-opacity: 0.6; }
    50% { stroke-opacity: 1; filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4)); }
}

/* Quality check node */
.node-quality circle {
    stroke: #a78bfa;
    stroke-width: 2;
}

.node-quality text {
    fill: #a78bfa;
    font-size: 12px;
    font-weight: 600;
}

/* Clean output node */
.lake-node.node-clean rect {
    stroke: #10b981;
    animation: outputPulse 2s ease-in-out infinite;
}

.lake-node.node-clean text {
    fill: #10b981;
    font-size: 16px;
}

/* Foundation Checklist */
.foundation-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
    margin: 1.5rem auto;
}

.foundation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.foundation-check {
    color: var(--primary);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-weight: 600;
}

.foundation-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Proof Single (for capability-oriented proof) */
.proof-single {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.proof-single p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Data Foundations Responsive */
@media (max-width: 768px) {
    .lakehouse-canvas {
        height: 260px;
    }

    .lakehouse-svg {
        width: 95%;
    }

    .lake-node text {
        font-size: 9px;
    }

    .node-lakehouse text {
        font-size: 16px;
    }

    .foundation-checklist {
        gap: 0.5rem;
    }

    .foundation-item {
        padding: 0.5rem 0.75rem;
    }

    .foundation-item span:last-child {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lakehouse-canvas {
        height: 220px;
    }

    .lakehouse-svg {
        width: 100%;
    }

    .lake-node text {
        font-size: 8px;
    }

    .node-lakehouse text {
        font-size: 14px;
    }

    .foundation-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .foundation-item span:last-child {
        font-size: 0.8rem;
    }
}

/* ========================================
   MODEL FINE TUNING PAGE STYLES
   ======================================== */

/* Fine Tuning Animation Canvas */
.finetune-canvas {
    position: relative;
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.4) 0%, rgba(30, 27, 75, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.finetune-canvas .pipeline-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Fine Tuning SVG */
.finetune-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 400px;
}

/* Tuning connection paths */
.tune-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 6 3;
    opacity: 0.4;
    animation: tunePathFlow 3s linear infinite;
}

.tune-path.tp2 {
    stroke: #10b981;
    animation-delay: 0.3s;
}

.tune-path.tp3 {
    stroke: #f59e0b;
    animation-delay: 0.5s;
}

.tune-path.tp4 {
    stroke: #a78bfa;
    animation-delay: 0.7s;
}

.tune-path.tp5 {
    stroke: #10b981;
    animation-delay: 0.9s;
}

@keyframes tunePathFlow {
    0% { stroke-dashoffset: 18; }
    100% { stroke-dashoffset: 0; }
}

/* Flow particles */
.tune-particle {
    fill: var(--primary);
    filter: drop-shadow(0 0 4px var(--primary));
}

.tune-particle.fp2 {
    fill: #a78bfa;
    filter: drop-shadow(0 0 4px #a78bfa);
}

.tune-particle.data-particle {
    fill: #10b981;
    filter: drop-shadow(0 0 4px #10b981);
}

/* Tuning nodes */
.tune-node rect,
.tune-node circle,
.tune-node polygon {
    fill: var(--bg-dark);
    stroke: var(--border);
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.tune-node text {
    fill: var(--text-secondary);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 12px;
    font-weight: 500;
}

/* Base model node */
.tune-node.node-base rect {
    stroke: var(--primary);
    opacity: 0.8;
}

.tune-node.node-base text {
    fill: var(--primary);
    font-size: 14px;
}

/* Training data node */
.tune-node.node-data rect {
    stroke: #10b981;
    opacity: 0.8;
}

.tune-node.node-data text {
    fill: #10b981;
    font-size: 14px;
    font-weight: 600;
}

/* Adaptation node (theta) */
.node-adapt polygon {
    stroke: #f59e0b;
    stroke-width: 2;
    animation: adaptPulse 3s ease-in-out infinite;
}

.node-adapt text {
    fill: #f59e0b;
    font-size: 20px;
    font-weight: 600;
}

@keyframes adaptPulse {
    0%, 100% { stroke-opacity: 0.6; }
    50% { stroke-opacity: 1; filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4)); }
}

/* Evaluation node */
.node-eval circle {
    stroke: #a78bfa;
    stroke-width: 2;
}

.node-eval text {
    fill: #a78bfa;
    font-size: 14px;
    font-weight: 600;
}

/* Tuned model output */
.tune-node.node-tuned rect {
    stroke: #10b981;
    animation: tunedPulse 2s ease-in-out infinite;
}

.tune-node.node-tuned text {
    fill: #10b981;
    font-size: 14px;
    font-weight: 600;
}

@keyframes tunedPulse {
    0%, 100% { stroke-opacity: 0.7; }
    50% { stroke-opacity: 1; filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4)); }
}

/* Blog Link Cards */
.blog-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-link-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.blog-link-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.blog-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.blog-link-content strong {
    color: var(--text);
    font-size: 0.95rem;
}

.blog-link-content span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.blog-link-arrow {
    color: var(--primary);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.blog-link-card:hover .blog-link-arrow {
    transform: translateX(4px);
}

/* Model Fine Tuning Responsive */
@media (max-width: 768px) {
    .finetune-canvas {
        height: 260px;
    }

    .finetune-svg {
        width: 95%;
    }

    .tune-node text {
        font-size: 10px;
    }

    .node-adapt text {
        font-size: 16px;
    }

    .tune-node.node-base text,
    .tune-node.node-tuned text {
        font-size: 11px;
    }

    .blog-link-card {
        padding: 1rem 1.25rem;
    }

    .blog-link-content strong {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .finetune-canvas {
        height: 220px;
    }

    .finetune-svg {
        width: 100%;
    }

    .tune-node text {
        font-size: 8px;
    }

    .node-adapt text {
        font-size: 14px;
    }

    .tune-node.node-base text,
    .tune-node.node-tuned text {
        font-size: 9px;
    }

    .blog-link-card {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .blog-link-icon {
        font-size: 1.25rem;
    }

    .blog-link-content strong {
        font-size: 0.85rem;
    }

    .blog-link-content span {
        font-size: 0.8rem;
    }
}

/* ========================================
   SERVICES HUB PAGE STYLES (v2 - Refined)
   ======================================== */

/* Hub Hero */
.services-hub-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.hub-hero-content {
    position: relative;
    z-index: 2;
}

.hub-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 2rem;
}

.hub-hero-content h1 .highlight {
    color: #a78bfa;
}

/* Paths Section */
.paths-section {
    padding: 0 0 4rem;
    margin-top: -2rem;
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.path-card {
    position: relative;
    background: rgba(30, 27, 75, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.path-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.path-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.3s ease;
}

.path-product .path-accent {
    background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
}

.path-internal .path-accent {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
}

.path-card:hover .path-accent {
    width: 6px;
}

.path-content {
    position: relative;
    z-index: 1;
}

.path-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.path-card h3 {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.path-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.path-services li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.path-services li:last-child {
    border-bottom: none;
}

/* Services Grid v2 */
.services-grid-section {
    padding: 4rem 0;
    background: rgba(15, 15, 35, 0.5);
}

.services-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.services-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.services-intro .services-learn-more {
    font-size: 0.9375rem;
    margin-top: 0.75rem;
}

.services-intro .services-learn-more a {
    color: var(--primary);
    text-decoration: none;
}

.services-intro .services-learn-more a:hover {
    text-decoration: underline;
}

.services-grid-v2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.services-grid-v2 .service-card-v2 {
    flex: 0 1 calc(33.333% - 0.75rem);
    min-width: 280px;
}

.service-card-v2 {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card-v2:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.service-accent {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.accent-green { background: #10b981; }
.accent-orange { background: #f59e0b; }
.accent-blue { background: #6366f1; }
.accent-amber { background: #f59e0b; }
.accent-purple { background: #a78bfa; }
.accent-pink { background: #ec4899; }

.service-card-v2 h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card-v2 p {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.service-arrow {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
}

.service-card-v2:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #fff;
}

/* Trust Strip */
.trust-strip {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-item {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.trust-partner {
    opacity: 0.6;
}

.trust-sep {
    color: var(--text-secondary);
    opacity: 0.3;
}

/* Hub CTA */
.hub-cta {
    padding: 4rem 0;
    text-align: center;
}

.hub-cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-alt {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cta-alt a {
    color: var(--primary);
    text-decoration: none;
}

.cta-alt a:hover {
    text-decoration: underline;
}

/* Services Hub Responsive */
@media (max-width: 768px) {
    .hub-hero-content h1 {
        font-size: 2rem;
    }

    .paths-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .path-card {
        padding: 1.5rem;
    }

    .services-grid-v2 {
        flex-direction: column;
    }

    .services-grid-v2 .service-card-v2 {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .services-hub-hero {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }

    .hub-hero-content h1 {
        font-size: 1.75rem;
    }

    .path-card h3 {
        font-size: 1.15rem;
    }

    .trust-content {
        gap: 0.5rem;
    }

    .trust-item {
        font-size: 0.75rem;
    }
}

/* ========================================
   SUCCESS STORIES HUB PAGE
   ======================================== */

.success-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.success-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.success-hero .hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.success-hero .hero-tagline {
    font-size: 1.25rem;
    color: #a78bfa;
    margin-bottom: 1rem;
    font-weight: 500;
}

.success-hero .hero-detail {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Proof Pulse Animation */
.proof-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.proof-canvas {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Data blocks pulse */
.data-block {
    animation: dataPulse 3s ease-in-out infinite;
}

.data-block.d1 { animation-delay: 0s; }
.data-block.d2 { animation-delay: 0.15s; }
.data-block.d3 { animation-delay: 0.3s; }
.data-block.d4 { animation-delay: 0.45s; }
.data-block.d5 { animation-delay: 0.6s; }
.data-block.d6 { animation-delay: 0.75s; }
.data-block.d7 { animation-delay: 0.9s; }
.data-block.d8 { animation-delay: 1.05s; }

@keyframes dataPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.25; }
}

/* Pulse rings */
.pulse-ring {
    opacity: 0;
    animation: pulseExpand 2s ease-out infinite;
}

.pulse-ring.r2 {
    animation-delay: 1s;
}

@keyframes pulseExpand {
    0% {
        r: 25;
        opacity: 0.6;
    }
    100% {
        r: 50;
        opacity: 0;
    }
}

/* Metrics fade in */
.metric {
    opacity: 0;
    animation: metricAppear 3s ease-in-out infinite;
}

.metric.m1 { animation-delay: 0s; }
.metric.m2 { animation-delay: 0.3s; }
.metric.m3 { animation-delay: 0.6s; }
.metric.m4 { animation-delay: 0.9s; }
.metric.m5 { animation-delay: 1.2s; }

@keyframes metricAppear {
    0%, 20% { opacity: 0.3; }
    40%, 80% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Check dots pulse */
.check-dot {
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% { r: 3; opacity: 0.6; }
    50% { r: 5; opacity: 1; }
}

/* Particles glow */
.particle {
    filter: drop-shadow(0 0 4px currentColor);
}

/* Filters Section */
.filters-section {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filters-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    min-width: 80px;
    padding-top: 0.5rem;
    font-weight: 500;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.filter-pill.active {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.4);
    color: #a78bfa;
}

.filter-helper {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Case Studies Grid */
.case-studies-section {
    padding: 4rem 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.case-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.confidential-tag {
    display: inline-block;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    background: rgba(100, 116, 139, 0.25);
    color: #94a3b8;
    border-radius: 3px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.case-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.metric-highlight {
    color: #10b981;
    font-weight: 700;
    font-size: 1rem;
}

.case-metrics .metric {
    color: #cbd5e1;
    font-size: 0.9rem;
    animation: none;
    opacity: 1;
}

.metric-sep {
    color: rgba(255, 255, 255, 0.2);
}

.case-description {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.tag-show {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.tag-capability {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
}

.tag-outcome {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.tag-detail {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
}

.case-link {
    color: #a78bfa;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.case-link:hover {
    color: #c4b5fd;
}

/* Success CTA */
.success-cta {
    padding: 4rem 0 5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Success Stories Responsive */
@media (max-width: 1024px) {
    .success-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .proof-animation {
        order: -1;
    }

    .proof-canvas {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .success-hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }

    .success-hero .hero-text h1 {
        font-size: 2rem;
    }

    .success-hero .hero-tagline {
        font-size: 1.1rem;
    }

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

    .filter-label {
        min-width: auto;
        padding-top: 0;
    }

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

    .case-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .case-link {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .success-hero .hero-text h1 {
        font-size: 1.75rem;
    }

    .case-card {
        padding: 1.25rem;
    }

    .case-header h3 {
        font-size: 1.1rem;
    }

    .metric-highlight {
        font-size: 0.9rem;
    }

    .filter-pills {
        gap: 0.35rem;
    }

    .filter-pill {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   CASE STUDY DETAIL PAGE
   ======================================== */

.case-study-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 2rem 3rem;
    overflow: hidden;
}

.case-study-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #a78bfa;
}

.case-study-logo {
    display: block;
    max-width: 160px;
    max-height: 40px;
    object-fit: contain;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.hero-left h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.15;
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.chip {
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.chip-industry {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.chip-door {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.chip-capability {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
}

.chip-outcome {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.chip-constraint {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.confidential-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
}

/* Metric Card */
.metric-card {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
}

.metric-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.metric-item:first-child {
    padding-top: 0;
}

.metric-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

/* Case Study Content */
.case-study-content {
    padding: 3rem 0;
}

.case-study-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 3rem;
    align-items: start;
}

.case-study-main {
    max-width: 700px;
}

.case-study-main .content-section {
    padding: 0;
    margin: 0 0 2.5rem 0;
    max-width: none;
}

.case-study-main .content-section:last-child {
    margin-bottom: 0;
}

.case-study-main .content-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-study-main .content-section p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
}

.case-study-main .content-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenge-list li,
.results-list li,
.why-list li {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
}

.challenge-list li::before,
.results-list li::before,
.why-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #a78bfa;
}

.results-list li strong,
.why-list li strong {
    color: #fff;
}

/* Shipped List */
.shipped-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.shipped-icon {
    color: #10b981;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Sticky Sidebar */
.case-study-sidebar {
    position: sticky;
    top: 6rem;
}

.sidebar-cta {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.sidebar-prompt {
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.sidebar-cta .cta-button {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.sidebar-alt {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
}

.sidebar-alt a {
    color: #a78bfa;
    text-decoration: none;
}

.sidebar-alt a:hover {
    text-decoration: underline;
}

/* Bottom CTA */
.case-study-cta {
    padding: 3rem 0 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-alt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.cta-alt a {
    color: #a78bfa;
    text-decoration: none;
}

.cta-alt a:hover {
    text-decoration: underline;
}

.back-stories {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.back-stories:hover {
    color: #a78bfa;
}

/* Case Study Responsive */
@media (max-width: 1024px) {
    .case-study-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .metric-card {
        display: flex;
        gap: 1rem;
    }

    .metric-item {
        flex: 1;
        padding: 0;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        padding-right: 1rem;
    }

    .metric-item:last-child {
        border-right: none;
        padding-right: 0;
    }

    .case-study-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .case-study-sidebar {
        position: static;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .case-study-hero {
        padding: 5rem 1.5rem 2rem;
    }

    .hero-left h1 {
        font-size: 1.75rem;
    }

    .metric-card {
        flex-direction: column;
        gap: 0;
    }

    .metric-item {
        padding: 0.75rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .metric-item:last-child {
        border-bottom: none;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .tag-chips {
        gap: 0.4rem;
    }

    .chip {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 1.5rem;
    }

    .hero-intro {
        font-size: 0.95rem;
    }

    .content-section h2 {
        font-size: 1.05rem;
    }

    .sidebar-cta {
        padding: 1rem;
    }
}

/* ==========================================================================
   Prototype Sprint Page
   ========================================================================== */

/* Sprint Hero */
.sprint-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sprint-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sprint-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.5);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 1rem;
}

.sprint-hero .hero-left h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subhead {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.cta-secondary {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #a5b4fc;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.8);
}

/* Deliverables Card */
.deliverables-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.deliverables-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deliverables-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.deliverables-list li:last-child {
    margin-bottom: 0;
}

.deliverable-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a5b4fc;
    flex-shrink: 0;
}

/* Sprint Sections */
.sprint-section {
    padding: 4rem 2rem;
}

.sprint-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.sprint-section .section-intro {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 800px;
}

.sprint-section-alt {
    background: rgba(139, 92, 246, 0.03);
}

/* Deliverables Grid */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.deliverable-item {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.deliverable-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.deliverable-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #a5b4fc;
    margin-bottom: 1rem;
}

.deliverable-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.deliverable-item p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Phases Grid */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.phase-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    position: relative;
}

.phase-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.phase-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.phase-item p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Milestone Highlight Band */
.milestone-band {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2rem;
    text-align: center;
}

.milestone-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 700px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    font-size: 0.75rem;
    color: #22c55e;
    flex-shrink: 0;
}

/* Requirements List */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 700px;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
}

.req-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    font-size: 0.75rem;
    color: #a5b4fc;
    flex-shrink: 0;
}

/* Pricing Card */
.pricing-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    text-align: center;
}

.price-range {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.credit-policy {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.9rem;
    color: #86efac;
    text-align: left;
}

.credit-policy strong {
    color: #22c55e;
}

/* Outcomes Grid */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
}

.outcome-card {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
}

.outcome-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.outcome-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

.outcome-no-go {
    border-color: rgba(239, 68, 68, 0.2);
}

.outcome-no-go h4 {
    color: #fca5a5;
}

/* FAQ List */
.faq-list {
    max-width: 800px;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Sprint CTA */
.sprint-cta {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.sprint-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.sprint-cta .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sprint-cta .cta-button {
    min-width: 200px;
}

/* Sprint Page Responsive */
@media (max-width: 1024px) {
    .sprint-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .phases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .sprint-hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }

    .sprint-hero .hero-left h1 {
        font-size: 2rem;
    }

    .hero-subhead {
        font-size: 1.1rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .deliverables-grid,
    .phases-grid {
        grid-template-columns: 1fr;
    }

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

    .sprint-section {
        padding: 3rem 1.5rem;
    }

    .sprint-section h2 {
        font-size: 1.5rem;
    }

    .price-range {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .sprint-hero .hero-left h1 {
        font-size: 1.75rem;
    }

    .sprint-badge {
        font-size: 0.75rem;
    }

    .deliverables-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }
}

/* Stories Disclaimer */
.stories-disclaimer {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    display: inline-block;
    width: 100%;
}

.stories-disclaimer strong {
    color: #a5b4fc;
}

/* ==========================================================================
   Our Approach Page (Premium Redesign)
   ========================================================================== */

/* Approach Hero — inherits .hero grid (1fr 1fr) */
.approach-hero {
    min-height: 85vh;
}

.cta-link {
    color: #a5b4fc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.cta-link:hover {
    color: #c4b5fd;
}

/* Approach Pipeline Animation */
.approach-pipeline-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-funnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
}

.funnel-stage {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(30, 27, 75, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.funnel-stage span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.funnel-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    font-size: 0.9rem;
    font-weight: 700;
}

.funnel-stage-active {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.08);
}

.funnel-stage-active .funnel-icon {
    background: rgba(52, 211, 153, 0.2);
    color: #34d399;
}

.funnel-stage-active span {
    color: #34d399;
}

.funnel-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
}

@keyframes funnel-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.funnel-stage-1 { animation: funnel-pulse 3s ease-in-out 0s infinite; }
.funnel-stage-2 { animation: funnel-pulse 3s ease-in-out 0.5s infinite; }
.funnel-stage-3 { animation: funnel-pulse 3s ease-in-out 1s infinite; }
.funnel-stage-4 { animation: funnel-pulse 3s ease-in-out 1.5s infinite; }

/* Approach Philosophy Strip */
.approach-philosophy-strip {
    padding: 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    background: rgba(139, 92, 246, 0.03);
}

.approach-philosophy-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.approach-philosophy-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Approach Step Sections */
.approach-step-section {
    padding: 5rem 2rem;
}

.approach-step-section-alt {
    background: rgba(139, 92, 246, 0.03);
}

/* Approach Step Layout — side-by-side content + detail card */
.approach-step-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.approach-step-layout-reverse {
    direction: rtl;
}

.approach-step-layout-reverse > * {
    direction: ltr;
}

.approach-step-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.approach-step-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.approach-step-tagline {
    font-size: 1.1rem;
    color: #a5b4fc;
    font-weight: 500;
    margin-bottom: 1rem;
}

.approach-step-main p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.approach-ownership {
    color: #a5b4fc !important;
    font-size: 1.05rem !important;
    margin-top: 0.5rem;
}

/* Approach Detail Cards */
.approach-detail-card {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.approach-detail-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.approach-detail-card-highlight {
    border-color: rgba(52, 211, 153, 0.25);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
}

.approach-detail-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.approach-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.approach-detail-card ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.approach-detail-card ul li:last-child {
    margin-bottom: 0;
}

.approach-detail-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-size: 0.85rem;
}

.approach-detail-card ul li strong {
    color: #fff;
}

/* Deliverables list — green checkmarks */
.approach-deliverables li::before {
    content: "✓" !important;
    color: #34d399 !important;
}

/* Why This Works Section */
.approach-why-section {
    padding: 5rem 2rem;
    background: rgba(139, 92, 246, 0.03);
}

.approach-why-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.approach-why-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.approach-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.approach-why-card {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.approach-why-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.approach-why-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fca5a5;
    margin-bottom: 0.75rem;
}

.approach-why-card p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA sub text */
.final-cta-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Approach Page Responsive */
@media (max-width: 1024px) {
    .approach-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .approach-hero {
        min-height: auto;
    }

    .approach-step-section {
        padding: 3rem 1.5rem;
    }

    .approach-step-layout,
    .approach-step-layout-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .approach-step-number {
        font-size: 2.5rem;
    }

    .approach-why-grid {
        grid-template-columns: 1fr;
    }

    .approach-why-section {
        padding: 3rem 1.5rem;
    }

    .approach-philosophy-text {
        font-size: 1.1rem;
    }

    .funnel-stage {
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .approach-step-section h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Homepage Updates
   ========================================================================== */

/* Hero Outcome Line */
.hero-outcome {
    font-size: 1.1rem;
    color: #a5b4fc;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.hero-link:hover {
    color: #a5b4fc;
}

/* Credibility Band */
.credibility-band {
    background: rgba(139, 92, 246, 0.05);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 1.25rem 2rem;
}

.credibility-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.credibility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    white-space: nowrap;
}

.credibility-icon {
    font-size: 1rem;
}

/* Pain Block */
.pain-block {
  padding: 5rem 0 4rem !important;
  position: relative !important;
  overflow: visible !important;
}


.pain-block .content-container {
  max-width: 1100px;
  margin: 0 auto;
}

.pain-block h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.75rem;
  color: #fff;
}

.pain-content {
  max-width: 680px;
}

.pain-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

.pain-lead {
  font-size: 1.2rem !important;
  color: #e2e8f0 !important;
  font-weight: 400;
}

.pain-blockers-intro {
  margin-top: 1.75rem !important;
  font-size: 0.95rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #94a3b8 !important;
}

.pain-blockers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin: 1.25rem 0 2rem;
  max-width: 680px;
  list-style: none;
  padding: 0;
}

.pain-blockers li {
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(96, 165, 250, 0.5);
  border-radius: 0 6px 6px 0;
}

.pain-blockers li::before {
  display: none;
}

.pain-resolution {
  margin-top: 2rem !important;
  font-size: 1.1rem !important;
  line-height: 1.7;
  color: #e2e8f0 !important;
  max-width: 600px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 1.5rem !important;
}

.pain-resolution strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .pain-blockers {
    grid-template-columns: 1fr;
  }
  .pain-block h2 {
    font-size: 2rem;
  }
}

/* Way Card Updates */
.way-outcome {
    font-size: 0.95rem;
    color: #a5b4fc;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.way-link {
    display: inline-block;
    margin-top: 1rem;
    color: #a5b4fc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.way-link:hover {
    color: #c4b5fd;
}

/* Two Ways CTA */
.two-ways-cta {
    text-align: center;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Process Flow */
.process-flow {
    font-size: 1rem;
    color: #a5b4fc;
    font-weight: 500;
}

/* How CTA */
.how-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Stories Grid Home */
/* ─── Stories Photo Tiles ─── */
/* ── Featured Success Stories ── */
.stories-section {
  padding: 80px 40px 60px;
  background: rgba(255,255,255,0.04);
}
.stories-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.stories-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  min-height: 190px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  overflow: hidden;
}
.story-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(96,165,250,0.4);
  box-shadow: 0 0 24px rgba(96,165,250,0.12), 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}
.story-card-industry {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
  padding-right: 24px;
}
.story-card-logo {
  height: 22px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  object-position: left;
  opacity: 0.55;
  margin-bottom: auto;
  transition: opacity 0.3s;
}
.story-card:hover .story-card-logo { opacity: 0.85; }
.story-card-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
  margin-bottom: auto;
}
.story-card-stat {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 18px;
}
.story-card:hover .story-card-stat { color: var(--primary-light); }
.story-card-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  line-height: 1.3;
}
.story-card-confidential {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  padding: 3px 7px;
  border-radius: 4px;
  margin-top: 6px;
  width: fit-content;
}
.story-card-arrow {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.12);
  transition: color 0.3s, transform 0.3s;
}
.story-card:hover .story-card-arrow {
  color: rgba(96,165,250,0.8);
  transform: translateX(3px);
}
.stories-view-all {
  display: block;
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}
.stories-view-all:hover { color: var(--primary-light); }

@media (max-width: 1000px) {
  .stories-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .stories-strip { grid-template-columns: repeat(2, 1fr); }
  .stories-section { padding: 60px 20px 40px; }
}

/* Sprint CTAs */
.sprint-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.sprint-link {
    color: #a5b4fc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.sprint-link:hover {
    color: #c4b5fd;
}

/* FAQ Grid Home */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-home {
    background: rgba(30, 27, 75, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.faq-item-home h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-item-home p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .credibility-container {
        gap: 1.5rem;
    }

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

@media (max-width: 768px) {
    .credibility-band {
        padding: 1rem;
    }

    .credibility-container {
        gap: 1rem;
        justify-content: flex-start;
    }

    .credibility-item {
        font-size: 0.8rem;
    }

    .pain-block {
        padding: 3rem 1.5rem;
    }

    .pain-block h2 {
        font-size: 1.5rem;
    }

    .stories-grid-home {
        grid-template-columns: 1fr;
    }

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

    .sprint-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-outcome {
        font-size: 0.95rem;
    }

    .credibility-container {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .pain-content p {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */

/* FAQ Hero */
.faq-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.faq-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero .hero-subhead {
    font-size: 1.15rem;
    color: #94a3b8;
}

/* FAQ Page Section */
.faq-page-section {
    padding: 4rem 2rem;
}

.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item-page {
    background: rgba(30, 27, 75, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.faq-item-page h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-item-page p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* FAQ CTA */
.faq-cta {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.faq-cta p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

/* FAQ Link Section (Home page) */
.faq-link-section {
    padding: 3rem 2rem;
    text-align: center;
}

.faq-link-section p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

/* FAQ Page Responsive */
@media (max-width: 768px) {
    .faq-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-page-section {
        padding: 3rem 1.5rem;
    }

    .faq-item-page {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   FAQ Accordion (New Design)
   ========================================================================== */

/* FAQ CTA Block (Top & Bottom) */
.faq-cta-block {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.5) 0%, transparent 100%);
}

.faq-cta-block .content-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.faq-cta-block .cta-link {
    color: #a5b4fc;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-cta-block .cta-link:hover {
    color: #c4b5fd;
}

/* FAQ Accordion Section */
.faq-accordion-section {
    padding: 2rem 2rem 5rem;
}

.faq-accordion-section .content-container {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Group */
.faq-group {
    margin-bottom: 3.5rem;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a5b4fc;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

/* Accordion Item */
.accordion-item {
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.accordion-item:first-child {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

/* Accordion Trigger */
.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.accordion-trigger:hover {
    background: rgba(139, 92, 246, 0.03);
    margin: 0 -1rem;
    padding: 1.25rem 1rem;
    border-radius: 8px;
}

.accordion-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.5;
    padding-right: 1.5rem;
    transition: color 0.2s ease;
}

.accordion-trigger:hover .accordion-title {
    color: #fff;
}

/* Chevron Icon */
.accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: #64748b;
    transition: all 0.3s ease;
}

/* Chevron lines */
.accordion-icon::before {
    width: 10px;
    height: 2px;
    top: 50%;
    left: 2px;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 1px;
}

.accordion-icon::after {
    width: 10px;
    height: 2px;
    top: 50%;
    right: 2px;
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 1px;
}

.accordion-trigger:hover .accordion-icon::before,
.accordion-trigger:hover .accordion-icon::after {
    background: #a5b4fc;
}

/* Open state chevron rotation */
.accordion-item.is-open .accordion-icon::before {
    transform: translateY(-50%) rotate(-45deg);
}

.accordion-item.is-open .accordion-icon::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-item.is-open .accordion-trigger .accordion-title {
    color: #fff;
}

/* Accordion Content */
.accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content[hidden] {
    display: block;
    max-height: 0;
    visibility: hidden;
}

.accordion-content:not([hidden]) {
    max-height: 1000px;
    visibility: visible;
}

.accordion-body {
    padding: 0 0 1.5rem 0;
}

.accordion-body p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.accordion-body ul li {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.accordion-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8b5cf6;
}

.accordion-body ul li strong {
    color: #cbd5e1;
    font-weight: 500;
}

/* FAQ Bottom CTA */
.faq-cta-bottom {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 50%, rgba(30, 27, 75, 0.3) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.faq-cta-bottom .content-container {
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta-bottom h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.faq-cta-bottom p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.faq-cta-bottom .cta-button {
    margin-bottom: 1rem;
}

.faq-cta-bottom .cta-link {
    display: inline-block;
    color: #a5b4fc;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-cta-bottom .cta-link:hover {
    color: #c4b5fd;
}

/* FAQ Accordion Responsive */
@media (max-width: 768px) {
    .faq-cta-block {
        padding: 2.5rem 1.5rem;
    }

    .faq-accordion-section {
        padding: 1.5rem 1.5rem 4rem;
    }

    .faq-group {
        margin-bottom: 2.5rem;
    }

    .accordion-trigger {
        padding: 1rem 0;
    }

    .accordion-trigger:hover {
        margin: 0;
        padding: 1rem 0;
        background: none;
    }

    .accordion-title {
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 0 0 1.25rem 0;
    }

    .accordion-body p,
    .accordion-body ul li {
        font-size: 0.9rem;
    }

    .faq-cta-bottom {
        padding: 3rem 1.5rem;
    }

    .faq-cta-bottom h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .faq-group-heading {
        font-size: 0.8rem;
    }

    .accordion-title {
        font-size: 0.9rem;
    }

    .accordion-icon {
        width: 16px;
        height: 16px;
    }

    .accordion-icon::before,
    .accordion-icon::after {
        width: 8px;
    }
}

/* Outcome Statement (subtle transition text) */
.outcome-statement {
    padding: 2.5rem 2rem;
    text-align: center;
}

.outcome-statement p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

@media (max-width: 768px) {
    .outcome-statement {
        padding: 2rem 1.5rem;
    }
    
    .outcome-statement p {
        font-size: 1rem;
    }
}

/* Stats Tagline */
.stats-tagline {
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    padding-top: 0;
}

/* (Old approach page styles removed — replaced by premium redesign above) */

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

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 0.6rem;
    margin-left: 0.4rem;
    color: var(--primary);
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 27, 75, 0.98);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    list-style: none;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    color: #fff;
    background: rgba(139, 92, 246, 0.15);
}

/* Mobile Sub Link */
.mobile-sub-link a {
    padding-left: 1.5rem !important;
    font-size: 0.9rem !important;
    opacity: 0.8;
}

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

/* About Hero */
/* About hero inherits .hero grid layout (1fr 1fr side-by-side) */
.about-hero {
    min-height: 85vh;
}

.about-hero .about-hero-content {
    text-align: left;
}

.about-hero h1 {
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 2rem;
}

/* About Quote Strip */
.about-quote-strip {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.about-blockquote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.about-blockquote cite {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: normal;
}

/* About Sections */
.about-section {
    padding: 4rem 2rem;
}

.about-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
}

.about-section-alt {
    background: rgba(139, 92, 246, 0.03);
}

/* Values Grid (5 cards) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.value-card {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
}

.value-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

.values-aside {
    text-align: center;
    font-style: italic;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Story Timeline (left-right layout) */
.story-timeline {
    max-width: 900px;
}

.story-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.story-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.story-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 0.25rem;
}

.story-content p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0;
}

/* Why Grid (4 cards) */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.why-card {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Open Source Block */
.opensource-block {
    text-align: center;
    padding: 2rem 0;
}

.opensource-block h2 {
    margin-bottom: 0.75rem;
}

.opensource-tagline {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* Backed By Block */
.backed-block {
    text-align: center;
    padding: 2rem 0;
}

.backed-block h2 {
    margin-bottom: 1.5rem;
}

.backers-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.backer-item {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    padding: 1.25rem 2.5rem;
}

.backer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* About CTA */
.about-cta {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.about-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* About Page Responsive */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-item {
        grid-template-columns: 100px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 1.75rem;
    }

    .about-hero .about-hero-content {
        text-align: center;
    }

    .about-section {
        padding: 3rem 1.5rem;
    }

    .values-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .story-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .story-label {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.5rem;
    }

    .value-card,
    .why-card {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   Legal Pages (Privacy, Terms)
   ========================================================================== */

.legal-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.legal-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero .hero-subhead {
    font-size: 1rem;
    color: #94a3b8;
}

.legal-content {
    padding: 3rem 2rem 5rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-container h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-container ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.legal-container ul li {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.legal-container ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8b5cf6;
}

.legal-container a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-container a:hover {
    color: #c4b5fd;
}

.legal-container strong {
    color: #fff;
    font-weight: 600;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 2.5rem 1.5rem 4rem;
    }

    .legal-container h2 {
        font-size: 1.15rem;
        margin-top: 2rem;
    }

    .legal-container p,
    .legal-container ul li {
        font-size: 0.9rem;
    }
}


.pain-block {
  padding: 5rem 0 4rem !important;
  position: relative !important;
  overflow: visible !important;
}

.pain-section-layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  gap: 0;
  min-height: 480px;
}

.pain-bg-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 88%;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 0;
}

.pain-testimonial-card {
  flex-shrink: 0;
  width: 310px;
  background: #ffffff;
  padding: 28px 24px 22px;
  border-radius: 4px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.25),
    0 8px 10px -6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  margin-right: -16px;
  text-align: center;
  align-self: center;
}

.pain-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-radius: 4px 4px 0 0;
}

.testimonial-stars {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.testimonial-stars span {
  color: #f59e0b;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #374151;
  margin: 0 0 18px 0;
  padding: 0;
  border: none;
  font-style: normal;
  text-align: center;
}

.testimonial-quote strong {
  color: #111827;
  font-weight: 600;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;       /* clip the image to the circle */
  flex-shrink: 0;  
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;

}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fill the circle without distortion */
  display: block;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  text-align: left;
}

.testimonial-role {
  font-size: 0.78rem;
  color: #6b7280;
  text-align: left;
}

.pain-main-content {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 2rem 6rem;
  flex: 1;
  min-width: 0;
}

.pain-main-content h2 {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  margin-bottom: 1.75rem !important;
  color: #fff !important;
}

@media (max-width: 960px) {
  .pain-section-layout {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }
  .pain-testimonial-card {
    margin-right: 0;
    margin-bottom: -24px;
    width: 90%;
    max-width: 380px;
  }
  .pain-bg-panel {
    width: 100%;
    right: 0;
    top: auto;
    bottom: 0;
    height: 80%;
  }
  .pain-main-content {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .pain-block {
    padding: 3rem 0 3rem !important;
  }
  .pain-testimonial-card {
    width: 95%;
    padding: 20px 18px 18px;
  }
  .testimonial-quote {
    font-size: 0.85rem;
  }
  .pain-main-content h2 {
    font-size: 1.6rem !important;
  }
}

/* Premium "What we ship" section overrides */
.two-ways-section .section-header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.two-ways-section .section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.two-ways-section .section-header h2 {
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

.way-card-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(96,165,250,0.2), rgba(96,165,250,0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.way-card-for {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.way-card-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.way-card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(96,165,250,0.3), rgba(96,165,250,0.0));
  margin-bottom: 1.5rem;
  width: 80%;
}

.way-card::before {
  opacity: 0.5;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(96,165,250,0.0));
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

.services-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.services-link:hover {
  border-bottom-color: var(--primary);
}

.company-logo-img {
  height: 28px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
}

.quote-row { display: flex; align-items: center; margin: 0 -1rem 2rem; }
.quote-row .testimonial-quote { flex: 1; padding: 0 0.75rem; }

.testimonial-arrow-side {
  width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04);
  color: var(--text-muted); cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: border-color 0.3s, color 0.3s, background 0.3s;
  flex-shrink: 0;
}
/* ==========================================================================
   SVG Icon System - Clean Line Icons
   ========================================================================== */

/* Base icon styles */
.svg-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Feature icon sizing (larger for feature cards) */
.feature-icon .svg-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

/* Tech badge icon sizing */
.tech-icon .svg-icon {
    width: 20px;
    height: 20px;
}

/* Context/challenge icon sizing */
.context-icon .svg-icon,
.challenge-icon .svg-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

/* Deliverable icon sizing */
.deliverable-icon .svg-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
}

/* Blog image placeholder with SVG */
.blog-image-placeholder .svg-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    opacity: 0.6;
}

/* Feature icon container - updated for SVG */
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(96, 165, 250, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(96, 165, 250, 0.15);
    transform: scale(1.05);
}

.feature-icon .svg-icon {
    color: var(--primary);
    width: 28px;
    height: 28px;
}

/* Context/Challenge icon container */
.context-icon,
.challenge-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(96, 165, 250, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.context-icon .svg-icon,
.challenge-icon .svg-icon {
    color: var(--primary);
    width: 22px;
    height: 22px;
}

/* Deliverable icon container */
.deliverable-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: rgba(52, 211, 153, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.deliverable-icon .svg-icon {
    color: var(--accent-green);
    width: 20px;
    height: 20px;
}

/* Tech badge icon container */
.tech-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.tech-icon .svg-icon {
    color: var(--text-secondary);
    width: 18px;
    height: 18px;
}

/* Blog placeholder styling for SVG icons */
.blog-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.blog-image-placeholder .svg-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    opacity: 0.5;
}

/* Credit section icon */
.credit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.credit-icon .svg-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-secondary);
}

/* ==========================================================================
   Socket.dev-inspired Design Polish
   ========================================================================== */

/* Enhanced CTA button with subtle gradient animation */
.cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced feature cards with subtle glow on hover */
.feature-card {
    background: linear-gradient(145deg, rgba(37, 34, 98, 0.9) 0%, rgba(30, 27, 75, 0.95) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.15), 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced proof cards */
.proof-card {
    background: linear-gradient(145deg, rgba(37, 34, 98, 0.9) 0%, rgba(30, 27, 75, 0.95) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.proof-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.15);
}

/* Enhanced capability cards */
.capability-card {
    background: linear-gradient(145deg, rgba(37, 34, 98, 0.9) 0%, rgba(30, 27, 75, 0.95) 100%);
    border: 1px solid rgba(96, 165, 250, 0.1);
}

.capability-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.1);
}

/* Enhanced deliverable items */
.deliverable-item {
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.3s ease;
}

.deliverable-item:hover {
    border-color: rgba(96, 165, 250, 0.25);
    background: rgba(96, 165, 250, 0.05);
}

/* Stats section polish */
.doc-stat-number {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section tag badge polish */
.section-tag {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 2px 10px rgba(96, 165, 250, 0.1);
}

/* Hero badge polish */
.hero-badge {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 2px 10px rgba(96, 165, 250, 0.1);
}

/* Enhanced fit checklist items */
.fit-item {
    border: 1px solid rgba(52, 211, 153, 0.1);
    transition: all 0.3s ease;
}

.fit-item:hover {
    border-color: rgba(52, 211, 153, 0.25);
    background: rgba(52, 211, 153, 0.05);
}

/* Option cards (deployment options) polish */
.option-card {
    background: linear-gradient(145deg, rgba(37, 34, 98, 0.7) 0%, rgba(30, 27, 75, 0.8) 100%);
    border: 1px solid rgba(96, 165, 250, 0.1);
}

.option-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.1);
}

/* Tech badge polish */
.tech-badge {
    border: 1px solid rgba(96, 165, 250, 0.15);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    border-color: rgba(96, 165, 250, 0.35);
    background: rgba(96, 165, 250, 0.08);
    transform: translateY(-2px);
}

/* Misconception card polish */
.misconception-card {
    background: linear-gradient(145deg, rgba(37, 34, 98, 0.9) 0%, rgba(30, 27, 75, 0.95) 100%);
    border: 1px solid rgba(167, 139, 250, 0.15);
}

.misconception-card:hover {
    border-color: rgba(167, 139, 250, 0.35);
}

/* Context item polish */
.context-item {
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.3s ease;
}

.context-item:hover {
    border-color: rgba(96, 165, 250, 0.25);
    background: rgba(96, 165, 250, 0.03);
}

/* Final CTA section enhancement */
.final-cta {
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(37, 34, 98, 1) 100%);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.5) 50%, transparent 100%);
}

/* ==========================================================================
   About Page - Photo Carousel
   ========================================================================== */
.about-photos {
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-main);
}

/* Fade edges */
.about-photos::before,
.about-photos::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.about-photos::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-main), transparent);
}

.about-photos::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-main), transparent);
}

.about-photos-carousel {
    overflow: hidden;
}

.about-photos-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll-photos 45s linear infinite;
    will-change: transform;
}

.about-photos-track:hover {
    animation-play-state: paused;
}

.about-photo-item {
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
}

.about-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-photo-item:hover img {
    transform: scale(1.03);
}

.about-photo-wide {
    width: 420px;
}

.about-photo-medium {
    width: 340px;
}

@keyframes scroll-photos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   About Page - Hero Animation (Orbit Visual)
   ========================================================================== */
.about-hero-animation {
    height: 350px;
}

.about-hero-visual {
    position: relative;
    width: 320px;
    height: 320px;
}

.about-orbit-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-orbit-ring-1 {
    width: 200px;
    height: 200px;
}

.about-orbit-ring-2 {
    width: 300px;
    height: 300px;
}

.about-orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.4), 0 0 60px rgba(96, 165, 250, 0.2);
    z-index: 5;
}

.about-orbit-node {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-secondary);
    z-index: 10;
}

/* Position nodes around the rings */
.about-node-1 {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    animation: orbit-float-1 8s ease-in-out infinite;
}

.about-node-2 {
    top: 8%;
    left: 75%;
    animation: orbit-float-2 9s ease-in-out infinite;
}

.about-node-3 {
    top: 82%;
    left: 80%;
    animation: orbit-float-3 7s ease-in-out infinite;
}

.about-node-4 {
    top: 15%;
    left: 20%;
    animation: orbit-float-2 10s ease-in-out infinite;
}

.about-node-5 {
    top: 88%;
    left: 25%;
    animation: orbit-float-1 8.5s ease-in-out infinite;
}

@keyframes orbit-float-1 {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-8px); }
}

@keyframes orbit-float-2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes orbit-float-3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==========================================================================
   About Page - Professor Sidebar + Side Quests Layout
   ========================================================================== */
.side-quests-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.professor-sidebar {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-top: 1rem;
    position: sticky;
    top: 100px;
}

.professor-photo-large {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.professor-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.professor-caption {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.professor-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.professor-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.fun-facts-main {
    flex: 1;
    min-width: 0;
}

/* Responsive - Photo Carousel */
@media (max-width: 768px) {
    .about-photo-item {
        height: 200px;
    }

    .about-photo-wide {
        width: 300px;
    }

    .about-photo-medium {
        width: 240px;
    }

    .about-photos::before,
    .about-photos::after {
        width: 60px;
    }

    .about-photos-track {
        animation-duration: 35s;
    }

    .about-hero-animation {
        height: 250px;
    }

    .about-hero-visual {
        width: 240px;
        height: 240px;
    }

    .about-orbit-ring-1 {
        width: 150px;
        height: 150px;
    }

    .about-orbit-ring-2 {
        width: 230px;
        height: 230px;
    }

    .about-orbit-core {
        width: 44px;
        height: 44px;
        font-size: 0.7rem;
    }

    .about-orbit-node {
        width: 36px;
        height: 36px;
        font-size: 0.5rem;
    }

    .side-quests-layout {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .professor-sidebar {
        width: auto;
        position: static;
        flex-direction: row;
        gap: 1.5rem;
        padding-top: 0;
    }

    .professor-photo-large {
        width: 100px;
        height: 100px;
    }

    .professor-caption {
        text-align: left;
    }
}

/* ==========================================================================
   About Page - Side Quests / Fun Facts
   ========================================================================== */
.fun-facts-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.fun-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.fun-fact {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.3s ease;
}

.fun-fact:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.fun-fact-stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.fun-fact-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.fun-fact-detail {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0.25rem;
}

.fun-facts-footer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 720px;
}

/* Open Source compact inline */
.about-opensource-compact {
    padding: 2rem 2rem;
}

.opensource-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.opensource-inline-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.cta-button-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

/* Backed By Credibility Strip */
.about-backers-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.backers-strip-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.backers-strip-logos {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.backer-pill {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.backer-logo {
    height: 24px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .opensource-inline {
        flex-direction: column;
        gap: 1rem;
    }

    .about-backers-strip {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
    }
}

/* Responsive - Fun Facts */
@media (max-width: 1024px) {
    .fun-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fun-facts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .fun-fact {
        padding: 1.25rem 1.25rem;
    }

    .fun-fact-stat {
        font-size: 1.75rem;
    }
}
