* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg: #05050a;
    --bg-soft: #0d0d15;
    --card: #12121c;
    --card-hover: #181824;
    --text: #ffffff;
    --muted: #b7b7c9;
    --primary: #ff002a;
    --primary-hover: #ff3152;
    --border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 0, 42, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(90, 38, 255, 0.12), transparent 34%),
        var(--bg);
    color: var(--text);
}

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

/* Header */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 5%;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(5, 5, 10, 0.84);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 230px;
}

.brand-logo {
    height: 74px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 14px rgba(255, 0, 42, 0.28));
}

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

.nav-links a,
.btn-login {
    transition: 0.25s ease;
}

.nav-links a:hover,
.btn-login:hover {
    color: var(--text);
}

.btn-login {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
}

/* Hero */
.hero-container {
    text-align: center;
    padding: 92px 20px 54px;
    max-width: 980px;
    margin: 0 auto;
}

.eyebrow {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 14px;
}

.main-title {
    font-size: clamp(2.2rem, 6vw, 4.9rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin-bottom: 20px;
}

.hero-description {
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.06rem;
    line-height: 1.7;
}

.registration-bar {
    display: flex;
    align-items: center;
    background: rgba(17, 17, 24, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px;
    max-width: 620px;
    margin: 34px auto 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.registration-bar input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 0 20px;
    outline: none;
    font-size: 1rem;
}

.registration-bar input::placeholder {
    color: #85859a;
}

.btn-submit {
    background: var(--primary);
    color: var(--text);
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
    white-space: nowrap;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats div {
    min-width: 140px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.86rem;
}

/* Sections */
.section-block,
.plans-section {
    padding: 54px 5%;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 30px;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

/* Grid de plataformas */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.platform-card {
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 22px;
    border: 1px solid var(--border);
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    transition: 0.28s ease;
    overflow: hidden;
}

.platform-card img {
    width: 100%;
    height: 64px;
    object-fit: contain;
    filter: brightness(1.18) contrast(1.05);
}

.platform-card:hover {
    border-color: rgba(255, 0, 42, 0.72);
    background: var(--card-hover);
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

/* Planos */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1050px;
    margin: 0 auto;
}

.plan-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid var(--border);
}

.plan-card.featured {
    border-color: rgba(255, 0, 42, 0.75);
    box-shadow: 0 22px 70px rgba(255, 0, 42, 0.16);
}

.badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 0, 42, 0.14);
    color: #ff6f86;
    font-size: 0.78rem;
    font-weight: 800;
}

.plan-card h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.plan-card p {
    color: var(--muted);
    line-height: 1.6;
    min-height: 52px;
}

.plan-card strong {
    display: block;
    margin: 18px 0;
    font-size: 1.55rem;
}

.plan-card a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--primary);
    font-weight: 800;
    transition: 0.25s ease;
}

.plan-card a:hover {
    background: var(--primary-hover);
}

.footer {
    padding: 32px 5%;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
    .brand { width: 190px; }

    .brand-logo { height: 58px; max-width: 190px; }

    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 16px;
        font-size: 0.88rem;
    }

    .hero-container {
        padding-top: 64px;
    }

    .registration-bar {
        flex-direction: column;
        border-radius: 24px;
        padding: 12px;
        gap: 10px;
    }

    .registration-bar input {
        width: 100%;
        padding: 14px 12px;
        text-align: center;
    }

    .btn-submit {
        width: 100%;
    }
}


/* Botão Entrar Premium */
.pulse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 14px 34px;
    border: 0;
    border-radius: 999px;
    color: #ffffff !important;
    font-weight: 800;
    background: linear-gradient(135deg, #ff002a, #ff3658);
    box-shadow: 0 0 16px rgba(255, 0, 42, 0.55), 0 0 36px rgba(255, 0, 42, 0.22);
    animation: pulseGlow 2s infinite;
}

.pulse-btn:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.04);
    background: linear-gradient(135deg, #ff3658, #ff002a);
    box-shadow: 0 0 24px rgba(255, 0, 42, 0.85), 0 0 58px rgba(255, 0, 42, 0.45);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 12px rgba(255, 0, 42, 0.45), 0 0 24px rgba(255, 0, 42, 0.18); }
    50% { box-shadow: 0 0 28px rgba(255, 0, 42, 0.9), 0 0 60px rgba(255, 0, 42, 0.45); }
    100% { box-shadow: 0 0 12px rgba(255, 0, 42, 0.45), 0 0 24px rgba(255, 0, 42, 0.18); }
}


/* =============================
   Otimização Premium Mobile
   ============================= */
img { max-width: 100%; }
button, a, input { -webkit-tap-highlight-color: transparent; }
input, button, textarea, select { font: inherit; }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #fff;
    transition: 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .navbar {
        position: sticky;
        padding: 14px 18px;
        gap: 12px;
    }

    .brand { width: auto; max-width: 150px; }
    .brand-logo { height: 54px; max-width: 150px; }

    .nav-toggle { display: inline-flex; margin-left: auto; }

    .nav-links {
        position: fixed;
        top: 84px;
        left: 16px;
        right: 16px;
        z-index: 20;
        display: grid;
        gap: 10px;
        padding: 14px;
        border-radius: 22px;
        border: 1px solid var(--border);
        background: rgba(8, 8, 14, 0.96);
        backdrop-filter: blur(18px);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
        transform: translateY(-14px);
        opacity: 0;
        pointer-events: none;
        transition: 0.25s ease;
        order: initial;
        width: auto;
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(255,255,255,0.045);
        text-align: center;
        font-weight: 700;
    }

    .btn-login.pulse-btn {
        min-width: auto;
        padding: 13px 20px;
        margin-left: 0;
    }

    .hero-container {
        padding: 58px 18px 44px;
    }

    .main-title {
        font-size: clamp(2.35rem, 12vw, 3.7rem);
        line-height: 1.04;
        letter-spacing: -0.055em;
    }

    .hero-description {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .registration-bar {
        width: 100%;
        max-width: 460px;
        border-radius: 24px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .hero-stats div {
        min-width: 0;
        width: 100%;
    }

    .section-block,
    .plans-section {
        padding: 42px 18px;
    }

    .platforms-grid,
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .platform-card {
        min-height: 104px;
        border-radius: 20px;
    }

    .platform-card img {
        height: 58px;
    }
}

@media (max-width: 480px) {
    body {
        background:
            radial-gradient(circle at top left, rgba(255, 0, 42, 0.2), transparent 38%),
            radial-gradient(circle at top right, rgba(90, 38, 255, 0.14), transparent 36%),
            var(--bg);
    }

    .navbar { padding: 12px 14px; }
    .brand-logo { height: 48px; max-width: 128px; }
    .nav-toggle { width: 44px; height: 44px; border-radius: 14px; }

    .btn-login.pulse-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .main-title { font-size: clamp(2.15rem, 13vw, 3rem); }
    .section-heading h2 { font-size: 2rem; line-height: 1.12; }
    .eyebrow { font-size: 0.7rem; }

    .registration-bar input,
    .auth-form input {
        font-size: 16px;
    }

    .btn-submit,
    .pulse-btn,
    .auth-submit {
        min-height: 54px;
    }

    .platform-card { padding: 18px; }
    .plan-card { padding: 24px; }
}

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


/* ==============================
   Checkout PIX / N8N
============================== */
.payment-page {
    min-height: 100vh;
}

.checkout-navbar {
    position: relative;
}

.checkout-container {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 70px 20px 54px;
}

.checkout-hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 34px;
}

.checkout-hero h1 {
    font-size: clamp(2.1rem, 6vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    margin-bottom: 14px;
}

.checkout-hero p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.7;
}

.checkout-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.checkout-plan {
    position: relative;
    padding: 30px;
    border-radius: 26px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    transition: 0.28s ease;
}

.checkout-plan:hover,
.checkout-plan.preselected {
    border-color: rgba(255, 0, 42, 0.72);
    transform: translateY(-6px);
}

.checkout-plan.featured {
    border-color: rgba(255, 0, 42, 0.78);
    box-shadow: 0 24px 90px rgba(255, 0, 42, 0.13);
}

.checkout-plan h2 {
    font-size: 1.55rem;
    margin-bottom: 12px;
}

.checkout-price {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.checkout-price span {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
}

.checkout-plan ul {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 24px;
}

.checkout-plan li::before {
    content: "✓";
    color: #00ff88;
    margin-right: 8px;
    font-weight: 900;
}

.payment-box {
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(255, 0, 42, 0.55);
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
    box-shadow: 0 28px 90px rgba(255, 0, 42, 0.12);
    text-align: center;
}

.back-plans {
    display: inline-flex;
    margin-bottom: 18px;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-weight: 700;
}

.payment-box h2 {
    font-size: clamp(1.65rem, 5vw, 2.4rem);
    margin-bottom: 8px;
}

.payment-subtitle {
    color: var(--muted);
    margin-bottom: 18px;
}

.qr-container {
    width: min(100%, 280px);
    aspect-ratio: 1;
    margin: 20px auto;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #fff;
    padding: 14px;
}

.qr-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.copy-paste-area {
    text-align: left;
}

.copy-paste-area label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.copy-paste-area textarea {
    width: 100%;
    min-height: 104px;
    resize: vertical;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    outline: none;
    background: rgba(0,0,0,0.28);
    color: #fff;
    font-size: 16px;
}

.btn-copy {
    width: 100%;
    min-height: 52px;
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff002a, #ff3152);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 0 28px rgba(255, 0, 42, 0.28);
}

.payment-status-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.loader {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.18);
    border-top-color: var(--primary);
    animation: checkoutSpin 1s linear infinite;
}

@keyframes checkoutSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
    .checkout-plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .checkout-plan:hover,
    .checkout-plan.preselected {
        transform: none;
    }
}

@media (max-width: 480px) {
    .checkout-container {
        padding: 44px 14px 36px;
    }

    .checkout-plan,
    .payment-box {
        padding: 22px;
        border-radius: 24px;
    }

    .qr-container {
        width: min(100%, 245px);
    }

    .payment-status-row {
        align-items: flex-start;
        text-align: left;
    }
}
