@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
    --green-950: #09261a;
    --green-900: #123d2a;
    --green-700: #0d3526;
    --green-600: #0d3526;
    --green-50: #f6f8f7;
    --ink: #102018;
    --muted: #53645b;
    --line: #d8e6de;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--white);
}

@keyframes landing-header-enter {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes landing-hero-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

html.skip-landing-enter .site-header,
html.skip-landing-enter .hero-content {
    animation: none;
}

.site-header,
main {
    transition: opacity .32s ease, transform .32s ease, filter .32s ease;
}

body.page-leaving .site-header,
body.page-leaving main {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(2px);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(22px, 6vw, 96px);
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    background: rgba(9, 38, 26, .28);
    backdrop-filter: blur(10px);
    animation: landing-header-enter .5s .04s ease-out both;
}

.brand {
    font-size: 1.25rem;
    font-weight: 800;
}

.header-login,
.primary-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.header-login {
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .12);
}

.header-login:hover,
.header-login:focus-visible {
    color: var(--green-950);
    background: #fff;
    outline: none;
}

.hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: center;
    padding: 116px clamp(22px, 8vw, 130px) 64px;
    overflow: hidden;
    color: #fff;
    background: var(--green-900) url("../Acadsync.jpg") center 30% / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 38, 26, .94) 0%, rgba(9, 38, 26, .78) 48%, rgba(9, 38, 26, .30) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    animation: landing-hero-enter .62s .1s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-label,
.section-heading > span,
.purpose-copy > span,
.final-action > div > span {
    display: block;
    margin-bottom: 10px;
    color: #bce7cc;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3.6rem, 8vw, 7rem);
    line-height: .96;
    font-weight: 800;
}

.hero-summary {
    max-width: 650px;
    margin: 24px 0 28px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.75;
}

.primary-action {
    min-width: 184px;
    padding: 0 20px;
    color: #fff;
    background: var(--green-600);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

.primary-action:hover,
.primary-action:focus-visible {
    transform: translateY(-2px);
    background: #09291d;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .26);
    outline: none;
}

.primary-action.is-loading i {
    animation: login-arrow .6s ease-in-out infinite alternate;
}

@keyframes login-arrow {
    to {
        transform: translateX(6px);
    }
}

.access-note {
    margin-top: 14px;
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
}

.overview,
.result-example,
.purpose,
.final-action {
    padding: clamp(58px, 8vw, 100px) clamp(22px, 8vw, 130px);
}

.result-example {
    border-top: 1px solid var(--line);
    background: #f6f8f7;
}

.result-example-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.result-example-heading > span,
.result-example-label {
    color: var(--green-700);
    font-size: .78rem;
    font-weight: 800;
}

.result-example-heading h2 {
    margin-top: 8px;
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    line-height: 1.2;
}

.result-example-heading p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.65;
}

.result-example-preview {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    max-width: 1080px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.result-example-preview img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.result-example-copy {
    min-width: 0;
    padding: clamp(22px, 3vw, 38px);
}

.result-example-copy h3 {
    margin-top: 9px;
    color: var(--ink);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.3;
}

.result-example-copy > p {
    margin-top: 13px;
    color: var(--muted);
    line-height: 1.65;
}

.result-example-match {
    display: flex;
    align-items: baseline;
    gap: 11px;
    margin: 22px 0 8px;
    color: var(--green-700);
}

.result-example-match strong {
    font-size: 2rem;
    line-height: 1;
}

.result-example-match span {
    font-size: .9rem;
    font-weight: 700;
}

.result-example-copy small {
    display: block;
    color: var(--muted);
    line-height: 1.5;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 46px;
}

.section-heading > span,
.purpose-copy > span,
.final-action > div > span {
    color: var(--green-700);
}

.section-heading h2,
.purpose h2,
.final-action h2 {
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    line-height: 1.2;
}

.section-heading p,
.purpose-copy p {
    margin-top: 15px;
    color: var(--muted);
    line-height: 1.75;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-grid article {
    position: relative;
    min-height: 270px;
    padding: 34px clamp(20px, 3vw, 42px);
    border-right: 1px solid var(--line);
}

.process-grid article:last-child {
    border-right: 0;
}

.process-grid i {
    color: var(--green-700);
    font-size: 2rem;
}

.step-number {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #afbeb6;
    font-size: .8rem;
    font-weight: 800;
}

.process-grid h3 {
    margin: 24px 0 10px;
    font-size: 1.12rem;
}

.process-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.purpose {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: clamp(42px, 8vw, 110px);
    align-items: center;
    background: var(--green-50);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.purpose-list {
    list-style: none;
    border-top: 1px solid var(--line);
}

.purpose-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    color: var(--green-900);
    font-weight: 700;
}

.purpose-list i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: var(--green-700);
}

.final-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #fff;
    background: var(--green-900);
}

.final-action > div > span {
    color: #bce7cc;
}

@media (max-width: 820px) {
    .result-example-preview {
        grid-template-columns: minmax(0, 1fr);
    }

    .result-example-preview img {
        height: 220px;
        min-height: 0;
    }

    .hero {
        min-height: 680px;
        background-position: 42% center;
    }

    .hero-overlay {
        background: rgba(9, 38, 26, .78);
    }

    .process-grid,
    .purpose {
        grid-template-columns: 1fr;
    }

    .process-grid article {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-grid article:last-child {
        border-bottom: 0;
    }

    .final-action {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .site-header {
        min-height: 66px;
        padding: 0 16px;
    }

    .header-login {
        min-width: 44px;
        padding: 0 12px;
    }

    .hero {
        min-height: 630px;
        padding: 102px 20px 52px;
    }

    .hero h1 {
        font-size: 3.3rem;
    }

    .primary-action {
        width: 100%;
    }

    .overview,
    .purpose,
    .final-action {
        padding: 54px 20px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-header,
    .hero-content,
    main,
    .primary-action,
    .primary-action.is-loading i {
        animation: none;
        transition: none;
    }
}
