/* JustLayer landing — editorial, restrained */

body.is-landing {
    background: #000;
    overflow-x: clip;
}

body.is-landing .glow-bg {
    width: 70vw;
    max-width: 900px;
    height: 70vw;
    max-height: 900px;
    top: -18%;
    left: 72%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 36, 36, 0.14) 0%, transparent 62%);
}

body.is-landing .scanlines {
    opacity: 0.2;
}

body.is-landing .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-block: 0.95rem;
}

body.is-landing .navbar .nav-links {
    gap: 1.5rem;
}

body.is-landing .navbar .nav-links a:not(.btn) {
    font-size: 0.68rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

body.is-landing .navbar .nav-links a:not(.btn):hover {
    color: rgba(255, 255, 255, 0.9);
}

body.is-landing .navbar .btn-primary.btn-sm {
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
}

.landing-main {
    max-width: 1120px;
    padding-top: 0;
    padding-bottom: 0;
}

.landing-page {
    position: relative;
    padding-bottom: 5rem;
}

.landing-bg {
    position: absolute;
    inset: 0 0 auto;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 50% 40% at 70% 35%, rgba(255, 40, 40, 0.06), transparent 70%);
}

.landing-page > *:not(.landing-bg):not(.landing-top) {
    position: relative;
    z-index: 1;
}

/* —— Hero —— */
.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 2rem 3rem;
    align-items: center;
    min-height: calc(100vh - 88px);
    max-height: 760px;
    padding: 3rem 0 2rem;
}

.landing-brand {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.75rem;
}

.landing-headline {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 1.5rem;
}

.landing-mega {
    display: block;
    color: #ff2b2b;
    margin: 0.12em 0;
    letter-spacing: -0.01em;
}

.landing-sub {
    display: block;
    font-size: 0.58em;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
    -webkit-text-stroke: 0;
}

.landing-lead {
    max-width: 26rem;
    margin: 0 0 2rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 230, 230, 0.55);
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.landing-actions .btn {
    border-radius: 999px;
    min-width: 9.5rem;
}

.landing-actions .btn-primary {
    box-shadow: 0 0 0 1px rgba(255, 60, 60, 0.25), 0 10px 30px rgba(255, 30, 30, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.4), 0 16px 40px rgba(255, 30, 30, 0.35);
}

.landing-actions .btn-outline {
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.landing-actions .btn-outline:hover {
    transform: translateY(-2px);
}

.landing-note {
    margin: 1.35rem 0 0;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: rgba(255, 120, 120, 0.85);
}

.landing-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-globe {
    width: min(100%, 460px);
    height: auto;
    aspect-ratio: 1;
    display: block;
    animation: landing-globe-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes landing-globe-in {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* —— Metrics —— */
.landing-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 2.25rem 0 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 5rem;
}

.landing-metrics > div {
    text-align: center;
    padding: 0.25rem;
}

.landing-metrics strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.landing-metrics span {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* —— Sections —— */
.landing-block {
    margin-bottom: 6rem;
}

.landing-head {
    text-align: center;
    max-width: 32rem;
    margin: 0 auto 2.75rem;
}

.landing-head-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 28rem;
}

.landing-head > span {
    display: block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ff3d3d;
    margin-bottom: 0.85rem;
}

.landing-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    margin: 0 0 0.75rem;
}

.landing-head p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 230, 230, 0.5);
}

.landing-head strong {
    color: rgba(255, 180, 180, 0.9);
}

/* —— Feature trio —— */
.landing-tri {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 2rem;
}

.landing-tri article {
    padding: 0;
    border: none;
    background: none;
}

.landing-tri h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 60, 60, 0.35);
}

.landing-tri p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 230, 230, 0.48);
}

/* —— Arsenal —— */
.landing-arsenal {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.landing-arsenal-col {
    padding: 1.5rem 1.35rem 1.25rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.landing-arsenal-col h3 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff3d3d;
    margin: 0 0 1.25rem;
    font-weight: 700;
}

.landing-arsenal-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.landing-arsenal-col li strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.15rem;
}

.landing-arsenal-col li span {
    font-size: 0.78rem;
    color: rgba(255, 230, 230, 0.4);
}

/* —— Payments —— */
.landing-pay-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    align-items: end;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-pay .landing-head {
    margin-bottom: 0;
}

.landing-pay-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    justify-content: flex-end;
}

.landing-pay-list li {
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.landing-hero-copy .reserve-domains-notice {
    margin-top: 1.1rem;
    max-width: 34rem;
    text-align: left;
}

/* —— Plans —— */
.landing-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.landing-plans-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.4rem 1.4rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.landing-plan:hover {
    border-color: rgba(255, 80, 80, 0.28);
    background: rgba(255, 40, 40, 0.04);
}

.landing-plan.is-featured {
    border-color: rgba(255, 50, 50, 0.4);
    background: rgba(255, 30, 30, 0.06);
}

.landing-plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff5a5a;
}

.landing-plan h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 0.75rem;
    padding-right: 4rem;
}

.landing-price {
    margin-bottom: 1.25rem;
}

.landing-price .plan-price-now {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.landing-price .plan-price-now span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.15rem;
}

.landing-price .plan-price-was {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.landing-price .plan-discount-badge {
    font-size: 0.65rem;
    color: #ff5a5a;
    border-color: rgba(255, 80, 80, 0.35);
    background: transparent;
}

.landing-price .plan-price-meta {
    margin-bottom: 0.25rem;
}

.landing-plan ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.landing-plan li {
    font-size: 0.88rem;
    color: rgba(255, 230, 230, 0.5);
    padding-left: 0;
}

.landing-plan li::before {
    content: none;
}

.landing-plan .btn {
    border-radius: 999px;
    margin-top: auto;
}

.landing-foot-note {
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.landing-botnet {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* —— FAQ —— */
.landing-faq {
    max-width: 36rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 0;
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: #fff;
}

.landing-faq summary::-webkit-details-marker {
    display: none;
}

.landing-faq summary::after {
    content: '+';
    float: right;
    color: rgba(255, 80, 80, 0.8);
    font-weight: 400;
}

.landing-faq details[open] summary::after {
    content: '−';
}

.landing-faq p {
    margin: 0;
    padding: 0 0 1.2rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 230, 230, 0.5);
}

/* —— CTA —— */
.landing-cta {
    text-align: center;
    padding: 4.5rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.75rem;
}

.landing-cta > p {
    margin: 0 0 1.75rem;
    color: rgba(255, 230, 230, 0.45);
}

.landing-cta .landing-actions {
    justify-content: center;
}

/* —— Top —— */
.landing-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 50;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #ff2222;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.9;
}

.landing-top:hover {
    opacity: 1;
}

.landing-top[hidden] {
    display: none !important;
}

/* —— Reveal —— */
html.js .landing-page .reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(4px);
}

html.js .landing-page .reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.landing-page .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* —— Responsive —— */
@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
        padding: 2rem 0 1.5rem;
        text-align: center;
        gap: 1.5rem;
    }

    .landing-hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .landing-lead {
        margin-inline: auto;
    }

    .landing-actions {
        justify-content: center;
    }

    .landing-hero-visual {
        order: -1;
    }

    .landing-globe {
        width: min(100%, 320px);
    }

    .landing-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
        margin-bottom: 3.5rem;
    }

    .landing-tri,
    .landing-arsenal,
    .landing-plans,
    .landing-plans-3,
    .landing-pay-inner {
        grid-template-columns: 1fr;
    }

    .landing-pay-list {
        justify-content: flex-start;
    }

    .landing-head-left {
        text-align: center;
        margin-inline: auto;
    }

    .landing-block {
        margin-bottom: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.js .landing-page .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
