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

:root {
    --bg: #07111f;
    --bg-soft: #0d1b2d;
    --panel: rgba(9, 20, 36, 0.72);
    --panel-strong: rgba(11, 26, 48, 0.9);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f3f7fb;
    --muted: #9cb0c9;
    --accent: #21c58e;
    --accent-strong: #0ea66f;
    --warning: #f6b84e;
    --danger: #ff6b7a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at 16% 12%, rgba(33, 197, 142, 0.16), transparent 24%),
        radial-gradient(circle at 78% 14%, rgba(54, 127, 255, 0.16), transparent 22%),
        radial-gradient(circle at 54% 34%, rgba(24, 62, 116, 0.24), transparent 28%),
        linear-gradient(180deg, #081220 0%, #050b14 100%);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(20px, 3vw, 40px);
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(48px);
    opacity: 0.7;
    pointer-events: none;
}

.ambient-left {
    inset: 40px auto auto -90px;
    width: 360px;
    height: 360px;
    background: rgba(33, 197, 142, 0.16);
}

.ambient-right {
    inset: auto -70px 110px auto;
    width: 340px;
    height: 340px;
    background: rgba(77, 120, 255, 0.16);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 430px);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
    width: min(1480px, 100%);
    min-height: clamp(560px, 78svh, 780px);
    margin: 0 auto;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: clamp(10px, 3vh, 28px) clamp(14%, 18vw, 26%) clamp(30px, 6vh, 56px) clamp(4%, 8vw, 10%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 40px;
    background:
        radial-gradient(circle at 20% 18%, rgba(33, 197, 142, 0.08), transparent 28%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) 42%, rgba(27, 124, 120, 0.08) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    left: clamp(7%, 10vw, 12%);
    right: clamp(22%, 24vw, 28%);
    bottom: clamp(34px, 8vh, 74px);
    height: 1px;
    background: linear-gradient(90deg, rgba(33, 197, 142, 0), rgba(33, 197, 142, 0.28), rgba(107, 143, 255, 0.24), rgba(107, 143, 255, 0));
    opacity: 0.75;
    z-index: 0;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-left: clamp(0px, 1vw, 8px);
    animation: rise 0.7s ease-out both;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 11.2ch;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3.4rem, 5.4vw, 5.9rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.lede {
    margin: 24px 0 0;
    max-width: 36rem;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.65vw, 1.18rem);
    line-height: 1.8;
}

.hero-points {
    counter-reset: hero-point;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 26px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    max-width: 48rem;
}

.hero-points li {
    position: relative;
    padding: 14px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cfdded;
    line-height: 1.6;
    min-height: 88px;
}

.hero-points li::before {
    counter-increment: hero-point;
    content: "0" counter(hero-point);
    position: absolute;
    left: 0;
    top: -12px;
    color: rgba(33, 197, 142, 0.9);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.lookup-zone {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(100%, 430px);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        var(--panel-strong);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    animation: rise 0.8s ease-out 0.12s both;
}

.lookup-zone::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 96px;
    border-radius: 32px 32px 0 0;
    background: linear-gradient(180deg, rgba(66, 214, 165, 0.08), rgba(66, 214, 165, 0));
    pointer-events: none;
}

.lookup-topline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lookup-badge,
.lookup-note {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #d7e4f2;
    font-size: 0.85rem;
}

.lookup-badge {
    color: var(--accent);
    border-color: rgba(33, 197, 142, 0.24);
}

.lookup-zone h2 {
    position: relative;
    margin: 18px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.35rem, 4vw, 3rem);
    line-height: 0.98;
}

.lookup-subtitle {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 22rem;
}

.lookup-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.field {
    display: grid;
    gap: 10px;
}

.field span {
    color: #dbe7f4;
    font-size: 0.92rem;
    font-weight: 600;
}

.field input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.field input::placeholder {
    color: rgba(203, 217, 232, 0.48);
}

.field input:focus {
    outline: none;
    border-color: rgba(33, 197, 142, 0.72);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.primary-action {
    min-height: 58px;
    margin-top: 6px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #032114;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(33, 197, 142, 0.22);
}

.primary-action:disabled {
    cursor: progress;
    opacity: 0.8;
    transform: none;
}

.microcopy {
    margin: 0;
    color: rgba(206, 219, 233, 0.78);
    font-size: 0.9rem;
    line-height: 1.55;
}

.trap-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.result-panel {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(42, 138, 126, 0.12), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
    transform-origin: top center;
    animation: rise 0.28s ease-out both;
}

.result-panel.is-loading {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.result-loader {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent);
    border-radius: 999px;
    animation: spin 0.85s linear infinite;
}

.result-head {
    display: grid;
    gap: 12px;
}

.result-head h3 {
    margin: 0;
    font-size: 1.35rem;
}

.state-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.state-ready {
    border-color: rgba(33, 197, 142, 0.28);
    background: rgba(33, 197, 142, 0.12);
}

.state-paid {
    border-color: rgba(58, 190, 255, 0.26);
    background: rgba(58, 190, 255, 0.12);
}

.state-canceled,
.state-error {
    border-color: rgba(255, 107, 122, 0.24);
    background: rgba(255, 107, 122, 0.1);
}

.state-processing {
    border-color: rgba(246, 184, 78, 0.24);
    background: rgba(246, 184, 78, 0.1);
}

.result-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 0;
}

.result-meta div {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.result-meta dt {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.result-meta dd {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.result-actions {
    margin-top: 22px;
}

.pay-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 18px;
    background: #f4f7fb;
    color: #08111d;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(244, 247, 251, 0.18);
}

.support-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    width: min(1480px, 100%);
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.support-label {
    margin: 0 0 10px;
    color: #dce7f4;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-text {
    margin: 0;
    max-width: 44rem;
    color: var(--muted);
    line-height: 1.65;
}

.support-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    color: #d7e4f2;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-meta span {
    position: relative;
    white-space: nowrap;
}

.support-meta span + span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 14px 2px 0;
    border-radius: 999px;
    background: rgba(33, 197, 142, 0.72);
    vertical-align: middle;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .page-shell {
        padding: 22px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 32px;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    h1 {
        max-width: 12ch;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .lookup-zone {
        justify-self: stretch;
        width: 100%;
    }

    .support-strip {
        grid-template-columns: 1fr;
    }

    .support-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 16px;
    }

    .lookup-zone {
        padding: 20px;
        border-radius: 24px;
    }

    .result-meta {
        grid-template-columns: 1fr;
    }

    .lookup-topline {
        flex-wrap: wrap;
    }

    .support-meta span + span::before {
        margin-right: 10px;
    }

    .pay-action,
    .primary-action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
