/* ========== PAGE-SPECIFIC STYLES ========== */

        :root {
            /* Colors */
            --bg-primary: #0B1220;
            --bg-secondary: #0F1923;
            --bg-card: #111D2B;
            --bg-darker: #070D17;
            --accent-cyan: #1DA1F2;
            --accent-cyan-light: #4DC9F6;
            --accent-cyan-dark: #0E7AC2;
            --accent-red: #E63946;
            --text-primary: #F0F4F8;
            --text-secondary: #CBD5E1;
            --text-dim: #94A3B8;
            --border: rgba(29, 161, 242, 0.12);
            --border-hover: rgba(29, 161, 242, 0.3);
            --glass-bg: rgba(11, 18, 32, 0.85);

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

        /* ========== KEYFRAMES (page-specific) ========== */
        @keyframes float {

            0%,
            100% {
                transform: translateY(0) translateX(0);
                opacity: 0.6;
            }

            50% {
                transform: translateY(-100px) translateX(50px);
                opacity: 0;
            }
        }

        /* ========== TYPOGRAPHY OVERRIDE ========== */
        h1,
        h2 {
            font-family: var(--font-heading);
            font-weight: 600;
            line-height: 1.2;
        }

        /* ========== BUTTONS (page-specific overrides) ========== */
        .btn-primary:hover {
            background: #10B981;
            border-color: #10B981;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
        }

        /* ========== SECTIONS BASE (page-specific additions) ========== */
        .section-tag {
            color: var(--accent-cyan);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 0.25rem;
            display: block;
        }

        /* Fade-in Animation */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Hero Particles */
        .hero-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--accent-cyan);
            border-radius: 50%;
            opacity: 0.6;
            animation: float 6s ease-in-out infinite;
            will-change: transform;
        }

        /* ========== HERO SECTION ========== */
        .hero {
            position: relative;
            min-height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8rem 2rem 3rem;
            background: transparent;
        }

        .hero .container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .hero-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .hero-content .subtitle {
            color: var(--accent-cyan);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 0.375rem;
            display: block;
        }

        .hero-content h1 {
            font-size: clamp(2.2rem, 4.5vw, 3.5rem);
            font-weight: 600;
            margin-bottom: 1.5rem;
            line-height: 1.15;
            color: var(--text-primary);
        }

        .hero-content p {
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .hero-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .hero-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .before-after-labels {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 2rem;
            background: rgba(11, 18, 32, 0.9);
            padding: 1rem 2rem;
            border-radius: 50px;
            border: 1px solid var(--border);
            backdrop-filter: blur(10px);
        }

        .label {
            text-align: center;
        }

        .label.before {
            color: var(--accent-red);
        }

        .label.after {
            color: var(--accent-cyan);
        }

        .label-title {
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .label-desc {
            font-size: 0.8rem;
            color: var(--text-dim);
        }

        /* ========== SERVICE CARDS ========== */
        .services-cards {
            padding: 2rem 2rem 2.5rem;
            position: relative;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .service-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            border-color: var(--accent-cyan);
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(29, 161, 242, 0.1);
        }

        .card-icon {
            width: 60px;
            height: 60px;
            background: rgba(29, 161, 242, 0.1);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            color: var(--accent-cyan);
        }

        .service-card h3 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .service-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .learn-more {
            color: var(--accent-cyan);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: gap 0.3s ease;
        }

        .learn-more:hover {
            gap: 0.75rem;
        }

        /* ========== TWO-COLUMN SECTION LAYOUTS ========== */
        .solutions-grid,
        .generative-grid,
        .mas-grid,
        .consulting-grid,
        .industries-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        .who-grid {
            display: grid;
            grid-template-columns: 1.15fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .community-grid {
            display: grid;
            grid-template-columns: 1fr 1.3fr;
            gap: 2.5rem;
            align-items: center;
        }

        /* Generic 2-col grid for diagram sections */
        .two-col-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        /* Section 3: give diagram column slightly more room */
        #gen-agentic .two-col-grid {
            grid-template-columns: 5fr 6fr;
        }

        /* Section 4 MAS: give text column more room */
        #mas .two-col-grid {
            grid-template-columns: 7fr 4fr;
        }

        #gen-agentic.section,
        #mas.section {
            padding-top: 2.5rem;
            padding-bottom: 2.5rem;
        }

        .two-col-grid .col-content {
            display: flex;
            flex-direction: column;
        }

        .two-col-grid .col-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: visible;
        }

        /* Hex diagram scaled to fit inside a column */
        .col-visual .agent-hex-container {
            width: 100%;
            max-width: 100%;
            margin: 0;
            overflow: hidden;
            padding: 0;
            aspect-ratio: 1 / 1;
            position: relative;
        }

        .col-visual .agent-hex-grid {
            width: 700px;
            height: 700px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.74);
            transform-origin: center center;
            margin: 0;
        }

        /* MAS Nexus diagram: col-visual becomes the clipping container */
        .col-visual:has(.mas-nexus-diagram) {
            overflow: hidden;
            aspect-ratio: 1 / 1;
            position: relative;
            background: rgba(14, 27, 43, 0.4);
            border: 1px solid rgba(29, 161, 242, 0.25);
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
        }

        .col-visual .mas-nexus-diagram {
            width: 900px;
            height: 800px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.65);
            transform-origin: center center;
            margin: 0;
        }

        .col-visual .mas-nexus-diagram::before {
            display: none;
        }

        /* Consulting SVG scales naturally */
        .col-visual .consulting-diagram-svg {
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

        @media (max-width: 1024px) {

            .two-col-grid,
            #gen-agentic .two-col-grid,
            #mas .two-col-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .col-visual .agent-hex-container {
                max-width: 540px;
                margin: 0 auto;
            }

            .col-visual .agent-hex-grid {
                transform: translate(-50%, -50%) scale(0.62);
            }

            .col-visual .agent-hex-container {
                max-width: 440px;
            }

            /* Restore base 700px grid positions/sizes inside col-visual */
            .col-visual .agent-hex {
                width: 160px;
                height: 138px;
            }

            .col-visual .center-agent-hex {
                width: 170px;
                height: 170px;
            }

            .col-visual .agent-hex:nth-child(3) { left: 270px; top: 31px; }
            .col-visual .agent-hex:nth-child(4) { left: 448px; top: 104px; }
            .col-visual .agent-hex:nth-child(5) { left: 520px; top: 281px; }
            .col-visual .agent-hex:nth-child(6) { left: 448px; top: 458px; }
            .col-visual .agent-hex:nth-child(7) { left: 270px; top: 531px; }
            .col-visual .agent-hex:nth-child(8) { left: 92px; top: 458px; }
            .col-visual .agent-hex:nth-child(9) { left: 20px; top: 281px; }
            .col-visual .agent-hex:nth-child(10) { left: 92px; top: 104px; }

            .col-visual:has(.mas-nexus-diagram) {
                max-width: 480px;
                margin: 0 auto;
            }

            .col-visual .mas-nexus-diagram {
                transform: translate(-50%, -50%) scale(0.55);
            }

            .col-visual .consulting-diagram-svg {
                max-width: 540px;
            }

            .col-content .section-tag {
                font-size: 0.8rem;
            }

            .mas-features {
                gap: 1rem;
            }

            #gen-agentic .section-title {
                font-size: clamp(1.2rem, 2.4vw, 1.6rem);
            }
        }

        @media (max-width: 768px) {
            .col-visual .agent-hex-container {
                max-width: 380px;
                margin: 0 auto;
            }

            .col-visual .agent-hex-grid {
                transform: translate(-50%, -50%) scale(0.44);
                margin: 0 !important;
            }

            .col-visual .agent-hex-container {
                max-width: 320px;
            }

            .col-visual:has(.mas-nexus-diagram) {
                max-width: 100%;
                margin: 0 auto;
            }

            .col-visual .mas-nexus-diagram {
                transform: translate(-50%, -50%) scale(0.48);
            }

            .col-visual .consulting-diagram-svg {
                max-width: none;
                width: calc(100% + 40px);
                margin-left: -20px;
                margin-right: -20px;
            }

            .mas-features {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            #gen-agentic .section-title {
                font-size: clamp(1.1rem, 2vw, 1.4rem);
            }

            .agent-list {
                margin: 0.75rem 0;
            }

            .agent-list li {
                padding: 0.2rem 0;
                font-size: 0.85rem;
            }

            .surrounding-hex .hexagon-label {
                font-size: clamp(0.4rem, 0.7vw, 0.6rem);
            }
        }

        /* Section image styling */
        .solutions-image,
        .generative-image,
        .mas-image,
        .consulting-image,
        .industries-image,
        .who-image,
        .community-image {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .solutions-image img,
        .generative-image img,
        .mas-image img,
        .consulting-image img,
        .industries-image img,
        .who-image img,
        .community-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Section content styling */
        .solutions-content h2,
        .generative-content h2,
        .mas-content h2,
        .consulting-content h2,
        .industries-content h2,
        .who-content h2,
        .community-content h2 {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            margin-bottom: 1.5rem;
            line-height: 1.3;
            color: var(--text-primary);
        }

        .solutions-content p,
        .generative-content p,
        .mas-content p,
        .consulting-content>p,
        .industries-content>p,
        .who-content>p,
        .community-content>p {
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        /* Tag-business */
        .tag-business {
            display: inline-block;
            background: rgba(29, 161, 242, 0.1);
            color: var(--accent-cyan);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(29, 161, 242, 0.3);
        }

        /* Generative subtitle */
        .generative-content .subtitle,
        p.generative-subtitle {
            color: var(--accent-cyan-light);
            font-family: var(--font-heading);
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
            font-weight: 700;
            letter-spacing: 1px;
        }

        /* Agent list */
        .agent-list {
            list-style: none;
            margin: 0.75rem 0;
        }

        .agent-list li {
            padding: 0.25rem 0;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.92rem;
        }

        .agent-list li::before {
            content: '\2192';
            color: var(--accent-cyan);
            font-weight: bold;
        }

        /* MAS features grid */
        .mas-content .highlight {
            color: var(--accent-cyan);
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 1rem;
            display: block;
        }

        .mas-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .mas-feature {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
        }

        .mas-feature::before {
            content: '\2713';
            color: var(--accent-cyan);
            font-weight: 700;
            font-size: 0.85rem;
            margin-top: 0.15rem;
            flex-shrink: 0;
        }

        .mas-feature i {
            color: var(--accent-cyan);
            margin-top: 0.2rem;
            font-size: 0.9rem;
        }

        .mas-feature-text h4 {
            font-size: 0.88rem;
            margin-bottom: 0.2rem;
            color: var(--accent-cyan);
        }

        .mas-feature-text p {
            font-size: 0.78rem;
            margin: 0;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .mas-buttons {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        /* Commitment cards */
        .commitment-cards {
            display: flex;
            gap: 1.5rem;
            margin-top: 0;
            margin-bottom: 1.5rem;
            background: #060b14;
            border: none;
            border-radius: 10px;
            padding: 1.25rem 1rem;
            align-items: flex-start;
        }

        .commitment-card {
            flex: 1;
            padding: 0;
            text-align: center;
            transition: all 0.3s ease;
        }

        .commitment-card:hover {
            transform: translateY(-3px);
        }

        .commitment-icon {
            width: 48px;
            height: 48px;
            border: 2.5px solid var(--accent-cyan);
            background: transparent;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            font-size: 1.1rem;
            color: var(--accent-cyan);
        }

        .commitment-card h4 {
            font-size: 0.85rem;
            margin-bottom: 0;
            line-height: 1.4;
            font-weight: 500;
        }

        /* ========== MAS MODEL HEXAGONAL DIAGRAM ========== */
        .mas-model-diagram {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56%;
            background: #060B14;
            border-radius: 0;
            box-shadow: none;
            overflow: hidden;
        }

        .mas-model-diagram::before,
        .mas-model-diagram::after {
            display: none;
        }

        .hex-connections {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .mas-model-diagram .hexagon {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5;
        }

        .mas-model-diagram .hexagon::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--accent-cyan);
            clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
            z-index: 0;
        }

        .mas-model-diagram .hexagon-shape {
            position: absolute;
            background: #060B14;
            inset: 3px;
            width: auto;
            height: auto;
            clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
            border: none;
            box-shadow: none;
        }

        .mas-model-diagram .hexagon-content {
            z-index: 2;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            padding: 8% 10%;
            overflow: visible;
        }

        .center-hex {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 23.5%;
            height: 32.8%;
            z-index: 10 !important;
            filter: drop-shadow(0 0 12px rgba(29, 161, 242, 0.55));
        }

        .center-hex::before {
            background: var(--accent-cyan);
        }

        .center-hex .hexagon-shape {
            box-shadow: inset 0 0 32px rgba(29, 161, 242, 0.28);
        }

        .center-hex .hexagon-label {
            color: #ffffff;
            font-size: clamp(0.6rem, 0.95vw, 0.92rem);
            font-weight: 700;
            line-height: 1.3;
            white-space: nowrap;
        }

        .surrounding-hex {
            width: 23%;
            height: 32%;
            filter: drop-shadow(0 0 10px rgba(29, 161, 242, 0.4));
        }

        .surrounding-hex .hexagon-shape {
            box-shadow: inset 0 0 16px rgba(29, 161, 242, 0.12);
        }

        /* TL - Professional Services */
        .mas-model-diagram .surrounding-hex:nth-child(3) {
            top: 9%;
            left: 8%;
            transform: none;
        }

        /* TR - Construction Companies */
        .mas-model-diagram .surrounding-hex:nth-child(4) {
            top: 9%;
            right: 8%;
            left: auto;
            transform: none;
        }

        /* BL - Legal & Compliance */
        .mas-model-diagram .surrounding-hex:nth-child(5) {
            bottom: 9%;
            top: auto;
            left: 8%;
            transform: none;
        }

        /* BR - Real Estate / Insurance */
        .mas-model-diagram .surrounding-hex:nth-child(6) {
            top: auto;
            bottom: 9%;
            left: auto;
            right: 8%;
            transform: none;
        }

        /* Gold variant (Construction & Real Estate) */
        .hex-gold {
            filter: drop-shadow(0 0 10px rgba(232, 194, 82, 0.4));
        }

        .hex-gold::before {
            background: #E8C252;
        }

        .hex-gold .hexagon-shape {
            box-shadow: inset 0 0 20px rgba(232, 194, 82, 0.15);
        }

        .hex-gold .hexagon-icon i {
            color: #E8C252;
        }

        /* Purple variant (Legal & Compliance) */
        .hex-purple {
            filter: drop-shadow(0 0 10px rgba(186, 104, 200, 0.4));
        }

        .hex-purple::before {
            background: #BA68C8;
        }

        .hex-purple .hexagon-shape {
            box-shadow: inset 0 0 20px rgba(186, 104, 200, 0.15);
        }

        .hex-purple .hexagon-icon i {
            color: #BA68C8;
        }

        .surrounding-hex .hexagon-icon i {
            font-size: clamp(0.9rem, 1.5vw, 1.6rem);
            margin-bottom: 0.2rem;
            display: block;
            text-shadow: none;
        }

        .surrounding-hex:not(.hex-gold):not(.hex-purple) .hexagon-icon i {
            color: var(--accent-cyan);
        }

        .surrounding-hex .hexagon-label {
            text-transform: uppercase;
            font-size: clamp(0.48rem, 0.8vw, 0.7rem);
            letter-spacing: 0.03em;
            font-weight: 700;
            line-height: 1.2;
            color: #F0F4F8;
            word-break: break-word;
            overflow: visible;
            max-width: 100%;
            text-shadow: none;
        }

        /* Mission/Vision cards */
        .mission-vision-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 1.5rem;
            align-items: stretch;
        }

        .mv-card {
            background: rgba(29, 161, 242, 0.05);
            border: 1px solid rgba(29, 161, 242, 0.10);
            border-radius: 15px;
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
        }

        .mv-card h3 {
            color: var(--accent-cyan);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .mv-card p {
            color: var(--text-secondary);
            font-size: 0.82rem;
            margin: 0;
            line-height: 1.55;
        }

        /* Capabilities box */
        .capabilities-box {
            background: rgba(29, 161, 242, 0.05);
            border: 1px solid rgba(29, 161, 242, 0.10);
            border-radius: 15px;
            padding: 1.25rem;
            margin-bottom: 1.25rem;
        }

        .capabilities-box h3 {
            color: var(--accent-cyan);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .capabilities-box p {
            color: var(--text-secondary);
            font-size: 0.82rem;
            margin: 0;
            line-height: 1.55;
        }

        /* Community content */
        .community-content .subtitle {
            color: var(--accent-cyan);
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .consultas-brand {
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }

        /* Assistant grid */
        .assistant-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .assistant-item {
            background: rgba(29, 161, 242, 0.05);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 1rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .assistant-item:hover {
            border-color: var(--accent-cyan);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(29, 161, 242, 0.15);
        }

        .assistant-item i {
            font-size: 1.5rem;
            color: var(--accent-cyan);
            margin-bottom: 0.5rem;
        }

        .assistant-item span {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-primary);
        }

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

            /* All two-column grids stack */
            .hero-container,
            .solutions-grid,
            .generative-grid,
            .mas-grid,
            .consulting-grid,
            .industries-grid,
            .who-grid,
            .community-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .cards-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .mas-features {
                grid-template-columns: 1fr;
            }

            .who-grid .who-image {
                order: -1;
            }

            .mission-vision-grid {
                grid-template-columns: 1fr;
            }

            .assistant-grid {
                grid-template-columns: 1fr;
            }

            /* MAS diagram in stacked layout */
            .mas-model-diagram {
                max-width: 540px;
                margin: 0 auto;
                padding-bottom: 65%;
            }

            .mas-model-diagram .surrounding-hex {
                width: 26%;
                height: 35%;
            }

            .mas-model-diagram .surrounding-hex .hexagon-label {
                font-size: clamp(0.55rem, 1.2vw, 0.75rem);
            }

            .mas-model-diagram .center-hex .hexagon-label {
                font-size: clamp(0.65rem, 1.3vw, 0.9rem);
            }

            .mas-model-diagram .surrounding-hex .hexagon-icon i {
                font-size: clamp(1rem, 2vw, 1.5rem);
            }

            /* Community grid stacks on tablet, but collage just shrinks */
            .community-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .footer-social a {
                min-width: 44px;
                min-height: 44px;
                width: 44px;
                height: 44px;
            }

            .section {
                padding: 3rem 1.5rem;
            }
        }

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

            .footer {
                padding: 3rem 1.5rem 2rem;
            }

            .commitment-cards {
                flex-direction: row;
                gap: 1rem;
                padding: 1rem 0.75rem;
            }

            .commitment-icon {
                width: 40px;
                height: 40px;
                font-size: 0.95rem;
                border-width: 2px;
            }

            .commitment-card h4 {
                font-size: 0.78rem;
            }

            .mas-model-diagram {
                max-width: 100%;
                padding-bottom: 72%;
            }

            .mas-model-diagram .surrounding-hex {
                width: 28%;
                height: 36%;
            }

            .mas-model-diagram .surrounding-hex .hexagon-label {
                font-size: 0.48rem;
            }

            .mas-model-diagram .center-hex .hexagon-label {
                font-size: 0.58rem;
            }

            .mas-model-diagram .surrounding-hex .hexagon-icon i {
                font-size: 0.95rem;
            }

            .col-content h2.section-title {
                font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
            }

            .before-after-labels {
                flex-direction: column;
                gap: 0.5rem;
            }

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

            .hero-content .subtitle {
                justify-content: center;
            }

            .hero-buttons {
                justify-content: center;
            }

            .col-content,
            .solutions-content,
            .generative-content,
            .mas-content,
            .consulting-content,
            .industries-content,
            .who-content,
            .community-content {
                text-align: center !important;
                align-items: center !important;
            }

            .col-content .btn-primary,
            .col-content .btn-outline,
            .solutions-content .btn-primary,
            .solutions-content .btn-outline,
            .generative-content .btn-primary,
            .mas-content .btn-primary,
            .consulting-content .btn-primary,
            .industries-content .btn-primary,
            .who-content .btn-primary,
            .community-content .btn-primary {
                align-self: center !important;
            }

            .agent-list {
                padding-left: 15% !important;
                padding-right: 5% !important;
            }

            .agent-list li {
                text-align: left;
            }

            .hero-features-bar {
                border-radius: 8px;
            }

            .feature-bar-item {
                padding: 0.75rem 0.75rem;
                gap: 10px;
            }

            .feature-icon-svg svg {
                width: 40px;
                height: 40px;
            }

            .feature-content h3 {
                font-size: 0.9rem !important;
                margin-bottom: 2px;
            }

            .feature-content p {
                font-size: 0.78rem !important;
                line-height: 1.4;
                margin-bottom: 6px;
            }

            .feature-content .btn-primary {
                padding: 0.3rem 1rem !important;
                font-size: 0.75rem !important;
                min-height: 30px !important;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .section {
                padding: 3.5rem 1.25rem;
            }
        }

        @media (max-width: 480px) {
            .section {
                padding: 3rem 1rem;
                overflow-x: hidden;
            }
        }

        /* ========== CUSTOM SCROLLBAR ========== */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-darker);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--accent-cyan);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-cyan-light);
        }

        html {
            scrollbar-width: thin;
            scrollbar-color: var(--accent-cyan) var(--bg-darker);
        }

        /* ========== DIAGRAM 1: HEXAGON AGENT GRID ========== */
        @keyframes hexFloat {

            0%,
            100% {
                translate: 0 0;
            }

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

        @keyframes centerPulse {

            0%,
            100% {
                filter: drop-shadow(0 0 20px rgba(29, 161, 242, 0.5)) drop-shadow(0 0 40px rgba(29, 161, 242, 0.2));
            }

            50% {
                filter: drop-shadow(0 0 30px rgba(29, 161, 242, 0.75)) drop-shadow(0 0 60px rgba(29, 161, 242, 0.4)) drop-shadow(0 0 80px rgba(29, 161, 242, 0.15));
            }
        }

        @keyframes hexBreathe {

            0%,
            100% {
                translate: 0 0;
                scale: 1;
            }

            50% {
                translate: 0 -8px;
                scale: 1.04;
            }
        }

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

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

        @keyframes ringPulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.6;
                border-color: rgba(29, 161, 242, 0.3);
            }

            100% {
                transform: translate(-50%, -50%) scale(7);
                opacity: 0;
                border-color: rgba(29, 161, 242, 0);
            }
        }

        @keyframes dashFlow {
            0% {
                stroke-dashoffset: 0;
            }

            100% {
                stroke-dashoffset: 100;
            }
        }

        .hexagon-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 1rem 0 2rem 0;
            min-height: 500px;
            position: relative;
        }

        .hexagon-container::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 500px;
            height: 500px;
            background: radial-gradient(circle at center, rgba(29, 161, 242, 0.2) 0%, rgba(29, 161, 242, 0.1) 30%, transparent 60%);
            border-radius: 50%;
            z-index: 0;
            pointer-events: none;
        }

        .agent-hex-container {
            background: linear-gradient(rgba(6, 11, 20, 0.2), rgba(6, 11, 20, 0.3)), url('images/Gemini_Generated_Image_ecfcodecfcodecfc.webp');
            background-size: cover, cover;
            background-position: center, center;
            background-repeat: no-repeat, no-repeat;
            border: 2px solid rgba(29, 161, 242, 0.35);
            border-radius: 8px;
            box-shadow: 0 0 24px rgba(29, 161, 242, 0.12), inset 0 0 30px rgba(0, 0, 0, 0.7);
            overflow: hidden;
            padding: 1rem;
            position: relative;
            display: flex;
            justify-content: center;
            max-width: 750px;
            margin: 0 auto;
            align-items: center;
        }

        .agent-hex-container::before {
            content: '';
            position: absolute;
            inset: 0;
            background: conic-gradient(from 0deg at 50% 50%,
                    transparent 0deg,
                    rgba(29, 161, 242, 0.06) 30deg,
                    rgba(29, 161, 242, 0.03) 60deg,
                    transparent 90deg,
                    transparent 360deg);
            border-radius: 16px;
            z-index: 0;
            pointer-events: none;
            animation: radarSweep 12s linear infinite;
        }

        .agent-hex-container::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 1px solid rgba(29, 161, 242, 0.25);
            z-index: 0;
            pointer-events: none;
            animation: ringPulse 4s ease-out infinite;
        }

        .agent-hex-grid {
            position: relative;
            width: 700px;
            height: 700px;
            margin: 0 auto;
            z-index: 1;
        }

        .agent-hex {
            position: absolute;
            width: 160px;
            height: 138px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            cursor: pointer;
            transition: scale 0.3s ease, translate 0.3s ease, filter 0.3s ease;
            filter: drop-shadow(0 0 6px rgba(29, 161, 242, 0.4));
            animation: hexFloat 3.5s ease-in-out infinite;
            will-change: translate, scale;
        }

        .agent-hex::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--accent-cyan);
            clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
            z-index: 0;
        }

        .agent-hex:hover {
            scale: 1.08 !important;
            translate: 0 0 !important;
            filter: drop-shadow(0 0 16px rgba(29, 161, 242, 0.8)) drop-shadow(0 0 30px rgba(29, 161, 242, 0.4));
        }

        .agent-hex-shape {
            position: absolute;
            background: #060B14;
            inset: 2px;
            width: auto;
            height: auto;
            clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
            box-shadow: inset 0 0 15px rgba(29, 161, 242, 0.1);
        }

        .agent-hex:hover .agent-hex-shape {
            box-shadow: inset 0 0 30px rgba(29, 161, 242, 0.25);
        }

        .agent-hex-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 0.5rem;
        }

        .agent-hex-icon {
            font-size: 1.6rem;
            color: var(--accent-cyan);
            margin-bottom: 0.25rem;
            filter: drop-shadow(0 0 5px rgba(29, 161, 242, 0.35));
        }

        .agent-hex-label {
            font-size: 0.65rem;
            font-weight: 700;
            color: #F0F4F8;
            line-height: 1.25;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .center-agent-hex {
            width: 170px;
            height: 170px;
            left: 50% !important;
            top: 50% !important;
            transform: translate(-50%, -50%) !important;
            z-index: 10;
            filter: drop-shadow(0 0 16px rgba(29, 161, 242, 0.5)) drop-shadow(0 0 32px rgba(29, 161, 242, 0.22));
            animation: centerPulse 3s ease-in-out infinite;
            transition: scale 0.3s ease;
            border-radius: 50%;
            border: 3px solid var(--accent-cyan);
            background: #060B14;
            box-shadow: inset 0 0 32px rgba(29, 161, 242, 0.25);
        }

        .center-agent-hex::before,
        .center-agent-hex .agent-hex-shape {
            display: none;
        }

        .center-agent-hex:hover {
            transform: translate(-50%, -50%);
            scale: 1.06 !important;
            box-shadow: inset 0 0 60px rgba(29, 161, 242, 0.5);
        }

        .center-agent-hex .agent-hex-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            position: relative;
        }

        .center-agent-hex .agent-hex-icon {
            font-size: 5.5rem;
            color: var(--accent-cyan);
            margin: 0;
            filter: drop-shadow(0 0 15px rgba(29, 161, 242, 0.4));
            opacity: 0.85;
        }

        .center-agent-hex .agent-hex-label {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2.5rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.05em;
            text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(29, 161, 242, 0.8);
            margin-top: 5px;
        }

        /* 8 surrounding hexes positioned at 45 degree intervals */
        .agent-hex:nth-child(3) {
            left: 270px;
            top: 31px;
            animation: hexFloat 3.5s ease-in-out infinite;
            animation-delay: 0s;
        }

        .agent-hex:nth-child(4) {
            left: 448px;
            top: 104px;
            animation: hexBreathe 4s ease-in-out infinite;
            animation-delay: 0.4s;
        }

        .agent-hex:nth-child(5) {
            left: 520px;
            top: 281px;
            animation: hexFloat 3.5s ease-in-out infinite;
            animation-delay: 0.8s;
        }

        .agent-hex:nth-child(6) {
            left: 448px;
            top: 458px;
            animation: hexBreathe 4s ease-in-out infinite;
            animation-delay: 1.2s;
        }

        .agent-hex:nth-child(7) {
            left: 270px;
            top: 531px;
            animation: hexFloat 3.5s ease-in-out infinite;
            animation-delay: 1.6s;
        }

        .agent-hex:nth-child(8) {
            left: 92px;
            top: 458px;
            animation: hexBreathe 4s ease-in-out infinite;
            animation-delay: 2.0s;
        }

        .agent-hex:nth-child(9) {
            left: 20px;
            top: 281px;
            animation: hexFloat 3.5s ease-in-out infinite;
            animation-delay: 2.4s;
        }

        .agent-hex:nth-child(10) {
            left: 92px;
            top: 104px;
            animation: hexBreathe 4s ease-in-out infinite;
            animation-delay: 2.8s;
        }

        .agent-hex:nth-child(3) .agent-hex-icon {
            animation-delay: 0.2s;
        }

        .agent-hex:nth-child(4) .agent-hex-icon {
            animation-delay: 0.6s;
        }

        .agent-hex:nth-child(5) .agent-hex-icon {
            animation-delay: 1.0s;
        }

        .agent-hex:nth-child(6) .agent-hex-icon {
            animation-delay: 1.4s;
        }

        .agent-hex:nth-child(7) .agent-hex-icon {
            animation-delay: 1.8s;
        }

        .agent-hex:nth-child(8) .agent-hex-icon {
            animation-delay: 2.2s;
        }

        .agent-hex:nth-child(9) .agent-hex-icon {
            animation-delay: 2.6s;
        }

        .agent-hex:nth-child(10) .agent-hex-icon {
            animation-delay: 3.0s;
        }

        .agent-hex-grid::before {
            display: none;
        }

        .hex-connectors {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .hex-connectors line {
            filter: drop-shadow(0 0 4px rgba(29, 161, 242, 0.3));
        }

        /* Two-column text content below hex diagram */
        .two-column-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 1.5rem;
        }

        .two-column-content h3 {
            font-size: 1.5rem;
            line-height: 1.3;
            font-weight: 700;
            margin-bottom: 1.2rem;
        }

        .two-column-content p {
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        /* ========== DIAGRAM 2: MAS NEXUS / ORCHESTRATOR ========== */
        .mas-nexus-diagram {
            position: relative;
            width: 100%;
            max-width: 900px;
            height: 800px;
            margin: 2rem auto;
            padding: 0;
            z-index: 1;
        }

        .mas-nexus-diagram::before {
            content: '';
            position: absolute;
            top: 30px;
            bottom: -40px;
            left: -10px;
            right: -15px;
            background: rgba(14, 27, 43, 0.4);
            border: 1px solid rgba(29, 161, 242, 0.3);
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            z-index: -1;
            pointer-events: none;
        }

        .nexus-connections {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .nexus-connections g {
            stroke-width: 1px !important;
            opacity: 0.5 !important;
        }

        .nexus-connections line {
            animation: dashFlow 20s linear infinite;
        }

        .nexus-center {
            position: absolute;
            top: 400px;
            left: 450px;
            transform: translate(-50%, -50%);
            width: 160px;
            height: 160px;
            background: radial-gradient(circle, #173b5c 0%, #0d1e30 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            z-index: 10;
            box-shadow: 0 0 32px rgba(90, 224, 255, 0.32), inset 0 0 16px rgba(90, 224, 255, 0.15);
            border: 4px solid #2db8d8;
            animation: centerPulse 3s ease-in-out infinite;
        }

        .nexus-center-label {
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
            line-height: 1.25;
            color: #ffffff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            max-width: 85%;
        }

        .nexus-node {
            position: absolute;
            width: 120px;
            height: 120px;
            background: #0d1e30;
            border: 3px solid #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            padding: 0;
            box-shadow: 0 0 16px rgba(90, 224, 255, 0.24), inset 0 0 12px rgba(90, 224, 255, 0.15);
            transform: translate(-50%, -50%);
            z-index: 5;
            transition: all 0.3s ease;
        }

        .nexus-node::before {
            display: none;
        }

        .nexus-node:hover {
            transform: translate(-50%, -50%) scale(1.08);
            box-shadow: 0 0 40px rgba(29, 161, 242, 0.7), inset 0 0 30px rgba(29, 161, 242, 0.3);
            border-color: #ffffff;
        }

        .nexus-icon {
            font-size: 2.8rem;
            color: var(--accent-cyan);
            filter: drop-shadow(0 0 6px rgba(29, 161, 242, 0.4));
        }

        .nexus-svg-icon {
            width: 55px;
            height: 55px;
            fill: none;
            stroke: var(--accent-cyan);
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .nexus-node:hover .nexus-svg-icon {
            filter: drop-shadow(0 0 5px rgba(90, 224, 255, 0.8));
            stroke: #ffffff;
        }

        .action-agent-text {
            font-family: var(--font-body, 'Inter', sans-serif);
            font-weight: 700;
            font-size: 14px;
            fill: #ffffff;
            text-anchor: middle;
            letter-spacing: 0.5px;
            stroke: none;
        }

        /* Labels positioning */
        .nexus-label {
            position: absolute;
            color: #F0F4F8;
            text-align: center;
        }

        .nexus-label h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
            color: #ffffff;
        }

        .nexus-label p {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.4;
        }

        .label-inputs {
            top: 50px;
            left: 10px;
            text-align: left;
        }

        .label-sensing {
            top: 250px;
            left: 15px;
            width: 140px;
            text-align: center;
        }

        .label-perception {
            top: 250px;
            left: 745px;
            width: 150px;
            text-align: center;
        }

        .label-communication {
            top: 500px;
            left: 745px;
            width: 150px;
            text-align: center;
        }

        .label-reasoning {
            top: 500px;
            left: 15px;
            width: 140px;
            text-align: center;
        }

        .label-outputs {
            top: 700px;
            left: 745px;
            width: 150px;
            text-align: center;
        }

        .label-shared {
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            background: rgba(29, 161, 242, 0.1);
            padding: 0.5rem 1.5rem;
            border-radius: 4px;
            border: 1px solid rgba(29, 161, 242, 0.3);
        }

        .nexus-arrow {
            position: absolute;
            width: 1px;
            background: rgba(29, 161, 242, 0.4);
        }

        .arrow-inputs {
            left: 150px;
            top: 70px;
            height: 110px;
        }

        .arrow-inputs::after {
            content: '';
            position: absolute;
            top: 0;
            left: -40px;
            width: 40px;
            height: 1px;
            background: rgba(29, 161, 242, 0.4);
        }

        .arrow-outputs {
            left: 750px;
            top: 720px;
            height: 0;
        }

        .arrow-shared-left,
        .arrow-shared-right {
            display: none;
        }

        /* ========== DIAGRAM 3: CONSULTING SVG ========== */
        .consulting-diagram-svg {
            display: flex;
            justify-content: center;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            padding: 0;
            overflow: visible;
        }

        .consulting-diagram-svg svg {
            width: 100%;
            height: auto;
            filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.15));
        }

        /* ========== SECTION HEADERS FOR DIAGRAM SECTIONS ========== */
        .red-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .red-header h2 {
            font-size: clamp(2rem, 3.5vw, 2.8rem);
            font-weight: 700;
            color: var(--accent-cyan);
            font-style: italic;
            margin-bottom: 0.3rem;
        }

        .red-header p {
            color: #ffffff;
            font-weight: 700;
            font-size: 1.3rem;
        }

        /* Features grid for MAS section */
        .features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin: 0 auto;
            max-width: 950px;
            padding: 0 1rem;
            align-items: stretch;
            text-align: center;
        }

        .feature-col {
            display: flex;
            flex-direction: column;
            gap: 1.8rem;
        }

        .feature-item h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.3rem;
        }

        .feature-item p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin: 0;
        }

        /* ========== RESPONSIVE: DIAGRAMS ========== */
        @media (max-width: 1024px) {

            /* Hex diagram */
            .hexagon-container {
                overflow: visible;
            }

            .hex-connectors {
                display: none;
            }

            .agent-hex-grid {
                width: 540px;
                height: 540px;
            }

            .agent-hex {
                width: 100px;
                height: 115px;
            }

            .agent-hex-icon {
                font-size: 1.3rem;
                margin-bottom: 0.3rem;
            }

            .agent-hex-label {
                font-size: 0.6rem;
            }

            .center-agent-hex {
                width: 130px;
                height: 150px;
            }

            .center-agent-hex .agent-hex-icon {
                font-size: 2.2rem;
            }

            .center-agent-hex .agent-hex-label {
                font-size: 1.3rem;
            }

            .agent-hex:nth-child(2) {
                left: 220px;
                top: 33px;
            }

            .agent-hex:nth-child(3) {
                left: 347px;
                top: 85px;
            }

            .agent-hex:nth-child(4) {
                left: 400px;
                top: 213px;
            }

            .agent-hex:nth-child(5) {
                left: 347px;
                top: 340px;
            }

            .agent-hex:nth-child(6) {
                left: 220px;
                top: 392px;
            }

            .agent-hex:nth-child(7) {
                left: 93px;
                top: 340px;
            }

            .agent-hex:nth-child(8) {
                left: 40px;
                top: 213px;
            }

            .agent-hex:nth-child(9) {
                left: 110px;
                top: 115px;
            }

            .agent-hex-grid::before {
                width: 340px;
                height: 340px;
            }

            /* Kill heavy animations */
            .agent-hex-container::before {
                animation: none;
            }

            .agent-hex-container::after {
                animation: none;
            }

            .agent-hex {
                filter: drop-shadow(0 0 4px rgba(29, 161, 242, 0.3));
            }

            .center-agent-hex {
                animation: none;
                filter: drop-shadow(0 0 8px rgba(29, 161, 242, 0.4));
            }

            /* Two-column text below diagram */
            .two-column-content {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding-left: 1.5rem !important;
                padding-right: 1.5rem !important;
                text-align: center;
            }

            .two-column-content .column {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .two-column-content br {
                display: none !important;
            }

            .two-column-content h3 {
                font-size: 1.25rem !important;
                text-align: center !important;
            }

            .two-column-content p {
                font-size: 0.9rem !important;
                text-align: center !important;
            }

            /* Features grid */
            .features-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {

            /* Hex grid: scale to fit mobile */
            .agent-hex-container {
                overflow: hidden !important;
                width: 100%;
                max-width: 100%;
                box-sizing: border-box !important;
                border-radius: 8px !important;
                padding: 1rem !important;
            }

            .agent-hex-grid {
                position: relative;
                left: 50%;
                margin-left: -350px !important;
                width: 700px !important;
                transform: scale(0.48);
                transform-origin: top center;
                height: 700px;
                margin-bottom: -365px !important;
                min-height: 0;
            }

            .agent-hex-container {
                min-height: 340px;
            }

            .agent-hex {
                animation-duration: 4s !important;
            }

            /* Kill ALL hex floating/breathing animations */
            .agent-hex,
            .agent-hex:nth-child(n) {
                animation: none !important;
            }

            .agent-hex .agent-hex-icon {
                animation: none !important;
            }

            .agent-hex {
                filter: none;
            }

            .center-agent-hex {
                filter: none;
            }

            /* MAS Nexus diagram: scale to fit mobile (standalone, outside col-visual) */
            .mas-nexus-diagram {
                width: 900px !important;
                position: relative;
                left: 50%;
                margin-left: -450px !important;
                transform: scale(0.38);
                transform-origin: top center;
                margin-bottom: -480px !important;
                margin-top: 1rem !important;
            }

            /* Reset above overrides when inside col-visual (handled by col-visual rules) */
            .col-visual .mas-nexus-diagram {
                width: 900px !important;
                height: 800px !important;
                position: absolute !important;
                top: 50% !important;
                left: 50% !important;
                margin: 0 !important;
                margin-left: 0 !important;
                margin-bottom: 0 !important;
                margin-top: 0 !important;
                transform: translate(-50%, -50%) scale(0.65) !important;
                transform-origin: center center !important;
            }

            /* Kill nexus diagram line animation */
            .nexus-connections line {
                animation: none;
            }

            /* Kill center pulse on nexus */
            .nexus-center {
                animation: none;
            }

            .nexus-node {
                box-shadow: 0 0 10px rgba(29, 161, 242, 0.2);
            }

            .nexus-node::before {
                display: none;
            }
        }

        @media (max-width: 480px) {

            /* Kill hover transforms on mobile */
            .nexus-node:hover {
                transform: none;
            }

            /* Simplify consulting SVG filter */
            .consulting-diagram-svg svg {
                filter: none;
            }

            .agent-hex-container {
                box-shadow: 0 0 10px rgba(29, 161, 242, 0.1);
            }
        }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {

            .agent-hex,
            .center-agent-hex,
            .nexus-connections line,
            .nexus-center,
            .agent-hex-container::before,
            .agent-hex-container::after {
                animation: none !important;
            }
        }

        /* ── Hero Features Bar ── */
        .hero-features-bar {
            display: flex;
            align-items: stretch;
            background: rgba(11, 18, 32, 0.6);
            border: 1px solid rgba(29, 161, 242, 0.3);
            border-radius: 12px;
            max-width: 1150px;
            margin: 0 auto;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(29, 161, 242, 0.05);
            overflow: hidden;
        }

        .feature-bar-item {
            flex: 1;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 1rem 1rem;
            transition: background 0.4s ease;
        }

        .feature-bar-item:hover {
            background: rgba(29, 161, 242, 0.06);
        }

        .feature-divider {
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(29, 161, 242, 0.3), transparent);
        }

        .feature-icon-svg {
            flex-shrink: 0;
        }

        .feature-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            height: 100%;
        }

        .feature-content h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.35rem;
            line-height: 1.25;
        }

        .feature-content p {
            font-size: 0.88rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 0.75rem;
        }

        .feature-content .btn-primary {
            margin-top: auto;
            padding: 0.4rem 1.25rem;
            font-size: 0.82rem;
            transition: all 0.3s ease;
        }

        .feature-content .btn-primary:hover {
            background: #ffffff;
            color: var(--accent-cyan);
            border-color: #ffffff;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        }

        @media (max-width: 992px) {
            .hero-features-bar {
                flex-direction: column;
            }

            .feature-divider {
                width: 100%;
                height: 1px;
                background: linear-gradient(to right, transparent, rgba(29, 161, 242, 0.3), transparent);
            }
        }

        /* ============================================================ */
        /* LAYOUT NORMALIZATION SYSTEM                                  */
        /* Enforces consistent container, spacing, typography, and      */
        /* component styling across all sections.                       */
        /* ============================================================ */

        :root {
            /* 8px Spacing Scale */
            --sp-1: 8px;
            --sp-2: 16px;
            --sp-3: 24px;
            --sp-4: 32px;
            --sp-5: 40px;
            --sp-6: 48px;
            --sp-8: 64px;
            --sp-10: 80px;

            /* Container */
            --site-w: 1200px;
            --site-p: 32px;

            /* Typography Scale */
            --fs-h1: clamp(2.2rem, 4vw, 3rem);
            --fs-h2: clamp(1.4rem, 2.5vw, 1.9rem);
            --fs-h3: clamp(1.05rem, 1.6vw, 1.25rem);
            --fs-body: clamp(0.88rem, 1vw, 1rem);
            --fs-sm: clamp(0.8rem, 0.9vw, 0.88rem);
            --lh-h: 1.15;
            --lh-b: 1.65;

            /* Component Tokens */
            --c-r: 12px;
            --c-pad: 24px;
            --c-border: 1px solid var(--border);
            --c-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            --btn-h: 44px;
            --btn-r: 8px;
            --btn-fs: 0.9rem;
            --btn-py: 0.625rem;
            --btn-px: 1.5rem;
            --glow: drop-shadow(0 0 8px rgba(29, 161, 242, 0.3));
        }

        /* ── Container Alignment ── */
        .container {
            max-width: var(--site-w);
            padding-left: var(--site-p);
            padding-right: var(--site-p);
        }

        /* ── Section Vertical Rhythm ── */
        .section,
        .section.dark,
        .section.darker,
        .section-alt.section {
            padding: var(--sp-10) var(--site-p) !important;
        }

        .services-cards.section {
            padding-top: var(--sp-4) !important;
            padding-bottom: var(--sp-5) !important;
        }

        #gen-agentic.section,
        #mas.section {
            padding-top: var(--sp-8) !important;
            padding-bottom: var(--sp-8) !important;
        }

        /* ── Typography Scale ── */
        .hero-content h1 {
            font-size: var(--fs-h1) !important;
            line-height: var(--lh-h);
            margin-bottom: var(--sp-3);
        }

        /* Unified H2 size across all sections */
        .section-title,
        .col-content h2,
        .col-content h2.section-title,
        .solutions-content h2,
        .who-content h2,
        .community-content h2,
        .industries-content h2 {
            font-size: var(--fs-h2) !important;
            line-height: 1.2 !important;
            margin-bottom: var(--sp-3) !important;
        }

        /* Body text: cap at ~18px, consistent line-height, readable width */
        .solutions-content p,
        .col-content > p,
        .who-content > p,
        .community-content > p,
        .hero-content p {
            font-size: var(--fs-body) !important;
            line-height: var(--lh-b) !important;
            max-width: 64ch;
        }

        /* Section labels/tags */
        .section-tag,
        .section-label {
            font-size: var(--fs-sm);
            letter-spacing: 2px;
            margin-bottom: 0.25rem;
        }

        /* Community Impact title override (after normalize) */
        #community-title {
            font-size: clamp(1.8rem, 3vw, 2.2rem) !important;
            font-weight: 600 !important;
            line-height: 1.2 !important;
        }

        /* ── Two-Column Grid System ── */
        .two-col-grid,
        .solutions-grid,
        .consulting-grid,
        .industries-grid {
            grid-template-columns: 1fr 1fr;
            gap: var(--sp-8);
            align-items: start;
        }

        #gen-agentic .two-col-grid,
        #mas .two-col-grid {
            grid-template-columns: 5fr 6fr;
            gap: var(--sp-5);
        }

        .who-grid {
            grid-template-columns: 1fr 1fr;
            gap: var(--sp-8);
        }

        .community-grid {
            grid-template-columns: 1fr 1.2fr;
            gap: var(--sp-5);
        }

        /* Vertical centering for content columns */
        .col-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .col-visual {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* ── Button Normalization ── */
        .btn-primary,
        .btn-outline {
            min-height: var(--btn-h);
            padding: var(--btn-py) var(--btn-px) !important;
            font-size: var(--btn-fs) !important;
            border-radius: var(--btn-r) !important;
        }

        /* ── Card Normalization ── */
        .service-card {
            border-radius: var(--c-r);
        }

        .mv-card,
        .capabilities-box {
            border-radius: var(--c-r);
            border: var(--c-border);
            padding: var(--c-pad);
        }

        .commitment-cards {
            border-radius: var(--c-r);
            padding: var(--sp-3) var(--sp-2);
            gap: var(--sp-3);
            margin-bottom: var(--sp-3);
        }

        /* ── Glow Normalization ── */
        .agent-hex {
            filter: var(--glow);
        }

        .surrounding-hex {
            filter: var(--glow);
        }

        /* ============================================= */
        /* A) Generative & Agentic Solutions             */
        /* ============================================= */
        #gen-agentic .col-content {
            justify-content: center;
        }

        #gen-agentic .agent-list {
            margin: 0.75rem 0;
        }

        #gen-agentic .agent-list li {
            padding: 4px 0;
            font-size: var(--fs-sm);
            gap: var(--sp-1);
        }

        /* ============================================= */
        /* B) Multi-Agent AI System                      */
        /* ============================================= */
        .mas-features {
            gap: var(--sp-2);
            margin-bottom: var(--sp-3);
        }

        .mas-feature {
            gap: var(--sp-1);
        }

        .mas-feature-text h4 {
            font-size: 0.85rem;
            margin-bottom: 2px;
        }

        .mas-feature-text p {
            font-size: 0.76rem;
            line-height: 1.45;
        }

        .mas-buttons {
            gap: var(--sp-2);
        }

        /* Consulting: give diagram column more room (visual LEFT) */
        #consulting .two-col-grid {
            grid-template-columns: 3fr 2fr;
            gap: var(--sp-3);
        }

        /* ============================================= */
        /* C) AI Consulting & Support                    */
        /* ============================================= */
        .commitment-card {
            flex: 1;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .commitment-icon {
            width: 44px;
            height: 44px;
            border-width: 2px;
            margin-bottom: var(--sp-1);
            font-size: 1rem;
        }

        .commitment-card h4 {
            font-size: 0.82rem;
            font-weight: 600;
            line-height: 1.35;
        }

        /* ============================================= */
        /* D) Industries / Hex Diagram                   */
        /* ============================================= */
        /* Hex label overflow fix */
        .surrounding-hex .hexagon-label {
            font-size: clamp(0.5rem, 0.85vw, 0.72rem);
            line-height: 1.25;
            padding: 0 4px;
            white-space: nowrap;
            max-width: 100%;
            text-align: center;
            overflow: visible;
        }

        .surrounding-hex .hexagon-content {
            padding: 8% 8%;
        }

        /* Slightly larger hexes (+6%) for label breathing room */
        .surrounding-hex {
            width: 24.4%;
            height: 33.9%;
        }

        /* ============================================= */
        /* E) Who We Are                                 */
        /* ============================================= */
        .mission-vision-grid {
            gap: var(--sp-3);
            margin-bottom: var(--sp-3);
            align-items: stretch;
        }

        .mv-card {
            display: flex;
            flex-direction: column;
        }

        .mv-card h3 {
            font-size: 0.92rem;
            margin-bottom: var(--sp-1);
        }

        .mv-card p {
            font-size: 0.82rem;
            line-height: 1.55;
            flex: 1;
        }

        .capabilities-box {
            margin-bottom: var(--sp-3);
        }

        .capabilities-box h3 {
            font-size: 0.92rem;
            margin-bottom: var(--sp-1);
        }

        .capabilities-box p {
            font-size: 0.82rem;
            line-height: 1.55;
        }

        /* ============================================= */
        /* G) Three-Card Service Row                     */
        /* ============================================= */
        .hero-features-bar {
            align-items: stretch;
        }

        .feature-bar-item {
            padding: var(--sp-2) var(--sp-2);
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .feature-icon-svg svg {
            width: 56px;
            height: 56px;
        }

        .feature-content {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .feature-content h3 {
            font-size: var(--fs-h3) !important;
            margin-bottom: 4px;
            line-height: 1.25;
        }

        .feature-content p {
            font-size: var(--fs-sm) !important;
            line-height: 1.5;
            margin-bottom: 10px;
            flex: 1;
        }

        .feature-content .btn-primary {
            margin-top: auto;
            align-self: flex-start;
            min-height: 36px !important;
            padding: 0.4rem 1.25rem !important;
            font-size: 0.82rem !important;
        }

        /* ============================================= */
        /* H) AI Solutions (Image + Headline)            */
        /* ============================================= */
        .solutions-grid {
            gap: var(--sp-8);
        }

        .solutions-content .subtitle {
            color: var(--accent-cyan);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 0.375rem;
        }

        .solutions-image {
            border-radius: var(--c-r);
        }

        /* ============================================= */
        /* RESPONSIVE NORMALIZATION                      */
        /* ============================================= */
        @media (max-width: 1024px) {
            :root {
                --site-p: 24px;
                --sp-10: 64px;
            }

            .section,
            .section.dark,
            .section.darker,
            .section-alt.section {
                padding: 64px 24px !important;
            }

            #gen-agentic.section,
            #mas.section {
                padding: 48px 24px !important;
            }

            .services-cards.section {
                padding: 28px 24px 40px !important;
            }

            .two-col-grid,
            .solutions-grid,
            .consulting-grid,
            .industries-grid,
            .who-grid,
            .community-grid,
            #gen-agentic .two-col-grid,
            #mas .two-col-grid,
            #consulting .two-col-grid {
                grid-template-columns: 1fr;
                gap: var(--sp-5);
            }

            .surrounding-hex {
                width: 23%;
                height: 32%;
            }
        }

        @media (max-width: 768px) {
            :root {
                --site-p: 20px;
                --sp-10: 48px;
            }

            .section,
            .section.dark,
            .section.darker,
            .section-alt.section {
                padding: 48px 20px !important;
            }

            #gen-agentic.section,
            #mas.section {
                padding: 40px 20px !important;
            }

            .services-cards.section {
                padding: 24px 20px 36px !important;
            }

            .hero-content h1 {
                font-size: clamp(1.8rem, 5vw, 2.2rem) !important;
            }

            .section-title,
            .col-content h2,
            .col-content h2.section-title,
            .solutions-content h2,
            .who-content h2,
            .community-content h2,
            .industries-content h2 {
                font-size: clamp(1.3rem, 4vw, 1.7rem) !important;
            }

            .commitment-cards {
                flex-direction: row;
                gap: var(--sp-2);
                padding: var(--sp-2) var(--sp-1);
            }

            .commitment-icon {
                width: 38px;
                height: 38px;
                font-size: 0.9rem;
            }

            .commitment-card h4 {
                font-size: 0.75rem;
            }

            .feature-content h3 {
                font-size: 1rem !important;
            }
        }

        @media (max-width: 480px) {
            :root {
                --site-p: 16px;
                --sp-10: 40px;
            }

            .section,
            .section.dark,
            .section.darker,
            .section-alt.section {
                padding: 40px 16px !important;
            }

            #gen-agentic.section,
            #mas.section {
                padding: 32px 16px !important;
            }

            .services-cards.section {
                padding: 20px 16px 32px !important;
            }

            .hero-content h1 {
                font-size: clamp(1.6rem, 6vw, 2rem) !important;
            }

            .section-title,
            .col-content h2,
            .col-content h2.section-title,
            .solutions-content h2,
            .who-content h2,
            .community-content h2,
            .industries-content h2 {
                font-size: clamp(1.2rem, 5vw, 1.5rem) !important;
            }
        }

        /* ========== DEMO MODAL ========== */
        .demo-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(6px);
            align-items: center;
            justify-content: center;
        }

        .demo-modal-overlay.active {
            display: flex;
        }

        .demo-modal {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 16px;
            max-width: 720px;
            width: 90%;
            padding: 2.5rem;
            position: relative;
            animation: modalIn 0.3s ease;
        }

        @keyframes modalIn {
            from { opacity: 0; transform: translateY(20px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .demo-modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            color: var(--text-dim);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
        }

        .demo-modal-close:hover {
            color: var(--text-primary);
        }

        .demo-modal h2 {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .demo-modal > p {
            color: var(--text-secondary);
            margin-bottom: 1.75rem;
            font-size: 0.95rem;
        }

        .demo-options {
            display: grid;
            gap: 1rem;
        }

        .demo-option {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1.25rem;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--bg-card);
            cursor: pointer;
            transition: border-color 0.2s, transform 0.2s;
            text-decoration: none;
            color: inherit;
        }

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

        .demo-option .demo-icon {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background: rgba(29, 161, 242, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-cyan);
            font-size: 1.25rem;
        }

        .demo-option h3 {
            font-family: var(--font-heading);
            font-size: 1rem;
            margin-bottom: 0.25rem;
            color: var(--text-primary);
        }

        .demo-option p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.4;
        }

        @media (max-width: 480px) {
            .demo-modal {
                padding: 1.5rem;
            }
            .demo-option {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
        }