/* ═══════════════════════════════════════════════════════
   GLOBAL VARIABLES & DESIGN TOKENS
   ═══════════════════════════════════════════════════════ */
:root {
    /* Colors derived from presentation */
    --bg-dark: #020b16;
    /* Deep navy background */
    --bg-card: #081628;
    /* Slightly lighter navy for cards */
    --bg-card-hover: #0c1f38;

    --accent-cyan: #3CE0C3;
    /* Bright glowing cyan */
    --accent-cyan-dim: rgba(60, 224, 195, 0.2);
    --accent-blue: #235de6;
    /* Deep blue line accents */
    --accent-red: #2a1a1f;
    /* Muted red for "bad" comparison */

    --text-main: #ffffff;
    --text-muted: #8ea0b7;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --nav-height: 80px;
    --section-y: 20px;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glow-cyan: 0 0 20px rgba(60, 224, 195, 0.3), 0 0 40px rgba(60, 224, 195, 0.1);
    --glow-cyan-strong: 0 0 30px rgba(60, 224, 195, 0.5), 0 0 60px rgba(60, 224, 195, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Subtle grid background to match presentation aesthetic */
    background-image:
        linear-gradient(rgba(35, 93, 230, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 93, 230, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.relative {
    position: relative;
}

.font-semibold {
    font-weight: 600;
}

.w-full {
    width: 100%;
}

/* Typography Accents */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn--primary {
    background-color: transparent;
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--accent-cyan);
    opacity: 0.1;
    transition: var(--transition);
}

.btn--primary:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: var(--glow-cyan-strong);
}

.btn--primary:hover::before {
    opacity: 0;
}

.btn--secondary {
    background-color: var(--bg-card);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
    background: rgba(2, 11, 22, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(35, 93, 230, 0.2);
    transition: var(--transition);
}

.nav__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav__brand:hover {
    opacity: 0.8;
}

.nav__logo-img {
    height: 40px;
    /* Adjust to fit the nav bar height (80px) nicely */
    width: auto;
    object-fit: contain;
    display: block;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
}

.nav__links a:hover {
    color: white;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan);
    transition: var(--transition);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 8px 20px;
    border-radius: 4px;
}

.nav__cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

/* ═══════════════════════════════════════════════════════
   GENERAL SECTION
   ═══════════════════════════════════════════════════════ */
.section {
    padding: var(--section-y) 0;
    position: relative;
    scroll-margin-top: var(--nav-height);
}

.section__header {
    margin-bottom: 20px;
}

.section__title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section__desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.hero__glow--1 {
    top: 20%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: rgba(35, 93, 230, 0.3);
    /* Blue glow */
}

.hero__glow--2 {
    bottom: 10%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: rgba(60, 224, 195, 0.15);
    /* Cyan glow */
}

/* Floating Geometric Shapes */
.hero__shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero__shape--1 {
    width: 140px;
    height: 160px;
    top: 25%;
    left: 8%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, rgba(60, 224, 195, 0.04), transparent);
    animation: floatShape 18s linear infinite;
}

.hero__shape--2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 5%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(35, 93, 230, 0.04), transparent);
    animation: floatShapeReverse 22s linear infinite;
}

.hero__shape--3 {
    width: 80px;
    height: 80px;
    top: 65%;
    left: 75%;
    transform: rotate(45deg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    animation: floatShape 25s linear infinite reverse;
}

@keyframes floatShape {
    0% {
        translate: 0 0;
        rotate: 0deg;
    }

    50% {
        translate: 0 -40px;
        rotate: 180deg;
    }

    100% {
        translate: 0 0;
        rotate: 360deg;
    }
}

@keyframes floatShapeReverse {
    0% {
        translate: 0 0;
        rotate: 0deg;
    }

    50% {
        translate: 0 40px;
        rotate: -180deg;
    }

    100% {
        translate: 0 0;
        rotate: -360deg;
    }
}

.hero__content {
    max-width: 900px;
    padding: 0 24px;
    z-index: 2;
    animation: fadeUp 1s ease forwards;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(60, 224, 195, 0.1);
    border: 1px solid rgba(60, 224, 195, 0.3);
    border-radius: 30px;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    animation: badgeFloatIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, continuousBadgeFloat 4s ease-in-out 1s infinite alternate;
    cursor: default;
}

.hero__badge:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(60, 224, 195, 0.2);
    animation-play-state: paused;
}

@keyframes badgeFloatIn {
    0% {
        opacity: 0;
        translate: 0 20px;
    }

    100% {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes continuousBadgeFloat {
    0% {
        translate: 0 0;
    }

    100% {
        translate: 0 -8px;
    }
}

.hero__title {
    font-size: clamp(3rem, 5vw, 5rem);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero__support {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-muted);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════
   CHALLENGE (Full Transformation)
   ═══════════════════════════════════════════════════════ */
.challenge {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(60, 224, 195, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    position: relative;
    padding: 40px 0;
    /* Generous top and bottom padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.challenge__header {
    margin-bottom: 30px;
}

.challenge__header .section__desc {
    color: var(--text-muted);
    font-weight: 500;
}

.challenge__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    letter-spacing: -0.03em;
    color: #ffffff;
    /* Light text */
    margin-bottom: 20px;
}

.challenge__diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.challenge__col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    z-index: 2;
}

/* Tablet (stack cards above and below loop) */
@media (max-width: 1024px) {
    .challenge__diagram {
        flex-direction: column;
        gap: 60px;
    }

    .challenge__col--left {
        order: 1;
        flex-direction: row;
        width: 100%;
    }

    .challenge__center {
        order: 2;
        margin: 30px 0;
    }

    .challenge__col--right {
        order: 3;
        flex-direction: row;
        width: 100%;
    }

    .card-connector {
        display: none !important;
    }
}

/* Mobile (single column, loop first, then cards stacked) */
@media (max-width: 768px) {

    .challenge__col--left,
    .challenge__col--right {
        flex-direction: column;
    }

    .challenge__center {
        order: 1;
        margin-bottom: 40px;
    }

    .challenge__col--left {
        order: 2;
    }

    .challenge__col--right {
        order: 3;
    }
}

.challenge__card {
    background: #101a26;
    /* Dark navy/charcoal consistent with brand */
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(60, 224, 195, 0.03);
    padding: 32px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: visible;
}

/* Connectors */
.card-connector {
    position: absolute;
    width: 60px;
    height: 80px;
    border: 2px solid var(--accent-cyan);
    opacity: 0.6;
    display: none;
    /* Desktop only */
    z-index: -1;
    filter: drop-shadow(0 0 5px var(--accent-cyan));
    animation: curvePulse 2s infinite alternate;
}

@keyframes curvePulse {
    0% {
        opacity: 0.3;
        filter: drop-shadow(0 0 2px var(--accent-cyan));
    }

    100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 8px var(--accent-cyan));
    }
}

@media (min-width: 1025px) {
    .card-connector {
        display: block;
    }
}

/* Top Left Curve */
.challenge__col--left .challenge__card:first-child .card-connector {
    right: -40px;
    top: 50%;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 40px;
}

/* Bottom Left Curve */
.challenge__col--left .challenge__card:last-child .card-connector {
    right: -40px;
    bottom: 50%;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 40px;
}

/* Top Right Curve */
.challenge__col--right .challenge__card:first-child .card-connector {
    left: -40px;
    top: 50%;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 40px;
}

/* Bottom Right Curve */
.challenge__col--right .challenge__card:last-child .card-connector {
    left: -40px;
    bottom: 50%;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 40px;
}

.challenge__card:hover {
    transform: translateY(-5px);
    background: #142233;
    border-color: rgba(60, 224, 195, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 25px rgba(60, 224, 195, 0.2);
}

.challenge__card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.challenge__icon {
    width: 48px;
    height: 48px;
    background: transparent;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.challenge__card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.challenge__card-desc {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Center Loop */
.challenge__center {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.challenge__center-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.challenge__loop {
    position: relative;
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loop-circle {
    position: absolute;
    width: 170px;
    height: 170px;
}

.loop-circle--left {
    left: 0px;
}

.loop-circle--right {
    right: 0px;
}

.loop-arrow {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(60, 224, 195, 0.3));
}

.loop-arrow path {
    animation: rotateLoop 6s linear infinite;
    transform-origin: center;
}

/* Make right cycle go anticlockwise */
.loop-circle--right .loop-arrow path {
    animation-direction: reverse;
}

@keyframes rotateLoop {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loop-center-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    background: #f4f7fa;
    /* Match section background */
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 25px rgba(60, 224, 195, 0.5), inset 0 0 15px rgba(60, 224, 195, 0.2);
    color: #020b16;
    /* inside path colors */
}

/* ═══════════════════════════════════════════════════════
   SOLUTION (SCALE Framework)
   ═══════════════════════════════════════════════════════ */
.solution {
    position: relative;
}

.scale-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    position: relative;
}

/* The connecting line */
.scale-timeline::before {
    content: '';
    position: absolute;
    top: 110px;
    /* Aligned with circles */
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(35, 93, 230, 0.3);
    z-index: 1;
}

.scale-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    margin: 0 10px;
    position: relative;
    z-index: 2;
    background: rgba(12, 21, 36, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 2px 15px rgba(255, 255, 255, 0.02);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.scale-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.6), inset 0 2px 20px rgba(60, 224, 195, 0.1);
    border-color: rgba(60, 224, 195, 0.2);
}

.scale-icon-float {
    color: var(--accent-cyan);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBob 2.5s ease-in-out infinite alternate;
}

@keyframes iconBob {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

.scale-letter {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    box-shadow: inset 0 0 20px rgba(60, 224, 195, 0.2), 0 0 10px rgba(60, 224, 195, 0.1);
    margin-bottom: 20px;
    transition: var(--transition);
}

.scale-step:hover .scale-letter {
    background: rgba(60, 224, 195, 0.1);
    box-shadow: inset 0 0 20px rgba(60, 224, 195, 0.5), 0 0 30px rgba(60, 224, 195, 0.3);
    transform: scale(1.1);
}

.scale-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.scale-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════ */
.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 30px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    /* slight rounding update for modern feel */
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    animation: teamFloat 7s ease-in-out infinite alternate;
}

.team-card.animate-on-scroll.is-visible {
    /* Retain fast hover response after scroll entrance is completed */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Organic variations so the team feels ungrounded and alive */
.team-card:nth-child(2n) {
    animation-duration: 8s;
    animation-direction: alternate-reverse;
}

.team-card:nth-child(3n) {
    animation-duration: 6.5s;
    animation-delay: -2s;
}

.team-card:nth-child(4n) {
    animation-duration: 7.5s;
    animation-delay: -4s;
}

@keyframes teamFloat {
    0% {
        translate: 0 4px;
    }

    100% {
        translate: 0 -4px;
    }
}

.team-card:hover {
    transform: scale(1.02) translateY(-8px);
    border-color: rgba(60, 224, 195, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(60, 224, 195, 0.1);
    animation-play-state: paused;
}

.team-card__img-wrap {
    width: calc(100% - 32px);
    margin: 16px auto 0;
    aspect-ratio: 1 / 1;
    /* Changed from 4/3 to prevent cropping out natural neck/shoulder lines */
    background: #0d1829;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Light frame around the photo */
    border-radius: 8px 8px 0 0;
    /* Keep top rounded, bottom merges into body or keep all rounded */
    border-radius: 12px;
    /* Smooth rounded frame */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.team-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card__img-wrap img {
    transform: scale(1.05);
}

.team-card__img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, var(--bg-card) 100%);
}

.team-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-card__name {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.team-card__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.team-card__title {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card__link:hover {
    color: white;
}

/* ═══════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════
   THE SHIFT (Surgeons)
   ═══════════════════════════════════════════════════════ */
.shift {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at center, rgba(60, 224, 195, 0.08) 0%, #000000 100%),
        linear-gradient(rgba(60, 224, 195, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60, 224, 195, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.shift__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.shift-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.shift-circuit-bg {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: calc(100% + 60px);
    pointer-events: none;
    z-index: 0;
}

.shift-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin: 0 auto 30px;
}

.shift-col {
    flex: 1;
}

.shift-col-left,
.shift-col-right {
    flex: 0 0 25%;
}

.shift-col-center {
    flex: 0 0 46%;
    padding: 0;
}

/* Left Card */
.shift-card-muted.card-img-style-left {
    background: #111a26;
    border: 1px solid rgba(60, 224, 195, 0.1);
    /* Slight hue for the outer glow boundary */
    border-radius: 12px;
    padding: 30px 20px;
    color: #8fa0b5;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
    position: relative;
    /* Soft outer glow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(60, 224, 195, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.shift-card-muted.card-img-style-left:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(60, 224, 195, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 2px 15px rgba(60, 224, 195, 0.1), 0 0 35px rgba(60, 224, 195, 0.2);
}

/* Center Dominant Text */
.shift-center-text {
    text-align: center;
    padding: 40px 30px;
    background: #0c1828;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.shift-center-text:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(60, 224, 195, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 2px 20px rgba(60, 224, 195, 0.2), 0 0 40px rgba(60, 224, 195, 0.2);
}

.shift-large-text {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

.text-cyan {
    color: var(--accent-cyan);
    white-space: normal;
}

/* Right Glowing Text */
.shift-card-glowing.card-img-style-right {
    background: #0d1e30;
    border: 2px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 0 30px rgba(60, 224, 195, 0.25), inset 0 0 20px rgba(60, 224, 195, 0.15);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.shift-card-glowing.card-img-style-right:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 2px 20px rgba(60, 224, 195, 0.3), 0 0 40px rgba(60, 224, 195, 0.4);
}

.glowing-accent-text {
    color: var(--accent-cyan);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
}

.glowing-sub-text {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Bottom Benefits matched to image */
.shift-bracket-left,
.shift-bracket-right {
    position: absolute;
    top: -10px;
    bottom: -10px;
    width: 25px;
    border: 2px solid #0f3453;
    z-index: -1;
}

.shift-bracket-left {
    left: -20px;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.shift-bracket-right {
    right: -20px;
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.shift-conn-line {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: #0f3453;
}

.shift-conn-line-left {
    right: -40px;
}

.shift-conn-line-right {
    left: -40px;
}

/* Network bridge dropping to boxes */
.shift-bridge {
    position: relative;
    height: 60px;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.bridge-stem-main {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 60px;
    background: var(--accent-cyan);
    transform: translateX(-50%);
}

.bridge-horizontal {
    position: absolute;
    left: 16.66%;
    right: 16.66%;
    top: 30px;
    height: 2px;
    background: var(--accent-cyan);
}

.bridge-stem-left {
    position: absolute;
    left: 16.66%;
    top: 30px;
    width: 2px;
    height: 30px;
    background: var(--accent-cyan);
    transform: translateX(-50%);
}

.bridge-stem-right {
    position: absolute;
    right: 16.66%;
    top: 30px;
    width: 2px;
    height: 30px;
    background: var(--accent-cyan);
    transform: translateX(50%);
    /* Flip depending on bounding edges */
}

.shift-bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

.shift-benefit-box {
    flex: 1;
    background: #0b1726;
    border: 1px solid #1a2533;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.shift-benefit-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(60, 224, 195, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 2px 15px rgba(60, 224, 195, 0.15);
}

.shift-benefit-box-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(60, 224, 195, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shift-benefit-box-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .shift-connectors {
        display: none;
    }

    .shift-main-row {
        flex-direction: column;
        gap: 40px;
    }

    .shift-bottom-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shift-col-left {
        order: 1;
    }

    .shift-col-center {
        order: 2;
        margin-bottom: 20px;
    }

    .shift-col-right {
        order: 3;
    }

    .shift-col-left,
    .shift-col-right,
    .shift-col-center {
        width: 100%;
        max-width: 600px;
        flex: auto;
    }

    .shift-circuit-bg {
        display: none;
    }
}

@media (max-width: 768px) {
    .shift-flow-pills {
        flex-direction: column;
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════════════════
   PROVEN RESULTS
   ═══════════════════════════════════════════════════════ */
.proven-results {
    background-color: var(--bg-dark);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    /* Glassmorphism base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

/* Staggered float-up effect using keyframes instead of standard transition to preserve snappy hover states */
.result-card.animate-on-scroll {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    opacity: 0;
}

.result-card.animate-on-scroll.is-visible {
    animation: resultFloatUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.result-card:nth-child(1).is-visible {
    animation-delay: 0.1s;
}

.result-card:nth-child(2).is-visible {
    animation-delay: 0.25s;
}

.result-card:nth-child(3).is-visible {
    animation-delay: 0.4s;
}

@keyframes resultFloatUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(60, 224, 195, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 2px 15px rgba(60, 224, 195, 0.15);
}

.result-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

.result-card__sector {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    min-height: 38px;
    /* Ensures Sector labels take identical box height even if wrapping */
}

.result-card__focus {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    min-height: 38px;
    /* Ensures Focus takes identical box height */
}

.result-card__metric {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    /* Slightly smaller, more responsive to prevent extra wrapping */
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(60, 224, 195, 0.1);
    min-height: 80px;
    /* Lock Metric height across 3 columns */
}

.result-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.results-logo-wrapper {
    margin-top: 50px;
}

.results-logo-img {
    height: 40px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.results-logo-img:hover {
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════
   WHY US
   ═══════════════════════════════════════════════════════ */
.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 16px;
    position: relative;
    /* Glassmorphism container */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(60, 224, 195, 0.15);
}

.comp-col {
    padding: 50px 40px;
}

.comp-col--old {
    background: rgba(0, 0, 0, 0.3);
    /* Let glassmorphism show through */
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.comp-col--new {
    background: linear-gradient(135deg, rgba(8, 22, 40, 1) 0%, rgba(2, 11, 22, 1) 100%);
    position: relative;
    /* Cyan border ring */
    box-shadow: inset 0 0 0 2px var(--accent-cyan);
    z-index: 2;
    /* Slight pop out removed to align font sizes evenly */
    border-radius: 12px;
}

.comp-col--new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: var(--glow-cyan);
    pointer-events: none;
    border-radius: 12px;
}

.comp-header {
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.comp-col--new .comp-header {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(60, 224, 195, 0.5);
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reduced gap since li has padding/margin now */
}

.comp-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    min-height: 84px;
    /* Locks point height to ensure horizontal alignment */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.comp-list--new li {
    color: white;
}

.comp-list--new li:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(60, 224, 195, 0.12);
    border-color: rgba(60, 224, 195, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(60, 224, 195, 0.1);
    z-index: 10;
}

.comp-col--old:hover .comp-list li {
    /* Optional: mute the old side when interacted with */
    opacity: 0.6;
}

.comp-col--old .comp-list li:hover {
    opacity: 1;
    /* Keep hovered old item visible, or just leave it */
}

.comp-list .icon {
    font-size: 1.2rem;
    opacity: 0.5;
}

.comp-list .check {
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════ */
.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
}

.contact__desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 48px;
}

.contact__benefits {
    list-style: none;
    padding: 0;
    margin: 48px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.4;
}

.contact__benefits .check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(2, 11, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 16px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: inset 0 0 0 1px var(--accent-cyan);
}

.form-group textarea {
    resize: vertical;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS & UTILS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

/* RESPONSIVE */
@media (max-width: 900px) {

    .challenge__grid,
    .comparison-table,
    .contact__layout {
        grid-template-columns: 1fr;
    }

    .scale-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .scale-timeline::before {
        display: none;
    }

    .nav__links {
        display: none;
        /* Add mobile menu toggle in JS if needed */
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(2, 11, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 16px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: inset 0 0 0 1px var(--accent-cyan);
}

.form-group textarea {
    resize: vertical;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-dark);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.footer__linkedin {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer__linkedin:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer__email {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.footer__email:hover {
    color: var(--accent-cyan);
}

.footer__copyright {
    color: rgba(142, 160, 183, 0.6);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer__right {
    flex: 1;
    text-align: right;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
}

@media (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer__left {
        align-items: center;
    }

    .footer__right {
        text-align: center;
    }
}

.mt-2 {
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS & UTILS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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



/* RESPONSIVE */
@media (max-width: 900px) {

    .challenge__grid,
    .comparison-table,
    .contact__layout {
        grid-template-columns: 1fr;
    }

    .scale-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .scale-timeline::before {
        display: none;
    }

    .nav__links {
        display: none;
        /* Add mobile menu toggle in JS if needed */
    }
}