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

:root {
    --primary: #6e40c9;
    --primary-dark: #5a2da8;
    --primary-light: #8b5cf6;
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --text: #1f2937;
    --bg: #ffffff;
    --bg-alt: #f8f9fc;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --max-width: 1140px;
}

html { scroll-behavior: smooth; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius); font-weight: 600;
    font-size: 16px; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--dark); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-whatsapp-nav { background: var(--whatsapp); color: var(--white); padding: 8px 18px; font-size: 14px; }
.btn-whatsapp-nav:hover { background: var(--whatsapp-dark); }
.btn-large { padding: 16px 36px; font-size: 18px; }

/* ===== Header / Nav ===== */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 1px 10px rgba(0,0,0,0.05); }
.nav { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 16px 24px; }
.nav-logo { font-size: 24px; font-weight: 800; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 3px; background: var(--text); border-radius: 2px; }

/* ===== Hero ===== */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--primary-dark) 100%); color: var(--white); text-align: center; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-subtitle { font-size: 20px; opacity: 0.9; max-width: 600px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 32px; font-weight: 800; }
.stat-label { font-size: 14px; opacity: 0.8; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 12px; color: var(--text); }
.section-subtitle { font-size: 18px; text-align: center; color: var(--gray); margin-bottom: 48px; }

/* ===== Services Grid ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-6px); }
.service-icon { font-size: 48px; margin-bottom: 16px; }
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 15px; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 900px; margin: 0 auto; }
.pricing-card { background: var(--white); border-radius: var(--radius); padding: 40px 32px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; position: relative; border: 2px solid transparent; }
.pricing-card:hover { transform: translateY(-6px); }
.pricing-popular { border-color: var(--primary); transform: scale(1.05); }
.pricing-popular:hover { transform: scale(1.05) translateY(-6px); }
.pricing-badge { display: inline-block; background: var(--light-gray); color: var(--gray); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.pricing-popular .pricing-badge { background: var(--primary); color: var(--white); }
.pricing-amount { font-size: 52px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.pricing-detail { font-size: 18px; color: var(--gray); margin-bottom: 24px; }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--light-gray); }
.pricing-note { text-align: center; margin-top: 36px; color: var(--gray); }
.pricing-note a { color: var(--whatsapp-dark); font-weight: 600; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.step-card { text-align: center; padding: 36px 28px; }
.step-num { width: 56px; height: 56px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin: 0 auto 20px; }
.step-card h3 { font-size: 20px; margin-bottom: 12px; }
.step-card p { color: var(--gray); font-size: 15px; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.feature-item { text-align: center; padding: 28px; }
.feature-icon { font-size: 40px; display: block; margin-bottom: 16px; }
.feature-item h3 { font-size: 20px; margin-bottom: 10px; }
.feature-item p { color: var(--gray); font-size: 15px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { padding: 20px 28px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--primary); font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 28px 20px; color: var(--gray); font-size: 15px; }

/* ===== CTA Section ===== */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: var(--white); text-align: center; }
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 24px; margin-bottom: 12px; }
.footer-brand p { opacity: 0.7; font-size: 15px; }
.footer-links h4, .footer-contact h4 { font-size: 18px; margin-bottom: 16px; }
.footer-links a, .footer-contact a { display: block; opacity: 0.7; margin-bottom: 10px; font-size: 15px; transition: opacity 0.2s; }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; opacity: 0.6; font-size: 14px; }
.footer-bottom a { color: var(--primary-light); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 16px; box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 24px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .pricing-popular { transform: scale(1); }
    .pricing-popular:hover { transform: translateY(-6px); }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .btn-large { padding: 14px 28px; font-size: 16px; }
}
