/* ==========================================================
   ATLAS HOME
   ========================================================== */

.home-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==========================================================
   HERO
   ========================================================== */

.home-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        url("https://i.pinimg.com/236x/bf/dd/fe/bfddfeeef2c4b104a1055375df49d2ce.jpg")
        center / cover no-repeat;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 72% 45%,
            rgba(37, 99, 235, 0.16),
            transparent 32%
        );
}

.home-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 34, 0.94) 0%,
            rgba(7, 16, 34, 0.78) 42%,
            rgba(7, 16, 34, 0.38) 72%,
            rgba(7, 16, 34, 0.20) 100%
        );
}

.home-hero__container {
    position: relative;
    z-index: 1;
}

.home-hero__content {
    max-width: 700px;
    padding: 95px 0;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 19px;

    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.home-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;

    border-radius: 2px;
    background: currentColor;
}

.home-eyebrow--dark {
    color: var(--public-primary);
}

.home-hero h1 {
    max-width: 700px;

    color: #fff;
    font-size: clamp(44px, 5.4vw, 70px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -2.6px;
}

.home-hero h1 span {
    display: block;
    color: #bfdbfe;
}

.home-hero p {
    max-width: 620px;
    margin-top: 25px;

    color: #d0d5dd;
    font-size: 15px;
    line-height: 1.9;
}

.home-hero__actions {
    margin-top: 34px;

    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}


/* ==========================================================
   HOME BUTTONS
   ========================================================== */

.home-button {
    min-height: 46px;

    padding: 11px 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: var(--public-radius-sm);

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    transition:
        transform var(--public-transition),
        background var(--public-transition),
        border-color var(--public-transition),
        box-shadow var(--public-transition);
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button:active {
    transform: translateY(0);
}

.home-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.25);
    outline-offset: 3px;
}

.home-button--primary {
    color: #fff;
    background: var(--public-primary);
    border-color: var(--public-primary);

    box-shadow:
        0 7px 18px rgba(37, 99, 235, 0.25);
}

.home-button--primary:hover {
    background: var(--public-primary-dark);
    border-color: var(--public-primary-dark);

    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.30);
}

.home-button--light {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-button--light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.45);
}


/* ==========================================================
   ABOUT
   ========================================================== */

.home-about {
    padding: 115px 0;
    background: var(--public-surface);
}

.home-about__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.home-section-heading h2 {
    max-width: 540px;

    color: var(--public-heading);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -1.7px;
}

.home-section-heading h2 span {
    color: var(--public-primary);
}

.home-about__content {
    max-width: 600px;
    padding-top: 8px;
}

.home-about__content p {
    margin-bottom: 18px;

    color: var(--public-muted);
    font-size: 14px;
    line-height: 1.95;
}

.home-link {
    position: relative;

    margin-top: 13px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--public-primary);
    font-size: 13px;
    font-weight: 600;
}

.home-link::after {
    content: "";

    position: absolute;
    left: 0;
    right: 20px;
    bottom: -5px;

    height: 1px;

    background: var(--public-primary);

    transform: scaleX(0);
    transform-origin: left;

    transition:
        transform var(--public-transition);
}

.home-link span {
    font-size: 18px;
    line-height: 1;

    transition:
        transform var(--public-transition);
}

.home-link:hover::after {
    transform: scaleX(1);
}

.home-link:hover span {
    transform: translateX(4px);
}


/* ==========================================================
   FEATURES
   ========================================================== */

.home-features {
    position: relative;

    padding: 115px 0;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #f5f8fc 100%
        );
}

.home-features::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 500px;
    height: 300px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.055),
            transparent 70%
        );

    pointer-events: none;
}

.home-section-heading--center {
    position: relative;

    max-width: 700px;
    margin: 0 auto 55px;

    text-align: center;
}

.home-section-heading--center .home-eyebrow {
    justify-content: center;
}

.home-section-heading--center h2 {
    margin: 0 auto;
}

.home-section-heading--center p {
    max-width: 610px;
    margin: 18px auto 0;

    color: var(--public-muted);
    font-size: 14px;
    line-height: 1.85;
}

.home-features__grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-feature-card {
    position: relative;

    min-height: 245px;
    padding: 30px;

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);

    box-shadow:
        0 2px 5px rgba(16, 24, 40, 0.025);

    transition:
        transform var(--public-transition),
        box-shadow var(--public-transition),
        border-color var(--public-transition);
}

.home-feature-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;

    height: 2px;

    border-radius: 0 0 3px 3px;

    background: var(--public-primary);

    opacity: 0;

    transition:
        opacity var(--public-transition);
}

.home-feature-card:hover {
    transform: translateY(-5px);

    border-color: #d8e1f0;

    box-shadow:
        0 14px 34px rgba(16, 24, 40, 0.08);
}

.home-feature-card:hover::before {
    opacity: 1;
}

.home-feature-card__icon {
    width: 43px;
    height: 43px;

    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbe8ff;
    border-radius: 11px;

    color: var(--public-primary);
    background: var(--public-primary-soft);

    font-size: 10px;
    font-weight: 700;

    transition:
        background var(--public-transition),
        color var(--public-transition);
}

.home-feature-card:hover .home-feature-card__icon {
    color: #fff;
    background: var(--public-primary);
}

.home-feature-card h3 {
    margin-bottom: 10px;

    color: var(--public-heading);
    font-size: 15px;
    font-weight: 600;
}

.home-feature-card p {
    color: var(--public-muted);
    font-size: 13px;
    line-height: 1.85;
}


/* ==========================================================
   CONTACT CTA
   ========================================================== */

.home-contact {
    padding: 105px 0;
    background: var(--public-surface);
}

.home-contact__box {
    position: relative;
    overflow: hidden;

    padding: 58px 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.25),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #111827 0%,
            #1d2d4d 100%
        );

    box-shadow:
        0 18px 45px rgba(16, 24, 40, 0.12);
}

.home-contact__box::after {
    content: "";

    position: absolute;
    right: -90px;
    bottom: -110px;

    width: 280px;
    height: 280px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.home-contact__content {
    position: relative;
    z-index: 1;

    max-width: 680px;
}

.home-contact h2 {
    color: #fff;
    font-size: clamp(29px, 4vw, 43px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -1.5px;
}

.home-contact p {
    max-width: 600px;
    margin-top: 14px;

    color: #b9c3d4;
    font-size: 14px;
    line-height: 1.85;
}

.home-contact__box > .home-button {
    position: relative;
    z-index: 2;

    flex-shrink: 0;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .home-hero {
        min-height: 610px;
    }

    .home-about__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .home-about__content {
        max-width: 700px;
    }

    .home-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-contact__box {
        padding: 48px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .home-container {
        width: min(100% - 28px, 1180px);
    }


    /* HERO */

    .home-hero {
        min-height: 620px;
        background-position: 62% center;
    }

    .home-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 16, 34, 0.95),
                rgba(7, 16, 34, 0.72)
            );
    }

    .home-hero__content {
        padding: 72px 0;
    }

    .home-hero h1 {
        font-size: clamp(37px, 10vw, 51px);
        letter-spacing: -1.8px;
    }

    .home-hero p {
        max-width: 540px;
        font-size: 14px;
        line-height: 1.85;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;

        max-width: 290px;
    }

    .home-button {
        width: 100%;
    }


    /* ABOUT */

    .home-about {
        padding: 78px 0;
    }

    .home-section-heading h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .home-about__content p {
        font-size: 14px;
    }


    /* FEATURES */

    .home-features {
        padding: 80px 0;
    }

    .home-section-heading--center {
        margin-bottom: 42px;
    }

    .home-features__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-feature-card {
        min-height: auto;
        padding: 27px;
    }


    /* CTA */

    .home-contact {
        padding: 75px 0;
    }

    .home-contact__box {
        padding: 40px 28px;

        flex-direction: column;
        align-items: flex-start;
        gap: 28px;

        border-radius: 17px;
    }

    .home-contact__box > .home-button {
        width: auto;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 420px) {

    .home-hero {
        min-height: 590px;
    }

    .home-hero__content {
        padding: 58px 0;
    }

    .home-eyebrow {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .home-hero h1 {
        font-size: 35px;
        letter-spacing: -1.4px;
    }

    .home-hero__actions {
        max-width: none;
    }

    .home-about,
    .home-features {
        padding: 62px 0;
    }

    .home-section-heading h2 {
        font-size: 30px;
    }

    .home-feature-card {
        padding: 25px;
    }

    .home-contact {
        padding: 60px 0;
    }

    .home-contact__box {
        padding: 34px 23px;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .home-button,
    .home-link span,
    .home-feature-card,
    .home-feature-card__icon {
        transition: none;
    }
}