/* =============================================================
   nexpert.css — Merged from home-2.css + shared.css + solutions.css
   Load order preserved: home-2.css rules first, shared.css after.
   shared.css wins on equal-specificity conflicts (as before).
   solutions.css appended — all new classes, no conflicts.
   ============================================================= */

/* ========== ROOT VARIABLES ========== */
:root {
    /* Colors */
    --bg-primary: #0B1220;
    --bg-secondary: #0F1923;
    --bg-card: #111D2B;
    --bg-darker: #070D17;
    --accent-cyan: #00b2df;
    --accent-cyan-light: #33c5eb;
    --accent-cyan-dark: #0090b3;
    --accent-red: #E63946;
    --accent-gold: #E8C252;
    --accent-purple: #BA68C8;
    --text-primary: #F0F4F8;
    --text-secondary: #CBD5E1;
    --text-dim: #94A3B8;
    --text-error: #ff6b7a;
    --border-image: 3px solid var(--accent-cyan);
    --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-heading-condensed: 'Barlow Condensed', 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing Scale (0.5rem base unit) */
    --sp-1:   0.5rem;
    --sp-1-5: 0.75rem;
    --sp-2:   1rem;
    --sp-2-5: 1.25rem;
    --sp-3:   1.5rem;
    --sp-4:   2rem;
    --sp-5:   2.5rem;
    --sp-6:   3rem;
    --sp-8:   4rem;
    --sp-9:   4.5rem;
    --sp-10:  5rem;
    --sp-12:  6rem;

    /* Container */
    --site-w: 1200px;
    --site-p: var(--sp-9);

    /* Typography Scale */
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-h3: 1.17rem;
    --fs-h4: 1rem;
    --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));
}


/* ============================================================
   HOME-2.CSS CONTENT
   ============================================================ */

/* ========== KEYFRAMES (page-specific) ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}


/* ========== 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;
}


/* 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: 1400px;
    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: 0;
    overflow: hidden;
    border: var(--border-image);
    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;
}

.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);
}

.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;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

#gen-agentic .two-col-grid { grid-template-columns: 5fr 6fr; }
#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; }

.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;
}

.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; }
.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; }
    .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: 0;
    overflow: hidden;
    border: var(--border-image);
    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 {
    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-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 { 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-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 { 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 {
    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 { 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); }

.mas-model-diagram .surrounding-hex:nth-child(3) { top: 9%; left: 8%; transform: none; }
.mas-model-diagram .surrounding-hex:nth-child(4) { top: 9%; right: 8%; left: auto; transform: none; }
.mas-model-diagram .surrounding-hex:nth-child(5) { bottom: 9%; top: auto; left: 8%; transform: none; }
.mas-model-diagram .surrounding-hex:nth-child(6) { top: auto; bottom: 9%; left: auto; right: 8%; transform: none; }

.hex-gold { filter: drop-shadow(0 0 10px rgba(232, 194, 82, 0.4)); }
.hex-gold::before { background: var(--accent-gold); }
.hex-gold .hexagon-shape { box-shadow: inset 0 0 20px rgba(232, 194, 82, 0.15); }
.hex-gold .hexagon-icon i { color: var(--accent-gold); }

.hex-purple { filter: drop-shadow(0 0 10px rgba(186, 104, 200, 0.4)); }
.hex-purple::before { background: var(--accent-purple); }
.hex-purple .hexagon-shape { box-shadow: inset 0 0 20px rgba(186, 104, 200, 0.15); }
.hex-purple .hexagon-icon i { color: var(--accent-purple); }

.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: var(--text-primary); word-break: break-word; overflow: visible; max-width: 100%; text-shadow: none; }

.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; }
.mv-card p { color: var(--text-secondary); font-size: 0.82rem; margin: 0; line-height: 1.55; }

.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; }
.capabilities-box p { color: var(--text-secondary); font-size: 0.82rem; margin: 0; line-height: 1.55; }

.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 { 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 (home-2 section layouts) ========== */
@media (max-width: 1024px) {
    .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-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 { 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; }
    .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; }
    .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 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: var(--text-primary); 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; }

.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-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-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 1.5rem; }
.two-column-content h3 { line-height: 1.3; 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; }

.nexus-label { position: absolute; color: var(--text-primary); text-align: center; }
.nexus-label h4 { 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)); }

.red-header { text-align: center; margin-bottom: 2rem; }
.red-header h2 { 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 { 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 { 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) {
    .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; }
    .agent-hex-container::before, .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-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 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .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, .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 { 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; }
    .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; }
    .nexus-connections line { animation: none; }
    .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) {
    .nexus-node:hover { transform: none; }
    .consulting-diagram-svg svg { filter: none; }
    .agent-hex-container { box-shadow: 0 0 10px rgba(29, 161, 242, 0.1); }
}

@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 { 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 ========== */
.container {
    max-width: var(--site-w);
    padding-left: var(--site-p);
    padding-right: var(--site-p);
}

.section,
.section.dark,
.section.darker,
.section-alt.section {
    padding: var(--sp-12) 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;
}

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

.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;
}

.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-tag,
.section-label {
    font-family: var(--font-heading-condensed);
    font-size: 0.83rem;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

#community-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.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); }

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

.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;
}

.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); }
.agent-hex { filter: var(--glow); }
.surrounding-hex { filter: var(--glow); }

#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); }

.mas-features { gap: var(--sp-2); margin-bottom: var(--sp-3); }
.mas-feature { gap: var(--sp-1); }
.mas-feature-text h4 { margin-bottom: 2px; }
.mas-feature-text p { font-size: 0.76rem; line-height: 1.45; }
.mas-buttons { gap: var(--sp-2); }

#consulting .two-col-grid { grid-template-columns: 3fr 2fr; gap: var(--sp-3); }

.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-weight: 600; line-height: 1.35; }

.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%; }
.surrounding-hex { width: 24.4%; height: 33.9%; }

.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 { 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 { margin-bottom: var(--sp-1); }
.capabilities-box p { font-size: 0.82rem; line-height: 1.55; }

.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; }

.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: 0; }

/* Normalization responsive */
@media (max-width: 1024px) {
    :root { --site-p: 1.5rem; --sp-12: 4rem; }
    .section, .section.dark, .section.darker, .section-alt.section { padding: var(--sp-12) var(--site-p) !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: 1.25rem; --sp-12: 3rem; }
    .section, .section.dark, .section.darker, .section-alt.section { padding: var(--sp-12) var(--site-p) !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; }
    .feature-content h3 { font-size: 1rem !important; }
}

@media (max-width: 480px) {
    :root { --site-p: 1rem; --sp-12: 2.5rem; }
    .section, .section.dark, .section.darker, .section-alt.section { padding: var(--sp-12) var(--site-p) !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 { 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 { 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; }
}


/* ============================================================
   SHARED.CSS CONTENT
   (loads after home-2 content — wins on equal specificity)
   ============================================================ */

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body { font-family: var(--font-body); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; background-color: var(--bg-darker); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin-bottom: var(--sp-5); }
h1 { font-size: var(--fs-h1); font-weight: 900; font-family: var(--font-heading-condensed); }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin-bottom: var(--sp-5); }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); border: none; cursor: pointer; transition: all 0.3s ease; }

/* ========== SPACE BACKGROUND ========== */
.space-background-container {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: -10; pointer-events: none;
    background-color: #070e17; overflow: hidden;
}

.space-background-container .stars-animated {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(1px 1px at 15% 15%, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 85% 25%, #ffffff 100%, transparent),
        radial-gradient(2px 2px at 45% 45%, #ffffff 80%, transparent),
        radial-gradient(1px 1px at 75% 85%, #88b7d5 100%, transparent),
        radial-gradient(1.5px 1.5px at 25% 75%, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 55% 15%, #ffffff 100%, transparent),
        radial-gradient(2px 2px at 90% 60%, #88b7d5 80%, transparent);
    background-size: 250px 250px;
    animation: twinkle 4s ease-in-out infinite alternate;
    z-index: 1;
}

.space-background-container .nebula {
    position: absolute; border-radius: 50%;
    background: #091729; filter: blur(120px);
    opacity: 0.3; z-index: 2; pointer-events: none;
}

.space-background-container .nebula-1 { width: 50vw; height: 50vh; top: 10%; left: 20%; animation: drift 20s infinite ease-in-out; }
.space-background-container .nebula-2 { width: 40vw; height: 60vh; bottom: -10%; right: 10%; background: #0a2038; animation: drift 25s infinite ease-in-out reverse; }

.space-background-container .space-object { position: absolute; border-radius: 50%; z-index: 3; pointer-events: none; }

.space-background-container .planet {
    background: radial-gradient(circle at 30% 30%, #1c456b, #0c1f35);
    box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.4);
}

.space-background-container .ring { border: 6px solid #143754; box-sizing: border-box; background: transparent; }

.space-background-container .obj1 { width: 140px; height: 140px; top: 25%; left: -2%; animation: floatVertical 8s ease-in-out infinite; }
.space-background-container .obj2 { width: 60px; height: 60px; bottom: 20%; left: 8%; animation: floatHorizontal 12s ease-in-out infinite; border-width: 8px; }
.space-background-container .obj3 { width: 130px; height: 130px; bottom: -5%; right: 8%; animation: floatVertical 10s ease-in-out infinite reverse; opacity: 0.9; }
.space-background-container .obj4 { width: 50px; height: 50px; top: 15%; right: 8%; animation: floatHorizontal 14s ease-in-out infinite; border-width: 6px; }
.space-background-container .obj5 { width: 80px; height: 80px; top: 10%; right: 28%; animation: floatVertical 16s ease-in-out infinite; border: 4px solid rgba(20, 55, 84, 0.4); }

.floating-star { position: absolute; background: #ffffff; border-radius: 50%; pointer-events: none; z-index: 2; opacity: 0; animation: starFloat 8s ease-in-out infinite; }
.floating-star.star-blue { background: #88ccff; box-shadow: 0 0 4px rgba(136, 204, 255, 0.6); }

@media (max-width: 768px) {
    .space-background-container .nebula { filter: blur(40px); opacity: 0.15; animation: none; }
    .space-background-container .stars-animated { animation: none; }
    .space-background-container .space-object { animation: none; }
    .floating-star { animation-duration: 10s !important; }
}

@media (max-width: 480px) {
    .space-background-container .nebula { display: none; }
    .space-background-container .stars-animated { opacity: 0.5; }
    .floating-star { animation: none !important; opacity: 0.4 !important; }
}

/* ========== SHARED KEYFRAMES ========== */
@keyframes twinkle {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatVertical {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatHorizontal {
    0% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(20px) translateY(-10px); }
    100% { transform: translateX(0px) translateY(0px); }
}

@keyframes starFloat {
    0% { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
    20% { opacity: 0.9; }
    50% { opacity: 0.5; transform: translateY(-40px) translateX(20px) scale(1.3); }
    80% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-80px) translateX(-10px) scale(0.8); }
}

@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); }
}

/* ========== SCROLL PROGRESS BAR ========== */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light)); z-index: 10000; transition: width 0.1s ease; }

/* ========== NAVIGATION ========== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; transition: all 0.3s ease; padding: 1.25rem 0; }
.navbar.scrolled { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); padding: 0.75rem 0; }
.navbar .container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }
.navbar .logo .logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.navbar .logo .ai { color: var(--accent-cyan); }
.navbar .nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.navbar .nav-links a { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; position: relative; }
.navbar .nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent-cyan); transition: width 0.3s ease; }
.navbar .nav-links a:hover { color: var(--text-primary); }
.navbar .nav-links a:hover::after { width: 100%; }
.navbar .nav-links a.active { color: var(--accent-cyan); }
.navbar .nav-links a.active::after { width: 100%; }

/* ========== NAV DROPDOWNS ========== */
.nav-links li { position: relative; }
.nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 260px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 0; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s, transform 0.2s; transform: translateX(-50%) translateY(8px); z-index: 1000; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); pointer-events: none; }
.nav-links li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown .dropdown-label { padding: 0.4rem 1.25rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-cyan); font-weight: 700; }
.nav-dropdown a { display: block; padding: 0.5rem 1.25rem; color: var(--text-secondary); font-size: 0.85rem; text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.nav-dropdown a:hover { background: rgba(29, 161, 242, 0.08); color: var(--text-primary); }
.nav-dropdown a.active { color: var(--accent-cyan); background: rgba(29, 161, 242, 0.06); }
.nav-dropdown a::after { display: none; }
.nav-dropdown .divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
.navbar .nav-right { display: flex; align-items: center; gap: 1.5rem; }
.navbar .social-icon-header { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-secondary); font-size: 0.9rem; transition: all 0.3s ease; }
.navbar .social-icon-header:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

/* ========== BUTTONS ========== */
.btn-primary { background: var(--accent-cyan); color: white; padding: 0.75rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; border: 2px solid var(--accent-cyan); position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent); transition: left 0.5s ease; z-index: 1; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: var(--accent-cyan-light); border-color: var(--accent-cyan-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3); }

.btn-outline { background: transparent; color: var(--accent-cyan); padding: 0.75rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid var(--accent-cyan); transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn-outline::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent); transition: left 0.5s ease; z-index: 1; }
.btn-outline:hover::before { left: 100%; }
.btn-outline:hover { background: var(--accent-cyan); color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3); }

.btn-red { background: var(--accent-red); color: white; padding: 0.75rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid var(--accent-red); transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn-red::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent); transition: left 0.5s ease; z-index: 1; }
.btn-red:hover::before { left: 100%; }
.btn-red:hover { background: #d32f3e; border-color: #d32f3e; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3); }

/* Mobile Menu */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.mobile-menu-toggle span { width: 28px; height: 3px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

.mobile-nav { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: var(--bg-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); z-index: 9998; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.mobile-nav.active { display: block; max-height: 600px; }
.mobile-nav .nav-links { flex-direction: column; padding: 2rem; gap: 1.5rem; }

/* ========== SECTIONS BASE ========== */
.section { padding: 4rem 1.5rem; position: relative; }
.section.dark { background: rgba(7, 13, 23, 0.5); }
.section.darker { background: linear-gradient(180deg, rgba(7, 13, 23, 0.6), rgba(11, 18, 32, 0.4)); }
.section.primary { background: var(--bg-primary); }

.container { max-width: 1400px; margin: 0 auto; }

.section-label { font-family: var(--font-heading-condensed); font-size: 0.83rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 1rem; display: block; }

.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1.5rem; line-height: 1.2; }

.section-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary); max-width: 900px; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }

/* ========== CTA BANNER ========== */
.cta-banner { background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1200&q=60'); background-size: cover; background-position: center; background-attachment: fixed; position: relative; padding: 7rem 0; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 32, 0.93), rgba(11, 18, 32, 0.89)); z-index: 0; }
.cta-banner .container { position: relative; z-index: 1; text-align: center; }
.cta-banner h2 { font-weight: 900; color: var(--text-primary); margin-bottom: 1rem; }
.cta-banner p { color: var(--text-secondary); max-width: 580px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.7; }

/* ========== INDUSTRY TAGS ========== */
.industry-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.industry-tag { background: rgba(29, 161, 242, 0.08); border: 1px solid rgba(29, 161, 242, 0.2); color: var(--accent-cyan-light); font-size: 0.82rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 20px; }

/* ========== COMMUNITY COLLAGE ========== */
.community-collage-new { position: relative; max-width: 1000px; margin: 4rem auto; padding: 2rem 0; }
.collage-connectors { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.collage-grid-custom { position: relative; width: 100%; height: 600px; z-index: 1; }
.collage-item { position: absolute; width: 260px; height: 180px; border-radius: 16px; overflow: hidden; border: 2px solid rgba(29, 161, 242, 0.4); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6); transition: all 0.4s ease; cursor: pointer; background: #060B14; }
.collage-item:hover { transform: scale(1.05); border-color: rgba(29, 161, 242, 1); box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3), inset 0 0 15px rgba(29, 161, 242, 0.2); z-index: 10; }
.collage-item.box-1 { top: 0; left: 50%; transform: translateX(-50%); }
.collage-item.box-1:hover { transform: translateX(-50%) scale(1.05); }
.collage-item.box-2 { top: 50%; left: 4%; transform: translateY(-50%); }
.collage-item.box-2:hover { transform: translateY(-50%) scale(1.05); }
.collage-item.box-3 { top: 50%; right: 4%; transform: translateY(-50%); }
.collage-item.box-3:hover { transform: translateY(-50%) scale(1.05); }
.collage-item.box-4 { bottom: 0; left: 17%; }
.collage-item.box-4:hover { transform: scale(1.05); }
.collage-item.box-5 { bottom: 0; right: 17%; }
.collage-item.box-5:hover { transform: scale(1.05); }
.collage-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: brightness(0.85); }
.collage-item:hover img { transform: scale(1.1); filter: brightness(1.1); }
.collage-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 0.8rem 1rem; background: linear-gradient(180deg, transparent 0%, rgba(6, 11, 20, 0.95) 80%); color: white; text-align: left; }
.collage-label { font-weight: 800; font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); }
.collage-center-box { position: absolute; top: 67.5%; left: 50%; transform: translate(-50%, -50%); font-size: 2.2rem; font-weight: 700; color: #ffffff; z-index: 5; letter-spacing: -0.02em; background: rgba(6, 11, 20, 0.85); padding: 0.8rem 1.8rem; border-radius: 30px; border: 1px solid rgba(29, 161, 242, 0.5); box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(29, 161, 242, 0.1); backdrop-filter: blur(8px); display: inline-flex; align-items: center; }

/* ========== PAGE HERO (Subpages) ========== */
.page-hero { position: relative; padding: 6rem 2rem 2rem; text-align: center; background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-primary) 100%); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 50px 50px; animation: gridScroll 20s linear infinite; z-index: 0; }
@keyframes gridScroll { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--accent-cyan); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb span { margin: 0 0.5rem; color: var(--text-dim); }
.page-hero h1 { font-weight: 800; margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.page-hero .deco-circle { position: absolute; border: 1px solid rgba(29, 161, 242, 0.15); border-radius: 50%; pointer-events: none; z-index: 0; }
.page-hero .deco-circle:nth-child(1) { width: 200px; height: 200px; top: 15%; left: 5%; }
.page-hero .deco-circle:nth-child(2) { width: 120px; height: 120px; top: 20%; right: 10%; }
.page-hero .deco-circle:nth-child(3) { width: 80px; height: 80px; bottom: 20%; right: 20%; }

/* Hero variant: full-width centered hero used by service/feature sub-pages */
.hero-feature { padding: 6rem 0 2rem; position: relative; text-align: center; }
.hero-feature .deco-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(29, 161, 242, 0.08); pointer-events: none; }
.hero-feature .deco-circle:nth-child(1) { width: 500px; height: 500px; top: -80px; left: -120px; }
.hero-feature .deco-circle:nth-child(2) { width: 350px; height: 350px; top: 60px; right: -80px; }
.hero-feature .deco-circle:nth-child(3) { width: 200px; height: 200px; bottom: 0; left: 50%; transform: translateX(-50%); }
.hero-feature h1 { color: var(--text-primary); line-height: 1.15; max-width: 820px; margin: 0 auto 1.5rem; }
.hero-feature h1 span { color: var(--accent-cyan); }
.hero-feature .hero-subtitle { color: var(--accent-cyan); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.7; }

/* ========== FOOTER ========== */
.footer { background: url('../images/washington-dc-monuments-at-night.jpg') center center / cover no-repeat; border-top: none; padding: 2.5rem 4rem 0; position: relative; }
.footer::before { content: ''; position: absolute; inset: 0; background: rgba(7, 13, 23, 0.68); z-index: 0; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.6fr 1fr; gap: 2rem; padding-bottom: 2rem; position: relative; z-index: 1; align-items: start; }
.footer-brand { padding-top: 0.25rem; }
.footer-column h4 { text-transform: uppercase; letter-spacing: 1.5px; color: #ffffff; margin-top: 0; margin-bottom: 0.6rem; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.35rem; }
.footer-column a { color: var(--text-secondary); font-size: 0.88rem; font-weight: 400; transition: color 0.2s ease; text-decoration: none; }
.footer-column a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 0.9rem 0; text-align: center; color: var(--text-dim); font-size: 0.82rem; font-weight: 400; position: relative; z-index: 1; max-width: 100%; }

.badge-pending { display: inline-block; color: #ff3b3b; font-weight: 900; font-style: italic; font-size: 0.85rem; margin-left: 0.5rem; text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.6); filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)); animation: pendingPulse 2s infinite ease-in-out; }
@keyframes pendingPulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)); } 50% { transform: scale(1.05); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 1)); } }

/* ========== RESPONSIVE — SHARED ========== */
@media (max-width: 1024px) {
    .navbar .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0.5rem; }
    .navbar .nav-right { display: none; }
    .mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(7, 13, 23, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 9997; overflow-y: auto; overflow-x: hidden; max-height: none; padding-top: 80px; }
    .mobile-nav.active { display: flex; flex-direction: column; max-height: 100vh; }
    .mobile-nav .nav-links { display: flex; flex-direction: column; list-style: none; padding: 1.5rem 2rem 2rem; gap: 0; width: 100%; }
    .mobile-nav .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
    .mobile-nav .nav-links li:last-child { border-bottom: none; padding-top: 1.5rem; }
    .mobile-nav .nav-links a { display: flex; align-items: center; min-height: 56px; font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); padding: 0 0.25rem; width: 100%; transition: color 0.2s ease; }
    .mobile-nav .nav-links a:hover, .mobile-nav .nav-links a.active { color: var(--accent-cyan); }
    .mobile-nav .nav-links .btn-primary { min-height: 44px; width: 100%; justify-content: center; font-size: 1rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .social-icons a { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
    .section { padding: 4rem 1.5rem; }
}

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer { padding: 3rem 1.5rem 2rem; }
    .footer-brand .tagline { font-size: 0.95rem; }
    .footer-column h4 { margin-bottom: 1rem; }
    .footer-column li { margin-bottom: 0.6rem; }
    .footer-column a { display: inline-block; min-height: 36px; line-height: 36px; font-size: 0.95rem; }
    .footer-bottom { font-size: 0.82rem; padding-top: 1.5rem; line-height: 1.8; }
    .page-hero { padding: 5rem 1.5rem 3rem; }
    .page-hero p { font-size: 1rem; }
    .navbar { padding: 1rem 0; }
    .navbar .container { padding: 0 1.25rem; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 1rem; }
    .cta-buttons .btn-primary, .cta-buttons .btn-outline, .cta-buttons .btn-red { min-height: 48px; width: 100%; max-width: 320px; justify-content: center; }
    .section { padding: 3.5rem 1.25rem; }
}

@media (max-width: 480px) {
    .page-hero { padding: 4rem 1rem 2.5rem; }
    .navbar .container { padding: 0 1rem; }
    .navbar .logo { font-size: 1.4rem; }
    .navbar .logo .logo-icon { width: 30px; height: 30px; font-size: 1rem; }
    .mobile-nav .nav-links a { font-size: 1rem; min-height: 52px; }
    .footer { padding: 2.5rem 1rem 1.5rem; }
    .footer-brand .logo { font-size: 1.4rem; }
    .footer-bottom { font-size: 0.78rem; line-height: 2; }
    .social-icons { gap: 0.75rem; }
    .social-icons a { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
    .btn-primary, .btn-outline, .btn-red { min-height: 44px; }
    .section { padding: 3rem 1rem; }
    html, body { overflow-x: hidden; max-width: 100vw; }
    img, video, iframe, embed, object { max-width: 100%; height: auto; }
    .section { overflow-x: hidden; }
}


/* ============================================================
   SOLUTIONS.CSS CONTENT
   All new classes — no conflicts with shared or home-2.
   ============================================================ */


/* Flip Card Grid */
.flip-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; }
.flip-card-grid::after { content: ''; display: block; }

/* Flip Card - 3D Flip */
.flip-card { perspective: 1000px; width: 100%; height: 480px; cursor: pointer; position: relative; }
.flip-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s; transform-style: preserve-3d; }
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border); display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); transition: box-shadow 0.3s ease; }
.flip-card-front { justify-content: flex-start; }
.flip-card-back { transform: rotateY(180deg); justify-content: space-between; }
.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }

/* Bot Icon */
.icon-circle { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; margin: 0 auto 1.5rem; transition: transform 0.3s ease; }
.flip-card:hover .icon-circle { transform: scale(1.1); }
.icon-circle.cyan  { background: var(--accent-cyan); box-shadow: 0 8px 24px rgba(29, 161, 242, 0.4); }
.icon-circle.red   { background: var(--accent-red);  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4); }
.icon-circle.purple { background: #9333EA; box-shadow: 0 8px 24px rgba(147, 51, 234, 0.4); }
.icon-circle.green  { background: #10B981; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4); }
.icon-circle.orange { background: #F59E0B; box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4); }

.flip-card-front h3 { margin-bottom: 0.75rem; color: var(--text-primary); text-align: center; }
.flip-card-front p  { color: var(--text-secondary); text-align: center; line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.95rem; }

.flip-hint { display: block; text-align: center; color: var(--text-dim); font-size: 0.85rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(148, 163, 184, 0.1); }
.flip-hint i { margin-right: 0.5rem; color: var(--accent-cyan); }

.flip-card-back h3 { margin-bottom: 0.75rem; color: var(--text-primary); }

/* Icon-aligned checklist */
.icon-list { list-style: none; margin-bottom: 1rem; padding: 0; }
.icon-list li { color: var(--text-secondary); padding: 0.4rem 0; font-size: 0.9rem; display: flex; align-items: flex-start; line-height: 1.5; }
.icon-list li i { color: var(--accent-cyan); margin-right: 0.5rem; margin-top: 0.2rem; flex-shrink: 0; }

/* Badge row + pill tags */
.badge-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tech-badge { background: rgba(29, 161, 242, 0.1); color: var(--accent-cyan); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(29, 161, 242, 0.2); transition: all 0.3s ease; }
.tech-badge:hover { background: rgba(29, 161, 242, 0.2); border-color: rgba(29, 161, 242, 0.4); }
.tech-badge.cyan   { background: rgba(29, 161, 242, 0.1);  color: var(--accent-cyan); border-color: rgba(29, 161, 242, 0.2); }
.tech-badge.red    { background: rgba(230, 57, 70, 0.1);   color: var(--accent-red);  border-color: rgba(230, 57, 70, 0.2); }
.tech-badge.purple { background: rgba(147, 51, 234, 0.1);  color: #9333EA; border-color: rgba(147, 51, 234, 0.2); }
.tech-badge.green  { background: rgba(16, 185, 129, 0.1);  color: #10B981; border-color: rgba(16, 185, 129, 0.2); }
.tech-badge.orange { background: rgba(245, 158, 11, 0.1);  color: #F59E0B; border-color: rgba(245, 158, 11, 0.2); }

/* Bot Demo Button */
.btn-card-action { width: 100%; justify-content: center; margin-top: auto; padding: 0.8rem 1.5rem; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); color: white; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem; }
.btn-card-action:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3); }
.btn-card-action i { font-size: 1rem; }

/* Demo Modal (solutions version) */
.chat-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 10001; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 1rem; }
.chat-modal-overlay.active { opacity: 1; visibility: visible; }
.chat-modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; width: 100%; max-width: 480px; max-height: 80vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5); position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
.chat-modal-overlay.active .chat-modal { transform: scale(1); }
.chat-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; z-index: 5; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease; }
.chat-modal-close:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }
.chat-modal-header { padding: 1.5rem; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--border); }
.chat-modal-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white; flex-shrink: 0; }
.chat-modal-header h3 { color: var(--text-primary); margin: 0; }
.chat-modal-body { flex: 1; padding: 1.5rem; overflow-y: auto; min-height: 250px; max-height: 400px; background: var(--bg-darker); }
.chat-modal-body::-webkit-scrollbar { width: 6px; }
.chat-modal-body::-webkit-scrollbar-track { background: var(--bg-primary); border-radius: 3px; }
.chat-modal-body::-webkit-scrollbar-thumb { background: rgba(29, 161, 242, 0.3); border-radius: 3px; }
.chat-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(29, 161, 242, 0.5); }

/* Chat Messages */
.chat-message { margin-bottom: 1rem; animation: messageSlideIn 0.3s ease; }
@keyframes messageSlideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.message-incoming p { background: rgba(29, 161, 242, 0.1); border: 1px solid rgba(29, 161, 242, 0.2); border-radius: 12px 12px 12px 0; padding: 1rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin: 0; }
.message-outgoing { display: flex; justify-content: flex-end; }
.message-outgoing p { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); border-radius: 12px 12px 0 12px; padding: 1rem; color: white; font-size: 0.95rem; line-height: 1.6; margin: 0; max-width: 80%; }
.typing-indicator { display: flex; gap: 0.3rem; padding: 1rem; background: rgba(29, 161, 242, 0.1); border: 1px solid rgba(29, 161, 242, 0.2); border-radius: 12px 12px 12px 0; width: fit-content; }
.typing-indicator span { width: 8px; height: 8px; background: var(--accent-cyan); border-radius: 50%; animation: typingBounce 1.4s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }

/* Modal Input */
.chat-modal-input { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; gap: 0.75rem; background: var(--bg-card); }
.chat-modal-input input { flex: 1; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; color: var(--text-primary); font-size: 0.95rem; font-family: var(--font-body); transition: border-color 0.3s ease; }
.chat-modal-input input:focus { outline: none; border-color: var(--accent-cyan); }
.chat-modal-input input::placeholder { color: var(--text-dim); }
.chat-modal-input input:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-modal-input button { padding: 0.75rem 1rem; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); color: white; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem; }
.chat-modal-input button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3); }
.chat-modal-input button:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-modal-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-modal-embed { display: none; flex: 1; min-height: 350px; max-height: 500px; background: var(--bg-darker); border-radius: 0 0 16px 16px; }
.chat-modal-embed iframe { width: 100%; height: 100%; border: none; }

/* Exit Confirmation */
.confirm-dialog-overlay { position: absolute; inset: 0; background: rgba(7, 13, 23, 0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 10; opacity: 0; visibility: hidden; transition: all 0.25s ease; border-radius: 16px; }
.confirm-dialog-overlay.active { opacity: 1; visibility: visible; }
.confirm-dialog { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; max-width: 340px; width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); transform: scale(0.9); transition: transform 0.25s ease; }
.confirm-dialog-overlay.active .confirm-dialog { transform: scale(1); }
.confirm-dialog-icon { width: 56px; height: 56px; background: rgba(230, 57, 70, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.5rem; color: var(--accent-red); }
.confirm-dialog h4 { color: var(--text-primary); margin-bottom: 0.5rem; }
.confirm-dialog p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.75rem; }
.confirm-dialog-buttons { display: flex; gap: 0.75rem; }
.confirm-dialog-buttons .btn-outline,
.confirm-dialog-buttons .btn-red { flex: 1; padding: 0.7rem 1rem; font-size: 0.85rem; justify-content: center; border-radius: 8px; }

/* Solution Sub-Page Shared Layout */
.page-hero-extended { text-align: center; }
.page-hero-extended h1 { color: var(--text-primary); line-height: 1.15; margin-bottom: 1.25rem; }
.page-hero-extended h1 span { color: var(--accent-cyan); }
.page-hero-extended .hero-subtitle { color: var(--accent-cyan); font-size: clamp(0.95rem, 1.8vw, 1.1rem); max-width: 680px; margin: 0 auto 2rem; line-height: 1.8; }
.page-hero-extended .cta-buttons { margin-bottom: 0; }
.hero-image-block { margin-top: 0; margin-bottom: var(--sp-5); }
.hero-image-block img { width: 100%; max-width: 900px; border-radius: 0; border: var(--border-image); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); display: block; margin: 0 auto; }

.two-col-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; row-gap: 0; align-items: center; }
.align-top { align-items: start; }
.content-card { padding-bottom: var(--sp-6); padding-left: var(--sp-3); padding-right: var(--sp-3); }
.content-card:last-child { padding-bottom: 0; }
.content-card > *:last-child { margin-bottom: 0; }
.content-card h3 { font-size: var(--fs-h3); font-family: var(--font-heading-condensed); font-weight: 800; color: var(--accent-cyan); text-align: center; text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--sp-3); }
.content-card--white h3 { color: var(--text-primary); }
.content-card h3.text-left { text-align: left; }
.content-card h4 { margin-bottom: var(--sp-3); }
.content-card h5 { font-size: var(--fs-body); font-weight: 700; color: var(--text-primary); margin-top: var(--sp-3); margin-bottom: 0; }
.content-card p { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--sp-3); }
.content-card ul, .content-card ol { color: var(--text-secondary); line-height: 1.8; padding-left: 4.25rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-cyan { color: var(--accent-cyan); }
.img-width { max-width: 900px; }
.flex-col-center { display: flex; flex-direction: column; align-items: center; }
.col-text .section-label { margin-bottom: 1rem; }
.col-text .section-title { text-align: left; font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1.5rem; }
.col-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.25rem; }
.col-image { padding: var(--sp-6); }
.col-image img { width: 100%; border-radius: 0; border: var(--border-image); margin-bottom: var(--sp-5); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35); display: block; transition: transform 0.4s ease; }
.col-image:hover img { transform: scale(1.03); }

/* Pillars */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.feature-grid.feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
.steps-grid.steps-grid-4 { grid-template-columns: repeat(4, 1fr); }
.steps-grid.steps-grid-4::before { left: calc(12.5% + 1rem); right: calc(12.5% + 1rem); }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.5rem; transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light)); transform: scaleX(0); transition: transform 0.3s ease; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(29, 161, 242, 0.1); }
.feature-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; margin-bottom: 1.25rem; transition: transform 0.3s ease; }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-card h3 { color: var(--text-primary); margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

.text-sub { text-align: center; color: var(--text-secondary); font-size: 1rem; margin-bottom: 0; }
.text-note { text-align: center; color: var(--text-dim); font-size: 0.88rem; margin-top: 2rem; max-width: 680px; margin-left: auto; margin-right: auto; }

/* Comparison Table */
.comparison-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; margin-top: 2.5rem; }
.comparison-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.comparison-header, .comparison-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.comparison-header { background: var(--bg-secondary); border-bottom: 1px solid var(--border); }
.comparison-col-label { padding: 1rem 1.25rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); text-align: center; }
.comparison-col-label.highlight { color: var(--accent-cyan); background: rgba(29, 161, 242, 0.06); }
.comparison-row { border-bottom: 1px solid var(--border); }
.comparison-row:last-child { border-bottom: none; }
.comparison-feature { padding: 1rem 1.25rem; font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); display: flex; align-items: center; }
.comparison-val { padding: 1rem 1.25rem; font-size: 0.88rem; color: var(--text-dim); text-align: center; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--border); }
.comparison-val.highlight { color: var(--accent-cyan); font-weight: 600; background: rgba(29, 161, 242, 0.04); }
.comparison-val.negative { color: var(--text-dim); }
.comparison-val.negative i { color: var(--accent-red); margin-right: 0.4rem; }
.comparison-val.highlight i { color: var(--accent-cyan); margin-right: 0.4rem; }
.comparison-table.comparison-2col .comparison-header,
.comparison-table.comparison-2col .comparison-row { grid-template-columns: 1fr 1fr; }

/* Testimonial */
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem 2rem; position: relative; }
.testimonial-card i { font-size: 2rem; color: var(--accent-cyan); opacity: 0.4; margin-bottom: 1.25rem; display: block; }
.testimonial-card p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-card span { font-size: 0.85rem; font-weight: 700; color: var(--accent-cyan); letter-spacing: 0.5px; }

/* Proof Bar */
.stat-bar { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.5rem 2rem; background: rgba(29, 161, 242, 0.05); border: 1px solid rgba(29, 161, 242, 0.15); border-radius: 14px; }
.stat-bar-item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-align: center; }
.stat-bar-item strong { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-cyan); }
.stat-bar-item span { font-size: 0.88rem; color: var(--text-secondary); max-width: 220px; line-height: 1.4; }

/* Agent Cards */
.info-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; transition: all 0.3s ease; position: relative; overflow: hidden; }
.info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light)); transform: scaleX(0); transition: transform 0.3s ease; }
.info-card:hover::before { transform: scaleX(1); }
.info-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(29, 161, 242, 0.1); }
.info-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.info-card-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: white; flex-shrink: 0; }
.info-card h3 { color: var(--text-primary); margin: 0; }
.info-card .info-card-role { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 0.75rem; }
.info-card .info-card-badge { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--accent-cyan); background: rgba(29, 161, 242, 0.08); border: 1px solid rgba(29, 161, 242, 0.2); border-radius: 20px; padding: 0.25rem 0.85rem; }

/* ROI Card */
.stats-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 3rem; text-align: center; max-width: 860px; margin: 2.5rem auto 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2rem 0; }
.stats-item strong { display: block; font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--accent-cyan); line-height: 1.1; }
.stats-item span { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; display: block; margin-top: 0.35rem; }
.stats-divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.stats-card .stats-caption { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; max-width: 640px; margin: 0 auto; }
.stats-card .stats-caption strong { color: var(--text-primary); }

/* Offer Box */
.highlight-box { background: rgba(29, 161, 242, 0.06); border: 1px solid rgba(29, 161, 242, 0.2); border-radius: 16px; padding: 2rem; margin-top: 2rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.highlight-box h4 { font-weight: 800; color: var(--accent-cyan); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.highlight-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.highlight-box ul li { font-size: 0.9rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 0.6rem; }
.highlight-box ul li i { color: var(--accent-cyan); margin-top: 0.2rem; flex-shrink: 0; }


.no-scroll { overflow: hidden; }
.hidden { display: none !important; }

/* Solutions Responsive */
@media (max-width: 1024px) {
    .flip-card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .two-col-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-wrap { grid-template-columns: 1fr; gap: 2rem; }
    .info-card-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
    .flip-card-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem 1rem; }
    .flip-card { height: 500px; }
    .demo-modal { max-width: 100%; max-height: 90vh; margin: 0 0.5rem; }
    .chat-modal-body { max-height: 300px; }
    .chat-modal-embed { min-height: 300px; max-height: 400px; }
    .confirm-dialog { padding: 2rem 1.5rem; }
    .confirm-dialog-buttons { flex-direction: column; }
    .feature-grid { grid-template-columns: 1fr; }
    .comparison-header, .comparison-row { grid-template-columns: 1fr 1fr 1fr; }
    .comparison-feature, .comparison-val { font-size: 0.8rem; padding: 0.75rem 0.75rem; }
    .stat-bar { flex-direction: column; align-items: center; gap: 1.25rem; }
    .stats-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
    .flip-card { height: auto; min-height: 450px; }
    .flip-card-front, .flip-card-back { padding: 1.5rem; }
    .icon-circle { width: 64px; height: 64px; font-size: 1.6rem; margin-bottom: 1rem; }
    .flip-card-front p { font-size: 0.9rem; }
    .icon-list li { font-size: 0.85rem; }
    .tech-badge { font-size: 0.75rem; padding: 0.25rem 0.6rem; }
    .chat-modal-header { padding: 1rem; }
    .chat-modal-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .chat-modal-body { padding: 1rem; min-height: 200px; }
    .chat-modal-input { padding: 1rem; flex-direction: column; }
    .chat-modal-input button { width: 100%; justify-content: center; }
}

/* Accessibility */
.flip-card:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 4px; }
.chat-modal-close:focus-visible,
.btn-card-action:focus-visible,
.chat-modal-input button:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .flip-card-inner { transition: none; }
    .chat-message { animation: none; }
    .typing-indicator span { animation: none; }
    .btn-card-action:hover { transform: none; }
}


/* ============================================================
   SERVICES.CSS CONTENT
   ============================================================ */

.image-frame { position: relative; border-radius: 0; overflow: hidden; border: var(--border-image); margin-bottom: var(--sp-5); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }
.image-frame img { width: 100%; height: 400px; object-fit: cover; object-position: center top; display: block; transition: transform 0.6s ease; }
.image-frame:hover img { transform: scale(1.05); }
.image-caption-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1rem 1.5rem; background: linear-gradient(to bottom, transparent, rgba(11, 18, 32, 0.9)); color: white; font-weight: 700; font-size: 1rem; letter-spacing: 0.5px; }

.stat-circles { display: flex; gap: 2rem; }
.stat-circle { width: 130px; height: 130px; border-radius: 50%; border: 2px solid var(--accent-cyan); display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(29, 161, 242, 0.05); transition: all 0.4s ease; }
.stat-circle:hover { transform: scale(1.08); background: rgba(29, 161, 242, 0.12); box-shadow: 0 8px 24px rgba(29, 161, 242, 0.2); }
.stat-number { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--accent-cyan); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); text-align: center; font-weight: 500; max-width: 90px; line-height: 1.3; }

.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; transition: all 0.4s ease; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(29, 161, 242, 0.15); border-color: var(--border-hover); }
.icon-gradient-circle { width: 70px; height: 70px; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: white; margin: 0 auto 1.5rem; transition: all 0.4s ease; }
.service-card:hover .icon-gradient-circle { transform: rotateY(360deg) scale(1.1); }
.service-card h3 { margin-bottom: 1rem; color: var(--text-primary); }
.service-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }

.media-card { display: flex; align-items: flex-start; gap: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: all 0.3s ease; }
.media-card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(29, 161, 242, 0.1); border-color: var(--border-hover); }
.media-card:hover .info-card-icon { transform: scale(1.1) rotate(5deg); }
.media-card h4 { margin-bottom: 0.5rem; color: var(--text-primary); }
.media-card p { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }

.pill-label { display: inline-block; background: rgba(0, 178, 223, 0.1); border: 1px solid rgba(0, 178, 223, 0.25); color: var(--accent-cyan); font-family: var(--font-heading-condensed); font-size: 0.83rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 0.4rem 1.2rem; border-radius: 20px; margin-bottom: 1.5rem; }


.checklist-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.checklist-box h3 { font-weight: 800; color: var(--text-primary); margin-bottom: 1.5rem; }
.checklist-box ul { list-style: none; }


.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 35px; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem); height: 2px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light)); opacity: 0.25; }
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-number { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); color: white; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; position: relative; z-index: 1; transition: all 0.3s ease; }
.step-card:hover .step-number { transform: scale(1.1); box-shadow: 0 8px 24px rgba(29, 161, 242, 0.4); }
.step-card h3 { font-weight: 800; color: var(--text-primary); margin-bottom: 0.75rem; }
.step-card p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.6; }


@media (max-width: 1024px) {
    .two-col-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .image-frame { max-width: 600px; margin: 0 auto; }
    .stat-circles { justify-content: center; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
    .two-col-layout { gap: 2rem; }
    .image-frame img { height: 300px; }
    .feature-grid { grid-template-columns: 1fr; }
    .service-card { padding: 2rem 1.5rem; }
    .stat-circles { flex-wrap: wrap; gap: 1.5rem; }
    .media-card { padding: 1.5rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .cta-banner { background-attachment: scroll; padding: 5rem 0; }
}

@media (max-width: 480px) {
    .stat-circle { width: 110px; height: 110px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.75rem; max-width: 80px; }
    .image-frame img { height: 250px; }
    .icon-gradient-circle { width: 60px; height: 60px; font-size: 1.4rem; }
    .service-card p { font-size: 0.9rem; }
    .media-card p { font-size: 0.9rem; }
    .media-card { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
}

/* =============================================
   consulting.css
   ============================================= */
/* =============================================
   AI Consulting & Support Page Styles
   ============================================= */

/* Services tile grid (8 cards, 2 rows of 4 → 2 rows of 2 on mobile) */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Accent Card — card with gradient top-bar reveal on hover */
.accent-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: all 0.4s ease; }
.accent-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.accent-card:hover::before { transform: scaleX(1); }
.accent-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(29, 161, 242, 0.12); border-color: var(--border-hover); }
.accent-card h3 { font-weight: 800; color: var(--text-primary); margin-bottom: 0.75rem; }
.accent-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.97rem; }
/* Compact: smaller padding, thinner bar, flex-column for sticky footer */
.accent-card--compact { padding: 2rem 1.5rem; display: flex; flex-direction: column; }
.accent-card--compact::before { height: 3px; }
.accent-card--compact h3 { line-height: 1.3; }
.accent-card--compact p { font-size: 0.88rem; line-height: 1.6; flex: 1; }
/* Muted: gray bar and icon (for "before" side of comparisons) */
.accent-card--muted::before { background: linear-gradient(90deg, #64748b, var(--text-dim)); }

/* Icon inside accent-card */
.card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: white; margin-bottom: 1.5rem; transition: all 0.3s ease; }
.accent-card:hover .card-icon { transform: scale(1.1) rotate(5deg); }
.accent-card--compact .card-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 1.2rem; }
.accent-card--muted .card-icon { background: rgba(148, 163, 184, 0.1); color: var(--text-dim); }

/* Uppercase label above heading */
.card-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 0.5rem; }
.accent-card--muted .card-label { color: var(--text-dim); }

/* "Applies to" footer strip inside compact cards */
.tile-applies { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--text-dim); }
.tile-applies strong { color: var(--accent-cyan); }

.callout-note {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(29, 161, 242, 0.06);
    border: 1px solid rgba(29, 161, 242, 0.2);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1200px) {
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-feature { padding: 5rem 0 4rem; }
    .tile-grid { grid-template-columns: 1fr; }
}

/* =============================================
   generative-agentic.css
   ============================================= */
/* ---- Page-specific styles ---- */

.hero-badge {
    margin-top: 2.5rem;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* What It Is + What They Do */

/* Differentiation */
.card-pair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* Why This Matters */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.1);
    border-color: var(--border-hover);
}

.benefit-item .benefit-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(29, 161, 242, 0.1);
    border: 1px solid rgba(29, 161, 242, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-cyan);
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.5;
    margin: 0;
}

/* Agent Cards */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}

.agent-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.agent-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);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(29, 161, 242, 0.15);
    border-color: var(--border-hover);
}

.agent-card.entry-level {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.agent-card .agent-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.agent-badge.entry {
    background: rgba(29, 161, 242, 0.15);
    border: 1px solid rgba(29, 161, 242, 0.3);
    color: var(--accent-cyan);
}

.agent-card .agent-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.agent-card:hover .agent-icon {
    transform: scale(1.1) rotate(5deg);
}

.agent-card.entry-level .agent-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    font-size: 2rem;
    margin-bottom: 0;
}

.agent-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.agent-card .agent-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.3rem;
}

.agent-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.agent-card .best-for {
    margin-top: auto;
    font-size: 0.82rem;
    color: var(--text-dim);
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

.agent-card .best-for strong {
    color: var(--text-secondary);
}

.agent-card .agent-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.agent-card .agent-link:hover {
    gap: 0.7rem;
}

/* How It Works */

/* Who This Is For */
/* Final CTA */

@media (max-width: 1024px) {
    .card-pair-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .agent-card.entry-level { grid-column: span 2; }
}

@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .agents-grid { grid-template-columns: 1fr; }
    .agent-card.entry-level { grid-column: span 1; grid-template-columns: 1fr; }
    .agent-card.entry-level .agent-icon { width: 60px; height: 60px; font-size: 1.5rem; margin-bottom: 1rem; }
}

/* =============================================
   mas.css
   ============================================= */
/* =============================================
   Multi-Agent Systems (MAS) Page Styles
   ============================================= */

.hero-tag-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.hero-tag {
    background: rgba(29, 161, 242, 0.08);
    border: 1px solid rgba(29, 161, 242, 0.2);
    color: var(--accent-cyan-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* What Is / Core Capabilities — two-column */

/* Capability checklist */

/* Comparison — Single vs MAS */
/* JurisMind Flagship */
.flagship-brand { color: var(--accent-cyan); font-weight: 700; }
.flagship-note { font-size: 0.88rem; color: var(--text-dim); font-style: italic; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Implementation Steps */

/* Evolution bridge section */
.evolution-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.evolution-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.evolution-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.evolution-box .tagline {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
}

.evolution-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.evolution-arrow .evo-step {
    background: rgba(29, 161, 242, 0.08);
    border: 1px solid rgba(29, 161, 242, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.evolution-arrow .evo-divider {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* Final CTA */

@media (max-width: 1024px) {
    .card-pair-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .evolution-arrow { flex-direction: column; gap: 0.5rem; }
    .evolution-arrow .evo-divider { transform: rotate(90deg); }
}

/* =============================================
   connect.css
   ============================================= */
/* =============================================
   Connect Pages — Shared Styles
   (Contact Us, About Us, Schedule a Call, Partner Program)
   ============================================= */

.hero-note { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0; }

/* Contact form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form-wrap h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form-wrap .form-subtitle {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394A3B8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form-group select option { background: var(--bg-card); }

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.form-success-msg {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(29, 161, 242, 0.08);
    border: 1px solid rgba(29, 161, 242, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.form-success-msg i {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.form-success-msg p {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.form-error-msg {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-error);
    font-size: 0.9rem;
}

.form-disclaimer {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Contact info panel */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-info-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-method:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.1);
}

.contact-method-icon {
    width: 48px; height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.contact-method-body {}

.contact-method-body .method-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.25rem;
}

.contact-method-body .method-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.contact-method-body .method-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Location map */
.contact-map {
    border-radius: 0;
    overflow: hidden;
    border: var(--border-image);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* =============================================
   Schedule a Call
   ============================================= */

.schedule-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }

.schedule-info h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.schedule-info p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.calendly-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    min-height: 700px;
}

.calendly-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    gap: 1.5rem;
    padding: 3rem;
    text-align: center;
}

.calendly-placeholder i {
    font-size: 3rem;
    color: rgba(29, 161, 242, 0.3);
}

.calendly-placeholder h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.calendly-placeholder p {
    color: var(--text-dim);
    font-size: 0.9rem;
    max-width: 360px;
    line-height: 1.7;
}

.calendly-placeholder code {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: var(--accent-cyan);
    display: block;
    text-align: left;
    line-height: 1.8;
    width: 100%;
    max-width: 480px;
}

/* =============================================
   Connect Main Page
   ============================================= */

.connect-main-sub {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.connect-main-image-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.connect-main-image img {
    width: 100%;
    max-width: 860px;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    border: var(--border-image);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.connect-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.connect-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.connect-nav-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(29, 161, 242, 0.12);
}

.connect-nav-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
}

.connect-nav-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.connect-nav-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .schedule-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.75rem; }
    .connect-nav-grid { grid-template-columns: 1fr; }
    .cal-grid { grid-template-columns: repeat(7, 1fr); gap: 4px; }
    .time-slots { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   Scheduler Widget
   ============================================= */

.scheduler-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    min-height: 420px;
}

.scheduler-step-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--text-primary);
}

.scheduler-step-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
}

.scheduler-back {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.2s;
}

.scheduler-back:hover { opacity: 0.75; }

/* Calendar nav */
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cal-month-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.cal-nav-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cal-nav-btn:hover:not(:disabled) {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.cal-nav-btn:disabled { opacity: 0.3; cursor: default; }

/* Calendar grid */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 0.75rem;
}

.cal-day-hdr {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0;
}

.cal-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: default;
    transition: background 0.15s, color 0.15s;
}

.cal-cell.empty { background: none; }

.cal-cell.disabled {
    color: var(--text-dim);
    opacity: 0.4;
}

.cal-cell.bookable {
    background: rgba(29, 161, 242, 0.08);
    color: var(--accent-cyan);
    cursor: pointer;
    border: 1px solid rgba(29, 161, 242, 0.2);
    font-weight: 700;
}

.cal-cell.bookable:hover {
    background: rgba(29, 161, 242, 0.2);
}

.cal-cell.bookable.selected {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

/* Legend */
.scheduler-legend {
    font-size: 0.78rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.legend-dot.bookable  { background: rgba(29, 161, 242, 0.4); border: 1px solid rgba(29,161,242,0.4); }
.legend-dot.disabled  { background: rgba(255,255,255,0.1); }

/* Time slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.time-slot-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 0.5rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-align: center;
}

.time-slot-btn:hover {
    background: rgba(29, 161, 242, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.time-slot-btn.selected {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #000;
}

.slots-loading,
.slots-empty,
.slots-error {
    font-size: 0.9rem;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
}

.slots-error { color: var(--text-error); }

/* Booking confirmed */
.booking-confirmed {
    text-align: center;
    padding: 1.5rem 0;
}

.booking-confirmed-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.booking-confirmed h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.booking-confirmed h3 span { color: var(--accent-cyan); }

.booking-confirmed > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.booking-confirmed-details {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.confirmed-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.confirmed-row i { color: var(--accent-cyan); width: 16px; }

.booking-confirmed-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin: 0;
}

/* Book submit button */
.book-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* =============================================
   about.css
   ============================================= */
/* ========================================
   N-Expert.ai About Us Page Styles
   ======================================== */

/* ========================================
   About Us Sub-Page (/company/about/)
   ======================================== */

/* Story — text above, two images side by side below */
.story-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.97rem;
    margin-bottom: 1rem;
    max-width: 820px;
}

.story-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.story-images-row img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    border: var(--border-image);
    display: block;
    transition: transform 0.5s ease;
}

.story-images-row img:hover { transform: scale(1.02); }

.mission-tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(29, 161, 242, 0.08);
    border: 1px solid rgba(29, 161, 242, 0.25);
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.story-mission-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.story-mission-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.story-mission-image:hover img { transform: scale(1.04); }

/* Team grid — avatar-style cards (square profile photos) */
.team-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    border: none;
    transition: border-color 0.3s ease;
}

.accent-card:hover .team-avatar {
    border-color: var(--accent-cyan);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.team-role {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.87rem;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 1024px) {
    .team-grid-3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .team-grid-3col { grid-template-columns: 1fr; }
    .story-images-row { grid-template-columns: 1fr; }
    .team-card { padding: 1.75rem 1.25rem; }
}

/* =============================================
   resources.css
   ============================================= */
/* ========================================
   N-Expert.ai Resources Page Styles
   ======================================== */

/* ========================================
   Resources Intro
   ======================================== */

.resources-intro {
    padding: 3rem 0 2rem;
    text-align: center;
}

.resources-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Resource Categories Grid
   ======================================== */

.categories-section {
    padding: 4rem 0;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.accent-card:hover .category-icon {
    transform: rotateY(360deg) scale(1.1);
}

.badge-coming-soon {
    display: inline-block;
    background: rgba(29, 161, 242, 0.12);
    color: var(--accent-cyan);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(29, 161, 242, 0.25);
}


/* ========================================
   Featured Articles Section
   ======================================== */

.articles-section {
    padding: 5rem 0;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(29, 161, 242, 0.15);
    border-color: var(--border-hover);
}

.article-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.7);
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.article-coming-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 18, 32, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.article-coming-overlay span {
    background: rgba(29, 161, 242, 0.9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-cyan);
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 1;
}

.article-body {
    padding: 1.5rem 1.75rem 2rem;
}

.article-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.article-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.article-link {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--accent-cyan-light);
    gap: 0.75rem;
}

.article-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.article-link:hover i {
    transform: translateX(3px);
}

/* ========================================
   Newsletter CTA Banner
   ======================================== */

.newsletter-cta {
    position: relative;
    padding: 6rem 0;
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1200&q=60');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(11, 18, 32, 0.88));
    z-index: 0;
}

.newsletter-cta .container {
    position: relative;
    z-index: 1;
}

.newsletter-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 520px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-dim);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.15);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .benefits-grid .article-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 450px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .resources-intro { padding: 2rem 0 1rem; }
    .categories-section { padding: 3rem 0; }
    .articles-section { padding: 3rem 0; }
    .benefits-grid .article-card:last-child:nth-child(odd) { max-width: 100%; }
    .newsletter-cta { padding: 4rem 0; background-attachment: scroll; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn-primary { width: 100%; justify-content: center; }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .article-thumbnail {
        height: 170px;
    }

    .article-body {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .article-body h3 {
        font-size: 1.05rem;
    }

    .newsletter-cta {
        padding: 3rem 0;
    }

    .newsletter-cta h2 {
        font-size: 1.5rem;
    }
}

/* =============================================
   legal.css
   ============================================= */
/* =============================================
   Legal Pages — Shared Styles
   (Privacy Policy, Terms of Use, Disclaimer, Cookie Policy)
   ============================================= */

/* Layout: TOC sidebar + content */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; }

/* Table of contents */
.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}

.legal-toc h4 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.legal-toc ol li { counter-increment: toc-counter; }

.legal-toc ol li a {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.legal-toc ol li a::before {
    content: counter(toc-counter) ".";
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.legal-toc ol li a:hover {
    background: rgba(29, 161, 242, 0.06);
    color: var(--text-primary);
}

/* Content area */
.legal-content {
    max-width: 760px;
}
.legal-content p { margin-bottom: calc(var(--sp-5) / 2); }
.legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4, .legal-content h5, .legal-content h6 { margin-bottom: calc(var(--sp-5) / 2); }

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 900;
    color: white;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.97rem;
    margin-bottom: 0.85rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.75rem 0;
}

.legal-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    margin-top: 0.55rem;
}

.legal-section .legal-highlight {
    background: rgba(29, 161, 242, 0.06);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1rem 0;
}

.legal-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}

/* Contact box */
.legal-contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.legal-contact-box i {
    font-size: 1.3rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.legal-contact-box a {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.97rem;
}

.legal-contact-box a:hover { text-decoration: underline; }

/* Other legal pages nav */
.legal-also {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.legal-also a {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.legal-also a:hover {
    border-color: var(--border-hover);
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-toc {
        position: static;
    }
}

@media (max-width: 768px) {
}

/* =============================================
   pricing.css
   ============================================= */
/* ========================================
   PRICING PAGE STYLES
   ======================================== */

/* ========================================
   Pricing Intro Section
   ======================================== */

.pricing-intro {
    padding: 4rem 0 3rem;
}

/* ========================================
   Pricing Cards Section
   ======================================== */

.pricing-cards-section {
    padding: 5rem 0;
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(29, 161, 242, 0.3);
}

/* Featured Card (Professional) */
.pricing-card.featured {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 40px rgba(29, 161, 242, 0.15);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 60px rgba(29, 161, 242, 0.3);
}

/* Badge */
.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-cyan);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0 16px 0 16px;
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

/* Card Header */
.pricing-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-heading);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.featured .price-amount {
    background: linear-gradient(135deg, var(--accent-cyan-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Card Body */
.pricing-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-body h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.5;
}

.pricing-features li i {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li i {
    color: var(--accent-cyan-light);
}

.pricing-card.featured .pricing-features li {
    color: var(--text-primary);
}

/* Buttons */
.pricing-body .btn-primary,
.pricing-body .btn-outline {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    padding: 5rem 0;
}

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(29, 161, 242, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(29, 161, 242, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: var(--accent-cyan);
    background: rgba(29, 161, 242, 0.05);
}

.faq-item.active .faq-question {
    background: rgba(29, 161, 242, 0.1);
    color: var(--accent-cyan);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Large Tablets and Below (1024px) */
@media (max-width: 1024px) {
    .pricing-grid { gap: 1.5rem; padding: 0 1rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: scale(1) translateY(-8px); }
}

@media (max-width: 768px) {
    .pricing-intro { padding: 3rem 0 2rem; }
    .pricing-cards-section { padding: 3rem 0; }
    .pricing-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0; }
    .pricing-card.featured { transform: scale(1); order: -1; }
    .pricing-card:hover { transform: translateY(-4px); }
    .pricing-card.featured:hover { transform: translateY(-4px); }
    .faq-section { padding: 3rem 0; }
    .faq-grid { grid-template-columns: 1fr; margin-top: 2rem; }
}

/* Mobile Devices (480px) */
@media (max-width: 480px) {
    .pricing-intro {
        padding: 2rem 0 1.5rem;
    }

    .pricing-header {
        padding: 1.5rem 1rem 1rem;
    }

    .pricing-header h3 {
        font-size: 1.2rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .price-period {
        font-size: 0.9rem;
    }

    .pricing-body {
        padding: 1.5rem 1rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    .pricing-badge {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
    .pricing-header h3 {
        font-size: 1.1rem;
    }

    .price-amount {
        font-size: 2.2rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 0.85rem;
        padding: 0.9rem 1rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
        padding: 0 1rem 0.9rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .pricing-card {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .pricing-grid {
        gap: 1rem;
    }

    .faq-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .faq-answer {
        max-height: none !important;
    }
}

/* =============================================
   community-impact.css
   ============================================= */
/* =============================================
   Community Impact / ConsultasNow Page Styles
   ============================================= */

/* Hero image */
.community-hero-image {
    margin-top: 3.5rem;
    border-radius: 0;
    overflow: hidden;
    border: var(--border-image);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.community-hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Section intro text */
.section-intro-text {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-intro-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-intro-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Five topic area cards */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.topic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(29, 161, 242, 0.15);
    border-color: var(--border-hover);
}

.topic-card-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.topic-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.topic-card:hover .topic-card-image img { transform: scale(1.08); }

.topic-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topic-card-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.85rem;
    transition: all 0.3s ease;
}

.topic-card:hover .topic-card-icon { transform: scale(1.1) rotate(5deg); }

.topic-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.topic-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.5;
}

.features-list li .feat-icon {
    width: 36px; height: 36px;
    min-width: 36px;
    background: rgba(29, 161, 242, 0.1);
    border: 1px solid rgba(29, 161, 242, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

/* CTA box */
.community-cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.community-cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light));
}

.community-cta-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.community-cta-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .topic-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .community-hero-image img { height: 280px; }
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
    .community-cta-box { padding: 2.5rem 1.5rem; }
}

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

/* =============================================
   ai-glossary.css
   ============================================= */
/* =============================================
   AI Glossary Page Styles
   ============================================= */

/* Search bar */
.glossary-search-wrap {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.glossary-search-wrap i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1rem;
    pointer-events: none;
}

.glossary-search {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glossary-search::placeholder { color: var(--text-dim); }

.glossary-search:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.1);
}

/* Count badge */
.glossary-count {
    text-align: center;
    margin-top: 0.75rem;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Alphabet nav */
.glossary-alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.glossary-alpha-nav a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dim);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.glossary-alpha-nav a:hover,
.glossary-alpha-nav a.active {
    background: rgba(29, 161, 242, 0.1);
    border-color: rgba(29, 161, 242, 0.3);
    color: var(--accent-cyan);
}

/* Section letter header */
.glossary-letter {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin: 2.5rem 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.glossary-letter:first-of-type { margin-top: 0; }

/* Term cards grid */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

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

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

.glossary-card:hover::before { transform: scaleY(1); }

.glossary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(29, 161, 242, 0.1);
    border-color: var(--border-hover);
}

.glossary-card h3 {
    font-family: var(--font-heading);
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.glossary-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* No results */
.glossary-no-results {
    display: none;
    text-align: center;
    padding: 4rem 0;
    color: var(--text-dim);
    font-size: 1rem;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1024px) {
    .glossary-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* =============================================
   quick-videos.css
   ============================================= */
/* =============================================
   Quick Videos Page Styles
   ============================================= */

/* Hero */
/* Video card — live */
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(29, 161, 242, 0.15);
    border-color: var(--border-hover);
}

/* Thumbnail with play overlay */
.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-darker);
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.85);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.video-play-btn .play-circle {
    width: 64px;
    height: 64px;
    background: rgba(29, 161, 242, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.video-card:hover .play-circle {
    transform: scale(1.12);
    background: var(--accent-cyan);
}

.video-duration {
    position: absolute;
    bottom: 0.6rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Video card body */
.video-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.video-body h3 {
    font-family: var(--font-heading);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex: 1;
}

.video-watch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-cyan);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.video-watch-link:hover { gap: 0.65rem; }

/* Coming soon card */
.video-card.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.video-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

.coming-soon-thumb {
    aspect-ratio: 16 / 9;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-dim);
}

.coming-soon-thumb i {
    font-size: 2rem;
    color: rgba(29, 161, 242, 0.3);
}

.coming-soon-thumb span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

