/* ═══════════════════════════════════════════ DESIGN SYSTEM ═══════════════════════════════════════════ */
:root {
    /* Colors */
    --color-navy: #0A0F2C;
    --color-navy-light: #161C3D;
    --color-white: #FFFFFF;
    --color-orange: #FF5B00;
    --color-orange-hover: #E65200;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    --color-gray-400: #CED4DA;
    --color-gray-500: #ADB5BD;
    --color-gray-600: #6C757D;
    --color-text-dark: #0A0F2C;
    --color-text-light: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.7);

    /* Gradients */
    --gradient-navy: radial-gradient(circle at top right, #1d244a 0%, #161c3d 100%);

    /* Typography */
    --font-main: 'Space Grotesk', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Grid */
    --container-width: 1200px;
}

/* ═══════════════════════════════════════════ BASE ═══════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul {
    list-style: none;
}

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

/* ═══════════════════════════════════════════ UTILITIES ═══════════════════════════════════════════ */
.section--navy {
    background: var(--gradient-navy);
    color: var(--color-text-light);
}

.section--white {
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin-bottom: var(--space-sm);
}

.section-label--dark {
    color: var(--color-orange);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn--primary:hover {
    background-color: var(--color-orange-hover);
}

.btn--ghost {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.btn--white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn--large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* ═══════════════════════════════════════════ NAV ═══════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.nav--scrolled {
    background-color: rgba(10, 15, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo-img {
    height: 40px;
    width: auto;
}

.nav__links {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav__link:hover {
    color: white;
}

.nav__link:hover::after {
    background-color: rgba(255, 255, 255, 0.3);
}

.nav__link--active {
    color: white !important;
}

.nav__link--active::after {
    background-color: var(--color-orange) !important;
    height: 2px !important;
}

.nav__cta {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav__cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__burger span {
    width: 24px;
    height: 2px;
    background-color: white;
}

/* ═══════════════════════════════════════════ HERO ═══════════════════════════════════════════ */
.hero {
    padding: var(--space-xl) 0 var(--space-lg);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero__eyebrow {
    color: var(--color-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    font-size: 0.8rem;
    opacity: 0.9;
}

.hero__headline {
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.hero__headline--accent {
    color: var(--color-orange);
    display: block; /* Force the accent to its own line for punchier hierarchy */
    margin-top: 0.2rem;
}

.hero__subhead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 520px;
    margin-bottom: var(--space-md);
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
}

.hero__terminal {
    width: 100%;
    max-width: 580px;
    height: 360px;
    background-color: #0B0F1E;
    border-radius: 12px;
    position: relative;
    overflow: hidden; /* This clips the 200% glow */
    display: flex;
    flex-direction: column;
    border: 1px solid #1E2A4A;
    box-shadow: 0 0 50px rgba(255, 91, 0, 0.1);
}

.hero__terminal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 150deg,
        #FF5B00 180deg,
        transparent 210deg,
        transparent 360deg
    );
    animation: rotateGlow 4s linear infinite;
    z-index: 0;
}

.hero__terminal::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #0B0F1E;
    border-radius: 11px;
    z-index: 1;
}

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

.terminal__bar {
    position: relative;
    z-index: 2;
    background-color: #161B2E;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    border-bottom: 1px solid #1E2A4A;
    border-radius: 11px 11px 0 0;
}

.terminal__dots {
    display: flex;
    gap: 8px;
}

.terminal__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal__dot--red { background-color: #FF5F56; }
.terminal__dot--yellow { background-color: #FFBD2E; }
.terminal__dot--green { background-color: #27C93F; }

.terminal__title {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.05em;
}

.terminal__body {
    position: relative;
    z-index: 2;
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #FFFFFF;
    line-height: 1.8;
    flex-grow: 1;
}

.terminal__line {
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(10px);
}

.terminal__line--active {
    animation: terminalFadeIn 0.4s forwards;
}

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

.terminal__prompt { color: #FF5B00; font-weight: 700; margin-right: 8px; }
.terminal__check { color: #4ADE80; margin-right: 8px; }
.terminal__warn { color: #FACC15; margin-right: 8px; }

.terminal__cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: #FF5B00;
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.terminal__result-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    color: #FF5B00;
    font-weight: 700;
    opacity: 0;
}

.terminal__result-row.terminal__line--active {
    opacity: 1;
}

.terminal__line-divider {
    height: 1px;
    background-color: #FF5B00;
    flex-grow: 1;
    opacity: 0.3;
}

.terminal__result {
    white-space: nowrap;
}

/* ═══════════════════════════════════════════ STATS ═══════════════════════════════════════════ */
.stats {
    background-color: var(--color-orange);
    color: white;
    padding: var(--space-md) 0;
}

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

.stats__item {
    text-align: center;
    flex: 1;
}

.stats__number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-heading);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stats__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.stats__divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════ ORIGIN ═══════════════════════════════════════════ */
.origin {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    background-color: #F8FAFC; /* Softer off-white for depth */
}

.origin__image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.12;
    mask-image: linear-gradient(to right, transparent, black);
    -webkit-mask-image: linear-gradient(to right, transparent, black);
    pointer-events: none;
    z-index: 0;
}

.origin__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

.origin__decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ui-tag {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--color-orange);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    animation: originFloat 8s ease-in-out infinite;
    white-space: nowrap;
}

.ui-tag--1 { top: 20%; right: 15%; animation-delay: 0s; }
.ui-tag--2 { top: 45%; right: 8%; animation-delay: 2s; }
.ui-tag--3 { top: 75%; right: 18%; animation-delay: 4s; }

@keyframes originFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

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



.origin__title {
    font-size: 3.5rem;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    max-width: 800px;
    color: #0A0F2C;
}

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

.origin__text p {
    margin-bottom: 1.5rem;
    font-size: 16px;
    line-height: 1.8;
    color: #4A5568;
    max-width: 600px;
}

.origin__pullquote {
    padding: 3rem;
    background: white;
    border-left: 4px solid var(--color-orange);
    align-self: start;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    position: relative;
    z-index: 3;
}

.origin__pullquote blockquote {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: #0A0F2C;
    font-weight: 500;
}

.origin__pullquote cite {
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: #FF5B00;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════ PROCESS ═══════════════════════════════════════════ */
.process {
    padding: 120px 0;
    background-color: var(--color-white);
}

.process__header {
    max-width: var(--container-width);
    margin: 0 auto 80px;
    padding: 0 var(--space-md);
    text-align: center;
}

.process__title {
    font-size: 3.5rem;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.process__subhead {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.process__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-card {
    background: radial-gradient(circle at top right, #1d244a 0%, #161c3d 100%);
    border: 1px solid rgba(255, 91, 0, 0.2);
    padding: 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: all 0.5s ease;
    animation: processLoop 9s infinite;
}

.process-card__step {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

#process-step-1 { animation-delay: 0s; }
#process-step-2 { animation-delay: 3s; }
#process-step-3 { animation-delay: 6s; }

@keyframes processLoop {
    0%, 33.33% {
        transform: translateY(-10px);
        border-color: var(--color-orange);
        box-shadow: 0 10px 30px rgba(255, 91, 0, 0.15), 0 0 15px rgba(255, 91, 0, 0.2);
    }
    33.34%, 100% {
        transform: translateY(0);
        border-color: rgba(255, 91, 0, 0.2);
        box-shadow: none;
    }
}

.process-card:hover {
    transform: translateY(-15px) !important;
    border-color: var(--color-orange) !important;
    box-shadow: 0 15px 40px rgba(255, 91, 0, 0.2) !important;
}

.code-prompt {
    animation: codeBlink 9s step-end infinite;
    margin-right: 4px;
}

#process-step-1 .code-prompt { animation-delay: 0s; }
#process-step-2 .code-prompt { animation-delay: 3s; }
#process-step-3 .code-prompt { animation-delay: 6s; }

@keyframes codeBlink {
    0%, 5%, 10%, 15%, 20%, 25%, 30% { opacity: 1; }
    2.5%, 7.5%, 12.5%, 17.5%, 22.5%, 27.5%, 32.5% { opacity: 0; }
    33.34%, 100% { opacity: 1; }
}

.process-card__code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: var(--color-orange);
    font-weight: 700;
}

.process-card__heading {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-card__text {
    color: var(--color-gray-500);
    line-height: 1.6;
    font-size: 1rem;
}

.process__actions {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

/* ═══════════════════════════════════════════ FEATURES ═══════════════════════════════════════════ */
.features {
    padding: 100px 0;
    background-color: #F8F8F8;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.features__header {
    max-width: var(--container-width);
    margin: 0 auto var(--space-lg);
    padding: 0 var(--space-md);
    text-align: center;
}

.features__title {
    font-size: 3.5rem;
}

.features__grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
}

@media (max-width: 992px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 91, 0, 0.2);
}

.feature-card__icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 91, 0, 0.1) 0%, rgba(255, 91, 0, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    color: var(--color-orange);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card__icon-box {
    background: var(--color-orange);
    color: white;
    transform: scale(1.05);
}

.feature-card__icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1);
}

.icon-glow {
    position: absolute;
    inset: -4px;
    background: var(--color-orange);
    opacity: 0;
    filter: blur(12px);
    border-radius: 12px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover .icon-glow {
    opacity: 0.2;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    color: var(--color-navy);
}

.feature-card__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748B;
}

/* ═══════════════════════════════════════════ TESTIMONIALS ═══════════════════════════════════════════ */
.testimonials {
    padding: var(--space-xl) 0;
}

.testimonials__header {
    max-width: var(--container-width);
    margin: 0 auto var(--space-lg);
    padding: 0 var(--space-md);
    text-align: center;
}

.testimonials__title {
    font-size: 3.5rem;
}

.carousel {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
}

.carousel__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Remove gap to ensure 100% width slides align perfectly with translateX increments */
}

.carousel__slide {
    min-width: 100%;
    opacity: 0.2;
    transition: all 0.6s ease;
    display: flex;
    justify-content: center;
    padding: 0 10%; /* Give some room for the "peek" effect if container is wide, or just centered */
}

.carousel__slide--active {
    opacity: 1;
    transform: scale(1.02);
}

.testimonial-card {
    background: var(--gradient-navy);
    padding: var(--space-lg);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card__text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 91, 0, 0.2);
}

.testimonial-card__name {
    display: block;
    font-weight: 700;
    font-style: normal;
}

.testimonial-card__role {
    font-size: 0.875rem;
    opacity: 0.6;
}

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: var(--space-lg);
}

.carousel__btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.carousel__btn:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.carousel__dots {
    display: flex;
    gap: 0.75rem;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
}

.carousel__dot--active {
    background-color: var(--color-orange);
    width: 24px;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════ CASE STUDIES ═══════════════════════════════════════════ */
.cases {
    padding: 120px 0;
}

.cases__header {
    max-width: var(--container-width);
    margin: 0 auto 60px;
    padding: 0 var(--space-md);
    text-align: center;
}

.cases__title {
    font-size: 3.5rem;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.cases__subhead {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.cases__grid-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
}

.case-card--featured {
    background: linear-gradient(rgba(10, 15, 44, 0.9), rgba(10, 15, 44, 0.8)), url('assets/background tile.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 32px 40px;
    display: block;
    margin-bottom: 0;
}

.case-card__badge {
    display: inline-block;
    background-color: rgba(255, 91, 0, 0.1);
    color: var(--color-orange);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.case-card__headline {
    color: white;
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

.case-card__desc {
    color: var(--color-gray-500);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.case-card__metrics-section {
    margin-bottom: 2rem;
}

.case-card__divider {
    height: 1px;
    background-color: rgba(255, 91, 0, 0.15);
    margin-bottom: 1.25rem;
}

.case-card__metrics-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.orange-dot {
    width: 5px;
    height: 5px;
    background-color: var(--color-orange);
    border-radius: 50%;
}

.case-card__metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric-tile {
    background-color: rgba(255, 91, 0, 0.04);
    border: 1px solid rgba(255, 91, 0, 0.15);
    border-radius: 10px;
    padding: 20px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.metric-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 91, 0, 0.4);
    box-shadow: 0 4px 20px rgba(255, 91, 0, 0.1);
}

.metric-tile__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.metric-tile__icon {
    width: 14px;
    height: 14px;
    color: var(--color-orange);
}

.metric-tile__label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-tile__value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.metric-tile__subtext {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.cases__side-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-card--small {
    background-color: white;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cases__footer {
    margin-top: 60px;
    text-align: center;
}

.cases__view-all {
    display: none;
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.case-card--small {
    background-color: white;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.case-card--small:hover {
    transform: translateY(-5px);
    border-color: var(--color-orange);
}

.case-card__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    width: fit-content;
}

.case-card__tag--orange {
    background-color: rgba(255, 91, 0, 0.1);
    color: var(--color-orange);
}

.case-card__tag--navy {
    background-color: rgba(10, 15, 44, 0.1);
    color: var(--color-navy);
}

.case-card__small-title {
    font-size: 1.25rem;
    color: var(--color-navy);
    line-height: 1.4;
}

.case-card__small-desc {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.case-card__link {
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
}

.cases__footer {
    text-align: center;
}

.cases__view-all {
    color: var(--color-gray-600);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.cases__view-all:hover {
    color: var(--color-navy);
}

/* ═══════════════════════════════════════════ LEAD MAGNET ══════════════════ */
.lead-magnet {
    background: var(--gradient-navy);
    padding: 80px 0;
    border-top: 2px solid var(--color-orange);
    color: white;
    position: relative;
    overflow: hidden;
}

.lead-magnet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 91, 0, 0.05), transparent);
    pointer-events: none;
}

.lead-magnet__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.lead-magnet__grid {
    display: grid;
    grid-template-columns: 52% 40%;
    gap: 8%;
    align-items: center;
}

.lead-magnet__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.lead-magnet__headline {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead-magnet__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.lead-magnet__trust {
    display: flex;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item__icon {
    width: 16px;
    height: 16px;
    color: var(--color-orange);
}

.lead-magnet__form-area {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.lead-magnet__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-magnet__input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 22px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lead-magnet__input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-orange);
    box-shadow: 0 0 20px rgba(255, 91, 0, 0.1);
}

.lead-magnet__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.lead-magnet__btn {
    width: 100%;
    background-color: var(--color-orange);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 91, 0, 0.2);
}

.lead-magnet__btn:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 91, 0, 0.3);
}

.lead-magnet__disclaimer {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 16px;
}

/* ═══════════════════════════════════════════ PRICING ══════════════════════ */
.pricing {
    padding: var(--space-xl) 0;
}

.pricing__header {
    max-width: var(--container-width);
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
    text-align: center;
}

.pricing__title {
    font-size: 3.5rem;
}

.pricing__grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: stretch; /* Desktop equal height */
}

.pricing__nav-mobile {
    display: none; /* Desktop hidden */
}

.pricing-card {
    padding: var(--space-lg);
    border: 1px solid var(--color-gray-200);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
}

.pricing-card--featured {
    background: radial-gradient(circle at top right, #1d244a 0%, #161c3d 100%);
    color: white;
    position: relative;
    transform: scale(1.05);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    background-color: var(--color-orange);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card__name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card__desc {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.pricing-card--featured .pricing-card__desc {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card__price {
    margin-bottom: 2.5rem;
}

.pricing-card__amount {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pricing-card__period {
    font-size: 1rem;
    opacity: 0.6;
}

.pricing-card__features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card__features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: 700;
}

/* ═══════════════════════════════════════════ CTA ═══════════════════════════════════════════ */
.cta {
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.cta__title {
    font-size: 4.5rem;
    line-height: 0.95;
    margin-bottom: var(--space-sm);
    color: var(--color-navy);
}

.cta__text {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
}

/* ═══════════════════════════════════════════ FOOTER ═══════════════════════════════════════════ */
.footer {
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__tagline {
    margin-top: 1rem;
    color: var(--color-text-muted);
    max-width: 280px;
}

.footer__heading {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: var(--color-text-muted);
}

.footer__links a:hover {
    color: white;
}

.footer__bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

/* ═══════════════════════════════════════════ RESPONSIVENESS ═══════════════════════════════════════════ */

/* Mobile Navigation Overlay Styles */
.nav__links--mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-navy);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
}

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

.nav__links--mobile .nav__link {
    font-size: 1.75rem;
    font-weight: 500;
}

.nav__links--mobile .nav__cta {
    display: flex !important;
    font-size: 1.25rem;
    margin-top: 1rem;
}

@media (max-width: 1200px) {
    :root {
        --container-width: 1100px;
    }
    .hero__headline { font-size: 4rem; }
    .origin__grid { gap: 60px; }
}

@media (max-width: 1024px) {
    :root {
        --space-xl: 6rem;
    }

    .hero__grid { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 4rem;
    }
    .hero__content { max-width: 800px; margin: 0 auto; }
    .hero__headline { font-size: 3.5rem; }
    .hero__actions { justify-content: center; }
    .hero__visual { max-width: 700px; margin: 0 auto; }

    .origin__grid { 
        gap: 2rem;
    }
    .origin__body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .origin__image-wrap { opacity: 0.08; }
    .origin__pullquote { 
        margin-top: 0; 
        max-width: 100%;
        padding: 2rem;
    }

    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .pricing__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .pricing-card--featured { transform: none; }
}

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

    .nav__inner { padding: 0 1.5rem; }
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: flex; z-index: 1002; }

    /* Burger Active State Animation */
    .nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .nav__burger.active span:nth-child(2) { opacity: 0; }
    .nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 120px 0 60px; }
    .hero__headline { font-size: 2.75rem; }
    .hero__subhead { font-size: 1.15rem; }

    .stats__inner { 
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 40px 0;
    }
    .stats__divider { display: none; }

    .origin { padding: 80px 0; }
    .origin__title { font-size: 2.5rem; }
    .ui-tag { font-size: 0.65rem; padding: 0.4rem 0.8rem; }
    
    .features__grid { grid-template-columns: 1fr; }
    
    /* Pricing Mobile Navigation Styles */
    .pricing__nav-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .pricing__nav-btn {
        background: none;
        border: 1px solid var(--color-gray-200);
        color: var(--color-navy);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.2s ease;
    }

    .pricing__nav-btn:hover {
        border-color: var(--color-orange);
        color: var(--color-orange);
    }

    .pricing__indicators {
        display: flex;
        gap: 0.5rem;
    }

    .pricing__indicator {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: var(--color-gray-200);
        transition: all 0.3s ease;
    }

    .pricing__indicator.active {
        background-color: var(--color-orange);
        width: 18px;
        border-radius: 3px;
    }

    /* Pricing Carousel for Mobile */
    .pricing__grid { 
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 2rem 10vw 4rem;
        gap: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        align-items: stretch;
    }

    .pricing__grid::-webkit-scrollbar { display: none; }

    .pricing-card {
        min-width: 80vw;
        height: auto;
        scroll-snap-align: center;
        opacity: 0.3;
        transform: scale(0.9);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin-bottom: 0;
        background: white;
        display: flex;
        flex-direction: column;
    }

    .pricing-card.active {
        opacity: 1;
        transform: scale(1.05);
        z-index: 2;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .pricing-card--featured {
        background: radial-gradient(circle at top right, #1d244a 0%, #161c3d 100%);
    }

    .pricing-card.active {
        opacity: 1;
        transform: scale(1.05);
        z-index: 2;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .pricing-card--featured.active {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }
    
    .testimonials__title { font-size: 2.25rem; }
    .testimonial-card { padding: 2rem; min-height: auto; }
    .testimonial-card__text { font-size: 1.25rem; }

    .cta { padding: 100px 0; }
    .cta__title { 
        font-size: 2.5rem; 
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    .cta__text {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    .btn--large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .footer__grid { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
    .footer__brand { display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
    .footer__tagline { margin: 1rem auto 0; }
    .footer__bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding-bottom: 2rem;
    }
    .footer__legal {
        justify-content: center;
        gap: 1.5rem;
    }
    .stats__item { width: 100%; }

    /* Origin Section Mobile Refinement */
    .origin { padding: 80px 0; }
    .origin__title { 
        font-size: 2.25rem; 
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    .origin__text p {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #334155;
    }
    .origin__pullquote blockquote {
        font-size: 1.15rem;
        line-height: 1.5;
    }
    .cases { padding: 80px 0; }
    .cases__title { font-size: 2.25rem; }
    .cases__grid-wrapper { grid-template-columns: 1fr; }
    .case-card--featured { padding: 32px 24px; }
    .case-card__headline { font-size: 1.75rem; }
    .case-card__metrics-grid { grid-template-columns: 1fr; }
    .metric-tile { padding: 16px; }
    
    .lead-magnet__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .lead-magnet__eyebrow { justify-content: center; }
    .lead-magnet__trust { justify-content: center; flex-wrap: wrap; }
    
    .process { padding: 80px 0; }
    .process__title { font-size: 2.25rem; }
    .process__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .process-card { padding: 24px; }
    
    .process__actions, .cases__footer {
        padding: 0 var(--space-md);
        display: flex;
        justify-content: center;
    }

    .process__actions .btn, .cases__footer .btn {
        width: 100%;
        max-width: 400px;
    }
    
    .ui-tag {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__headline { font-size: 2.25rem; }
    .hero__actions { flex-direction: column; width: 100%; gap: 1rem; }
    .btn { width: 100%; text-align: center; }
    
    .section-label { font-size: 0.75rem; }
    .pricing-card__amount { font-size: 3rem; }
    .pricing-card { padding: 2rem 1.5rem; }
}
