/* ============================================
   ClearOnc Interactive Hub
   ============================================ */

.hub-page {
    padding-top: 90px;
    background: linear-gradient(180deg, #F5F9FB 0%, #FFFFFF 100%);
}

.hub-em {
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HERO
   ============================================ */
.hub-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    text-align: center;
}

.hub-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hub-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    animation: hubAurora 22s ease-in-out infinite;
}

.hub-aurora span:nth-child(1) {
    width: 540px; height: 540px;
    top: -160px; left: 8%;
    background: radial-gradient(circle, rgba(36, 200, 185, 0.40), transparent 70%);
}
.hub-aurora span:nth-child(2) {
    width: 620px; height: 620px;
    top: 100px; right: -120px;
    background: radial-gradient(circle, rgba(255, 121, 0, 0.20), transparent 70%);
    animation-delay: -7s;
}
.hub-aurora span:nth-child(3) {
    width: 480px; height: 480px;
    bottom: -180px; left: 40%;
    background: radial-gradient(circle, rgba(32, 54, 106, 0.18), transparent 70%);
    animation-delay: -14s;
}

@keyframes hubAurora {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.07); }
    66%      { transform: translate(-30px, 30px) scale(0.95); }
}

.hub-hero > .container { position: relative; z-index: 1; }

.hub-hero-inner { max-width: 860px; margin: 0 auto; }

.hub-hero-inner h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-navy);
    margin: 20px 0 24px;
    letter-spacing: -0.02em;
}

.hub-hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.65;
    max-width: 700px;
    margin: 0 auto 36px;
}

.hub-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    color: var(--color-text-lighter);
    font-size: 0.92rem;
}

.hub-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hub-hero-meta svg { color: var(--color-teal); }

/* ============================================
   JOURNEY RAIL
   ============================================ */
.hub-journey { padding: 0 0 56px; }

.hub-journey-rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid rgba(32, 54, 106, 0.10);
    border-radius: 24px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 8px 28px rgba(15, 30, 58, 0.06);
}

@media (max-width: 800px) {
    .hub-journey-rail { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hub-journey-line { display: none; }
}

.hub-journey-line {
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
    opacity: 0.32;
    z-index: 0;
}

.hub-journey-stop {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hub-journey-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-teal);
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(36, 200, 185, 0.22);
}

.hub-journey-stop[data-stop="4"] .hub-journey-dot {
    border-color: var(--color-accent);
    box-shadow: 0 6px 18px rgba(255, 121, 0, 0.22);
}

.hub-journey-label {
    line-height: 1.3;
}

.hub-journey-label strong {
    display: block;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.98rem;
}

.hub-journey-label span {
    color: var(--color-text-lighter);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ============================================
   TOOLS
   ============================================ */
.hub-tools { padding: 56px 0 88px; }

.hub-tool {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(32, 54, 106, 0.08);
    border-radius: 28px;
    padding: 40px 48px;
    box-shadow: 0 16px 48px rgba(15, 30, 58, 0.08);
    margin-bottom: 32px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hub-tool:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(15, 30, 58, 0.12);
}

@media (max-width: 900px) {
    .hub-tool {
        grid-template-columns: 1fr;
        padding: 32px 28px;
        gap: 22px;
        text-align: left;
    }
    .hub-tool-num { font-size: 3rem; }
}

.hub-tool-num {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 200;
    color: var(--color-teal);
    line-height: 1;
    opacity: 0.36;
    font-variant-numeric: tabular-nums;
}

.hub-tool-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--color-navy);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 12px 0 14px;
}

.hub-tool-sub {
    color: var(--color-text-light);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.hub-tool-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.hub-tool-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text);
    font-size: 0.95rem;
}

.hub-tool-list svg {
    color: var(--color-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* TOOL ART CARDS */
.hub-tool-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-tool-art-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 0;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 30, 58, 0.08);
    transition: all 0.3s ease;
}

.hub-tool:hover .hub-tool-art-card {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: 0 16px 40px rgba(15, 30, 58, 0.14);
}

.hub-art-chrome {
    background: rgba(32, 54, 106, 0.04);
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 6px;
}

.hub-art-chrome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(32, 54, 106, 0.18);
}

.hub-art-chrome span:nth-child(1) { background: #FF7900; }
.hub-art-chrome span:nth-child(2) { background: #F1C40F; }
.hub-art-chrome span:nth-child(3) { background: #24C8B9; }

/* STORY CARD */
.hub-story-card { background: #fff; }

.hub-story-chart {
    padding: 20px 16px 8px;
    background: linear-gradient(180deg, #fff 0%, #FFF7F0 100%);
}

.hub-story-chart svg { width: 100%; height: auto; }

.hub-story-cap {
    padding: 14px 18px;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hub-story-cap div > span {
    display: block;
    font-size: 0.74rem;
    letter-spacing: 0.10em;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    font-weight: 700;
}

.hub-story-cap strong {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.hub-story-pill {
    background: rgba(216, 18, 113, 0.10);
    color: var(--color-red);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* CALC CARD */
.hub-calc-card { background: #fff; }

.hub-calc-mini { padding: 20px 18px 22px; }

.hub-calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 6px;
}

.hub-calc-row strong { color: var(--color-navy); font-weight: 700; }

.hub-calc-range {
    height: 5px;
    background: rgba(32, 54, 106, 0.10);
    border-radius: 999px;
    margin: 4px 0 14px;
    overflow: hidden;
}

.hub-calc-range-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light));
    border-radius: 999px;
}

.hub-calc-headline {
    background: var(--color-bg-alt);
    border-radius: 12px;
    padding: 16px;
    margin-top: 14px;
}

.hub-calc-headline-label {
    font-size: 0.72rem;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 700;
}

.hub-calc-headline-num {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.hub-calc-diff {
    background: var(--color-teal-bg);
    color: var(--color-navy);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.hub-calc-diff strong {
    color: var(--color-accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ASSESS CARD */
.hub-assess-card { background: #fff; }

.hub-assess-mini {
    padding: 22px 18px;
    text-align: center;
}

.hub-assess-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 10px;
}

.hub-assess-ring svg { width: 100%; height: 100%; }

.hub-assess-ring-num {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hub-assess-ring-num span {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--color-navy);
    line-height: 1;
}

.hub-assess-ring-num em {
    font-style: normal;
    font-size: 0.7rem;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 700;
    margin-top: 4px;
}

.hub-assess-band {
    display: inline-block;
    background: rgba(255, 121, 0, 0.10);
    color: var(--color-accent);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.hub-assess-rows {
    text-align: left;
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
}

.hub-assess-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.86rem;
    color: var(--color-text-light);
}

.hub-assess-row strong {
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ============================================
   AUDIENCE SECTION
   ============================================ */
.hub-audience-section {
    padding: 80px 0;
    background: #fff;
}

.hub-aud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 800px) { .hub-aud-grid { grid-template-columns: 1fr; } }

.hub-aud-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.25s ease;
}

.hub-aud-card:hover {
    background: #fff;
    border-color: var(--color-teal-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hub-aud-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--color-teal-bg);
    color: var(--color-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hub-aud-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.hub-aud-card p {
    color: var(--color-text-light);
    font-size: 0.96rem;
    line-height: 1.65;
}

/* ============================================
   TRUST STRIP + FINAL CTA
   ============================================ */
.cco-trust-strip {
    background: var(--color-navy);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}

.cco-trust-strip h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.95);
}

.cco-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.cco-trust-row span {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.hub-final { padding: 96px 0; background: #fff; }

.hub-final-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 48px;
    border-radius: 28px;
    background:
        radial-gradient(800px 300px at 20% 100%, rgba(36, 200, 185, 0.20), transparent 60%),
        linear-gradient(135deg, var(--color-navy), #2d4685);
    color: #fff;
    text-align: center;
}

.hub-final-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
}

.hub-final-card p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 540px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hub-final-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hub-final-card .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.hub-final-card .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
