/* ===============================================
   USE CASE PAGE - FLOW BASED DESIGN (Light Theme)
=============================================== */

/* Base Page Overrides for Light Theme */
body.use-case-page {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.use-case-page h1,
.use-case-page h2,
.use-case-page h3 {
    color: var(--text-primary);
}



/* SECTION CONTAINER */
.uc-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.dark-section {
    background-color: #0f172a;
    /* True dark for enterprise contrast */
    color: #f8fafc;
}

.dark-section .section-title,
.dark-section .core-box span {
    color: #f8fafc;
}

.dark-section .section-desc {
    color: #94a3b8;
}

.dark-section .uc-bullets li {
    color: #e2e8f0;
}

.light-section {
    background-color: var(--bg-secondary);
    /* Light Gray/Green Tint */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Responsive Split Layout */
.uc-split-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 60px;
    margin-bottom: clamp(60px, 8vw, 120px);
}

.uc-split-layout.reverse {
    direction: ltr;
}

@media (min-width: 1025px) {
    .uc-split-layout.reverse {
        direction: rtl;
    }

    .uc-split-layout.reverse>* {
        direction: ltr;
    }
}

/* Typography Master Scaling */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--fg-900);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
}

/* Bullets Styling */
.uc-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uc-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg-800);
}

.uc-bullets li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- HERO SECTION - MODERN CENTERED AURORA --- */
.uc-hero {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 150px;
    padding-bottom: 120px;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Aurora Background Effect */
.uc-hero::before,
.uc-hero::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    animation: auroraMove 15s infinite alternate;
    pointer-events: none;
}



@media (max-width: 768px) {

    .uc-hero::before,
    .uc-hero::after {
        width: 100vw;
        height: 100vw;
        filter: blur(60px);
    }
}

.uc-hero::before {
    background: var(--primary-color);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.uc-hero::after {
    background: #4f46e5;
    /* Violet accent for variety in light theme */
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

/* Grid overlay for texture */
.uc-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}



.uc-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

/* Text Content - Centered */
.uc-hero-text {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.uc-hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--fg-900);
    font-weight: 700;
    animation: trustedRevealUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}



.uc-subtext,
.section-desc,
.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: trustedRevealUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

.uc-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeUp 1s ease-out 0.4s backwards;
}

/* Visual - Horizontal Flow Bar */
.uc-hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: fadeUp 1.2s ease-out 0.6s backwards;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 40px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.1),
        0 18px 36px -18px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}



.flow-diagram:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(45, 90, 67, 0.2);
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.node-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 50%;
    /* Circle icons */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--fg-600);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: none;
    /* Reset box shadow */
}



.flow-node.highlight .node-icon {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 8px 16px var(--primary-shadow);
    transform: scale(1.15);
    border: none;
}

.flow-node:hover .node-icon {
    transform: scale(1.1);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(45, 90, 67, 0.15);
}

.flow-node:hover span {
    color: var(--primary-color);
}

.flow-node span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fg-800);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    padding: 0;
}



/* Animated Pulse Line connecting the dots */
.flow-arrow {
    position: relative;
    width: 60px;
    height: 2px;
    background: var(--fg-200);
    overflow: hidden;
    color: transparent;
    /* Hide font icon arrow */
    top: 0;
    animation: none;
}

/* The moving light inside the line */
.flow-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    animation: lineRun 2s infinite ease-in-out;
}

/* Animations */
@keyframes auroraMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

@keyframes trustedRevealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineRun {
    0% {
        left: -40%;
    }

    100% {
        left: 140%;
    }
}

/* ============================================================
   HERO RESPONSIVE SYSTEM (MATCHING TRUSTED-HERO)
   ============================================================ */

/* Tablet & Large Mobile (Under 992px) */
@media (max-width: 991px) {
    .uc-hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .uc-hero-text h1 {
        font-size: 2.8rem !important;
        max-width: 90%;
        margin: 0 auto 24px;
    }

    .uc-subtext {
        font-size: 1.15rem !important;
        line-height: 1.7;
        margin-bottom: 35px !important;
        max-width: 700px;
    }

    .flow-diagram {
        padding: 15px 35px;
        gap: 25px;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    .uc-hero-text h1 {
        font-size: 2.5rem !important;
    }
}

/* Portrait Mobile (Under 576px) */
@media (max-width: 575px) {
    .uc-hero {
        padding: 120px 0 60px !important;
    }

    .uc-hero-text h1 {
        font-size: 2.5rem !important;
        /* Matching trusted-hero mobile size */
        padding: 0 10px;
    }

    .uc-subtext {
        font-size: 1.1rem !important;
        line-height: 1.6;
        padding: 0 15px;
    }

    .uc-hero-actions {
        flex-direction: column !important;
        width: 100%;
        padding: 0 30px;
        gap: 12px;
    }

    .uc-hero-actions .primary-btn {
        width: 100% !important;
        max-width: 320px !important;
        text-align: center;
        justify-content: center;
    }

    /* Vertical Stack Diagram */
    .flow-diagram {
        flex-direction: column !important;
        border-radius: 25px !important;
        padding: 30px 20px !important;
        width: 85% !important;
        min-width: unset !important;
        gap: 15px !important;
    }

    .flow-arrow {
        width: 2px !important;
        height: 35px !important;
        margin: 5px auto !important;
    }

    .flow-arrow::after {
        width: 100% !important;
        height: 40% !important;
        top: -40% !important;
        left: 0 !important;
        animation: lineRunVertical 2s infinite ease-in-out !important;
    }

    .flow-node {
        flex-direction: column !important;
        gap: 8px !important;
    }
}

/* Mobile Standard (Max 425px) */
@media (max-width: 425px) {
    .uc-hero-text h1 {
        font-size: 2.2rem !important;
    }

    .uc-subtext {
        font-size: 1.05rem !important;
        margin-bottom: 25px !important;
    }

    .uc-hero-actions {
        padding: 0 20px;
    }
}

/* Small Mobile (Max 375px) */
@media (max-width: 375px) {
    .uc-hero-text h1 {
        font-size: 2rem !important;
    }

    .uc-subtext {
        font-size: 1rem !important;
    }

    .uc-hero-actions .primary-btn {
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
        white-space: normal !important;
        text-align: center;
    }
}

/* Extra Small (Max 320px) */
@media (max-width: 320px) {
    .uc-hero-text h1 {
        font-size: 1.8rem !important;
    }

    .uc-subtext {
        font-size: 0.95rem !important;
    }

    .uc-hero-actions .primary-btn {
        font-size: 0.8rem !important;
        padding: 10px 16px !important;
    }
}

/* Very Small Mobile (Max 250px) */
@media (max-width: 250px) {
    .uc-hero {
        padding: 100px 0 40px !important;
    }

    .uc-hero-text h1 {
        font-size: 1.6rem !important;
    }

    .uc-subtext {
        font-size: 0.9rem !important;
    }
}

/* Extreme Mobile (Max 180px) */
@media (max-width: 180px) {
    .uc-hero {
        padding: 80px 0 30px !important;
    }

    .uc-hero-text h1 {
        font-size: 1.4rem !important;
        margin-bottom: 5px !important;
    }

    .uc-subtext {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }

    .uc-hero-actions .primary-btn {
        font-size: 0.75rem !important;
        padding: 8px 12px !important;
        min-width: 140px;
    }
}

@keyframes lineRunVertical {
    0% {
        top: -40%;
    }

    100% {
        top: 140%;
    }
}

.center {
    text-align: center;
}

.uc-bullets,
.uc-capabilities {
    list-style: none;
    padding: 0;
}

.uc-bullets li,
.uc-capabilities li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fg-700);
}

.uc-bullets li i,
.uc-capabilities li i {
    color: var(--primary-color);
}

.uc-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
}

.uc-split-layout.reverse {
    direction: RTL;
}

.uc-split-layout.reverse>* {
    direction: LTR;
}

/* --- VISUALS --- */
.uc-visual {
    display: flex;
    justify-content: center;
}

/* RAG Visual */
.rag-visual {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    max-width: 100%;
    overflow: visible;
}



@media (max-width: 768px) {
    .rag-visual {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    .rag-inputs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .rag-connector {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .rag-engine {
        width: 100px;
        height: 100px;
        font-size: 0.9rem;
    }
}

.rag-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rag-item {
    background: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fg-800);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}



.rag-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.rag-engine {
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 10px 30px var(--primary-shadow);
}

.rag-connector {
    color: var(--fg-400);
    font-size: 24px;
}

/* GenAI Visual - Proportional Circular System */
.genai-visual {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Orbit Ring */
.genai-visual::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px dashed var(--fg-500);
    border-radius: 50%;
    animation: rotateSlow 20s linear infinite;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.core-ai {
    width: 35%;
    aspect-ratio: 1 / 1;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
    z-index: 10;
    box-shadow: 0 0 30px var(--primary-shadow);
    border: 4px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotateSlow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.gen-outputs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.gen-out {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: clamp(0.65rem, 1.8vw, 0.9rem);
    font-weight: 700;
    color: var(--fg-800);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

/* TOP */
.gen-out:nth-child(1) {
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* BOTTOM */
.gen-out:nth-child(2) {
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 50%);
}

/* LEFT */
.gen-out:nth-child(3) {
    left: 10%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* RIGHT */
.gen-out:nth-child(4) {
    right: 10%;
    top: 50%;
    transform: translate(50%, -50%);
}

/* --- Agent System Diagram: Polished & Theme Aligned --- */
.agent-system-diagram {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 3 / 2;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
}

.agent-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Central Core Theme */
.agent-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.core-box {
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: clamp(8px, 1.5vw, 12px);
    padding: clamp(10px, 2vw, 16px) clamp(15px, 3vw, 28px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    width: max-content;
}

.core-box i {
    font-size: 2rem;
    color: var(--primary-color);
}

.core-box span {
    font-weight: 800;
    color: #333;
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Peripheral Nodes - No Background */
.peripheral {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 5;
    text-align: center;
}

.peripheral i {
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.peripheral:hover i {
    transform: scale(1.1);
}

.peripheral span {
    font-size: clamp(0.55rem, 1.2vw, 0.8rem);
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Output Action Styled like screenshot but theme-aligned */
.action-btn {
    background: var(--primary-gradient);
    color: white;
    width: clamp(60px, 12vw, 85px);
    height: clamp(60px, 12vw, 85px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    padding: clamp(4px, 1vw, 8px);
    box-shadow: 0 8px 20px var(--primary-shadow);
}

/* Fluid Coordinate System based on 3:2 container */
.user-input {
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
}

.action-output {
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
}

.database {
    left: 28%;
    top: 10%;
}

.local-files {
    right: 28%;
    top: 10%;
}

.apis {
    left: 28%;
    bottom: 10%;
}

.sensors {
    right: 28%;
    bottom: 10%;
}

/* Visuals Responsiveness Master (RAG, GenAI, Agent) */
@media (max-width: 1024px) {
    .agent-system-diagram {
        /* No fixed height or scale needed now */
        margin: 40px auto;
    }
}

@media (max-width: 768px) {

    /* Agent Diagram scales fluidly */
    .agent-system-diagram {
        margin: 20px auto;
    }

    .uc-visual {
        overflow: visible;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .agent-system-diagram {
        margin: 10px auto;
    }
}

@media (max-width: 425px) {
    .agent-system-diagram {
        margin: 10px auto;
    }

    .uc-visual {
        padding: 0 10px;
    }

    .rag-item {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .gen-out {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .agent-system-diagram {
        transform: scale(0.42);
        margin: -90px auto;
        height: 200px;
    }
}

@media (max-width: 180px) {
    .agent-system-diagram {
        margin: 0px auto;
    }

    .rag-item {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .gen-out {
        padding: 5px 10px;
        font-size: 0.7rem;
        gap: 4px;
    }
}

/* --- TABS & USE CASES --- */
.use-cases-section .section-header p {
    color: var(--text-secondary);
}

.uc-tabs-wrapper {
    margin-top: 40px;
}

.uc-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.uc-tab {
    background: transparent;
    color: var(--fg-600);
    border: 1px solid var(--border-color);
    padding: 12px 30px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.uc-tab.active,
.uc-tab:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px var(--primary-shadow);
}

.uc-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.uc-tab-content.active {
    display: block;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.uc-card-modern {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-small);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.uc-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.uc-card-content {
    position: relative;
    z-index: 2;
}

.uc-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.uc-card-title {
    font-size: 2.2rem !important;
    /* Bold and Big */
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.healthcare-card .uc-list li,
.finance-card .uc-list li,
.retail-card .uc-list li,
.manufacturing-card .uc-list li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.healthcare-card .uc-flow-mini,
.finance-card .uc-flow-mini,
.retail-card .uc-flow-mini,
.manufacturing-card .uc-flow-mini {
    color: var(--primary-color) !important;
    font-weight: 800;
}

.uc-flow-mini {
    font-size: 0.75rem;
    color: var(--fg-500);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.uc-card-modern h3,
.fw-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--fg-900);
    font-weight: 700;
}

.uc-list {
    list-style: none;
    padding: 0;
}

.uc-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.uc-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Power V Diagram: The Combined Force --- */
#power-v-section {
    padding: clamp(60px, 8vw, 120px) 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.power-v-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.v-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.power-v-diagram {
    position: relative;
    width: 100%;
    height: clamp(400px, 50vw, 550px);
    /* Explicit height for child positioning */
    z-index: 2;
    margin: 0 auto;
}

.v-svg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.v-line {
    stroke: #10b981;
    stroke-width: 2.5;
    stroke-dasharray: 8 5;
    transition: all 0.3s;
}

.v-line.light {
    stroke: #e2e8f0;
    stroke-dasharray: none;
}

.v-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
}

.v-card {
    width: clamp(75px, 10vw, 100px);
    height: clamp(75px, 10vw, 100px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    /* Deeper shadow for visibility */
    background: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.v-node:hover .v-card {
    transform: translateY(-8px) scale(1.05);
}

.v-card.gradient-card {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 15px 40px var(--primary-shadow);
    border: none;
}

.v-card.white-card {
    background: #ffffff;
    color: var(--primary-color);
}

.node-rag i {
    color: #3b82f6;
}

.node-genai i {
    color: #8b5cf6;
}

.v-label {
    font-weight: 800;
    font-size: clamp(11px, 1.2vw, 14px);
    color: var(--fg-900);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

.outcome-badge {
    background: #ffffff;
    border: 2px solid #10b981;
    padding: clamp(10px, 1.5vw, 16px) clamp(20px, 3vw, 40px);
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 850;
    color: var(--fg-900);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
    white-space: nowrap;
    font-size: clamp(12px, 1.4vw, 16px);
}

.outcome-badge i {
    color: #10b981;
    font-size: 1.25rem;
}

/* Synchronized Coordinates with SVG viewBox 1000x500 */
.node-agentic {
    left: 15%;
    /* x=150 */
    top: 50%;
    /* y=250 */
    transform: translate(-50%, -50%);
}

.node-rag {
    left: 50%;
    /* x=500 */
    top: 15%;
    /* y=75 */
    transform: translate(-50%, -50%);
}

.node-genai {
    left: 50%;
    /* x=500 */
    top: 85%;
    /* y=425 */
    transform: translate(-50%, -50%);
}

.node-outcome {
    left: 85%;
    /* x=850 */
    top: 50%;
    /* y=250 */
    transform: translate(-50%, -50%);
}

/* Mobile Stack Layout */
@media (max-width: 768px) {
    .power-v-container {
        margin-top: 30px;
    }

    .power-v-diagram {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .v-node {
        position: static;
        transform: none !important;
    }

    .v-svg-lines,
    .v-grid-overlay {
        display: none;
    }

    .v-card {
        width: 90px;
        height: 90px;
    }

    .v-label {
        font-size: 0.85rem;
    }

    .outcome-badge {
        padding: 12px 30px;
    }
}

/* --- TRUSTED FRAMEWORK --- */
.framework-section .section-title {
    margin-bottom: 60px;
    color: var(--fg-900);
}

/* Swiper Container */
.myFrameworkSwiper {
    width: 100%;
    padding-bottom: 60px;
    /* Space for pagination */
    padding-top: 50px;
    overflow: visible;
    /* Allow hover float */
}

.fw-card {
    background: var(--white);
    padding: 30px;
    /* Reduced padding */
    border-radius: 24px;

    /* Gradient Border Trick */
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
        var(--primary-gradient) border-box;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;

    text-align: center;
    height: 100%;
    min-height: 280px;
    /* Reduced height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.fw-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}



.fw-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- FINAL CTA --- */
.final-cta-section {
    text-align: center;
    padding: 120px 0;
    background: var(--bg-primary);
}



.cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-buttons-group .primary-btn,
.cta-buttons-group .secondary-btn,
.cta-buttons-group .primary-btn.outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    min-width: 180px;
    /* Slightly wider for CTA */
}

/* Explicitly styling the outline buttons in this group to look like secondary buttons */
/* Solid Primary Button */
.cta-buttons-group .primary-btn {
    background: var(--primary-gradient);
    color: var(--white) !important;
    border: none;
    box-shadow: 0 10px 20px -5px var(--primary-shadow);
}

.cta-buttons-group .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-shadow);
}

/* Glass Secondary Button */
.cta-buttons-group .secondary-btn.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--fg-900) !important;
}

.cta-buttons-group .secondary-btn.glass:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-color);
}

.cta-buttons-group i {
    margin-right: 10px;
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .uc-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .uc-hero-text {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .uc-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .uc-split-layout,
    .uc-split-layout.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: LTR !important;
    }

    .uc-visual {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .uc-content {
        order: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .uc-bullets {
        text-align: left;
        width: 100%;
        max-width: 300px;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .uc-card-modern {
        min-height: 250px;
    }

    .cta-buttons-group {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .cta-buttons-group .primary-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

@keyframes lineRunVertical {
    0% {
        top: -40%;
    }

    100% {
        top: 140%;
    }
}