/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --accent: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #0f172a;
    --text-muted: #64748b;
    --surface: #ffffff;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(79,70,229,0.10);
    --shadow-lg: 0 20px 60px rgba(79,70,229,0.18);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.2s, box-shadow 0.2s;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.nav-logo { font-size: 22px; }
.nav-name {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.btn-nav-login {
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.btn-nav-login:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, #fafafe 0%, #eef2ff 50%, #f5f3ff 100%);
    padding: 120px 0 80px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.08), transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}
.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text);
}
.hero-highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}
.hero-price-hint {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #065f46;
    margin-bottom: 28px;
    line-height: 1.5;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.btn-primary-lg {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 14px;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 8px 24px rgba(79,70,229,0.35);
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79,70,229,0.45); }
.btn-ghost-lg {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 14px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-ghost-lg:hover { background: var(--primary-light); }

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
}
.proof-avatars {
    display: flex;
    font-size: 20px;
}
.proof-avatars span { margin-right: -4px; }
.proof-text { font-size: 13px; color: var(--text-muted); }

/* ===== APP MOCKUP ===== */
.hero-visual { position: relative; }
.app-mockup {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #334155;
}
.mockup-header {
    background: #0f172a;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #334155;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }
.mockup-url {
    font-size: 12px;
    color: #64748b;
    font-family: monospace;
    margin: 0 auto;
}
.mockup-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* Summary card */
.mock-summary-card {
    background: linear-gradient(135deg, #059669, #10b981, #34d399);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 0;
}
.mock-summary-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 10px;
}
.mock-summary-item:first-child { padding-left: 0; }
.mock-summary-item:last-child { padding-right: 0; }
.mock-divider { width: 1px; background: rgba(255,255,255,0.3); }
.mock-label { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.8); text-transform: uppercase; }
.mock-value { font-size: 13px; font-weight: 800; color: #fff; }
.mock-value.green { color: #fff; }
.mock-value.red { color: #fecaca; }
.mock-value.purple { color: #ddd6fe; }

.mock-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Expense list */
.mock-expense-list { display: flex; flex-direction: column; gap: 6px; }
.mock-expense-item {
    background: #0f172a;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mock-expense-info { display: flex; flex-direction: column; gap: 2px; }
.mock-expense-desc { font-size: 12px; font-weight: 600; color: #f1f5f9; }
.mock-expense-tag { font-size: 10px; color: #64748b; }
.mock-expense-right { display: flex; align-items: center; gap: 6px; }
.mock-expense-val { font-size: 12px; font-weight: 700; color: #f87171; }
.mock-expense-split {
    font-size: 10px;
    background: rgba(79,70,229,0.2);
    color: #a5b4fc;
    border-radius: 4px;
    padding: 1px 6px;
    font-weight: 600;
}
.mock-badge {
    font-size: 10px;
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 600;
}
.mock-badge.paid { background: rgba(16,185,129,0.15); color: #34d399; }
.mock-badge.pending { background: rgba(245,158,11,0.15); color: #fbbf24; }

/* Chart */
.mock-chart { display: flex; flex-direction: column; gap: 6px; }
.mock-bar-item { display: flex; align-items: center; gap: 6px; }
.mock-bar-label { font-size: 10px; color: #94a3b8; width: 60px; flex-shrink: 0; }
.mock-bar-track { flex: 1; background: #0f172a; border-radius: 4px; height: 8px; overflow: hidden; }
.mock-bar-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.mock-bar-val { font-size: 10px; color: #64748b; width: 44px; text-align: right; flex-shrink: 0; }

/* Floating cards */
.float-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    font-size: 13px;
    animation: float 3s ease-in-out infinite;
    border: 1px solid var(--border);
}
.float-card span { font-size: 20px; }
.float-card strong { display: block; font-size: 12px; font-weight: 700; color: var(--text); }
.float-card small { font-size: 11px; color: var(--text-muted); }
.float-card-1 { bottom: 60px; left: -30px; animation-delay: 0s; }
.float-card-2 { top: 30px; right: -20px; animation-delay: 1.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== PROBLEM ===== */
.problem {
    padding: 100px 0;
    background: #fafafa;
}
.section-badge {
    display: inline-flex;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--text);
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 48px;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.problem-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.15s, box-shadow 0.15s;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.problem-emoji { font-size: 28px; }
.problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.problem-arrow {
    text-align: center;
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: white;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card-highlight {
    background: linear-gradient(135deg, var(--primary-light), #f5f3ff);
    border-color: #c7d2fe;
}
.feature-icon { font-size: 28px; margin-bottom: 10px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.feature-example {
    margin-top: 12px;
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--primary);
    border: 1px solid #c7d2fe;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(160deg, #fafafe 0%, #eef2ff 100%);
    text-align: center;
}
.how-it-works .section-title { margin-bottom: 48px; }
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.step {
    background: white;
    border-radius: var(--radius);
    padding: 32px 28px;
    max-width: 260px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.step-number {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 14px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.step-arrow { font-size: 28px; color: var(--primary); font-weight: 300; }

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    background: white;
    text-align: center;
}
.pricing .section-title { margin-bottom: 8px; }
.pricing .section-subtitle { margin-bottom: 48px; }
.pricing-card-wrap {
    display: flex;
    justify-content: center;
}
.pricing-card {
    background: linear-gradient(160deg, #fafafe, #eef2ff);
    border: 2px solid #c7d2fe;
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 20px;
    padding: 5px 18px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-name { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}
.pricing-currency { font-size: 22px; font-weight: 700; color: var(--text); margin-top: 8px; }
.pricing-amount { font-size: 72px; font-weight: 900; line-height: 1; color: var(--text); letter-spacing: -3px; }
.pricing-cents { font-size: 28px; font-weight: 700; color: var(--text); margin-top: 14px; }
.pricing-period { font-size: 16px; color: var(--text-muted); margin-top: 42px; align-self: flex-end; }
.pricing-split-hint {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #065f46;
    margin-bottom: 24px;
    line-height: 1.5;
}
.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.pricing-features li { font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.btn-pricing {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 14px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 8px 24px rgba(79,70,229,0.35);
    margin-bottom: 12px;
}
.btn-pricing:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79,70,229,0.45); }
.pricing-cancel { font-size: 12px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--bg);
}
.faq .section-title { text-align: center; margin-bottom: 40px; }
.faq-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: #c7d2fe; }
.faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--primary); font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== CTA FINAL ===== */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-align: center;
    color: white;
}
.cta-final h2 { font-size: 40px; font-weight: 900; margin-bottom: 12px; letter-spacing: -1px; }
.cta-final p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }
.cta-final .btn-primary-lg {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cta-final .btn-primary-lg:hover { background: #f8fafc; }
.cta-cancel { font-size: 13px; opacity: 0.6; margin-top: 14px; }

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    padding: 40px 0;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer .nav-name { color: white; -webkit-text-fill-color: white; background: none; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12px; color: #475569; width: 100%; text-align: center; }

/* ===== LANDING MODAL ===== */
.landing-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.landing-modal-box {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.landing-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: white;
}
.landing-modal-header h3 { font-size: 17px; font-weight: 700; }
.landing-modal-header button {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 32px; height: 32px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.landing-modal-body h4 { font-size: 14px; font-weight: 700; color: var(--primary); }
.landing-modal-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-actions { justify-content: center; }
    .hero-social-proof { justify-content: center; }
    .hero-badge { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card-highlight { grid-column: span 2; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .ideal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hero-title { font-size: 34px; }
    .section-title { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card-highlight { grid-column: span 1; }
    .problem-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); }
    .cta-final h2 { font-size: 28px; }
    .footer-container { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .pricing-amount { font-size: 56px; }
}

/* ===== LOGOS ===== */
.nav-logo-img {
    height: 32px;
    width: auto;
    display: block;
}
.footer-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

/* ===== IDEAL PARA QUEM ===== */
.ideal-for {
    padding: 100px 0;
    background: white;
}
.ideal-for .section-title { margin-bottom: 8px; }
.ideal-for .section-subtitle { margin-bottom: 48px; }
.ideal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ideal-card {
    background: var(--bg);
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
}
.ideal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ideal-icon { font-size: 32px; margin-bottom: 12px; }
.ideal-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.ideal-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.ideal-tag {
    position: absolute;
    top: 16px; right: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .ideal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ideal-grid { grid-template-columns: 1fr; }
}
