.agora-hero {
    --agora-hero-bg: #f6f2ea;
    --agora-hero-ink: #171821;
    --agora-hero-muted: #6f6d72;
    --agora-hero-blue: #9B5BAD;
    --agora-hero-lilac: #B875C7;
    --agora-hero-peach: #F1D7DB;
    box-sizing: border-box;
    position: relative;
    min-height: calc(100svh - 82px);
    overflow: hidden;
    isolation: isolate;
    display: grid;
    place-items: center;
    background:
            radial-gradient(circle at 50% 44%, rgba(155, 91, 173, .055), transparent 31%),
            radial-gradient(circle at 46% 50%, rgba(241, 215, 219, .09), transparent 38%),
            var(--agora-hero-bg);
    color: var(--agora-hero-ink);
}

.agora-hero *, .agora-hero *::before, .agora-hero *::after { box-sizing: border-box; }

.agora-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 120px rgba(106, 95, 82, .035);
}

.agora-hero-canvas {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 49%;
    width: min(980px, 82vw);
    height: min(560px, 56vw);
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: saturate(.96);
}

.agora-hero-glow {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 48%;
    width: min(640px, 54vw);
    aspect-ratio: 1.75 / 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(155, 91, 173, .12), rgba(184, 117, 199, .045) 42%, transparent 70%);
    filter: blur(22px);
    opacity: .7;
    pointer-events: none;
}

.agora-hero-noise {
    position: absolute;
    inset: 0;
    z-index: 6;
    opacity: .13;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.93' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.agora-hero-center {
    position: relative;
    z-index: 5;
    width: min(760px, 78vw);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.agora-hero-eyebrow {
    margin: 0 0 34px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #70717a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .29em;
    white-space: nowrap;
}

.agora-hero-eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid var(--agora-hero-blue);
    box-shadow: 0 0 0 5px rgba(155, 91, 173, .055);
}

.agora-hero-title-wrap {
    position: relative;
    width: 100%;
}

.agora-hero-title {
    position: relative;
    z-index: 3;
    margin: 0;
    color: var(--agora-hero-ink);
    font-size: clamp(68px, 7.25vw, 132px);
    font-weight: 500;
    letter-spacing: -.075em;
    line-height: .88;
    text-rendering: geometricPrecision;
}

.agora-hero-title span {
    display: block;
    transform: translateZ(0);
    transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .35s ease;
}

.agora-hero-title span:nth-child(2) { margin-left: -2vw; }
.agora-hero-title span:nth-child(3) { margin-left: 1vw; }

.agora-hero-ghost {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scaleX(1.16);
    width: 135%;
    color: rgba(155, 91, 173, .38);
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-size: clamp(110px, 13vw, 230px);
    font-weight: 600;
    line-height: .78;
    letter-spacing: -.075em;
    white-space: nowrap;
    pointer-events: none;
    filter: blur(.15px);
    text-shadow:
            0 0 35px rgba(155, 91, 173, .14),
            0 0 80px rgba(155, 91, 173, .07);
}

.agora-hero-copy {
    position: relative;
    z-index: 5;
    margin: 50px 0 0;
    color: rgba(59, 58, 63, .72);
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -.015em;
}

.agora-hero-cta {
    position: relative;
    z-index: 8;
    width: 318px;
    min-height: 76px;
    margin-top: 45px;
    padding: 0 25px 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: #181920;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 18px 50px rgba(23,24,33,.12);
    overflow: hidden;
    transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}

.agora-hero-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.12), transparent 76%);
    transform: translateX(-120%);
    transition: transform .75s cubic-bezier(.16,1,.3,1);
}

.agora-hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(23,24,33,.18);
}
.agora-hero-cta:hover::before { transform: translateX(120%); }

.agora-hero-cta span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .25em;
}

.agora-hero-cta i {
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    font-style: normal;
    font-size: 15px;
    transition: transform .35s ease, background .35s ease, color .35s ease;
}

.agora-hero-cta:hover i {
    transform: rotate(-35deg);
    background: white;
    color: #181920;
}

.agora-hero-side {
    position: absolute;
    z-index: 5;
    top: 50%;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .42em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    user-select: none;
}
.agora-hero-side-left {
    left: 20px;
    color: #C9939F;
    transform: translateY(-50%);
}
.agora-hero-side-right {
    right: 20px;
    color: var(--agora-hero-blue);
    transform: translateY(-50%);
}

.agora-hero-bottom {
    position: absolute;
    z-index: 5;
    left: 32px;
    right: 32px;
    bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(49,49,53,.55);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .24em;
}
.agora-hero-bottom b {
    color: var(--agora-hero-blue);
    font-weight: 700;
    margin-left: 6px;
}

@media (max-width: 900px) {
    .agora-hero { min-height: 820px; }
    .agora-hero-center { width: min(680px, 86vw); }
    .agora-hero-eyebrow { font-size: 10px; letter-spacing: .22em; margin-bottom: 28px; }
    .agora-hero-title { font-size: clamp(58px, 10vw, 90px); }
    .agora-hero-ghost { font-size: clamp(90px, 17vw, 155px); }
    .agora-hero-copy { margin-top: 42px; font-size: 15px; }
    .agora-hero-canvas { width: 110vw; height: 68vw; }
}

@media (max-width: 620px) {
    .agora-hero {
        --agora-hero-bg: #f6f2ea;
        --agora-hero-ink: #171821;
        --agora-hero-muted: #6f6d72;
        --agora-hero-blue: #9B5BAD;
        --agora-hero-lilac: #B875C7;
        --agora-hero-peach: #F1D7DB;
        box-sizing: border-box;
        min-height: 760px;
        padding: 76px 18px 86px;
    }
    .agora-hero-center { width: 100%; }
    .agora-hero-eyebrow {
        max-width: 88vw;
        white-space: normal;
        justify-content: center;
        text-align: center;
        font-size: 9px;
        line-height: 1.45;
    }
    .agora-hero-title { font-size: clamp(52px, 16vw, 78px); line-height: .91; }
    .agora-hero-title span:nth-child(2),
    .agora-hero-title span:nth-child(3) { margin-left: 0; }
    .agora-hero-ghost {
        top: 51%;
        width: 145%;
        font-size: clamp(82px, 27vw, 135px);
        opacity: 1;
    }
    .agora-hero-copy {
        max-width: 330px;
        font-size: 14px;
        margin-top: 42px;
    }
    .agora-hero-desktop-break { display: none; }
    .agora-hero-cta { width: min(310px, 90vw); min-height: 68px; margin-top: 34px; }
    .agora-hero-canvas { width: 150vw; height: 106vw; top: 48%; }
    .agora-hero-side { display: none; }
    .agora-hero-bottom { left: 18px; right: 18px; bottom: 18px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .agora-hero-center,
    .agora-hero-title span,
    .agora-hero-cta,
    .agora-hero-cta i { transition: none !important; }
}


/* Integrated Agora homepage additions */
.agora-hero-instagram {
    position: relative;
    z-index: 8;
    display: inline-block;
    margin-top: 18px;
    color: rgba(49, 49, 53, .58);
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .22em;
    transition: color .25s ease, transform .25s ease;
}

.agora-hero-instagram:hover {
    color: var(--agora-hero-blue);
    transform: translateY(-2px);
}


/* =========================================================
   AGORA HERO — LIGHT / DARK THEME
   ========================================================= */

.agora-hero {
    transition:
            background-color .45s ease,
            background .45s ease,
            color .45s ease;
}

.agora-hero-eyebrow,
.agora-hero-copy,
.agora-hero-ghost,
.agora-hero-instagram,
.agora-hero-bottom,
.agora-hero-cta {
    transition:
            color .4s ease,
            background .4s ease,
            border-color .4s ease,
            box-shadow .4s ease,
            opacity .4s ease,
            transform .45s cubic-bezier(.16,1,.3,1);
}

/* DARK MODE */
html[data-theme="dark"] .agora-hero {
    --agora-hero-bg: #16171b;
    --agora-hero-ink: #f4f1eb;
    --agora-hero-muted: #aaa8ae;
    --agora-hero-blue: #B875C7;
    --agora-hero-lilac: #D3A1DE;
    --agora-hero-peach: #E7B6BF;

    background:
            radial-gradient(circle at 50% 43%, rgba(155, 91, 173, .12), transparent 31%),
            radial-gradient(circle at 46% 51%, rgba(241, 215, 219, .055), transparent 41%),
            #16171b;

    color: var(--agora-hero-ink);
}

html[data-theme="dark"] .agora-hero::after {
    box-shadow:
            inset 0 0 150px rgba(0, 0, 0, .26),
            inset 0 1px 0 rgba(255, 255, 255, .025);
}

html[data-theme="dark"] .agora-hero-glow {
    background:
            radial-gradient(
                    ellipse,
                    rgba(155, 91, 173, .20),
                    rgba(184, 117, 199, .085) 43%,
                    transparent 72%
            );
    opacity: .9;
}

html[data-theme="dark"] .agora-hero-noise {
    opacity: .085;
    mix-blend-mode: screen;
}

html[data-theme="dark"] .agora-hero-canvas {
    filter: saturate(1.15) brightness(1.16);
}

html[data-theme="dark"] .agora-hero-eyebrow {
    color: rgba(235, 233, 239, .66);
}

html[data-theme="dark"] .agora-hero-eyebrow-dot {
    border-color: #B875C7;
    box-shadow:
            0 0 0 5px rgba(184, 117, 199, .08),
            0 0 18px rgba(184, 117, 199, .24);
}

html[data-theme="dark"] .agora-hero-title {
    color: #f5f2ed;
}

/* More readable than before in BOTH themes, with extra contrast in dark mode */
html[data-theme="dark"] .agora-hero-ghost {
    color: rgba(184, 117, 199, .46);
    text-shadow:
            0 0 38px rgba(155, 91, 173, .18),
            0 0 85px rgba(155, 91, 173, .10);
}

html[data-theme="dark"] .agora-hero-copy {
    color: rgba(229, 226, 231, .69);
}

html[data-theme="dark"] .agora-hero-cta {
    background: #f2efe9;
    color: #17181d;
    box-shadow:
            0 20px 55px rgba(0, 0, 0, .28),
            0 0 0 1px rgba(255, 255, 255, .025);
}

html[data-theme="dark"] .agora-hero-cta::before {
    background:
            linear-gradient(
                    100deg,
                    transparent 20%,
                    rgba(155, 91, 173, .14),
                    transparent 76%
            );
}

html[data-theme="dark"] .agora-hero-cta:hover {
    box-shadow:
            0 28px 70px rgba(0, 0, 0, .36),
            0 0 0 1px rgba(255, 255, 255, .04);
}

html[data-theme="dark"] .agora-hero-cta i {
    border-color: rgba(23, 24, 29, .28);
}

html[data-theme="dark"] .agora-hero-cta:hover i {
    background: #17181d;
    color: #f4f1eb;
}

html[data-theme="dark"] .agora-hero-side-left {
    color: #D8A6B0;
}

html[data-theme="dark"] .agora-hero-side-right {
    color: #B875C7;
}

html[data-theme="dark"] .agora-hero-bottom {
    color: rgba(235, 232, 237, .45);
}

html[data-theme="dark"] .agora-hero-instagram {
    color: rgba(235, 232, 237, .48);
}

html[data-theme="dark"] .agora-hero-instagram:hover {
    color: #D3A1DE;
}

/* =========================================================
   RESPONSIVE HERO PASS — SEPT 2026
   ========================================================= */

/* Smaller Windows/laptop viewports: keep the composition,
   but stop it from feeling oversized. */
@media (min-width: 901px) and (max-width: 1366px) {
    .agora-hero-center {
        width: min(700px, 72vw);
    }

    .agora-hero-eyebrow {
        transform: translateY(7px);
        margin-bottom: 38px;
    }

    .agora-hero-title {
        font-size: clamp(64px, 6.2vw, 96px);
    }

    .agora-hero-ghost {
        width: 125%;
        font-size: clamp(100px, 11vw, 170px);
    }

    .agora-hero-copy {
        margin-top: 42px;
        font-size: 15px;
    }

    .agora-hero-cta {
        min-height: 68px;
        margin-top: 38px;
    }
}

/* Mobile: move the composition upward and keep AGORA inside
   the visible viewport instead of letting it be heavily cropped. */
@media (max-width: 620px) {
    .agora-hero {
        min-height: calc(100svh - 72px);
        padding: 40px 16px 76px;
    }

    .agora-hero-center {
        width: 100%;
        margin-top: -26px;
    }

    .agora-hero-eyebrow {
        max-width: 96vw;
        margin-bottom: 22px;
        gap: 9px;
        font-size: clamp(8px, 2.3vw, 10px);
        line-height: 1.4;
        letter-spacing: .20em;
        white-space: normal;
        justify-content: center;
        text-align: center;
    }

    .agora-hero-eyebrow-dot {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
    }

    .agora-hero-title {
        font-size: clamp(44px, 14.5vw, 68px);
        line-height: .92;
        letter-spacing: -.07em;
    }

    .agora-hero-ghost {
        top: 50%;
        width: 108%;
        transform: translate(-50%, -50%) scaleX(1.03);
        font-size: clamp(72px, 22vw, 108px);
        letter-spacing: -.06em;
    }

    .agora-hero-copy {
        max-width: 340px;
        margin-top: 30px;
        padding: 0 8px;
        font-size: 13.5px;
        line-height: 1.6;
    }

    .agora-hero-cta {
        width: min(300px, 88vw);
        min-height: 60px;
        margin-top: 28px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .agora-hero-cta span {
        font-size: 10px;
        letter-spacing: .20em;
    }

    .agora-hero-instagram {
        margin-top: 14px;
    }

    .agora-hero-canvas {
        width: 132vw;
        height: 96vw;
        top: 47%;
    }

    .agora-hero-bottom {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 380px) {
    .agora-hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .agora-hero-center {
        margin-top: -20px;
    }

    .agora-hero-title {
        font-size: clamp(42px, 13.7vw, 56px);
    }

    .agora-hero-ghost {
        width: 104%;
        font-size: clamp(68px, 20.5vw, 88px);
    }
}

