:root {
    --body: #6e6e73;
    --ai-indigo: #20208f;
    --ai-violet: #3a3ac4;
    --ai-cyan: #2dd4bf;
    --ai-pink: #14b8a6;
    --ai-indigo-lt: #edeefb;
    --ai-violet-lt: #eef7f5;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, .08), 0 1px 4px rgba(0, 0, 0, .04);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .1), 0 4px 16px rgba(0, 0, 0, .06);
}

.hero {
    background: linear-gradient(135deg, #15155f 0%, #1c1c84 48%, #23239b 100%);
    padding: clamp(60px, 8vw, 104px) 0 clamp(52px, 7vw, 90px);
    overflow: hidden;
    position: relative
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(45, 212, 191, .30) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: float1 14s ease-in-out infinite
}

.hero::after {
    content: '';
    position: absolute;
    top: 100px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(58, 58, 196, .42) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: float2 18s ease-in-out infinite
}

.hero-cyan {
    position: absolute;
    bottom: -150px;
    left: 40%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 212, 191, .22) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: float3 12s ease-in-out infinite;
    z-index: 0
}

@keyframes float1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }
    50% {
        transform: translate(50px, 30px) scale(1.1)
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }
    50% {
        transform: translate(-40px, 50px) scale(1.15)
    }
}

@keyframes float3 {
    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }
    50% {
        transform: translate(30px, -40px) scale(1.08)
    }
}

@keyframes aipulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }
    50% {
        opacity: .6;
        transform: scale(1.4)
    }
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%)
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 1180px;
    margin: 0 auto
}


/* two-column hero: text left, 8-category diagram right */

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center
}

.hero-text {
    min-width: 0
}

.hero-visual {
    min-width: 0
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ai-cyan);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    background: rgba(45, 212, 191, .12);
    border: 1px solid rgba(45, 212, 191, .28);
    border-radius: 980px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-cyan);
    box-shadow: 0 0 10px var(--ai-cyan);
    animation: aipulse 1.6s infinite
}

h1 {
    font-size: 54px;
    font-weight: 700;
    letter-spacing: -.045em;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 18px
}

h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #99f6e4 0%, #2dd4bf 55%, #5eead4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-p {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, .65);
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: 560px;
    letter-spacing: .005em
}

.hero-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase
}


/* hero stats */

.hero-stats {
    display: flex;
    gap: 0;
    justify-content: flex-start;
    margin-top: 30px;
    flex-wrap: wrap
}

.hero-stat {
    padding: 0 30px;
    position: relative
}

.hero-stat:first-child {
    padding-left: 0
}

.hero-stat+.hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, .14)
}

.hero-stat-n {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, #a7f3e4, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1
}

.hero-stat-l {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    margin-top: 7px
}


/* hero hub-and-spoke diagram */

.hero-diagram {
    max-width: none;
    margin: 0;
    position: relative
}

.hero-diagram svg,
.hero-diagram img {
    width: 100%;
    height: auto;
    overflow: visible;
    display: block
}

.spoke-glow {
    stroke: rgba(45, 212, 191, .10);
    stroke-width: 6;
    fill: none
}

.spoke {
    stroke: rgba(45, 212, 191, .5);
    stroke-width: 1.4;
    fill: none;
    stroke-dasharray: 5 7;
    animation: dashflow 2.4s linear infinite
}

.cat-g {
    cursor: default
}

.cat-g[data-cat] {
    cursor: pointer
}

.cat-g[data-cat]:focus-visible {
    outline: none
}

.cat-g[data-cat]:focus-visible .cat-card {
    stroke: rgba(45, 212, 191, .9);
    stroke-width: 2
}

.cat-card {
    fill: rgba(255, 255, 255, .055);
    stroke: rgba(45, 212, 191, .34);
    stroke-width: 1;
    transition: fill .2s, stroke .2s
}

.cat-g:hover .cat-card {
    fill: rgba(45, 212, 191, .15);
    stroke: rgba(45, 212, 191, .72)
}

.cat-name {
    fill: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -.01em
}

.cat-count {
    fill: #2dd4bf;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em
}

.hub-card {
    fill: url(#hubgrad);
    stroke: rgba(45, 212, 191, .78);
    stroke-width: 1.6;
    filter: drop-shadow(0 0 18px rgba(45, 212, 191, .34))
}

.hub-t1 {
    fill: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em
}

.hub-t2 {
    fill: #9ff3e4;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .03em
}

.hub-pulse {
    fill: none;
    stroke: rgba(45, 212, 191, .55);
    animation: hubpulse 3s ease-out infinite
}

@keyframes dashflow {
    to {
        stroke-dashoffset: -24
    }
}

@keyframes hubpulse {
    0% {
        opacity: .5;
        transform: scale(1)
    }
    70% {
        opacity: 0;
        transform: scale(1.5)
    }
    100% {
        opacity: 0;
        transform: scale(1.5)
    }
}

.hero::before,
.hero::after {
    opacity: .14
}

.hero-cyan {
    opacity: .14
}

.hero-grid-bg {
    opacity: .5
}

@media (max-width:880px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center
    }
    .hero-text .hero-p {
        margin: 0 auto 22px
    }
    .hero-text .hero-stats {
        justify-content: center
    }
    .hero-text .hero-stat:first-child {
        padding-left: 30px
    }
    .hero-diagram {
        max-width: 640px;
        margin: 8px auto 0
    }
}

@media (max-width:600px) {
    .hero-diagram {
        margin-top: 26px
    }
    .cat-name {
        font-size: 14px
    }
    .cat-count {
        font-size: 13px
    }
    .hub-t1 {
        font-size: 24px
    }
    .hub-t2 {
        font-size: 14px
    }
}


/* ── INTRO ── */

@media(max-width:840px) {
    h1 {
        font-size: 34px
    }
    .hero-stat {
        padding: 0 18px
    }
    .hero-stat-n {
        font-size: 26px
    }
}