/* =========================================================
   ALTERMIND HOMEPAGE
   Current homepage:
   - navigation
   - hero
   - existing sphere

   The lower homepage sections have been removed.
   The sphere visual is preserved.
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

:root {
    
        --am-page-max-width: 1240px;
    --am-page-gutter: 24px;
    
    
    --am-bg: #111417;
    --am-bg-deep: #0b0d0f;

    --am-surface: rgba(27, 29, 29, 0.72);
    --am-surface-strong: rgba(31, 32, 30, 0.92);

    --am-border: rgba(245, 242, 234, 0.14);
    --am-border-hover: rgba(198, 146, 58, 0.34);

    --am-text: #f5f2ea;
    --am-muted: #b8b2a6;

    --am-amber: #c6923a;
    --am-amber-soft: #e2c27d;
    --am-amber-deep: #8e6828;

    --am-radius: 22px;
}


/* =========================================================
   BASIC PAGE RESET
   ========================================================= */

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--am-bg-deep);
    color: var(--am-text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    
       overflow-x: clip;
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

.am-home {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(198, 146, 58, 0.085),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 45%,
            rgba(198, 146, 58, 0.035),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            var(--am-bg) 0%,
            var(--am-bg-deep) 100%
        );

    color: var(--am-text);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.am-nav {
    width: min(
        var(--am-page-max-width),
        calc(100% - (var(--am-page-gutter) * 2))
    );

    min-height: 78px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(245, 242, 234, 0.07);

    position: relative;
    z-index: 20;
}


.am-brand {
    display: flex;
    align-items: center;

    gap: 11px;

    color: var(--am-text);

    text-decoration: none;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: -0.02em;
}


.am-brand-mark {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #eaf3df 0%,
            #A8C98F 38%,
            #7FA66A 64%,
            #5F7F4D 100%
        );

    box-shadow:
        0 0 24px rgba(127, 166, 106, 0.28);
}


.am-brand-mark::before {
    content: "";

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #fffaf0;

    box-shadow:
        0 0 14px rgba(245, 242, 234, 0.9);
}

.am-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.2vw, 30px);
    margin-left: auto;
}

.am-nav-links a,
.am-nav-links button {
    color: #b8b2a6;
    text-decoration: none;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;

    white-space: nowrap;

    transition:
        color 180ms ease,
        opacity 180ms ease;
}
.am-nav-links .am-nav-item {
    color: #b8b2a6;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;

    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.am-nav-links .am-nav-item:hover {
    color: var(--am-amber-soft);
}
.am-nav-links button {
    all: unset;

    display: inline-block;
    box-sizing: border-box;

    color: #b8b2a6;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.am-nav-links button:hover {
    color: var(--am-amber-soft);
}

.am-nav-links a:hover,
.am-nav-links button:hover {
    color: var(--am-amber-soft);
}


/* =========================================================
   HERO
   ========================================================= */

.am-hero {
    width: min(1240px, calc(100% - 48px));

    min-height: 620px;

    margin: 0 auto;

    display: grid;

    /*
       LEFT = content
       RIGHT = sphere

       Existing hero composition preserved.
    */
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(400px, 0.72fr);

    align-items: center;

    gap: 20px;

    position: relative;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.am-hero-content {
    position: relative;
    z-index: 8;

    max-width: 620px;

    padding: 70px 0 70px 20px;
}


.am-kicker {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin: 0 0 22px;

    padding: 8px 14px;

    border: 1px solid rgba(198, 146, 58, 0.25);

    border-radius: 999px;

    background:
        rgba(198, 146, 58, 0.07);

    color: var(--am-amber-soft);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.am-kicker-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background: var(--am-amber-soft);

    box-shadow:
        0 0 12px rgba(226, 194, 125, 0.9);
}


.am-hero-title {
    margin: 0;

    max-width: 680px;

    color: var(--am-text);

    font-size: clamp(48px, 6vw, 82px);

    line-height: 0.98;

    font-weight: 760;

    letter-spacing: -0.055em;
}


.am-hero-title span {
    display: block;

    color: var(--am-amber-soft);
}


.am-hero-description {
    max-width: 540px;

    margin: 28px 0 0;

    color: var(--am-muted);

    font-size: 18px;

    line-height: 1.7;
}


.am-hero-actions {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 34px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.am-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 21px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}


.am-button:hover {
    transform: translateY(-2px);
}


.am-button-primary {
    color: #17130d;

    background:
        linear-gradient(
            135deg,
            var(--am-amber-soft),
            var(--am-amber)
        );

    box-shadow:
        0 12px 30px rgba(198, 146, 58, 0.18);
}


.am-button-primary:hover {
    box-shadow:
        0 16px 34px rgba(198, 146, 58, 0.25);
}


.am-button-secondary {
    color: var(--am-text);

    border: 1px solid rgba(245, 242, 234, 0.16);

    background:
        rgba(255, 255, 255, 0.035);
}


.am-button-secondary:hover {
    border-color:
        rgba(198, 146, 58, 0.38);

    background:
        rgba(198, 146, 58, 0.06);
}


/* =========================================================
   HERO SPHERE
   IMPORTANT:
   Existing sphere composition preserved.
   ========================================================= */

.am-hero-sphere {
    position: relative;

    width: 100%;

    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    overflow: visible;

    z-index: 2;
}


/*
   The existing hero sphere visual remains 500px.
*/

.am-hero-sphere .sphere-visual {
    position: relative;

    width: 500px;
    height: 500px;

    max-width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translateX(20px);
}


/*
   Existing canvas sizing preserved.
*/

.am-hero-sphere canvas {
    width: 500px !important;
    height: 500px !important;

    max-width: 500px !important;
    max-height: 500px !important;

    position: relative;

    z-index: 2;

    display: block;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 980px) {

    .am-hero {
        grid-template-columns: 1fr;

        min-height: auto;

        padding-top: 20px;
    }


    .am-hero-content {
        max-width: 720px;

        padding:
            60px
            20px
            20px;
    }


    /*
       Existing tablet sphere composition preserved.
    */

    .am-hero-sphere {
        min-height: 470px;

        margin-top: -20px;

        justify-content: center;
    }


    .am-hero-sphere .sphere-visual {
        width: 460px;
        height: 460px;

        transform: none;
    }


    .am-hero-sphere canvas {
        width: 460px !important;
        height: 460px !important;

        max-width: 460px !important;
        max-height: 460px !important;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 680px) {

.am-nav,
.am-hero {
    width: min(
        var(--am-page-max-width),
        calc(100% - 30px)
    );
}

    .am-nav {
        min-height: 68px;
    }


    .am-nav {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 14px 20px;
}

.am-nav-links {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.am-nav-links a,
.am-nav-links button {
    font-size: 13px;
}


    .am-hero-content {
        padding:
            45px
            0
            0;
    }


    .am-hero-title {
        font-size:
            clamp(42px, 13vw, 62px);
    }


    .am-hero-description {
        font-size: 16px;
    }


    .am-hero-actions {
        flex-wrap: wrap;
    }


    .am-hero-sphere {
        min-height: 370px;

        margin-top: -10px;
    }


    .am-hero-sphere .sphere-visual {
        width: 350px;
        height: 350px;
    }


    .am-hero-sphere canvas {
        width: 350px !important;
        height: 350px !important;

        max-width: 350px !important;
        max-height: 350px !important;
    }

}


/* =========================================================
   HOMEPAGE — AWARENESS SERIES
   Dark AlterMind homepage with blue learning accents
   ========================================================= */

.am-awareness {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 112px) 0;
    color: var(--am-text);
    background:
        radial-gradient(circle at 82% 18%, rgba(66, 164, 255, 0.09), transparent 30%),
        linear-gradient(180deg, #0b0d0f, #0e1116);
    border-top: 1px solid rgba(245, 242, 234, 0.06);
}

.am-awareness__inner,
.am-awareness__catalogue,
.am-awareness__why,
.am-awareness__closing {
    width: min(var(--am-page-max-width), calc(100% - (var(--am-page-gutter) * 2)));
    margin-inline: auto;
}

.am-awareness__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: clamp(36px, 7vw, 100px);
}

.am-awareness__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: #58baff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.am-awareness__eyebrow > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #58baff;
    box-shadow: 0 0 12px rgba(88, 186, 255, 0.6);
}

.am-awareness__title {
    max-width: 650px;
    margin: 0;
    color: #f5f2ea;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.am-awareness__title span,
.am-awareness__why-intro h3 span {
    display: block;
    color: #58baff;
}

.am-awareness__description {
    max-width: 530px;
    margin: 24px 0 0;
    color: #b8bfc9;
    font-size: 16px;
    line-height: 1.85;
}

.am-awareness__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.am-awareness__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}

.am-awareness__button:hover {
    transform: translateY(-2px);
}

.am-awareness__button--primary {
    color: #07111b;
    background: #58baff;
    box-shadow: 0 5px 22px rgba(56, 159, 238, 0.16);
}

.am-awareness__button--primary:hover {
    color: #07111b;
    background: #81ccff;
}

.am-awareness__button--secondary {
    color: #e4e9f0;
    border: 1px solid rgba(245, 242, 234, 0.18);
    background: transparent;
}

.am-awareness__button--secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.am-awareness__note {
    margin: 18px 0 0;
    color: #7f8996;
    font-size: 12px;
}

/* Right-side visual: restrained orbit graphic, not a dashboard card */

.am-awareness__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 340px;
    aspect-ratio: 1;
    max-width: 440px;
    width: 100%;
    justify-self: center;
}

.am-awareness__orbit {
    position: absolute;
    border: 1px solid rgba(88, 186, 255, 0.22);
    border-radius: 50%;
}

.am-awareness__orbit--outer {
    inset: 5%;
    transform: rotate(-22deg) scaleY(0.78);
}

.am-awareness__orbit--inner {
    inset: 18%;
    transform: rotate(28deg) scaleY(0.78);
    border-color: rgba(88, 186, 255, 0.35);
}

.am-awareness__visual-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 176px;
    height: 176px;
    border: 1px solid rgba(88, 186, 255, 0.4);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 106, 165, 0.28), rgba(11, 13, 15, 0.4) 72%);
    box-shadow: 0 0 65px rgba(46, 142, 218, 0.12);
}

.am-awareness__visual-core span {
    color: #8dbfe6;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.am-awareness__visual-core strong {
    color: #f5f2ea;
    font-size: 29px;
    letter-spacing: -0.04em;
}

.am-awareness__node {
    position: absolute;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(88, 186, 255, 0.5);
    border-radius: 50%;
    color: #9bd5ff;
    background: #101a24;
    font-size: 10px;
    font-weight: 800;
}

.am-awareness__node--one { top: 13%; left: 23%; }
.am-awareness__node--two { top: 27%; right: 8%; }
.am-awareness__node--three { bottom: 12%; left: 27%; }

/* Series listing */

.am-awareness__catalogue {
    margin-top: clamp(64px, 8vw, 104px);
    padding-top: 34px;
    border-top: 1px solid rgba(245, 242, 234, 0.1);
}

.am-awareness__catalogue-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.am-awareness__catalogue-heading .am-awareness__eyebrow {
    margin-bottom: 12px;
}

.am-awareness__catalogue-heading h3,
.am-awareness__why-intro h3 {
    margin: 0;
    color: #f5f2ea;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.am-awareness__catalogue-heading > div > p:last-child {
    margin: 12px 0 0;
    color: #9ca5b1;
    font-size: 14px;
}

.am-awareness__count {
    flex-shrink: 0;
    color: #58baff;
    font-size: 12px;
    font-weight: 700;
}

.am-awareness__empty {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid rgba(245, 242, 234, 0.1);
    border-bottom: 1px solid rgba(245, 242, 234, 0.1);
}

.am-awareness__empty-mark {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(88, 186, 255, 0.3);
    border-radius: 50%;
    color: #58baff;
    font-size: 22px;
}

.am-awareness__empty h4,
.am-awareness__series h4 {
    margin: 0;
    color: #f5f2ea;
    font-size: 17px;
    font-weight: 750;
}

.am-awareness__empty p,
.am-awareness__series p {
    margin: 8px 0 0;
    color: #9ca5b1;
    font-size: 13px;
    line-height: 1.7;
}

.am-awareness__empty > a,
.am-awareness__series a,
.am-awareness__all-link {
    color: #58baff;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.am-awareness__empty > a {
    margin-left: auto;
    white-space: nowrap;
}

.am-awareness__series-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.am-awareness__series {
    padding: 22px 0;
    border-top: 1px solid rgba(88, 186, 255, 0.35);
}

.am-awareness__series-index {
    display: block;
    margin-bottom: 14px;
    color: #58baff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.am-awareness__series a {
    display: inline-flex;
    gap: 10px;
    margin-top: 18px;
}

.am-awareness__all-link {
    display: inline-flex;
    gap: 10px;
    margin-top: 18px;
}

/* Why learning matters */

.am-awareness__why {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 80px);
    margin-top: clamp(68px, 9vw, 112px);
    padding-top: 38px;
    border-top: 1px solid rgba(245, 242, 234, 0.1);
}

.am-awareness__why-intro .am-awareness__eyebrow {
    margin-bottom: 16px;
}

.am-awareness__why-intro > p:last-child {
    max-width: 430px;
    margin: 18px 0 0;
    color: #9ca5b1;
    font-size: 14px;
    line-height: 1.8;
}

.am-awareness__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.am-awareness__benefits article {
    padding-top: 5px;
}

.am-awareness__benefits article > span {
    display: block;
    margin-bottom: 17px;
    color: #58baff;
    font-size: 13px;
    font-weight: 800;
}

.am-awareness__benefits h4 {
    margin: 0;
    color: #f5f2ea;
    font-size: 14px;
    line-height: 1.45;
}

.am-awareness__benefits p {
    margin: 10px 0 0;
    color: #8f99a7;
    font-size: 12px;
    line-height: 1.75;
}

/* Closing line */

.am-awareness__closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 58px;
    padding-top: 26px;
    border-top: 1px solid rgba(245, 242, 234, 0.1);
}

.am-awareness__closing h3 {
    margin: 0;
    color: #f5f2ea;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 750;
    letter-spacing: -0.03em;
}

@media (max-width: 760px) {
    .am-awareness__inner {
        grid-template-columns: 1fr;
    }

    .am-awareness__visual {
        min-height: 280px;
        max-width: 330px;
    }

    .am-awareness__why {
        grid-template-columns: 1fr;
    }

    .am-awareness__series-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .am-awareness__benefits {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 520px) {
    .am-awareness__empty,
    .am-awareness__closing {
        align-items: flex-start;
        flex-direction: column;
    }

    .am-awareness__empty > a {
        margin-left: 0;
    }

    .am-awareness__catalogue-heading {
        align-items: flex-start;
    }

    .am-awareness__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .am-awareness__button {
        width: 100%;
    }
}
