/**
 * InstaFollow - Estilos principais
 * Tema escuro com gradiente Instagram para conversão
 */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a26;
    --bg-input: #0e0e16;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f4f4f8;
    --text-muted: #9ca3af;
    --primary: #e1306c;
    --primary-dark: #c13584;
    --secondary: #833ab4;
    --accent: #fd1d1d;
    --gradient: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    --gradient-soft: linear-gradient(135deg, rgba(131,58,180,0.15) 0%, rgba(253,29,29,0.15) 50%, rgba(252,176,69,0.15) 100%);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm { max-width: 480px; }
.container-md { max-width: 720px; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(225, 48, 108, 0.1);
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: #111; }

/* Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 20px 0;
    pointer-events: none;
}

.navbar {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.navbar__inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 56px;
    padding: 8px 10px 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 12px 40px rgba(0, 0, 0, 0.28);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.navbar.is-scrolled .navbar__inner {
    background: rgba(10, 10, 15, 0.82);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar__mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.navbar__name {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0 auto;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(244, 244, 248, 0.72);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.navbar__link {
    padding: 8px 12px;
    color: rgba(244, 244, 248, 0.78);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 999px;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.navbar__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.navbar__cta {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.84rem;
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.28);
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.mobile-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.is-open span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.mobile-toggle.is-open span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(131,58,180,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero--centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
    padding: 110px 0 60px;
    text-align: center;
}

.hero-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-soft);
    border: 1px solid rgba(225, 48, 108, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 { margin-bottom: 20px; }
.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item span { font-size: 0.85rem; color: var(--text-muted); }

.hero-visual {
    position: relative;
}

.phone-mockup {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 340px;
    margin: 0 auto;
}

.phone-screen {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/16;
    position: relative;
}

.phone-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
}

.phone-stats {
    display: flex;
    gap: 20px;
    padding: 16px;
    font-size: 0.85rem;
}

.phone-stats strong { display: block; font-size: 1rem; }

.growth-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--success);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

/* Hero caption — preset hormozi */
.phone-screen--reel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.92) 100%),
        radial-gradient(circle at 30% 20%, rgba(131, 58, 180, 0.45) 0%, transparent 45%),
        radial-gradient(circle at 70% 35%, rgba(253, 29, 29, 0.35) 0%, transparent 40%),
        #050508;
}

.reel-topbar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.reel-topbar .avatar {
    width: 34px;
    height: 34px;
    font-size: 0.65rem;
}

.reel-topbar strong {
    display: block;
    font-size: 0.78rem;
}

.reel-topbar span {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
}

.caption-demo {
    position: relative;
    width: 100%;
    padding: 0 14px 22px;
    z-index: 2;
}

.caption-demo[data-preset="hormozi"] .caption-layer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 88px;
}

.caption-demo--hero[data-preset="hormozi"] .caption-layer {
    min-height: auto;
}

.caption-demo[data-preset="hormozi"] .caption-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35em 0.45em;
    max-width: 100%;
    text-align: center;
    font-family: 'Inter', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(1.35rem, 4.8vw, 1.85rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.caption-demo--hero[data-preset="hormozi"] .caption-line {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 1;
    gap: 0.3em 0.4em;
}

.caption-demo[data-preset="hormozi"] .caption-word {
    color: rgba(255, 255, 255, 0.28);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    transition:
        color 0.22s ease,
        transform 0.22s ease,
        background 0.22s ease,
        opacity 0.22s ease;
}

.caption-demo[data-preset="hormozi"] .caption-word.is-spoken {
    color: #ffffff;
}

.caption-demo[data-preset="hormozi"] .caption-word.is-active {
    color: #111111;
    background: #ffe600;
    padding: 0.02em 0.18em;
    border-radius: 0.08em;
    transform: scale(1.04);
    box-shadow: 0 0 0 1px rgba(255, 230, 0, 0.35), 0 8px 24px rgba(255, 230, 0, 0.18);
}

.reel-metrics {
    position: absolute;
    right: 10px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 2;
}

.reel-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.reel-metric-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sections */
section { padding: 80px 0; }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header p { color: var(--text-muted); margin-top: 16px; font-size: 1.05rem; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(225, 48, 108, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(225,48,108,0.08) 0%, var(--bg-card) 100%);
    transform: scale(1.03);
}

.pricing-card.popular::before {
    content: 'MAIS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.pricing-card h3 { margin-bottom: 8px; }
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 16px 0;
}
.pricing-amount small { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

.pricing-features {
    list-style: none;
    margin: 24px 0;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.testimonial-stars { color: #fcb045; margin-bottom: 16px; font-size: 1.1rem; }
.testimonial-text { color: var(--text-muted); margin-bottom: 20px; font-style: italic; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar { width: 40px; height: 40px; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; }

/* CTA */
.cta-section {
    background: var(--gradient-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 { margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.1rem; }

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p { color: var(--text-muted); margin-top: 16px; font-size: 0.9rem; max-width: 300px; }

.footer-links h4 { margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Cards & Forms */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.card-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.card-header h2 { font-size: 1.25rem; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.15);
}

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-danger { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); color: #fcd34d; }
.alert-info { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); color: #93c5fd; }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-success { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.badge-warning { background: rgba(245,158,11,0.15); color: #fcd34d; }
.badge-danger { background: rgba(239,68,68,0.15); color: #fca5a5; }
.badge-info { background: rgba(59,130,246,0.15); color: #93c5fd; }
.badge-secondary { background: rgba(255,255,255,0.08); color: var(--text-muted); }

/* Tables */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

table th, table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tr:hover td { background: rgba(255,255,255,0.02); }

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.sidebar-nav { list-style: none; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--text);
    background: rgba(225, 48, 108, 0.08);
    border-left-color: var(--primary);
}

.sidebar-nav .icon { font-size: 1.1rem; width: 24px; text-align: center; }

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    min-height: 100vh;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.balance-card {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.balance-card h3 { font-size: 0.9rem; opacity: 0.9; margin-bottom: 4px; }
.balance-card .amount { font-size: 2rem; font-weight: 800; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.stat-card .label { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.stat-card .value { font-size: 1.75rem; font-weight: 700; }
.stat-card .change { font-size: 0.8rem; color: var(--success); margin-top: 4px; }

/* Auth pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(131,58,180,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(253,29,29,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-card .logo { justify-content: center; margin-bottom: 32px; }

.auth-divider {
    text-align: center;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer a { color: var(--primary); font-weight: 600; }

/* Recharge */
.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.recharge-option {
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.recharge-option:hover,
.recharge-option.selected {
    border-color: var(--primary);
    background: rgba(225, 48, 108, 0.08);
}

.recharge-option input { display: none; }
.recharge-option .amount { font-size: 1.5rem; font-weight: 700; }
.recharge-option .bonus { font-size: 0.8rem; color: var(--success); margin-top: 4px; }

.pix-box {
    background: var(--bg-input);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}

.pix-key {
    font-family: monospace;
    font-size: 1rem;
    background: var(--bg-card);
    padding: 12px 20px;
    border-radius: var(--radius);
    margin: 16px 0;
    word-break: break-all;
}

/* Order form */
.price-preview {
    background: var(--gradient-soft);
    border: 1px solid rgba(225, 48, 108, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-preview .total { font-size: 1.5rem; font-weight: 800; color: var(--primary); }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .sidebar { transform: translateX(-100%); transition: transform 0.3s; }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .sidebar-toggle { display: block !important; }
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 14px 0;
    }

    .navbar__inner {
        position: relative;
        flex-wrap: wrap;
        border-radius: 22px;
        padding: 10px 12px;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .navbar__inner.is-open .nav-links,
    .navbar__inner.is-open .nav-actions {
        display: flex;
    }

    .navbar__inner.is-open .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar__inner.is-open .nav-links a {
        justify-content: center;
        padding: 12px 14px;
    }

    .navbar__inner.is-open .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-bottom: 4px;
    }

    .navbar__inner.is-open .navbar__link,
    .navbar__inner.is-open .navbar__cta {
        justify-content: center;
        width: 100%;
    }

    .pricing-card.popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

.sidebar-toggle {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.2rem;
}

.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.empty-state .icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* Landing order form */
.landing-order-section {
    padding: 0 0 100px;
    position: relative;
}

.landing-order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 100%);
    height: 420px;
    background: radial-gradient(circle, rgba(131, 58, 180, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.landing-order-page {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.landing-alert {
    max-width: 720px;
    margin: 0 auto 16px;
}

.order-form-card--landing {
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 24px 60px rgba(0, 0, 0, 0.35);
}

.order-form-card--landing .smm-form .smm-field {
    margin-bottom: 18px;
}

.order-form-card--landing .smm-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.order-form-card--landing .smm-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(244, 244, 248, 0.62);
    margin-bottom: 8px;
}

.order-form-card--landing .smm-form {
    color-scheme: dark;
}

.order-form-card--landing .form-control,
.order-form-card--landing .form-select {
    width: 100%;
    padding: 12px 14px;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.order-form-card--landing select.form-control,
.order-form-card--landing select.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

.order-form-card--landing select.form-control option,
.order-form-card--landing select.form-select option {
    background-color: var(--bg-card);
    color: var(--text);
}

.order-form-card--landing select.form-control option:disabled,
.order-form-card--landing select.form-select option:disabled {
    color: var(--text-muted);
}

.order-form-card--landing .form-control::placeholder {
    color: rgba(156, 163, 175, 0.75);
}

.order-form-card--landing .form-control:focus,
.order-form-card--landing .form-select:focus {
    outline: none;
    border-color: rgba(225, 48, 108, 0.55);
    background-color: #14141f;
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.14);
}

.order-form-card--landing .form-control:disabled,
.order-form-card--landing .form-select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.order-form-card--landing .form-hint {
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.order-form-card--landing .info-box {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.86rem;
    line-height: 1.55;
    white-space: pre-line;
}

.order-form-card--landing .info-box-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.22);
    color: #fcd34d;
}

.order-form-card--landing .info-box-charge {
    background: var(--gradient-soft);
    border: 1px solid rgba(225, 48, 108, 0.28);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.order-form-card--landing .smm-field--charge {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.order-form-card--landing .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    padding: 15px 24px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.order-form-card--landing .btn-submit--pix {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 12px 32px rgba(225, 48, 108, 0.32);
}

.order-form-card--landing .btn-submit--pix:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(225, 48, 108, 0.38);
}

.order-form-card--landing .btn-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.landing-flash-wrap {
    padding-top: 96px;
}

.landing-flash-wrap + .hero,
.landing-order-section .landing-alert {
    margin-bottom: 16px;
}

.order-success {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.order-success-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.order-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.order-success-icon--ok {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}

.order-success-icon--wait {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

.order-success-details {
    list-style: none;
    margin: 28px 0;
    padding: 0;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.order-success-details li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.order-success-details li:last-child {
    border-bottom: 0;
}

.order-success-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-success-details strong {
    text-align: right;
    font-size: 0.92rem;
    word-break: break-all;
}

.order-success-note {
    margin: 20px 0 24px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .order-form-card--landing {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .order-form-card--landing .smm-field-grid {
        grid-template-columns: 1fr;
    }

    .landing-order-page {
        max-width: 100%;
    }
}
