/* My Expense - Paleta do Admin/App */
:root {
    --primary: #ff6204;
    --primary-dark: #e55803;
    --primary-light: rgba(255, 98, 4, 0.12);
    --accent: #011ec0;
    --accent-dark: #010fa0;
    --accent-light: rgba(1, 30, 192, 0.12);
    --secondary: #64748b;
    --success: #059669;
    --danger: #dc2626;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --card-bg: #f1f2f4;
    --surface: #ffffff;
    --border: #e2e8f0;
    --dark: #000d3c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.25rem; color: var(--dark); }
.nav-logo .logo-image { height: 36px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-menu a { color: var(--text); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 1px; transition: 0.3s; }

@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 57px; left: -100%; width: 100%; height: calc(100vh - 57px); background: var(--surface); flex-direction: column; padding: 2rem; gap: 1rem; box-shadow: 4px 4px 20px rgba(0,0,0,0.1); transition: left 0.3s; }
    .nav-menu.active { left: 0; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.2s; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 98, 4, 0.3); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-light); color: var(--accent); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }

/* Hero */
.hero { padding: 8rem 0 4rem; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(180deg, var(--card-bg) 0%, var(--bg) 50%); }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1.25rem; color: var(--text); font-weight: 700; }
.gradient-text { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.app-badges { margin-bottom: 2rem; }
.badges-label { display: block; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.badges-container { display: flex; gap: 1rem; flex-wrap: wrap; }
.store-badge { height: 44px; display: block; }
.store-badge img { height: 100%; width: auto; border-radius: 6px; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.stat { text-align: left; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--text-muted); }

.hero-image { display: flex; justify-content: center; }
.phone-mockup { width: 280px; background: var(--dark); border-radius: 28px; padding: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.2); }
.phone-screen { background: var(--surface); border-radius: 20px; overflow: hidden; min-height: 480px; }
.app-preview { padding: 1rem; }
.app-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; font-weight: 600; color: var(--dark); }
.app-logo { height: 28px; width: auto; }
.app-content { display: flex; flex-direction: column; gap: 0.75rem; }
.survey-item, .app-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem; background: var(--card-bg); border-radius: 8px; font-size: 0.9rem; }
.survey-item i, .app-item i { color: var(--primary); width: 20px; text-align: center; }

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .app-badges { display: flex; flex-direction: column; align-items: center; }
    .hero-stats { justify-content: center; }
    .hero-image { order: -1; }
}

/* Section common */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; color: var(--text); margin-bottom: 0.5rem; font-weight: 700; }
.section-header p { color: var(--text-muted); font-size: 1.125rem; }

/* Features */
.features { padding: 5rem 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--card-bg); border-radius: 12px; padding: 1.75rem; transition: all 0.2s; border: 1px solid var(--border); }
.feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: var(--primary-light); }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.25rem; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0; font-size: 0.9rem; color: var(--text); }
.feature-list i { color: var(--success); }

/* How it works */
.how-it-works { padding: 5rem 0; background: var(--card-bg); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-number { width: 56px; height: 56px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.step-content h3 { font-size: 1.125rem; margin-bottom: 0.25rem; color: var(--text); }
.step-content p { font-size: 0.9rem; color: var(--text-muted); }

/* Pricing */
.pricing { padding: 5rem 0; background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.pricing-card { background: var(--card-bg); border-radius: 12px; padding: 2rem; border: 2px solid var(--border); transition: all 0.2s; position: relative; display: flex; flex-direction: column; }
.pricing-card:hover { border-color: var(--primary-light); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.pricing-card.featured { border-color: var(--primary); background: var(--surface); box-shadow: 0 8px 32px rgba(255, 98, 4, 0.15); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.35rem 1rem; border-radius: 20px; }
.pricing-header { margin-bottom: 1.5rem; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--text); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; margin-bottom: 0.25rem; }
.price .currency { font-size: 1.25rem; color: var(--text-muted); }
.price .amount { font-size: 2.5rem; font-weight: 700; color: var(--text); }
.price .period { font-size: 1rem; color: var(--text-muted); }
.pricing-header p { font-size: 0.9rem; color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; font-size: 0.9rem; color: var(--text); }
.pricing-features i { color: var(--success); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* API */
.api { padding: 5rem 0; background: var(--dark); color: #fff; }
.api .section-header h2 { color: #fff; }
.api .section-header p { color: rgba(255,255,255,0.8); }
.api-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.api-text h2 { font-size: 1.75rem; margin-bottom: 1rem; color: #fff; }
.api-text > p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.api-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.api-feature { display: flex; align-items: flex-start; gap: 1rem; }
.api-feature i { font-size: 1.5rem; color: var(--primary); margin-top: 2px; }
.api-feature h4 { font-size: 1rem; margin-bottom: 0.25rem; color: #fff; }
.api-feature p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.api-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.api-buttons .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.6); }
.api-buttons .btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }
.api-code { background: rgba(0,0,0,0.3); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.code-block { padding: 0; }
.code-header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: rgba(0,0,0,0.2); font-size: 0.875rem; color: rgba(255,255,255,0.9); }
.code-block pre { padding: 1rem; margin: 0; overflow-x: auto; font-size: 0.85rem; line-height: 1.5; color: #e2e8f0; }
.code-block code { font-family: 'Consolas', 'Monaco', monospace; }

.integrations-logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem; }
.integrations-logos span { background: rgba(255,255,255,0.1); padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.9rem; color: #fff; }

@media (max-width: 900px) { .api-content { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding: 5rem 0; background: var(--card-bg); }
.contact-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; max-width: 1000px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item i { font-size: 1.25rem; color: var(--primary); margin-top: 2px; }
.contact-item h4 { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item p { color: var(--text); font-weight: 500; }
.contact-form { background: var(--surface); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 1rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-group textarea { min-height: 120px; resize: vertical; }

@media (max-width: 768px) { .contact-content { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.9); padding: 3rem 0 1.5rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-section p, .footer-section ul { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-section ul { list-style: none; }
.footer-section a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
.footer-section a:hover { color: #fff; }
.footer-section h4 { font-size: 0.875rem; margin-bottom: 1rem; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-weight: 700; font-size: 1.125rem; color: #fff; }
.footer-logo .logo-image { height: 32px; width: auto; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding: 1rem 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* WhatsApp float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.whatsapp-btn { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #25d366; color: #fff; border-radius: 50%; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); transition: transform 0.2s; text-decoration: none; }
.whatsapp-btn:hover { transform: scale(1.08); color: #fff; }
.whatsapp-btn i { font-size: 1.75rem; }
.whatsapp-tooltip { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: #1e293b; color: #fff; padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.875rem; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* Diferenciais highlight */
.diferenciais-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent-light); color: var(--accent); padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.diferenciais-badge i { font-size: 1rem; }
