/* GoldBot by Goldziin — Design System Premium 2026 */

:root {
    --background: #0A0A0F;
    --surface: #12121A;
    --surface-2: #1A1A26;
    --border: #2A2A3A;
    --text-primary: #F0F0F5;
    --text-secondary: #B9B9C9;
    --text-muted: #8888A0;
    --gold: #F5C518;
    --gold-light: #FFD84D;
    --gold-dark: #B89000;
    --success: #22C55E;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --gradient-gold: linear-gradient(135deg, #F5C518, #FFD84D);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, .35);
    --shadow-float: 0 30px 90px rgba(0, 0, 0, .50);
    --shadow-gold: 0 0 30px rgba(245, 197, 24, .18);
    --radius-btn: 14px;
    --radius-card: 16px;
    --radius-modal: 20px;
    --radius-hero: 24px;
    --radius-pill: 999px;
    --nav-h: 72px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 18px;
    font-weight: 500;
    min-height: 100vh;
    overflow-x: hidden;
}

.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 197, 24, .08), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(245, 197, 24, .04), transparent 40%),
        var(--background);
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .45;
    animation: orbDrift 18s ease-in-out infinite;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: rgba(245, 197, 24, .12);
    top: 8%;
    left: 5%;
    animation-duration: 22s;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: rgba(255, 216, 77, .08);
    bottom: 15%;
    right: 10%;
    animation-delay: -6s;
    animation-duration: 26s;
}

.orb-3 {
    width: 260px;
    height: 260px;
    background: rgba(245, 197, 24, .06);
    top: 45%;
    left: 55%;
    animation-delay: -12s;
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-25px, 35px) scale(0.92); }
}

/* Page load */
body.page-loading .hero-content,
body.page-loading .hero-visual {
    opacity: 0;
}

body.page-ready .hero-content {
    animation: heroContentIn 1s var(--ease-out-expo) 0.1s forwards;
}

body.page-ready .hero-visual {
    animation: heroVisualIn 1.1s var(--ease-out-expo) 0.25s forwards;
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes heroVisualIn {
    from { opacity: 0; transform: translateY(30px) scale(0.92); filter: blur(10px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow { max-width: 760px; }

.text-gold { color: var(--gold); }

.hidden { display: none !important; }

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(10, 10, 15, .75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 42, 58, .6);
    transition: height 0.35s var(--ease-out-expo), background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
    height: 64px;
    background: rgba(10, 10, 15, .92);
    border-bottom-color: rgba(245, 197, 24, .12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    transition: transform 0.3s var(--ease-spring);
}

.logo:hover { transform: scale(1.03); }

.logo-icon {
    border-radius: 8px;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-8deg) scale(1.05);
    box-shadow: 0 0 20px rgba(245, 197, 24, .35);
}

.logo span { color: var(--text-primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.35s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.btn-nav { width: auto; padding: 10px 22px; font-size: .9rem; height: auto; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-out-expo), opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 28px;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.25s var(--ease-spring),
        box-shadow 0.35s var(--ease-smooth),
        border-color 0.25s ease,
        background 0.25s ease,
        opacity 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover:not(:disabled) { transform: translateY(-2px); }

.btn:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transform: scale(0);
    animation: ripple 0.65s var(--ease-out-expo) forwards;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: var(--shadow-gold);
    animation: ctaPulse 4s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, .35) 50%,
        transparent 60%
    );
    transform: translateX(-120%);
    transition: none;
    animation: btnShine 5s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 75% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 8px 40px rgba(245, 197, 24, .45);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(20px);
}

.btn-ghost:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(245, 197, 24, .05);
    box-shadow: 0 0 24px rgba(245, 197, 24, .08);
}

.btn-lg { height: 60px; padding: 0 32px; font-size: 1.05rem; }
.btn-sm { height: 44px; padding: 0 16px; font-size: .875rem; width: auto; margin: 0; }

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 197, 24, .12); }
    50% { box-shadow: 0 0 36px rgba(245, 197, 24, .28); }
}

/* ─── Hero ─── */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 64px) 0 96px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 197, 24, .15), transparent 70%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.12); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 12s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(245, 197, 24, .6);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content { max-width: 560px; }

.pill-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(245, 197, 24, .1);
    border: 1px solid rgba(245, 197, 24, .25);
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: .02em;
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(245, 197, 24, 0); }
    50% { box-shadow: 0 0 20px rgba(245, 197, 24, .15); }
}

.hero-title .text-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: -.02em;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    transition: transform 0.3s var(--ease-spring);
}

.stat:hover strong { transform: scale(1.08); }

.stat span {
    font-size: .8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.hero-banner {
    width: 100%;
    max-width: 520px;
    height: auto;
    filter: drop-shadow(var(--shadow-float));
    animation: heroFloat 6s ease-in-out infinite;
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.dashboard-float {
    position: absolute;
    top: -10px;
    right: -20px;
    width: 220px;
    padding: 16px;
    border-radius: var(--radius-card);
    z-index: 2;
    animation: heroFloat 6s ease-in-out infinite reverse;
}

.glass {
    background: rgba(18, 18, 26, .75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(42, 42, 58, .8);
    box-shadow: var(--shadow-card);
}

.dash-header {
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.dash-widgets { display: grid; gap: 8px; }

.dash-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(26, 26, 38, .6);
    border-radius: 8px;
}

.dash-label { font-size: .7rem; color: var(--text-muted); }
.dash-value { font-size: .85rem; font-weight: 700; color: var(--gold); }

/* ─── Sections ─── */
.section { padding: 96px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: rgba(18, 18, 26, .4); }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}

.section-head p { color: var(--text-secondary); font-size: 1.05rem; }

/* ─── Trust bar ─── */
.trust-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: transform 0.3s var(--ease-spring), color 0.25s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
    color: var(--gold-light);
}

.trust-item:hover .icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(245, 197, 24, .5));
}

.trust-item .icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: transform 0.35s var(--ease-spring), filter 0.35s ease;
}

/* ─── Bento ─── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px;
    transition:
        transform 0.4s var(--ease-out-expo),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-gold);
    border-color: rgba(245, 197, 24, .35);
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 24px rgba(245, 197, 24, .2);
}

.bento-wide { grid-column: span 2; }

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 197, 24, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.35s ease;
}

.bento-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.bento-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bento-tags li {
    font-size: .75rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(245, 197, 24, .08);
    color: var(--gold-light);
    border: 1px solid rgba(245, 197, 24, .2);
}

/* ─── Steps timeline ─── */
.steps-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    text-align: center;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(245, 197, 24, .25);
}

.step-card.is-visible .step-num {
    animation: stepNumPop 0.6s var(--ease-spring) forwards;
}

@keyframes stepNumPop {
    0% { transform: scale(0.6); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 0.4; }
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    opacity: .4;
    line-height: 1;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: .85rem;
    color: var(--text-muted);
}

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--gold-dark), var(--border));
    margin-top: 48px;
    align-self: start;
}

/* ─── Gateways ─── */
.gateways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gateway-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.35s ease;
}

.gateway-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(245, 197, 24, .3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.gateway-card:hover .gateway-icon {
    animation: iconBounce 0.5s var(--ease-spring);
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.gateway-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: rgba(245, 197, 24, .08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gateway-icon svg { width: 24px; height: 24px; color: var(--gold); }

.gateway-card h4 {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.gateway-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gateway-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

/* ─── Pricing ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease, border-color 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-float);
}

.pricing-card.highlight {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    background: linear-gradient(180deg, rgba(245, 197, 24, .06) 0%, var(--surface) 40%);
    animation: highlightGlow 4s ease-in-out infinite;
}

@keyframes highlightGlow {
    0%, 100% { box-shadow: var(--shadow-gold); }
    50% { box-shadow: 0 0 48px rgba(245, 197, 24, .25); }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: #000;
    font-size: .7rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin: 16px 0;
}

.pricing-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: .9rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(42, 42, 58, .5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.pricing-card .btn { width: 100%; }

/* ─── FAQ ─── */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.3s var(--ease-out-expo);
}

.faq-item:hover {
    border-color: rgba(245, 197, 24, .2);
}

.faq-item[open] {
    border-color: rgba(245, 197, 24, .35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.faq-item[open] summary {
    color: var(--gold-light);
}

.faq-item p {
    animation: faqOpen 0.4s var(--ease-out-expo);
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--gold);
    transition: transform .2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--gold-light); }

.faq-item p {
    padding: 0 24px 20px;
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ─── CTA Final ─── */
.cta-final { padding-bottom: 128px; }

.cta-box {
    text-align: center;
    padding: 64px 48px;
    border-radius: var(--radius-hero);
    border: 1px solid rgba(245, 197, 24, .2);
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 197, 24, .1), transparent 50%),
        rgba(18, 18, 26, .8);
    transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease;
}

.cta-box:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(245, 197, 24, .08);
}

.cta-box h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ─── Footer ─── */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-logo small {
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-copy {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ─── Sticky CTA (mobile) ─── */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 12px 16px;
    background: rgba(10, 10, 15, .92);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
}

.sticky-cta .btn { width: 100%; height: 52px; }

/* Botão flutuante Suporte (Telegram) */
.fab-support {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #229ED9, #1d8ebf);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 28px rgba(34, 158, 217, .45);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
    animation: fabEnter 0.8s var(--ease-out-expo) 1s backwards, fabPulse 3s ease-in-out 2s infinite;
}

@keyframes fabEnter {
    from { opacity: 0; transform: translateY(20px) scale(0.85); }
    to { opacity: 1; transform: none; }
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(34, 158, 217, .45); }
    50% { box-shadow: 0 8px 36px rgba(34, 158, 217, .65), 0 0 0 8px rgba(34, 158, 217, .1); }
}

.fab-support:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(34, 158, 217, .55);
    color: #fff;
}

.fab-support-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ─── Modal / Checkout ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.modal-overlay.is-open {
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(12px);
    animation: overlayIn 0.4s var(--ease-out-expo) forwards;
}

.modal-overlay.is-closing {
    animation: overlayOut 0.3s var(--ease-smooth) forwards;
}

@keyframes overlayIn {
    from { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); }
    to { background: rgba(0, 0, 0, .78); backdrop-filter: blur(12px); }
}

@keyframes overlayOut {
    to { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); opacity: 0; }
}

.modal {
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius-modal);
    margin: auto;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(32px) scale(0.94);
    opacity: 0;
    transition: transform 0.45s var(--ease-out-expo), opacity 0.4s ease;
}

.modal-overlay.is-open .modal {
    transform: none;
    opacity: 1;
}

.modal-overlay.is-closing .modal {
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition-duration: 0.25s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 0;
}

.modal-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-spring);
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--surface-2);
    transform: rotate(90deg);
}

.modal-close:active { transform: rotate(90deg) scale(0.9); }

.checkout-step {
    animation: none;
}

.checkout-step.step-active {
    animation: stepSlideIn 0.45s var(--ease-out-expo) forwards;
}

.checkout-step.step-back {
    animation: stepSlideBack 0.45s var(--ease-out-expo) forwards;
}

@keyframes stepSlideIn {
    from { opacity: 0; transform: translateX(28px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes stepSlideBack {
    from { opacity: 0; transform: translateX(-28px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

.modal-body {
    padding: 24px 28px 28px;
    overflow-y: auto;
}

.checkout-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Steps indicator */
.steps {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.step-dot {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transition: width 0.5s var(--ease-out-expo), background 0.4s ease, box-shadow 0.4s ease;
}

.step-dot.active {
    width: 48px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(245, 197, 24, .45);
    animation: dotPulse 2s ease-in-out infinite;
}

.step-dot.done {
    width: 24px;
    background: var(--success);
    box-shadow: 0 0 8px rgba(34, 197, 94, .3);
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(245, 197, 24, .45); }
    50% { box-shadow: 0 0 20px rgba(245, 197, 24, .65); }
}

/* Plans in checkout */
.plans-grid { display: grid; gap: 12px; }

.plan-option {
    border: 2px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-option:hover {
    border-color: var(--gold-dark);
    background: var(--surface-2);
    transform: translateY(-2px);
}

.plan-option.selected {
    border-color: var(--gold);
    background: rgba(245, 197, 24, .08);
    box-shadow: var(--shadow-gold);
    animation: planSelect 0.5s var(--ease-spring);
}

@keyframes planSelect {
    0% { transform: scale(1); }
    40% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.plan-option .name { font-weight: 700; }
.plan-option .desc { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.plan-option .price { font-size: 1.4rem; font-weight: 800; color: var(--gold); }

/* Forms */
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.hint-inline { font-weight: 400; color: var(--text-muted); }

.form-group input {
    width: 100%;
    height: 60px;
    padding: 0 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, .12);
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row input { flex: 1; }

.hint { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }

.tutorial {
    background: var(--surface-2);
    border-radius: var(--radius-btn);
    padding: 14px;
    margin-top: 10px;
    font-size: .85rem;
    color: var(--text-muted);
}

.tutorial summary {
    cursor: pointer;
    color: var(--gold);
    font-weight: 600;
}

.tutorial ol { margin: 10px 0 0 18px; }
.tutorial li { margin-bottom: 6px; }

.field-msg { font-size: .85rem; margin-top: 8px; }
.field-msg.ok { color: var(--success); }
.field-msg.err { color: var(--danger); }

.summary-box {
    background: var(--surface-2);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
}

.summary-row.total {
    border: none;
    font-weight: 800;
    font-size: 1.15rem;
    padding-top: 16px;
}

.summary-row.total span:last-child { color: var(--gold); }

.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
}

.nav-buttons .btn { width: 100%; }
.nav-buttons .btn-ghost { margin-top: 10px; }

/* PIX */
.pix-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 12px;
}

.pix-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 16px auto;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-card);
    width: fit-content;
}

.pix-box {
    background: var(--surface-2);
    border-radius: var(--radius-btn);
    padding: 16px;
    word-break: break-all;
    font-family: ui-monospace, monospace;
    font-size: .8rem;
    margin: 16px 0;
    position: relative;
}

.pix-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--gradient-gold);
    color: #000;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .75rem;
    cursor: pointer;
    font-weight: 700;
}

.pix-expire {
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
}

.status-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.status-pill.pending { background: rgba(245, 197, 24, .15); color: var(--gold); }
.status-pill.processing { background: rgba(59, 130, 246, .15); color: #60a5fa; }
.status-pill.completed { background: rgba(34, 197, 94, .15); color: var(--success); }
.status-pill.failed, .status-pill.expired { background: rgba(239, 68, 68, .15); color: var(--danger); }

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin: 24px 0 16px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-gold);
    border-radius: var(--radius-pill);
    transition: width .8s ease;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

.processing-text {
    text-align: center;
    font-weight: 600;
    margin-bottom: 16px;
}

.microcopy-list {
    list-style: none;
    font-size: .9rem;
    color: var(--text-secondary);
}

.microcopy-list li { padding: 6px 0; }

.success-img {
    display: block;
    max-width: 240px;
    width: 100%;
    margin: 0 auto 20px;
    animation: successPop 0.7s var(--ease-spring);
}

@keyframes successPop {
    0% { opacity: 0; transform: scale(0.5) rotate(-10deg); }
    70% { transform: scale(1.08) rotate(2deg); }
    100% { opacity: 1; transform: none; }
}

.success-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.success-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.success-list { margin-bottom: 24px; }

.alert {
    background: rgba(239, 68, 68, .1);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 12px 16px;
    border-radius: var(--radius-btn);
    margin-bottom: 16px;
    font-size: .9rem;
    animation: alertIn 0.4s var(--ease-out-expo);
}

@keyframes alertIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 0.8; }
    90% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-120px) scale(1); }
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 24px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll reveal — montagem futurística */
.reveal {
    opacity: 0;
    transform: translateY(48px) scale(0.94);
    filter: blur(10px);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.85s ease;
    will-change: opacity, transform, filter;
}

.reveal.is-visible,
.reveal.visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.reveal-left {
    transform: translateX(-56px) scale(0.94);
    filter: blur(8px);
}

.reveal-right {
    transform: translateX(56px) scale(0.94);
    filter: blur(8px);
}

.reveal-scale {
    transform: scale(0.88);
    filter: blur(12px);
}

.reveal-blur {
    transform: translateY(32px);
    filter: blur(16px);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-blur.is-visible {
    transform: none;
    filter: blur(0);
}

/* Seções — linha de scan ao montar */
.section-assemble {
    position: relative;
}

.section-assemble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.section-assemble.is-assembled::before {
    width: min(720px, 80%);
    opacity: 1;
}

.section-assemble::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 216, 77, .6), transparent);
    opacity: 0;
    pointer-events: none;
}

.section-assemble.is-assembled::after {
    animation: scanLine 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes scanLine {
    0% { left: -40%; opacity: 0; }
    15% { opacity: 1; }
    100% { left: 140%; opacity: 0; }
}

/* Disclaimer / Termos */
.disclaimer-box {
    padding: 40px 36px;
    border-radius: var(--radius-hero);
    border: 1px solid rgba(245, 197, 24, .2);
    text-align: center;
}

.disclaimer-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.disclaimer-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.disclaimer-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.65;
}

.disclaimer-list {
    list-style: none;
    text-align: left;
    max-width: 520px;
    margin: 0 auto 24px;
}

.disclaimer-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(42, 42, 58, .6);
    font-size: .95rem;
    color: var(--text-secondary);
}

.disclaimer-list li span {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
}

.disclaimer-no span {
    background: rgba(239, 68, 68, .15);
    color: var(--danger);
}

.disclaimer-yes span {
    background: rgba(34, 197, 94, .15);
    color: var(--success);
}

.disclaimer-foot {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

/* Documento de termos */
.terms-document {
    padding: 36px 32px;
    border-radius: var(--radius-hero);
    border: 1px solid rgba(245, 197, 24, .18);
}

.terms-loading {
    text-align: center;
    color: var(--text-muted);
    font-size: .95rem;
}

.terms-doc-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.terms-doc-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(42, 42, 58, .5);
}

.terms-doc-section.is-visible,
.terms-doc-section.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.terms-doc-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-doc-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.terms-doc-section p {
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 10px;
}

.terms-doc-section p:last-child { margin-bottom: 0; }

.terms-doc-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 197, 24, .2);
    font-size: .9rem;
    color: var(--gold-light);
    font-weight: 600;
    text-align: center;
}

.terms-box a,
.terms-notice a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.terms-box a:hover,
.terms-notice a:hover { color: var(--gold-light); }

.terms-box {
    background: rgba(245, 197, 24, .06);
    border: 1px solid rgba(245, 197, 24, .25);
    border-radius: var(--radius-card);
    padding: 16px 18px;
    margin: 20px 0 8px;
}

.terms-box p { margin-bottom: 8px; font-size: .9rem; }
.terms-text { color: var(--text-secondary); line-height: 1.55; font-size: .85rem !important; }

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-top: 12px;
}

.terms-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.terms-notice {
    background: rgba(245, 197, 24, .08);
    border: 1px solid rgba(245, 197, 24, .22);
    border-radius: var(--radius-btn);
    padding: 14px 16px;
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.terms-notice strong { color: var(--gold-light); }
.terms-notice em { color: var(--text-primary); font-style: normal; font-weight: 600; }

/* Parallax suave no hero */
.hero-visual.parallax-ready .hero-banner {
    transition: transform 0.1s linear;
}

/* Stagger delay utilities */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

/* Legacy reveal (removed duplicate block below) */

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 1; }
    .gateways-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { font-size: 16px; }

    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, .98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform .3s, opacity .3s;
    }

    .nav-links.open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links.open a,
    .nav-links.open .btn-nav {
        animation: navLinkIn 0.45s var(--ease-out-expo) backwards;
    }

    .nav-links.open a:nth-child(1) { animation-delay: 0.04s; }
    .nav-links.open a:nth-child(2) { animation-delay: 0.08s; }
    .nav-links.open a:nth-child(3) { animation-delay: 0.12s; }
    .nav-links.open a:nth-child(4) { animation-delay: 0.16s; }
    .nav-links.open .btn-nav { animation-delay: 0.22s; }

    @keyframes navLinkIn {
        from { opacity: 0; transform: translateX(-16px); }
        to { opacity: 1; transform: none; }
    }

    .nav-links .btn-nav { width: 100%; }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content { max-width: none; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-visual { order: -1; }
    .dashboard-float { display: none; }

    .hero-banner { max-width: 360px; }

    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-connector { display: none; }

    .bento-grid { grid-template-columns: 1fr; }

    .section { padding: 64px 0; }

    .sticky-cta { display: block; }

    .fab-support {
        bottom: 80px;
        right: 16px;
        padding: 12px 16px;
        font-size: .875rem;
    }

    .cta-final { padding-bottom: 100px; }

    .cta-box { padding: 40px 24px; }

    .modal-overlay { padding: 0; align-items: stretch; }

    .modal {
        max-width: none;
        min-height: 100vh;
        max-height: none;
        border-radius: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    body.page-loading .hero-content,
    body.page-loading .hero-visual { opacity: 1; }

    .reveal { opacity: 1; transform: none; filter: none; }

    .section-assemble::before,
    .section-assemble::after { display: none; }

    html { scroll-behavior: auto; }
}

@media (min-width: 640px) {
    .plans-grid { grid-template-columns: 1fr 1fr; }
}
