:root {
    --super-blue: #005eac;
    --super-blue-dark: #00418e;
    --super-blue-soft: #eaf5ff;
    --super-blue-pale: #f5faff;
    --white: #ffffff;
    --ink: #102a43;
    --muted: #60758a;
    --line: #dceaf6;
    --shadow: 0 34px 90px rgba(0, 42, 92, 0.28);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--super-blue-dark);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.13), transparent 27%),
        radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.09), transparent 28%),
        linear-gradient(140deg, var(--super-blue-dark) 0%, var(--super-blue) 52%, var(--super-blue-dark) 100%);
}

.page-background::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 95%);
}

.glow {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    animation: drift 12s ease-in-out infinite;
}

.glow-one {
    width: 360px;
    height: 360px;
    top: -165px;
    right: 7%;
}

.glow-two {
    width: 520px;
    height: 520px;
    left: -250px;
    bottom: -270px;
    animation-delay: -5s;
}

.background-symbol {
    position: absolute;
    width: min(42vw, 480px);
    right: -7vw;
    bottom: -16vh;
    opacity: 0.045;
    transform: rotate(8deg);
}

.page-shell {
    min-height: 100vh;
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 34px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.landing-card {
    width: min(100%, 1060px);
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(460px, 1.12fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;
    background: var(--white);
    box-shadow: var(--shadow);
    animation: reveal 0.7s cubic-bezier(.2, .7, .2, 1) both;
}

.brand-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 52px 46px 42px;
    display: flex;
    flex-direction: column;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(155deg, var(--super-blue) 0%, var(--super-blue-dark) 100%);
}

.brand-panel::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -190px;
    top: 140px;
    z-index: -1;
    border: 55px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
}

.brand-logo {
    display: block;
    object-fit: contain;
}

.brand-logo--white {
    width: 235px;
    height: auto;
    object-position: left center;
}

.brand-logo--blue {
    display: none;
    width: 205px;
    margin-bottom: 30px;
    object-position: left center;
}

.brand-panel__content {
    margin: auto 0;
    position: relative;
    z-index: 2;
}

.eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(0, 94, 172, 0.15);
    border-radius: 999px;
    color: var(--super-blue-dark);
    background: var(--super-blue-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--super-blue);
    box-shadow: 0 0 0 5px rgba(0, 94, 172, 0.12);
}

.eyebrow--light {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.eyebrow--light::before {
    background: var(--white);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.13);
}

.brand-panel h2 {
    max-width: 430px;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.brand-panel__content p {
    max-width: 420px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.75;
}

.brand-panel__footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 9px;
    height: 9px;
    border: 2px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.09);
}

.panel-symbol {
    position: absolute;
    z-index: 1;
    width: 210px;
    right: -48px;
    bottom: -62px;
    opacity: 0.075;
    transform: rotate(7deg);
}

.content-panel {
    padding: 58px 62px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 94, 172, 0.055), transparent 34%),
        var(--white);
}

.content-panel h1 {
    max-width: 520px;
    color: var(--super-blue-dark);
    font-size: clamp(36px, 4.6vw, 55px);
    line-height: 1.05;
    letter-spacing: -0.048em;
}

.intro {
    max-width: 550px;
    margin-top: 19px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.72;
}

.benefits {
    margin: 27px 0 30px;
    display: grid;
    gap: 13px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #29445d;
    font-size: 14px;
    font-weight: 700;
}

.benefit-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 94, 172, 0.15);
    border-radius: 50%;
    color: var(--super-blue);
    background: var(--super-blue-soft);
}

.benefit-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.join-button {
    min-height: 64px;
    width: 100%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 17px;
    color: var(--white);
    background: linear-gradient(135deg, var(--super-blue), var(--super-blue-dark));
    box-shadow: 0 18px 34px rgba(0, 65, 142, 0.24);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.join-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 23px 42px rgba(0, 65, 142, 0.32);
    filter: brightness(1.04);
}

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

.join-button:focus-visible,
#cancel-redirect:focus-visible {
    outline: 4px solid rgba(0, 94, 172, 0.2);
    outline-offset: 4px;
}

.whatsapp-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    fill: currentColor;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    margin-left: auto;
    fill: currentColor;
    transition: transform 0.22s ease;
}

.join-button:hover .arrow-icon {
    transform: translateX(4px);
}

.redirect-box {
    margin-top: 16px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--muted);
    background: var(--super-blue-pale);
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}

.countdown-ring {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}

.countdown-ring svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-ring circle {
    fill: none;
    stroke-width: 3;
}

.ring-track {
    stroke: #d9eafa;
}

.ring-progress {
    stroke: var(--super-blue);
    stroke-linecap: round;
    stroke-dasharray: 113.1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.9s linear;
}

.countdown-ring strong {
    position: relative;
    color: var(--super-blue-dark);
    font-size: 12px;
}

#cancel-redirect {
    appearance: none;
    margin-top: 2px;
    padding: 0;
    border: 0;
    color: var(--super-blue-dark);
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.redirect-box.is-cancelled .countdown-ring {
    display: none;
}

.redirect-box.is-cancelled {
    justify-content: flex-start;
    text-align: left;
}

.privacy-note {
    margin-top: 17px;
    color: #7a8ea1;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.page-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.noscript-message {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 20;
    padding: 13px 16px;
    border-radius: 12px;
    color: var(--super-blue-dark);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
    text-align: center;
    font-family: sans-serif;
    font-size: 13px;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 18px, 0); }
}

@media (max-width: 900px) {
    .page-shell {
        padding: 24px 18px 18px;
    }

    .landing-card {
        width: min(100%, 680px);
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .brand-panel {
        min-height: 265px;
        padding: 34px 36px;
    }

    .brand-panel__content {
        margin: 38px 0 28px;
    }

    .brand-panel h2 {
        font-size: clamp(34px, 7vw, 48px);
    }

    .brand-panel__content p {
        display: none;
    }

    .brand-panel__footer {
        display: none;
    }

    .panel-symbol {
        width: 180px;
        right: 10px;
        bottom: -80px;
    }

    .content-panel {
        padding: 42px 42px 36px;
    }
}

@media (max-width: 560px) {
    .page-shell {
        justify-content: flex-start;
        padding: 14px 12px 16px;
    }

    .landing-card {
        border-radius: 24px;
    }

    .brand-panel {
        min-height: 205px;
        padding: 26px 26px 24px;
    }

    .brand-logo--white {
        width: 176px;
    }

    .brand-panel__content {
        margin: 30px 0 0;
    }

    .brand-panel h2 {
        max-width: 310px;
        font-size: 31px;
        line-height: 1.08;
    }

    .eyebrow--light,
    .panel-symbol {
        display: none;
    }

    .content-panel {
        padding: 34px 24px 28px;
    }

    .content-panel h1 {
        font-size: 35px;
        line-height: 1.08;
    }

    .intro {
        font-size: 14px;
        line-height: 1.65;
    }

    .benefits {
        margin: 23px 0 25px;
    }

    .benefit {
        align-items: flex-start;
        font-size: 13px;
        line-height: 1.45;
    }

    .benefit-icon {
        margin-top: 1px;
    }

    .join-button {
        min-height: 60px;
        padding: 14px 16px;
        font-size: 13px;
    }

    .arrow-icon {
        display: none;
    }

    .redirect-box {
        justify-content: flex-start;
    }

    .page-footer {
        padding: 0 10px;
        text-align: center;
    }
}

@media (max-width: 370px) {
    .brand-panel {
        min-height: 185px;
    }

    .brand-panel h2 {
        font-size: 27px;
    }

    .content-panel {
        padding-right: 19px;
        padding-left: 19px;
    }

    .content-panel h1 {
        font-size: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
