:root {
    --red: #e11d2e;
    --red-dark: #b81422;
    --gold: #c9a227;
    --gold-soft: #e4c45a;
    --ink: #12141c;
    --ink-2: #1c2030;
    --muted: #5c6478;
    --line: rgba(18, 20, 28, 0.08);
    --paper: #f7f4ee;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(18, 20, 28, 0.12);
    --radius: 22px;
    --max: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
.btn {
    font-family: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--white);
    padding: 8px 12px;
    z-index: 100;
}

.skip-link:focus {
    left: 12px;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.header-message {
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(247, 244, 238, 0.82);
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(18, 20, 28, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand img {
    height: 42px;
    width: auto;
    background: #fff;
    padding: 6px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(18, 20, 28, 0.08);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--ink);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--white);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(18, 20, 28, 0.08);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 3px solid var(--gold-soft);
    outline-offset: 2px;
}

.btn-red {
    background: linear-gradient(180deg, #ef2a3b 0%, var(--red) 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(225, 29, 46, 0.28);
}

.btn-red:hover {
    background: var(--red-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(18, 20, 28, 0.14);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    color: #1a1404;
    box-shadow: 0 10px 22px rgba(201, 162, 39, 0.28);
}

.btn-lg {
    padding: 16px 26px;
    font-size: 1rem;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(225, 29, 46, 0.16), transparent 55%),
        radial-gradient(700px 380px at 8% 20%, rgba(201, 162, 39, 0.18), transparent 50%),
        linear-gradient(180deg, #11141d 0%, #1a1f2e 62%, #f7f4ee 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #fff 0%, var(--gold-soft) 48%, #ff8a93 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 0 0 28px;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: float 7s ease-in-out infinite;
}

.orb-a {
    width: 220px;
    height: 220px;
    background: rgba(225, 29, 46, 0.28);
    top: 40px;
    right: 20px;
}

.orb-b {
    width: 160px;
    height: 160px;
    background: rgba(201, 162, 39, 0.24);
    bottom: 70px;
    left: 10px;
    animation-delay: -2.4s;
}

.phone {
    position: relative;
    width: 280px;
    height: 560px;
    border-radius: 38px;
    padding: 12px;
    background: linear-gradient(180deg, #2a3144, #0d1018);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.35),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 18px;
    background: #0d1018;
    border-radius: 999px;
    z-index: 3;
}

.phone-screen {
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbf8f2, #efe8d8);
    color: var(--ink);
    padding: 36px 16px 16px;
}

.phone-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.saldo-card {
    margin: 16px 0;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1a1f2e, #2b2230);
    color: #fff;
}

.saldo-card small {
    opacity: 0.7;
}

.saldo-card strong {
    display: block;
    font-size: 1.45rem;
    margin-top: 4px;
    letter-spacing: -0.03em;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.app-tile {
    background: #fff;
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(18, 20, 28, 0.06);
}

.app-tile .ico {
    width: 32px;
    height: 32px;
    margin: 0 auto 6px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.9rem;
}

.float-card {
    position: absolute;
    z-index: 4;
    background: #fff;
    color: var(--ink);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: var(--shadow);
    min-width: 170px;
    animation: float 5.5s ease-in-out infinite;
}

.float-card b {
    display: block;
    font-size: 0.86rem;
}

.float-card span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.float-1 {
    top: 72px;
    left: 0;
}

.float-2 {
    right: 0;
    bottom: 120px;
    animation-delay: -1.8s;
}

.ok {
    color: #12805c;
    font-weight: 800;
    font-size: 0.72rem;
}

.marquee-wrap {
    position: relative;
    z-index: 1;
    margin-top: -8px;
    padding: 18px 0 8px;
    overflow: hidden;
    border-top: 1px solid rgba(18, 20, 28, 0.06);
}

.marquee {
    display: flex;
    gap: 36px;
    width: max-content;
    animation: marquee 28s linear infinite;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(18, 20, 28, 0.38);
    font-size: 0.82rem;
}

.marquee span {
    white-space: nowrap;
}

.store-btn:hover {
    transform: translateY(-2px);
}

.section {
    padding: 84px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 36px;
}

.kicker {
    color: var(--red);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.section h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section p.sub {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.cards-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 18px 20px;
    box-shadow: 0 10px 30px rgba(18, 20, 28, 0.06);
    border: 1px solid rgba(18, 20, 28, 0.04);
    min-height: 230px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.benefits {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit {
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
    box-shadow: 0 10px 24px rgba(18, 20, 28, 0.05);
}

.benefit h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.benefit p {
    margin: 0;
    color: var(--muted);
}

.panel {
    border-radius: 28px;
    background: linear-gradient(160deg, #161922, #2a2030 55%, #3a2418);
    color: #fff;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
}

.panel h3 {
    font-size: 1.7rem;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
}

.panel p {
    color: rgba(255, 255, 255, 0.74);
}

.panel ul {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.panel li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

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

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
    min-height: 220px;
}

.step-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(225, 29, 46, 0.16);
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 18px;
}

.step h3 {
    margin: 0 0 8px;
}

.step p {
    margin: 0;
    color: var(--muted);
}

.download {
    background: #fff;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.download-copy {
    padding: 48px 44px;
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    min-width: 200px;
    transition: transform 0.15s ease;
}

.store-btn small {
    display: block;
    opacity: 0.7;
    font-size: 0.7rem;
    font-weight: 600;
}

.store-btn b {
    font-size: 0.95rem;
}

.store-btn.alt {
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(18, 20, 28, 0.14);
}

.download-art {
    background:
        radial-gradient(circle at 30% 20%, rgba(225, 29, 46, 0.28), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(201, 162, 39, 0.3), transparent 42%),
        #12141c;
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.mini-phone {
    width: 210px;
    height: 420px;
    border-radius: 32px;
    background: #0d1018;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.mini-phone-inner {
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, #f3eee3);
    padding: 28px 12px 12px;
}

.cta-band {
    margin-top: 28px;
    border-radius: 28px;
    padding: 36px;
    background: linear-gradient(90deg, var(--red), #9b1228 55%, #7a5a12);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cta-band h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.7rem;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.site-footer {
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-row a:hover {
    color: var(--ink);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
    .hero-grid,
    .benefits,
    .download,
    .cards-5,
    .steps {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
    }

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

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav.is-open .nav-links,
    .nav.is-open .nav-cta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        background: #fff;
        padding: 16px;
        border-radius: 18px;
        box-shadow: var(--shadow);
        gap: 12px;
    }

    .hero-grid {
        gap: 12px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .float-card {
        display: none;
    }

    .cards-5,
    .steps {
        grid-template-columns: 1fr;
    }

    .download-copy {
        padding: 28px 22px;
    }

    .section {
        padding: 64px 0;
    }
}

.auth-shell {
    min-height: calc(100vh - 76px);
    padding: 36px 0 64px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.auth-side {
    background: linear-gradient(160deg, #161922, #2a2030 55%, #3a2418);
    color: #fff;
    border-radius: 28px;
    padding: 32px 28px;
}

.auth-side h1 {
    margin: 10px 0 12px;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.auth-side p {
    color: rgba(255, 255, 255, 0.74);
    margin: 0 0 16px;
}

.auth-side ul {
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.84);
}

.auth-side li {
    margin: 8px 0;
}

.auth-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
}

.auth-card h2 {
    margin: 0 0 6px;
    letter-spacing: -0.03em;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(18, 20, 28, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.field textarea {
    min-height: 84px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 3px solid rgba(201, 162, 39, 0.35);
    border-color: var(--gold);
}

.form-error {
    background: #fde8ea;
    color: #9b1228;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.form-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.form-success {
    background: #e5f5ef;
    color: #0f5c44;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.login-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.login-visual {
    position: relative;
    min-height: 620px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.login-visual > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-visual-overlay {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(18, 20, 28, 0.08) 28%, rgba(18, 20, 28, 0.78) 100%);
    color: #fff;
}

.login-visual-overlay h1 {
    margin: 10px 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.login-visual-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    max-width: 360px;
}

.login-float {
    position: absolute;
    top: 24px;
    right: 20px;
    width: 168px;
    margin: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.login-float img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    display: block;
}

.login-float figcaption {
    padding: 8px 10px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
}

.login-fields {
    grid-template-columns: 1fr;
}

.login-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 16px 0 8px;
    font-size: 0.9rem;
}

.login-meta a {
    color: var(--red);
    font-weight: 700;
}

.login-signup {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.login-signup a {
    color: var(--red);
    font-weight: 800;
}

.text-center {
    text-align: center;
}

@media (max-width: 860px) {
    .auth-grid,
    .form-grid,
    .login-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .login-visual {
        min-height: 320px;
    }

    .login-float {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .orb,
    .float-card,
    .marquee {
        animation: none;
    }
}
