body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at center, #050a1f 0%, #010205 100%);
    /* Deep space premium gradient */
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Nunito Sans', sans-serif;
    color: #fff;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Basic UI overlay for the "Scale Amazon Sales" */
.content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    max-width: 550px;
    pointer-events: none;
    /* Let clicks pass to canvas if needed */
}

.content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 450px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 30px;
    padding: 6px 16px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #00d2ff;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #00d2ff;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #00d2ff;
}

.buttons {
    display: flex;
    gap: 15px;
    pointer-events: auto;
}

.btn-primary {
    background: linear-gradient(90deg, #0d37f2, #00d2ff);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(13, 55, 242, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.hero-semi-header {
    color: #ffffffc4;
}

/* ==========================================
   SECTION 2: AI OPERATIONS
========================================== */
.ai-operations-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* padding: 180px 50px 100px; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    /* Keeps content above canvas */
    pointer-events: none;
    /* Only allow clicks on specific elements */
}

.ai-operations-section {
    position: relative;
    z-index: 2;
}

.am-operations-section {
    padding: 72px 24px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.am-content-wrapper {
    margin-top: 150px;
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    pointer-events: auto;
}

.ai-content-wrapper {
    margin-top: 150px;
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    pointer-events: auto;
    /* Re-enable pointer events for content */
}

.ai-header {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    /* For GSAP */
    transform: translateY(30px);
}

.ai-tag {
    color: #00d2ff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ai-header h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.ai-header p {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.ai-cta {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ai-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ai-cta .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.ai-cta:hover .arrow {
    transform: translateX(4px);
}

/* Feature Cards Grid */
.ai-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Glassmorphism Card */
.ai-card {
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    /* For GSAP */
    transform: translateY(40px);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.ai-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ai-card-content {
    position: relative;
    z-index: 2;
}

.ai-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.ai-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.card-features li {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.card-features li i {
    color: #3b82f6;
    margin-right: 10px;
    font-size: 1.1rem;
}

.ai-metric {
    font-size: 1.8rem;
    font-weight: 800;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.purple-metric {
    color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.orange-metric {
    color: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.green-metric {
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* Card Visualizations Placeholder (Will be animated via JS or CSS) */
.ai-card-viz {
    width: 100%;
    height: 150px;
    margin-top: 30px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Subtle glow lines in viz */
.ai-card-viz::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* ==========================================
   CARD 1: CAMPAIGN VIZ (Purple Bars)
========================================== */
.viz-campaign {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 20px 15px;
}

.viz-campaign .bar {
    width: 14%;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.8), transparent);
    border-top: 2px solid #a855f7;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 -5px 15px rgba(168, 85, 247, 0.4);
    animation: barPulse 2s infinite alternate ease-in-out;
    opacity: 1;
}

.viz-campaign .bar:nth-child(1) {
    animation-delay: 0.0s;
    height: 30%;
}

.viz-campaign .bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 50%;
}

.viz-campaign .bar:nth-child(3) {
    animation-delay: 0.4s;
    height: 70%;
}

.viz-campaign .bar:nth-child(4) {
    animation-delay: 0.6s;
    height: 40%;
}

.viz-campaign .bar:nth-child(5) {
    animation-delay: 0.8s;
    height: 90%;
}

@keyframes barPulse {
    0% {
        transform: scaleY(0.8);
    }

    100% {
        transform: scaleY(1.1);
    }
}

/* ==========================================
   CARD 2: KEYWORD VIZ (Orange Network)
========================================== */
.viz-keyword {
    position: relative;
}

.viz-keyword .node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f97316;
    border-radius: 50%;
    box-shadow: 0 0 10px #f97316, 0 0 20px #f97316;
    animation: floatNode 3s infinite alternate ease-in-out;
}

.viz-keyword .node:nth-child(1) {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.viz-keyword .node:nth-child(2) {
    top: 60%;
    left: 50%;
    animation-delay: 1s;
}

.viz-keyword .node:nth-child(3) {
    top: 20%;
    left: 80%;
    animation-delay: 2s;
}

.viz-keyword .node:nth-child(4) {
    top: 70%;
    left: 85%;
    animation-delay: 0.5s;
}

.viz-keyword .line {
    position: absolute;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.8), rgba(249, 115, 22, 0.2));
    height: 1px;
    transform-origin: left center;
}

.viz-keyword .line-1 {
    top: 34%;
    left: 22%;
    width: 35%;
    transform: rotate(30deg);
}

.viz-keyword .line-2 {
    top: 62%;
    left: 52%;
    width: 35%;
    transform: rotate(-45deg);
}

@keyframes floatNode {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10px) scale(1.3);
        opacity: 1;
    }
}

/* ==========================================
   CARD 3: INVENTORY VIZ (Green Isometric)
========================================== */
.viz-inventory {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    perspective: 800px;
}

.viz-inventory .box {
    width: 35px;
    height: 35px;
    background: rgba(16, 185, 129, 0.2);
    border: 1.5px solid #10b981;
    border-radius: 6px;
    transform: rotateX(55deg) rotateZ(-45deg);
    box-shadow: -10px 10px 20px rgba(16, 185, 129, 0.2), inset 0 0 10px rgba(16, 185, 129, 0.5);
    animation: boxHover 3s infinite alternate ease-in-out;
}

.viz-inventory .box:nth-child(1) {
    animation-delay: 0s;
}

.viz-inventory .box:nth-child(2) {
    animation-delay: 1s;
}

.viz-inventory .box:nth-child(3) {
    animation-delay: 2s;
}

@keyframes boxHover {
    0% {
        transform: rotateX(55deg) rotateZ(-45deg) translateZ(0px);
    }

    100% {
        transform: rotateX(55deg) rotateZ(-45deg) translateZ(20px);
        box-shadow: -20px 20px 30px rgba(16, 185, 129, 0.4), inset 0 0 15px rgba(16, 185, 129, 0.8);
    }
}

/* =========================================
   Section 3: Command Center Dashboard
   ========================================= */

.command-center-section {
    position: relative;
    padding: 20px 5%;
    min-height: 80vh;
    z-index: 10;
}

.cc-wrapper {
    max-width: 1450px;
    margin: 0 auto;
}

.cc-section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
}

/* Glassmorphism Cards */
.cc-card {
    background: rgba(8, 12, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* GSAP Initial State */
    opacity: 0;
    transform: translateY(60px) scale(0.95);
}

.cc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cc-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Main Command Center Card */
.main-cc-card {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.cc-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.main-cc-card h2 {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #ffffff;
}

.highlight-blue {
    color: #3b82f6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.main-cc-card p {
    color: #94a3b8;
    font-size: 16px;
    max-width: 60%;
    margin-bottom: 20px;
}

.cc-stats {
    display: flex;
    gap: 30px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.cc-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    padding-right: 80px;
    min-width: 160px;
    position: relative;
}

.stat-icon {
    font-size: 22px;
    color: #a855f7;
    margin-bottom: 5px;
}

.icon-orange {
    color: #f59e0b;
}

.icon-green {
    color: #10b981;
}

.cc-stat h3 {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.cc-stat span {
    font-size: 13px;
    color: #94a3b8;
    display: block;
}

/* AI Core SVG Diagram */
.ai-core-container {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
    pointer-events: none;
}

.ai-core-svg {
    width: 100%;
    height: 100%;
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes reverseSpin {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.orbit-group {
    transform-origin: center;
}

.orbit-1 {
    animation: slowSpin 40s linear infinite;
    transform-origin: center;
}

.orbit-2 {
    animation: reverseSpin 60s linear infinite;
    transform-origin: center;
}

.orbit-3 {
    animation: slowSpin 80s linear infinite;
    transform-origin: center;
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.core-node {
    transform-origin: center;
    animation: corePulse 4s ease-in-out infinite;
}

@keyframes lineDash {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.conn-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    /* GSAP will animate this */
}

/* Side Cards */
.side-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bid-engine-card {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.budget-card {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.inventory-card {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.card-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.card-top h4 {
    font-size: 18px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.card-top p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

.icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-wrap.purple {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.icon-wrap.orange {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.icon-wrap.green {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    margin-bottom: 15px;
}

.card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 20px;
}

.card-bottom h2 {
    font-size: 20px;
    margin: 0 0 5px 0;
    font-weight: 800;
}

.card-bottom span {
    font-size: 12px;
    color: #94a3b8;
}

.mini-chart {
    width: 100px;
    height: 40px;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

.line-chart {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    /* GSAP animates this */
}

/* Wide Performance Card */
.performance-card {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px #3b82f6;
    animation: corePulse 2s infinite;
}

.time {
    color: #3b82f6;
    font-size: 12px;
    font-weight: 700;
    margin-left: 10px;
}

.dropdowns button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.dropdowns button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}

.metric-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
}

.metric-item span {
    font-size: 12px;
    color: #94a3b8;
}

.metric-item h3 {
    font-size: 16px;
    margin: 5px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trend {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.trend.up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.trend.down {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.data-table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    padding: 10px 15px;
    font-size: 12px;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    padding: 12px 15px;
    font-size: 14px;
    align-items: center;
    border-radius: 8px;
    transition: background 0.3s;
    cursor: pointer;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.camp-name i {
    margin-right: 8px;
    color: #3b82f6;
}

.sparkline svg {
    width: 50px;
    height: 15px;
}

/* 3D Cube Graphic */
.cube-graphic {
    width: 60px;
    height: 60px;
    perspective: 400px;
}

.cube-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(45deg);
    animation: cubeSpin 10s linear infinite;
}

.cube {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    left: 10px;
    top: 10px;
}

.front {
    transform: translateZ(20px);
}

.back {
    transform: rotateY(180deg) translateZ(20px);
}

.right {
    transform: rotateY(90deg) translateZ(20px);
}

.left {
    transform: rotateY(-90deg) translateZ(20px);
}

.top {
    transform: rotateX(90deg) translateZ(20px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(20px);
}

@keyframes cubeSpin {
    0% {
        transform: rotateX(-20deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
}

/* ==========================================================================
   ISOMETRIC AI CORE SECTION
   ========================================================================== */
.isometric-ai-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    /* Space out the 3D scene and the tabs */
    align-items: flex-start;
    /* Crucial for scrolling right side */
    background: transparent;
    padding: 0 10%;
    /* Even padding on sides */
    z-index: 5;
}

.iso-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    flex: 1;
}

/* Right Scrolling Area */
.saas-right {
    flex: 1;
    position: relative;
    margin-top: 5vh;
    /* Initial offset */
    padding-bottom: 40vh;
}

.saas-card-wrapper {
    position: sticky;
    top: 15vh;
    padding-top: 20px;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    perspective: 1000px;
    margin-bottom: 10vh;
}

.saas-card {
    background: #000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-origin: top center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    opacity: 1 !important;
}

.saas-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.3);
}

/* Inner Glow for Cards */
.saas-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.iso-node-label.Recommendations {
    left: -178px;
}

.saas-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.saas-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.saas-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* Realistic UI Modules Base */
.ui-module {
    flex: 1;
    background: rgba(5, 8, 16, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.02);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.saas-card:hover .ui-module {
    background: rgba(5, 8, 16, 0.8);
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.05);
}

.ui-header {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 16px;
    align-items: center;
}

.ui-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ui-dot.red {
    background: #ef4444;
}

.ui-dot.yellow {
    background: #eab308;
}

.ui-dot.green {
    background: #22c55e;
}

.ui-toolbar {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.ui-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

/* Interactive Hover for Nodes */
.iso-node {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.iso-node:hover {
    transform: scale(1.15) translateZ(20px) !important;
}

.iso-scene {
    width: 800px;
    height: 800px;
    position: relative;
    perspective: 2000px;
}

/* The tilt that creates the isometric look */
.iso-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(-45deg);
}

/* Glowing Grid Base */
.iso-glow-base {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    box-shadow: inset 0 0 100px rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    transform: translateZ(-20px);
}

/* Base Rings */
.iso-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.iso-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.iso-ring.ring-1 {
    width: 300px;
    height: 300px;
    border-style: dashed;
    animation: spinIso 40s linear infinite;
}

.iso-ring.ring-2 {
    width: 560px;
    height: 560px;
    border: 2px solid rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}

.iso-ring.ring-3 {
    width: 700px;
    height: 700px;
    border-style: dotted;
    animation: spinIsoRev 60s linear infinite;
}

/* SVG Connection Lines */
.iso-svg-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateZ(2px);
    pointer-events: none;
}

/* Energy Pulses Animation */
.energy-pulses {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 15;
    transform: translate(-50%, -50%);
}

.pulse {
    position: absolute;
    width: 6px;
    height: 40px;
    background: var(--color, #00d2ff);
    box-shadow: 0 0 15px var(--color, #00d2ff), 0 0 30px var(--color, #00d2ff);
    border-radius: 10px;
    top: 0;
    left: 0;
    transform-origin: 50% 0;
    opacity: 0;
    animation: shootPulse 2s infinite ease-in-out;
    animation-delay: var(--delay);
}

@keyframes shootPulse {
    0% {
        transform: rotate(var(--rot)) translateY(40px) scaleY(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: rotate(var(--rot)) translateY(100px) scaleY(1.2);
    }

    80% {
        opacity: 0.8;
        transform: rotate(var(--rot)) translateY(220px) scaleY(1);
    }

    100% {
        transform: rotate(var(--rot)) translateY(280px) scaleY(0.5);
        opacity: 0;
    }
}

/* Satellite Nodes */
.iso-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.iso-node {
    position: absolute;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
}

/* Positions matching SVG lines */
.n-top {
    top: 80px;
    left: 360px;
}

.n-tr {
    top: 220px;
    left: 602px;
}

.n-br {
    top: 500px;
    left: 602px;
}

.n-bot {
    top: 640px;
    left: 360px;
}

.n-bl {
    top: 500px;
    left: 118px;
}

.n-tl {
    top: 220px;
    left: 118px;
}

.iso-node-base {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--clr) 0%, transparent 70%);
    border: 3px dashed var(--clr);
    box-shadow: 0 0 30px var(--clr);
    transform: translateZ(0);
    opacity: 0.5;
    animation: spinNodeBase 20s linear infinite;
}

@keyframes spinNodeBase {
    from {
        transform: translateZ(0) rotate(0deg);
    }

    to {
        transform: translateZ(0) rotate(360deg);
    }
}

.iso-node-cap {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 30px;
    left: -10px;
    border-radius: 50%;
    background: rgba(10, 15, 30, 0.8);
    border: 2px solid var(--clr);
    transform: translateZ(20px);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px var(--clr) inset, 0 10px 20px rgba(0, 0, 0, 0.5);
}

.iso-node-icon {
    position: absolute;
    top: -52px;
    left: -30px;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 56px;
    color: var(--clr);
    text-shadow: 0 0 20px var(--clr);
    /* Reverse the isometric tilt and scale down for crisp rendering */
    transform: translateZ(35px) rotateZ(45deg) rotateX(-60deg) scale(0.5);
}

.iso-node-label {
    position: absolute;
    top: -58px;
    left: -120px;
    width: 320px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #e2e8f0;
    text-shadow: 0 0 20px var(--clr);
    /* Reverse the isometric tilt and scale down for crisp rendering */
    transform: translateZ(30px) rotateZ(45deg) rotateX(-60deg) scale(0.5);
}

.iso-ring.ring-4 {
    width: 660px;
    height: 660px;
    border: 1.5px solid rgba(0, 210, 255, 0.35);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2), inset 0 0 15px rgba(0, 210, 255, 0.2);
    animation: spinIso 80s linear infinite;
}

/* Central Core */
.iso-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
}

.iso-core-base-rings {
    position: absolute;
    transform-style: preserve-3d;
}

.cb-ring {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.6), inset 0 0 20px rgba(0, 102, 255, 0.4);
    animation: spinIso 40s linear infinite;
}

.cb-ring.r1 {
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%) translateZ(10px);
}

.cb-ring.r2 {
    border: 4px dashed rgba(0, 102, 255, 0.4);
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%) translateZ(25px);
    border-color: #00d2ff;
    position: relative;
    right: -22px;
    top: -23px;
}

/* The 3D Cube */
.iso-cube {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) translateZ(80px);
    /* GSAP will animate continuous rotation */
}

.c-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 102, 255, 0.15);
    border: 2px solid #00d2ff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5) inset;
    transition: opacity 0.5s ease;
}

.iso-cube.hide-faces .c-face {
    opacity: 0;
}

/* Cube Face Positioning */
.c-front {
    transform: translateZ(50px);
}

.c-back {
    transform: rotateY(180deg) translateZ(50px);
}

.c-right {
    transform: rotateY(90deg) translateZ(50px);
}

.c-left {
    transform: rotateY(-90deg) translateZ(50px);
}

.c-top {
    transform: rotateX(90deg) translateZ(50px);
    background: rgba(0, 102, 255, 0.3);
}

.c-bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

/* Glowing Text inside cube */
.c-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 96px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 40px #00d2ff, 0 0 80px #00d2ff;
    /* Counteract isometric tilt and scale down for crisp rendering */
    transform: translateZ(0px) rotateZ(45deg) rotateX(-60deg) rotateY(0deg) scale(0.5);
}

.middle-section {
    padding: 15em 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.03) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.middle-content {
    max-width: 900px;
    padding: 40px;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.middle-title {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 40%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.middle-subtitle {
    font-size: 20px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Animations */
@keyframes spinIso {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spinIsoRev {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@media (max-width: 1024px) {
    .cc-grid {
        grid-template-columns: 1fr;
    }

    .main-cc-card {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .bid-engine-card,
    .budget-card,
    .inventory-card,
    .performance-card {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    .ai-core-container {
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Section 3: Method & Engagement */
.method-section {
    position: relative;
    z-index: 2;
    padding: 100px 5vw;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.logo-squares {
    position: relative;
    width: 39px;
    height: 39px;
}

.logo-squares .sq-1 {
    position: absolute;
    top: 6px;
    left: 0;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 2px;
}

.logo-squares .sq-2 {
    position: absolute;
    top: 0;
    left: 8px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 2px;
}

.main-navbar .nav-links {
    display: flex;
    gap: 30px;
}

.main-navbar .nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-navbar .nav-links a:hover {
    color: #fff;
}

.method-content {
    display: flex;
    width: 100%;
    max-width: 1000px;
    gap: 60px;
}

.method-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-col .overline {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.method-col .lead-text {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.engagement-list {
    margin-top: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.engagement-item h5 {
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.engagement-item p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Section 5: Wizardly Rocket Section */
.wizardly-section {
    position: relative;
    /* min-height: 100vh; */
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 10%;
    z-index: 5;
}

.wizardly-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.wizardly-left {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wizardly-subtitle {
    color: #ffb4a2;
    /* Soft peach/red from screenshot */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.wizardly-left h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
    margin: 0;
}

.wizardly-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 90%;
}

.wizardly-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.btn-explore {
    background: transparent;
    color: #00d2ff;
    border: 1px solid rgba(0, 210, 255, 0.4);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: #00d2ff;
}

.link-read {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.link-read::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00d2ff;
    border-radius: 50%;
}

.link-read:hover {
    color: #fff;
}

.wizardly-right {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 600px;
    margin-top: 15rem;
    /* Space for the 3D rocket */
}

.wizardly-red-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 2px solid #ff0000;
    border-radius: 50%;
    z-index: 0;
    /* Behind the rocket */
}

.wizardly-features {
    margin: 20px 0 24px 0;
}

.wizardly-features li {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 12px;
}

/* Glass City 3D Bars */
.glass-city-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: visible;
}

@keyframes floatCity {

    0%,
    100% {
        transform: translateY(0px) rotateX(60deg) rotateZ(-45deg);
    }

    50% {
        transform: translateY(-20px) rotateX(60deg) rotateZ(-45deg);
    }
}

.glass-city {
    display: grid;
    grid-template-columns: repeat(4, 40px);
    grid-template-rows: repeat(4, 40px);
    gap: 15px;
    transform-style: preserve-3d;
    animation: floatCity 6s ease-in-out infinite;
}

.glass-bar {
    position: relative;
    width: 40px;
    height: 40px;
    transform-style: preserve-3d;
}

.glass-bar .face {
    position: absolute;
    box-shadow: inset 0 0 15px rgba(50, 150, 255, 0.4);
    border: 1px solid rgba(100, 220, 255, 0.4);
}

.glass-bar .front {
    background: linear-gradient(to top, rgba(0, 20, 80, 0.2) 0%, rgba(50, 150, 255, 0.6) 100%);
    width: 100%;
    height: var(--bar-height);
    bottom: 0;
    transform-origin: bottom;
    transform: rotateX(-90deg);
}

.glass-bar .back {
    background: linear-gradient(to bottom, rgba(0, 20, 80, 0.2) 0%, rgba(50, 150, 255, 0.6) 100%);
    width: 100%;
    height: var(--bar-height);
    top: 0;
    transform-origin: top;
    transform: rotateX(90deg);
}

.glass-bar .left {
    background: linear-gradient(to right, rgba(0, 20, 80, 0.2) 0%, rgba(50, 150, 255, 0.6) 100%);
    width: var(--bar-height);
    height: 100%;
    left: 0;
    transform-origin: left;
    transform: rotateY(90deg);
}

.glass-bar .right {
    background: linear-gradient(to left, rgba(0, 20, 80, 0.2) 0%, rgba(50, 150, 255, 0.6) 100%);
    width: var(--bar-height);
    height: 100%;
    right: 0;
    transform-origin: right;
    transform: rotateY(-90deg);
}

.glass-bar .top {
    width: 100%;
    height: 100%;
    transform: translateZ(var(--bar-height));
    background: rgba(220, 240, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Section 6: Brand Values (3D Box) */
.brand-section {
    padding: 120px 20px;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 80px;
    min-height: 80vh;
    position: relative;
    z-index: 10;
    width: 100%;
}

.brand-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.brand-box-container {
    width: 250px;
    height: 250px;
}

.brand-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateBrandBox 15s infinite linear;
}

@keyframes rotateBrandBox {
    0% {
        transform: rotateX(-20deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
}

.box-face {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.5);
    box-shadow: inset 0 0 40px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #bfdbfe;
    backdrop-filter: blur(5px);
}

.box-face.front {
    transform: rotateY(0deg) translateZ(125px);
}

.box-face.right {
    transform: rotateY(90deg) translateZ(125px);
}

.box-face.back {
    transform: rotateY(180deg) translateZ(125px);
}

.box-face.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.box-face.top {
    transform: rotateX(90deg) translateZ(125px);
}

.box-face.bottom {
    transform: rotateX(-90deg) translateZ(125px);
}

.brand-right {
    flex: 1.2;
}

.brand-right h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.brand-right p {
    font-size: 1.1rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 40px;
}

.brand-values {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-values li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.2rem;
    color: #f8fafc;
    margin: 0 0 8px 0;
}

.value-text p {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .brand-section {
        flex-direction: column;
        text-align: center;
    }

    .brand-values li {
        text-align: left;
    }
}

/* Section 9: Pricing */
.pricing-section {
    padding: 50px 20px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.highlight-you {
    color: #3b82f6;
}

.pricing-header p {
    color: #9ca3af;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
}

.pricing-card {
    background: #050505;
    border: 1px solid #1f2937;
    border-radius: 24px;
    padding: 40px 30px;
    width: 340px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card.premium {
    border: 1px solid #1d4ed8;
}

.pricing-card.enterprise {
    border: 1px solid #1e40af;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.card-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 30px;
    align-self: flex-start;
}

.card-price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

.card-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.card-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.card-features-list li i {
    color: #9ca3af;
    font-size: 1.2rem;
    margin-top: 2px;
}

.card-features-list li span {
    color: #9ca3af;
}

.btn-pricing {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-starter {
    background: #111111;
    color: #ffffff;
    border: 1px solid #333333;
}

.btn-starter:hover {
    background: #222222;
}

.btn-premium {
    background: #172554;
    color: #ffffff;
    border: 1px solid #1d4ed8;
}

.btn-premium:hover {
    background: #1e3a8a;
}

.btn-enterprise {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #1e40af;
}

.btn-enterprise:hover {
    background: #1e3a8a;
}

/* ==========================================================================
   LIGHT MODE OVERRIDES
   ========================================================================== */

/* --- Body & Global --- */
[data-theme="light"] body {
    background: radial-gradient(circle, #bfdbfe 0%, #dbeafe 40%, transparent 70%);
    color: #0f172a;
}

/* --- Aurora / Canvas Background --- */
[data-theme="light"] #canvas-container {
    opacity: 1;
}

/* --- AI Operations Section --- */
[data-theme="light"] .ai-operations-section {
    background: transparent;
}

[data-theme="light"] .am-operations-section {
    background: transparent;
}

[data-theme="light"] .ai-header h2 {
    background: linear-gradient(180deg, #0f172a 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .ai-header p {
    color: #475569;
}

[data-theme="light"] .ai-cta {
    color: #1e40af;
    border-color: rgba(30, 64, 175, 0.4);
}

[data-theme="light"] .ai-cta:hover {
    background: rgba(30, 64, 175, 0.08);
    border-color: #1e40af;
}

/* --- SaaS Scroll Cards (isometric section) --- */
[data-theme="light"] .saas-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .saas-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .saas-card::before {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
}

[data-theme="light"] .saas-card-title {
    color: #0f172a;
}

[data-theme="light"] .saas-card-body-text {
    color: #475569 !important;
}

[data-theme="light"] .card-features li {
    color: #334155;
}

[data-theme="light"] .card-features li i {
    color: #2563eb;
}

/* --- Middle Section --- */
[data-theme="light"] .middle-section {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
}

[data-theme="light"] .middle-content {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .middle-title {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 60%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .middle-subtitle {
    color: #475569;
}

/* --- Isometric Section --- */
[data-theme="light"] .isometric-ai-section {
    background: transparent;
}

[data-theme="light"] .iso-node-label {
    color: #0f172a;
}

/* --- CC Cards (Command Center) --- */
[data-theme="light"] .cc-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .cc-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .main-cc-card h2 {
    color: #0f172a;
}

[data-theme="light"] .main-cc-card p {
    color: #475569;
}

[data-theme="light"] .cc-stat {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cc-stat h3 {
    color: #0f172a;
}

/* --- Brand Section --- */
[data-theme="light"] .brand-right h2 {
    color: #0f172a;
}

[data-theme="light"] .brand-right p {
    color: #475569;
}

[data-theme="light"] .value-text h4 {
    color: #0f172a;
}

[data-theme="light"] .value-text p {
    color: #475569;
}

/* --- Method Section --- */
[data-theme="light"] .method-col .lead-text {
    color: #334155;
}

[data-theme="light"] .engagement-item h5 {
    color: #0f172a;
}

[data-theme="light"] .engagement-item p {
    color: #475569;
}

[data-theme="light"] .engagement-list {
    border-left-color: rgba(0, 0, 0, 0.12);
}

/* --- Wizardly Section --- */
[data-theme="light"] .wizardly-section {
    color: #0f172a;
}

[data-theme="light"] .wizardly-left h2 {
    color: #0f172a;
}

[data-theme="light"] .wizardly-left p {
    color: #475569;
}

[data-theme="light"] .wizardly-features li {
    color: #334155;
}

[data-theme="light"] .btn-explore {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.4);
}

[data-theme="light"] .btn-explore:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: #2563eb;
}

[data-theme="light"] .link-read {
    color: #475569;
}

[data-theme="light"] .link-read:hover {
    color: #0f172a;
}

/* --- Pricing Cards (style1 version) --- */
[data-theme="light"] .pricing-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .pricing-card.premium {
    border-color: #2563eb;
}

[data-theme="light"] .pricing-card.enterprise {
    border-color: #1d4ed8;
}

[data-theme="light"] .card-badge {
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .card-price {
    color: #0f172a;
}

[data-theme="light"] .card-features-list li {
    color: #475569;
}

[data-theme="light"] .card-features-list li i,
[data-theme="light"] .card-features-list li span {
    color: #475569;
}

[data-theme="light"] .btn-starter {
    background: #f1f5f9;
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .btn-starter:hover {
    background: #e2e8f0;
}

[data-theme="light"] .btn-premium,
[data-theme="light"] .btn-enterprise {
    background: #1d4ed8;
    border-color: #1e40af;
}

/* --- UI Module (inside saas cards) --- */
[data-theme="light"] .ui-module {
    background: rgba(248, 250, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ui-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ui-btn {
    background: rgba(0, 0, 0, 0.04);
    color: #475569;
    border-color: rgba(0, 0, 0, 0.06);
}

/* --- Dropdowns / Table elements --- */
[data-theme="light"] .dropdowns button {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

[data-theme="light"] .table-header {
    color: #475569;
    border-bottom-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .table-row:hover {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .metric-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

/* --- Hero Buttons (style1 context) --- */
[data-theme="light"] .btn-secondary {
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    background: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
    color: #0f172a !important;
}

/* --- Hero semi-header text --- */
[data-theme="light"] .hero-semi-header {
    color: #475569 !important;
}

/* --- Content paragraph text --- */
[data-theme="light"] .content p {
    color: #475569 !important;
    text-shadow: none !important;
}

[data-theme="light"] .content h1 {
    color: #0f172a !important;
    text-shadow: none !important;
}

/* --- Stats section --- */
[data-theme="light"] .stats-section {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.07) !important;
}

/* --- AI card (index page feature cards) --- */
[data-theme="light"] .ai-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] .ai-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .ai-card p {
    color: #475569 !important;
}

/* --- iso-node-label text --- */
[data-theme="light"] .iso-node-label {
    color: #1e293b !important;
}