:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --secondary: #6366f1;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
}

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

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

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

/* HEADER */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* BUTTONS */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* HERO */
.hero {
    padding: 80px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    margin-bottom: 40px;
}

.small-text {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.avatars {
    display: flex;
    margin-right: 8px;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
}

.avatars img:first-child {
    margin-left: 0;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

/* PROBLEMS */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.problem-card {
    text-align: center;
    padding: 32px;
}

.problem-emoji {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* STEPS */
.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    font-size: 16px;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    position: relative;
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.badge-popular {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-name {
    font-size: 24px;
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 32px;
}

.price {
    font-size: 48px;
    font-weight: 700;
}

.period {
    color: var(--text-light);
    font-size: 18px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.stars {
    margin-bottom: 16px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    gap: 16px;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-box .btn-primary:hover {
    background: var(--bg-alt);
}

/* FOOTER */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

.footer-links h4 {
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 80px auto;
    padding: 48px;
    border-radius: var(--radius-lg);
    max-width: 480px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text);
}

.auth-form h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
}

.auth-form input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-switch {
    text-align: center;
    margin-top: 24px;
    color: var(--text-light);
}

.form-switch a {
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.form-switch a:hover {
    text-decoration: underline;
}

/* DASHBOARD (próximo arquivo) */
.dashboard-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.dashboard-content {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.generator-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label:has(input:checked) {
    background: var(--primary-light);
    border-color: var(--primary);
}

.upgrade-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 48px;
}

.upgrade-banner h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.upgrade-banner p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.upgrade-banner .btn-primary {
    background: white;
    color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-featured {
        transform: scale(1);
    }
}