/* =========================================
   HOMEPAGE REDESIGN v4.0 — COHESIVE SYSTEM
   Solvetaa: Deep Navy • Teal • Off-white • Soft Grey
   No random colors • No neon • No heavy gradients
   ========================================= */

:root {
    /* PRIMARY — Deep Navy (trust, depth, systems) */
    --color-navy-deep: #1e293b;
    --color-navy-light: #334155;
    --color-bg-panel: #1e293b;

    /* ACTION — Teal / Aqua (clarity, intelligence) */
    --color-teal: #14b8a6;
    --color-teal-dim: #0d9488;
    --color-teal-neon: #2dd4bf;

    /* BREATHING SPACE — Off-white & Soft Grey */
    --color-off-white: #f8fafc;
    --color-soft-grey: #64748b;
    --color-divider: #e2e8f0;

    /* TEXT — High contrast only */
    --color-text-body: #94a3b8;
    --color-text-heading: #f8fafc;
    --color-text-dark: #1e293b;

    /* Animation */
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* GLOBAL MOTION — Slow, calm, intentional (8–25s) */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(20, 184, 166, 0.15);
    }

    50% {
        box-shadow: 0 0 20px rgba(20, 184, 166, 0.25);
    }
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fade-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flow-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 0;
    }
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: translate(4px, -4px);
        opacity: 0.6;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- 1. HERO SLIDER — Dark navy base, teal highlights --- */
.hero-slider {
    position: relative;
    padding: calc(76px + 8rem) 0 140px;
    background: var(--color-navy-deep);
    color: var(--color-text-heading);
    overflow: hidden;
}

.hero-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(180deg, rgba(30, 41, 59, 0.97) 0%, #0f172a 100%),
        linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
    opacity: 1;
}

.hero-slider-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero_bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-slider-track {
    position: relative;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slide-content {
    position: relative;
    text-align: left;
}

.hero-slide-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--color-text-heading);
    -webkit-text-fill-color: var(--color-text-heading);
}

.text-highlight {
    color: var(--color-teal);
    -webkit-text-fill-color: var(--color-teal);
}

.hero-slide-subhead {
    font-size: 1.25rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-slide-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.btn-hero-primary {
    background: var(--color-teal);
    color: var(--color-navy-deep);
    border: none;
    box-shadow: 0 2px 12px rgba(20, 184, 166, 0.3);
}

.btn-hero-primary:hover {
    background: var(--color-teal-neon);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(20, 184, 166, 0.4);
}

.btn-hero-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--color-text-heading);
}

.btn-hero-outline:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    background: rgba(20, 184, 166, 0.08);
}

.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.hero-progress-bar {
    display: block;
    height: 100%;
    background: var(--color-teal);
    transition: width 0.1s linear;
}

.hero-scroll-indicate {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.7;
}

/* Hero responsive */
@media (max-width: 1024px) {
    .hero-slide-content {
        text-align: center;
    }
    .hero-slide-subhead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slide-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        padding: 140px 0 100px;
    }
    .hero-slide-content {
        text-align: center;
    }
    .hero-slide-headline {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .hero-slide-subhead {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero {
        width: 100%;
        max-width: 280px;
    }
}

.footer-bottom-text {
    display: flex;
    flex-direction: column;
}

.copyright {
    color: var(--color-soft-grey);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer-subtitle {
    color: var(--color-teal-dim);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    opacity: 0;
    animation: fade-slide-up 0.8s var(--ease-smooth) forwards 0.5s;
}

.btn-pill {
    position: relative;
    border-radius: 99px;
    padding: 1.2rem 3rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-elastic);
    overflow: hidden;
}

.btn-primary-v2 {
    background: var(--color-teal);
    color: var(--color-navy-deep);
    border: none;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.25);
}

.btn-primary-v2:hover {
    transform: translateY(-2px);
    background: var(--color-teal-neon);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-outline-v2 {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-heading);
}

.btn-outline-v2:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    background: rgba(20, 184, 166, 0.06);
}

/* --- 2. PROBLEM — Off-white, soft grey + teal SVG, white cards --- */
.problem-section-v2 {
    padding: 140px 0;
    background: var(--color-off-white);
    position: relative;
    overflow: hidden;
}

.problem-section-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url('../images/friction_bg.svg'),
        linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px);
    background-size: cover, 80px 80px, 80px 80px;
    background-position: center, 0 0, 0 0;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

.problem-section-v2 .container {
    position: relative;
    z-index: 2;
}

.problem-section-v2 .section-title,
.problem-section-v2 .text-uppercase {
    color: var(--color-text-dark);
}

/* Split Layout Grid */
.problem-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.problem-info {
    position: sticky;
    top: 120px;
    padding-right: 2rem;
}

.accent-line-vertical {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-teal), transparent);
    margin-bottom: 2rem;
}

.problem-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    max-width: 480px;
}

.text-secondary {
    color: var(--color-soft-grey) !important;
}

.problem-info {
    position: sticky;
    top: 120px;
    padding-right: 2rem;
}

.accent-line-vertical {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-teal), transparent);
    margin-bottom: 2rem;
}

.problem-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    max-width: 480px;
}

/* Staggered Cards Layout */
.problem-cards-staggered {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-card-v2 {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--color-divider);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
}

.card-dominant {
    background: #fff;
    border-color: rgba(20, 184, 166, 0.25);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08);
    transform: translateX(-2rem);
    z-index: 3;
}

/* Stagger Effect (Desktop) */
@media (min-width: 1024px) {
    .problem-cards-staggered>div:nth-child(1) {
        margin-right: 2rem;
    }

    .problem-cards-staggered>div:nth-child(3) {
        margin-right: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .problem-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .problem-info {
        position: static;
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .problem-lead {
        margin: 0 auto;
    }

    .card-dominant {
        transform: none;
    }

    .problem-cards-staggered>div {
        margin: 0 !important;
    }
}

.problem-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(20, 184, 166, 0.3);
}

.card-icon-anim {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    color: var(--color-navy-deep);
    transition: color 0.3s;
}

.problem-card-v2:hover .card-icon-anim {
    color: var(--color-teal);
}

/* --- 3. SYSTEM — Dark navy, white text only, teal for active step --- */
.system-section-v2 {
    padding: 140px 0;
    background: var(--color-navy-deep);
    position: relative;
    color: var(--color-text-heading);
}

.system-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 85%);
    pointer-events: none;
}

.system-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

/* Force white text for System Section specifically */
.system-section-v2 .section-title {
    color: #FFFFFF !important;
}

.system-section-v2 .section-lead,
.system-section-v2 .text-muted {
    color: var(--color-text-body) !important;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.badge-pill-teal {
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-teal);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

/* Diagram Wrapper */
.system-diagram-wrapper {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 6rem;
}

/* SVG Connector Layer */
.flow-connector-layer {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    /* Adjust height based on curve */
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.connector-path {
    fill: none;
    stroke: var(--color-teal);
    stroke-width: 1.5;
    stroke-dasharray: 8;
    opacity: 0.25;
    animation: flowDash 20s linear infinite;
}

@keyframes flowDash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Process Grid (Timeline) */
.system-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* System Card V3 */
.system-card-v3 {
    background: rgba(30, 41, 59, 0.6);
    /* Glassy Navy */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    /* Start slightly down for scroll reveal */
}

.system-card-v3:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-indicator {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-navy-light);
    color: var(--color-text-body);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-heading);
    transition: all 0.3s;
}

.system-card-v3:hover .card-icon-box {
    background: rgba(20, 184, 166, 0.12);
    color: var(--color-teal);
    transform: scale(1.05);
}

.system-card-v3 h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    /* High contrast White */
    font-weight: 700;
}

.system-card-v3 p {
    font-size: 0.9rem;
    color: #E2E8F0;
    /* Soft Blue-White */
    line-height: 1.5;
    margin-bottom: 0;
}

/* Dominant Output Card — teal for active step only */
.card-dominant-teal {
    border-color: rgba(20, 184, 166, 0.35);
    background: rgba(20, 184, 166, 0.08);
}

.card-dominant-teal .card-icon-box {
    background: var(--color-teal);
    color: var(--color-navy-deep);
    box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.2);
}

.card-dominant-teal:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Comparison Grid V3 */
.comparison-grid-v3 {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
}

.comp-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-header-row h5 {
    width: 45%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #F1F5F9;
    /* Bright White-Grey */
}

.vs-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comp-content-row {
    display: flex;
    gap: 4rem;
}

.comp-side {
    flex: 1;
}

.comp-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--color-text-body);
    font-size: 1rem;
    font-weight: 500;
}

.icon-x,
.icon-data,
.icon-hero {
    color: #b91c1c;
    font-weight: 800;
}

.icon-check {
    color: var(--color-teal);
    font-weight: 800;
}

.comp-header-row .text-teal {
    color: var(--color-teal);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .system-process-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 3rem;
    }

    .system-card-v3 {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .step-indicator {
        position: static;
        transform: none;
        order: -1;
    }

    .card-icon-box {
        margin: 0;
        width: 48px;
        height: 48px;
    }

    .flow-connector-layer {
        display: none;
        /* Hide curve on mobile */
    }

    /* Add vertical connect line instead */
    .system-process-grid::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 2rem;
        /* Align with indicators roughly */
        width: 2px;
        background: rgba(255, 255, 255, 0.1);
        z-index: -1;
        display: block;
        /* Show on mobile */
    }

    /* Fix comparison layout */
    .comp-content-row {
        flex-direction: column;
        gap: 2rem;
    }

    .comp-header-row {
        display: none;
        /* Hide split header, use inline logic if needed or simplify */
    }

    /* Add internal headers for mobile comparison if needed, or rely on context */
}

/* Re-hide vertical line on desktop */
@media (min-width: 901px) {
    .system-process-grid::after {
        display: none;
    }
}

/* --- 4. SERVICES — Neutral light, soft borders, teal icons --- */
.services-section-v2 {
    padding: 140px 0;
    background: var(--color-off-white);
    position: relative;
    overflow: hidden;
}

.services-bg-layer {
    position: absolute;
    inset: 0;
    background-image:
        url('../images/services_mesh.svg'),
        linear-gradient(rgba(20, 184, 166, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.02) 1px, transparent 1px);
    background-size: cover, 100px 100px, 100px 100px;
    background-position: center, 0 0, 0 0;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.badge-pill-navy {
    background: rgba(30, 41, 59, 0.06);
    color: var(--color-navy-deep);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--color-divider);
}

.services-section-v2 .section-title {
    color: var(--color-text-dark);
}

.services-section-v2 .section-lead,
.services-section-v2 .text-muted {
    color: var(--color-soft-grey);
}

.services-grid-v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card-v3 {
    background: #fff;
    border: 1px solid var(--color-divider);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
}

.service-card-v3:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    border-color: rgba(20, 184, 166, 0.25);
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(20, 184, 166, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    transition: all 0.3s;
}

.service-card-v3:hover .service-icon-box {
    background: var(--color-teal);
    color: #fff;
    transform: scale(1.05);
}

.service-card-v3 h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy-deep);
    margin: 0;
}

.service-card-v3 p {
    color: var(--color-soft-grey);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.service-pill {
    background: var(--color-off-white);
    color: var(--color-soft-grey);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--color-divider);
    letter-spacing: 0.02em;
}

.arrow-link {
    color: var(--color-teal);
    font-weight: 700;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.service-card-v3:hover .arrow-link {
    opacity: 1;
    transform: translateX(0);
}

.btn-text-only {
    color: var(--color-navy-deep);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-text-only:hover {
    background: rgba(20, 184, 166, 0.06);
    color: var(--color-teal-dim);
}

.btn-text-only .arrow {
    transition: transform 0.2s;
}

.btn-text-only:hover .arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid-v3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card-v3 {
        padding: 2rem;
    }

    .arrow-link {
        opacity: 1;
        transform: none;
        color: var(--color-soft-grey);
        font-size: 1rem;
    }
}

/* --- 5. STATS / TRUST — Dark background, white numbers, teal separators --- */
.trust-section-v3 {
    padding: 120px 0;
    background: var(--color-navy-deep);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(20, 184, 166, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.trust-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.stats-rail-glass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0 4rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Stat Item */
.stat-item-glass {
    padding: 3rem 2rem;
    text-align: center;
    flex: 1;
    position: relative;
    transition: all 0.3s;
}

.stat-number-v3 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-text-heading);
    -webkit-text-fill-color: var(--color-text-heading);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--color-text-body);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(20, 184, 166, 0.35), transparent);
}

.stat-item-glass:hover .stat-number-v3 {
    color: var(--color-teal);
    -webkit-text-fill-color: var(--color-teal);
    transform: scale(1.03);
    transition: transform 0.3s;
}

.stat-item-glass:hover .stat-label {
    color: var(--color-teal);
}

.shine-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s;
}

.stat-item-glass:hover .shine-border {
    opacity: 1;
    animation: shineSlide 1.5s infinite;
}

@keyframes shineSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .stats-rail-glass {
        flex-direction: column;
        padding: 2rem;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .stat-item-glass {
        width: 100%;
        background: rgba(30, 41, 59, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        margin-bottom: 1rem;
        backdrop-filter: blur(12px);
    }

    .stat-divider {
        display: none;
    }
}

/* =========================================
   7. CONSULTATION SECTION (ANIMATED)
   ========================================= */

.consultation-section {
    padding: 140px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.consultation-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(var(--color-teal) 1px, transparent 1px),
        radial-gradient(var(--color-navy-light) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.05;
    pointer-events: none;
}

.consultation-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Left: Content */
.consultation-content {
    max-width: 500px;
}

.consultation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 41, 59, 0.05);
    color: var(--color-navy-deep);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    border: 1px solid rgba(30, 41, 59, 0.1);
}

.consultation-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-navy-deep);
    margin-bottom: 1.5rem;
}

.consultation-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-soft-grey);
    margin-bottom: 3rem;
    max-width: 450px;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border-radius: 99px;
    padding: 0.5rem;
    padding-right: 2rem;
    background: var(--color-navy-deep);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(30, 41, 59, 0.3);
}

.btn-icon-circle {
    width: 48px;
    height: 48px;
    background: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy-deep);
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.consultation-btn span {
    font-weight: 600;
    font-size: 1.05rem;
}

.consultation-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(30, 41, 59, 0.4);
    background: #0f172a;
}

.consultation-btn:hover .btn-icon-circle {
    transform: scale(1.1) rotate(45deg);
    background: var(--color-teal-neon);
}

/* Right: Animation Stage */
.consultation-stage {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG Character Styles */
.svg-character {
    width: 100%;
    height: auto;
    max-height: 450px;
    overflow: visible;
}

/* Character Animations */
.anim-float {
    animation: float 6s ease-in-out infinite;
}

.anim-blink {
    animation: blink 4s infinite;
}

@keyframes blink {

    0%,
    45%,
    55%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.1);
    }
}

.anim-arm-wave {
    animation: wave 3s ease-in-out infinite;
    transform-origin: 200px 250px;
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

/* Message Bubble */
.consult-bubble {
    opacity: 0;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bubble-delay-1 {
    animation-delay: 1s;
}

.bubble-delay-2 {
    animation-delay: 3.5s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Tablet & Mobile */
@media (max-width: 1024px) {
    .consultation-split {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .consultation-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .consultation-stage {
        height: 400px;
        order: -1;
        /* Visual first on mobile */
    }

    .consultation-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .consult-bubble text {
        font-size: 14px;
        /* Slightly larger text on mobile SVGs */
    }
}

/* =========================================
   FINAL CTA PREMIUM - SPLIT LAYOUT
   ========================================= */

.final-cta-premium {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-navy-deep) 0%, #0f172a 100%);
    overflow: hidden;
}

/* Top & Bottom Dividers */
.cta-top-divider,
.cta-bottom-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.35), transparent);
}

.cta-top-divider {
    top: 0;
}

.cta-bottom-divider {
    bottom: 0;
}

/* Background Pattern */
.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Split Layout */
.cta-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side: Content */
.cta-content-side {
    max-width: 600px;
}

.cta-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-heading);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-supporting-text {
    font-size: 1.25rem;
    color: var(--color-text-body);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-body);
    font-size: 1rem;
}

.cta-benefits li svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

.cta-benefits li span {
    color: var(--color-text-body);
}

/* Right Side: CTA Card */
.cta-card-side {
    display: flex;
    justify-content: flex-end;
}

.cta-action-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.cta-card-header {
    margin-bottom: 2rem;
    text-align: center;
}

.cta-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 0.5rem;
}

.cta-card-subtitle {
    font-size: 1rem;
    color: var(--color-text-body);
}

/* Buttons Group */
.cta-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: var(--color-teal);
    color: var(--color-navy-deep);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.25);
}

.cta-primary-btn:hover {
    background: var(--color-teal-neon);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.cta-primary-btn svg {
    transition: transform 0.3s ease;
}

.cta-primary-btn:hover svg {
    transform: translateX(4px);
}

.cta-secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-heading);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-secondary-btn svg {
    color: #25d366;
}

/* Trust Indicator */
.cta-trust-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-body);
    font-size: 0.875rem;
}

.cta-trust-indicator svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .cta-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-card-side {
        justify-content: center;
    }

    .cta-action-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .final-cta-premium {
        padding: 5rem 0;
    }

    .cta-headline {
        font-size: 2.5rem;
    }

    .cta-supporting-text {
        font-size: 1.125rem;
    }

    .cta-action-card {
        padding: 2rem;
    }

    .cta-card-title {
        font-size: 1.5rem;
    }

    .cta-buttons-group {
        gap: 0.875rem;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}