/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fletcher-inspired Minimal Color Palette */
    --black: #000000;
    --gray-900: #18181b;
    --gray-800: #27272a;
    --gray-700: #3f3f46;
    --gray-600: #52525b;
    --gray-500: #71717a;
    --gray-400: #a1a1aa;
    --gray-300: #d4d4d8;
    --gray-200: #e4e4e7;
    --gray-100: #f4f4f5;
    --gray-50: #fafafa;
    --white: #ffffff;

    --primary-color: #000000;
    --text-color: #27272a;
    --text-light: #52525b;
    --bg-white: #ffffff;
    --bg-gray: #fafafa;
    --border-color: #e4e4e7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 17px;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacing - Fletcher Style (More Generous) */
section {
    padding: 64px 0;
}

.bg-light {
    background: var(--bg-gray);
}

/* Fletcher-Style Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

p {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 400;
}

/* Fletcher-Style Buttons (Clean & Simple) */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.btn-primary {
    background: var(--black);
    color: white;
    border-color: var(--black);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.0625rem;
}

/* Fletcher-Style Header */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Header Button - Fletcher Style */
.btn-header {
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--black);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--black);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.btn-header svg {
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--black);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-header:hover svg {
    transform: translateX(4px);
}

.btn-header:hover svg path {
    stroke: var(--black);
}

/* Fletcher-Style Hero */
.hero {
    padding: 120px 0;
    text-align: center;
    background: var(--black);
    position: relative;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 28px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero .text-large {
    max-width: 760px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.hero .btn {
    position: relative;
    z-index: 1;
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
}

.hero .btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    margin: 0 0 24px 0;
}

/* Hero Eyebrow */
.hero-eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin: 40px auto;
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 700px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Hero Trust Signal */
.hero-trust {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Hero Key Points */
.hero-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.point {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.point:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.point-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--white);
}

.point h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.point p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Responsive Hero Stats */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* Responsive Hero Grid */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-points {
        display: none;
    }
}

/* Section Divider - Glass-Morphism Style */
.section-divider-card {
    position: relative;
    margin: 100px auto;
    max-width: 1200px;
    height: 1px;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gray-300) 50%,
        transparent 100%
    );
}

.divider-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.divider-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gray-500);
    border-radius: 50%;
}

.trust-bar {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.trust-bar p {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Fletcher-Style Diagnostic Section */
.diagnostic {
    background: var(--bg-gray);
}

.diagnostic-intro {
    text-align: center;
    margin-bottom: 48px;
}

.checklist {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 16px;
    background: transparent;
    border-radius: 6px;
    transition: background 0.15s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    background: var(--bg-gray);
}

.checkbox-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item label {
    font-size: 1.125rem;
    cursor: pointer;
    line-height: 1.6;
}

.diagnostic-result {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-gray);
    border-radius: 6px;
    text-align: center;
    display: none;
    border: 1px solid var(--border-color);
}

.diagnostic-result.show {
    display: block;
}

.diagnostic-result h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--black);
}

/* Problem Section - Narrative Design */
.problem-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 96px 0;
}

.problem-section .container {
    position: relative;
    z-index: 1;
}

.problem-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.problem-intro h2 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 2.25rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.problem-intro .text-large {
    color: #52525b;
}

/* Large centered image section */
.problem-visual {
    max-width: 1000px;
    margin: 0 auto 80px;
    text-align: center;
}

.problem-visual img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    background: var(--white);
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.problem-caption {
    max-width: 700px;
    margin: 0 auto;
}

.problem-caption h3 {
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.problem-caption p {
    color: #52525b;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Narrative items - with icons instead of numbers */
.problem-narrative {
    max-width: 900px;
    margin: 0 auto 80px;
}

.narrative-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.narrative-item:last-child {
    margin-bottom: 0;
}

.narrative-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    border: 2px solid #d4d4d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.narrative-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.narrative-item:hover .narrative-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-color: #000000;
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.narrative-item:hover .narrative-icon::before {
    opacity: 1;
}

.narrative-content h4 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.narrative-content p {
    color: #52525b;
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}

/* Solution box at the bottom */
.problem-solution {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.solution-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 48px 40px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.solution-box:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.solution-box h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.solution-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

/* Solution/Deliverables Section with Alternating Image Layout */
.deliverables {
    margin-top: 0;
}

.deliverable {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-bottom: 96px;
    padding: 0;
    background: transparent;
    border: none;
}

.deliverable:last-child {
    margin-bottom: 0;
}

/* Alternating layout - odd items (1st, 3rd, etc.) have image on left */
.deliverable:nth-child(odd) {
    flex-direction: row-reverse;
}

/* Even items (2nd, 4th, etc.) have image on right */
.deliverable:nth-child(even) {
    flex-direction: row;
}

.deliverable-content {
    flex: 1;
    min-width: 0;
}

.deliverable-image {
    flex: 0 0 50%;
    background: var(--bg-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.deliverable-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for when images aren't loaded yet */
.deliverable-image-placeholder {
    flex: 0 0 50%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--gray-100) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.deliverable-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.deliverable-icon {
    font-size: 2.5rem;
    margin-right: 20px;
}

.deliverable-list {
    list-style: none;
    margin-top: 20px;
}

.deliverable-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.125rem;
}

.deliverable-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Process Timeline - Enhanced with Dark Theme */
.process-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
    position: relative;
    overflow: hidden;
    padding: 96px 0;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    opacity: 0.3;
    pointer-events: none;
}

.process-section .container-narrow {
    position: relative;
    z-index: 1;
}

.process-intro {
    text-align: center;
    margin-bottom: 64px;
}

.process-intro h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.process-timeline {
    margin-top: 48px;
}

.phase {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
}

.phase::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 12px 0 0 12px;
    transition: all 0.3s ease;
}

.phase:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.phase:hover::before {
    width: 6px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
}

.phase-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.phase:hover .phase-number {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.phase-content h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.phase-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.phase-content p[style*="color: var(--primary-color)"] {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
}

.phase-arrow {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    margin: -8px 0;
    font-weight: 300;
}

.process-expectations {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    margin-top: 64px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.process-expectations h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.process-expectations ul {
    list-style: none;
    margin: 0;
}

.process-expectations ul li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
}

.process-expectations ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Modern Case Study Section */
.case-study-section {
    background: var(--bg-gray);
}

.case-study-header {
    text-align: center;
    margin-bottom: 64px;
}

.case-study-eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.case-study-header h2 {
    margin-bottom: 16px;
}

.case-study-client {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

/* Two-Column Grid */
.case-study-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    margin-bottom: 80px;
}

/* Left Column: Challenge + Solution */
.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-challenge h3,
.case-solution h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-challenge p,
.case-solution p {
    margin: 0;
    line-height: 1.8;
}

/* Right Column: Results Cards */
.case-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.result-card:hover {
    border-color: var(--black);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.result-icon {
    width: 24px;
    height: 24px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    font-weight: 700;
}

.result-card p {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
}

/* Testimonials */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--gray-200);
    line-height: 1;
}

.testimonial-quote {
    font-size: 17px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Case Study */
@media (max-width: 968px) {
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }
}

/* Why Us Section - Enhanced with Parallax Background */
.why-us-hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    overflow: hidden;
}

.why-us-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px);
    opacity: 0.4;
}

.why-us-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.why-us-content {
    position: relative;
    z-index: 1;
}

.why-us-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
    text-align: center;
}

.why-us-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}

/* Split Comparison */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
    margin: 80px auto 0;
    max-width: 1000px;
}

.comparison-side {
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.comparison-left {
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.6;
}

.comparison-right {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.comparison-side h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.comparison-list {
    list-style: none;
    text-align: left;
    margin: 0;
}

.comparison-list li {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    position: relative;
    padding-left: 28px;
}

.comparison-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    line-height: 1;
}

.comparison-right .comparison-list li::before {
    content: "✓";
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
}

.comparison-divider {
    width: 2px;
    height: 300px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    position: relative;
}

.comparison-divider::before {
    content: "VS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Differentiators - Enhanced 3-Column Grid */
.differentiators {
    margin-top: 64px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 100%;
}

.diff-card {
    position: relative;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeInUpScale 0.7s ease forwards;
    overflow: hidden;
    flex: 1;
    min-height: auto;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--black), var(--gray-700));
    transition: height 0.4s ease;
}

.diff-card:hover::before {
    height: 100%;
}

/* Subtle background gradient on hover */
.diff-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.diff-card:hover::after {
    opacity: 1;
}

/* Staggered animation delays */
.diff-card:nth-child(1) {
    animation-delay: 0.1s;
}

.diff-card:nth-child(2) {
    animation-delay: 0.25s;
}

.diff-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects - Expansion + Lift */
.differentiators:hover .diff-card:not(:hover) {
    opacity: 0.7;
    transform: scale(0.98);
}

.diff-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    z-index: 10;
}

/* Icon styling with gradient backgrounds */
.diff-card-header {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 0;
    text-align: left;
}

.diff-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.diff-card:nth-child(1) .diff-icon-wrapper {
    animation-delay: 0s;
}

.diff-card:nth-child(2) .diff-icon-wrapper {
    animation-delay: 0.3s;
}

.diff-card:nth-child(3) .diff-icon-wrapper {
    animation-delay: 0.6s;
}

.diff-card:hover .diff-icon-wrapper {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-800) 100%);
    border-color: var(--black);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: none;
}

.diff-icon {
    font-size: 1.75rem;
    display: block;
    transition: all 0.3s ease;
}

.diff-card:hover .diff-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Number badge */
.diff-number {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.diff-card-title {
    flex: 1;
}

.diff-card-title h3 {
    margin-bottom: 4px;
    font-size: 1.125rem;
    text-align: left;
    font-weight: 700;
}

.diff-card-title .subtitle {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.8125rem;
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.3;
}

/* Content area */
.diff-content {
    margin-top: 12px;
    margin-bottom: 0;
}

.diff-content p {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.diff-content p:last-child {
    margin-bottom: 0;
}

/* Proof point - Enhanced */
.proof-point {
    background: var(--bg-gray);
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    border-left: 3px solid var(--black);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.proof-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--black), var(--gray-700));
}

.proof-point strong {
    display: inline-block;
    color: var(--black);
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    background: var(--white);
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.proof-point {
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Philosophy Section - Split Identity Cards */
.philosophy-section {
    background: var(--white);
}

.philosophy-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 64px;
}

.philosophy-intro h2 {
    margin-bottom: 24px;
}

.philosophy-intro .lead-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 16px;
}

.philosophy-intro .lead-text.highlight {
    font-weight: 600;
    color: var(--black);
    font-size: 1.25rem;
    margin-top: 32px;
}

/* Philosophy Grid Layout */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin: 64px 0;
}

/* Framework Image */
.philosophy-framework {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.philosophy-framework img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Role Cards Vertical Stack */
.role-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.role-card-compact {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-card-compact:hover {
    border-color: var(--gray-400);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.role-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.role-icon-small {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    border: 1px solid var(--gray-800);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.role-icon-small::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, var(--gray-700), var(--black));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.role-card-compact:hover .role-icon-small {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.role-card-compact:hover .role-icon-small::before {
    opacity: 1;
}

.role-title-compact {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    line-height: 1.3;
}

.role-formula-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.formula-part {
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 500;
}

.formula-operator {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
}

.role-result-compact {
    padding: 12px 16px;
    background: var(--white);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--black);
    border: 1px solid var(--border-color);
    border-left-width: 3px;
    border-left-color: var(--black);
}

/* Result Statement */
.philosophy-result {
    text-align: center;
    max-width: 900px;
    margin: 64px auto 0;
    padding: 0;
    background: transparent;
    position: relative;
}

.philosophy-result::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    z-index: 0;
}

.philosophy-result p {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.5;
    background: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    border: 2px solid var(--black);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.philosophy-result p::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .philosophy-framework {
        position: relative;
        top: 0;
    }

    .philosophy-intro .lead-text {
        font-size: 1rem;
    }

    .philosophy-intro .lead-text.highlight {
        font-size: 1.125rem;
    }

    .philosophy-result p {
        font-size: 1rem;
        padding: 16px 28px;
        gap: 12px;
    }

    .philosophy-result p::before {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
}

/* Differentiators Responsive */
@media (max-width: 968px) {
    .differentiators {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .diff-card {
        padding: 32px 24px;
    }

    .diff-card-header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .diff-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .diff-icon {
        font-size: 2rem;
    }

    .diff-card-title h3 {
        font-size: 1.5rem;
    }

    .differentiators:hover .diff-card:not(:hover) {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .why-us-hero {
        padding: 80px 0;
    }

    .why-us-title {
        font-size: 2.25rem;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .comparison-divider {
        width: 200px;
        height: 2px;
        margin: 0 auto;
    }

    .comparison-divider::before {
        top: 50%;
        left: 50%;
    }

    .comparison-left {
        opacity: 1;
    }
}

/* FAQ Section */
section.bg-light:has(.faq-list) {
    border-top: 1px solid var(--border-color);
}

.faq-list {
    margin-top: 48px;
}

.faq-item {
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    transition: border-color 0.15s ease;
}

.faq-item:hover {
    border-color: var(--gray-400);
}

.faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

/* Technology Partner Section - Black Hero Theme */
.partner-section-split {
    background: var(--black);
    padding: 100px 0;
    position: relative;
}

/* Powered By Header */
.powered-by-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.powered-by-header h2 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.powered-by-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
    position: relative;
}

.powered-by-divider::before,
.powered-by-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    max-width: 200px;
}

.powered-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 24px;
}

.powered-logo {
    margin-top: 32px;
}

.partner-logo-hero {
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.partner-left,
.partner-right {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.partner-left:hover,
.partner-right:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.partner-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.partner-left h3,
.partner-right h3 {
    margin-bottom: 16px;
    color: var(--white);
}

.partner-left p,
.partner-right p {
    color: rgba(255, 255, 255, 0.85);
}

.partner-logo-box {
    margin: 24px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-logo-large {
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.partner-benefits {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.partner-benefits li {
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-left: 28px;
}

.partner-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

.partner-footer {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.partner-footer p {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .partner-left:hover,
    .partner-right:hover {
        transform: translateY(-2px);
    }
}

/* Fletcher-Style CTA Section */
.cta-section {
    text-align: center;
    background: var(--bg-gray);
}

.cta-checklist {
    list-style: none;
    margin: 32px auto;
    text-align: left;
    display: inline-block;
}

.cta-checklist li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.125rem;
}

.cta-checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.cta-note {
    margin-top: 24px;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Footer - Dark Theme */
footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    padding: 24px 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    color: var(--white) !important;
    font-size: 0.875rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
        letter-spacing: -0.02em;
    }

    h2 {
        font-size: 1.875rem;
        letter-spacing: -0.015em;
    }

    h3 {
        font-size: 1.25rem;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .container,
    .container-narrow {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .problem-visual img {
        padding: 20px;
    }

    .problem-caption h3 {
        font-size: 1.5rem;
    }

    .narrative-item {
        gap: 20px;
        margin-bottom: 32px;
    }

    .narrative-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .narrative-content h4 {
        font-size: 1.25rem;
    }

    .solution-box {
        padding: 32px 24px;
    }

    .solution-box h3 {
        font-size: 1.5rem;
    }

    .phase {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }

    .phase-number {
        font-size: 2.5rem;
    }

    /* Stack deliverables vertically on mobile */
    .deliverable {
        flex-direction: column !important;
        gap: 32px;
        margin-bottom: 64px;
    }

    .deliverable-image,
    .deliverable-image-placeholder {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }

    .case-study {
        padding: 32px 24px;
    }

    .diff-card {
        padding: 32px 24px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .diagnostic-intro h2 {
        font-size: 1.875rem;
    }

    .checkbox-item {
        padding: 16px;
    }

    .checkbox-item label {
        font-size: 1rem;
    }

    .btn-header {
        padding: 10px 18px;
        font-size: 0.875rem;
    }

    .btn-header svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .text-large {
        font-size: 1.125rem;
    }

    .btn-header span {
        display: none;
    }

    .btn-header {
        padding: 10px 12px;
    }

    .btn-header::before {
        content: "Book Call";
        font-size: 0.8125rem;
    }
}

/* Better Way Cards - Animated */
.better-way-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 2px solid #000000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.better-way-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-width: 3px;
}

.better-way-number {
    font-size: 14px;
    margin-bottom: 12px;
    color: #a1a1aa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.better-way-card:hover .better-way-number {
    color: #000000;
}

/* Prototype Pulse Animation */
@keyframes prototype-pulse {
    0%, 100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.03) translateY(-5px);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    }
}

.prototype-pulse {
    animation: prototype-pulse 2.5s ease-in-out infinite;
}

/* Lifecycle step hover effect */
.lifecycle-step {
    transition: transform 0.3s ease;
}

.lifecycle-step:hover {
    transform: translateY(-5px);
}

/* Package Axis Animations */
@keyframes drawHorizontalAxis {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes drawVerticalAxis {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

.axis-horizontal {
    transform-origin: center;
    transform: scaleX(0);
}

.axis-vertical {
    transform-origin: center;
    transform: scaleY(0);
}

/* Lifecycle Stage Animations */
@keyframes lifecycle-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
    }
}

@keyframes lifecycle-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 48px rgba(255, 255, 255, 0.6);
    }
}

.lifecycle-prototype {
    animation: lifecycle-pulse 3s ease-in-out infinite;
}

.lifecycle-product {
    animation: lifecycle-glow 3s ease-in-out infinite;
}

/* Bounce Animation for Transition Arrow */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and below */
@media (max-width: 968px) {
    /* Prevent horizontal scroll on entire page */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Ensure all sections fit within viewport */
    section {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container {
        max-width: 100% !important;
    }

    /* Hero Section - Override inline grid */
    .hero-grid > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Lifecycle Bar Chart - Keep horizontal but make smaller */
    section[style*="background: #000000"] .container {
        overflow-x: hidden !important;
    }

    section[style*="background: #000000"] div[style*="max-width: 1200px"] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    section[style*="background: #000000"] div[style*="grid-template-columns: repeat(5, 1fr)"] {
        gap: 6px !important;
        min-width: auto !important;
        width: 100% !important;
    }

    /* "We Built a Better Way" section - Stack grid and reverse order on mobile */
    .bg-light > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 40px !important;
    }

    /* "Traditional Software Development" section - heading first on mobile */
    .bg-light[style*="border-top"] > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* Other grid sections - just stack normally */
    section div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Ensure all grid layouts with large gaps fit on screen */
    div[style*="gap: 80px"] {
        gap: 24px !important;
    }

    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100vw !important;
    }

    img, video, iframe {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Points/Benefits boxes in hero */
    .point {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .point-icon {
        margin: 0 auto;
    }

    /* CTA Section - Stack button below content */
    #cta div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .cta-checklist {
        text-align: left;
        max-width: 400px;
        margin: 24px auto;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 22px !important;
    }

    .text-large {
        font-size: 16px !important;
    }

    /* Navigation */
    nav {
        padding: 16px 0 !important;
    }

    .nav-links {
        display: none;
    }

    /* Container padding */
    .container {
        padding: 0 20px !important;
    }

    /* Section padding */
    section {
        padding: 60px 0 !important;
    }

    /* Hero section */
    .hero-eyebrow {
        font-size: 12px !important;
    }

    /* Buttons */
    .btn-large {
        padding: 14px 28px !important;
        font-size: 16px !important;
    }

    /* Lifecycle bars - reduce heights for mobile */
    section[style*="background: #000000"] div[style*="height: 120px"] {
        height: 60px !important;
        padding: 12px 8px !important;
    }

    section[style*="background: #000000"] div[style*="height: 180px"] {
        height: 90px !important;
        padding: 12px 8px !important;
    }

    section[style*="background: #000000"] div[style*="height: 240px"] {
        height: 120px !important;
        padding: 12px 8px !important;
    }

    section[style*="background: #000000"] div[style*="height: 300px"] {
        height: 150px !important;
        padding: 12px 8px !important;
    }

    section[style*="background: #000000"] div[style*="height: 360px"] {
        height: 180px !important;
        padding: 12px 8px !important;
    }

    /* Lifecycle stage titles and text */
    section[style*="background: #000000"] h4 {
        font-size: 11px !important;
    }

    section[style*="background: #000000"] div[style*="grid-template-columns: repeat(5, 1fr)"] p {
        font-size: 9px !important;
        line-height: 1.3 !important;
    }

    /* Lifecycle icons - make smaller */
    section[style*="background: #000000"] div[style*="width: 50px"][style*="height: 50px"] {
        width: 30px !important;
        height: 30px !important;
        margin-top: 8px !important;
    }

    section[style*="background: #000000"] div[style*="width: 50px"][style*="height: 50px"] span,
    section[style*="background: #000000"] div[style*="width: 50px"][style*="height: 50px"] svg {
        font-size: 16px !important;
        width: 18px !important;
        height: 18px !important;
    }

    /* Lifecycle transition circles */
    section[style*="background: #000000"] div[style*="width: 40px"][style*="height: 40px"] {
        width: 20px !important;
        height: 20px !important;
        right: -12px !important;
        border-width: 2px !important;
    }

    /* Solution boxes grid - 1 column on mobile */
    div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] {
        grid-template-columns: 1fr !important;
    }

    /* Case study image */
    .case-study-image {
        height: 250px !important;
    }

    /* Stats in problem section */
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Package cards */
    .packages-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    .container {
        padding: 0 16px !important;
    }

    section {
        padding: 40px 0 !important;
    }

    /* Reduce icon sizes */
    .point-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

    .narrative-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }

    /* Lifecycle - even more compact on small phones */
    section[style*="background: #000000"] div[style*="grid-template-columns: repeat(5, 1fr)"] {
        gap: 4px !important;
    }

    section[style*="background: #000000"] div[style*="height: 120px"] {
        height: 50px !important;
    }

    section[style*="background: #000000"] div[style*="height: 180px"] {
        height: 75px !important;
    }

    section[style*="background: #000000"] div[style*="height: 240px"] {
        height: 100px !important;
    }

    section[style*="background: #000000"] div[style*="height: 300px"] {
        height: 125px !important;
    }

    section[style*="background: #000000"] div[style*="height: 360px"] {
        height: 150px !important;
    }

    section[style*="background: #000000"] h4 {
        font-size: 10px !important;
    }

    section[style*="background: #000000"] div[style*="grid-template-columns: repeat(5, 1fr)"] p {
        font-size: 8px !important;
    }

    section[style*="background: #000000"] div[style*="width: 50px"][style*="height: 50px"] {
        width: 25px !important;
        height: 25px !important;
    }

    section[style*="background: #000000"] div[style*="width: 50px"][style*="height: 50px"] span,
    section[style*="background: #000000"] div[style*="width: 50px"][style*="height: 50px"] svg {
        font-size: 14px !important;
        width: 14px !important;
        height: 14px !important;
    }
}
