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

:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #34d399;
    --accent: #7c3aed;
    --text: #1e1e2e;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f0fdf4;
    --bg-dark: #022c22;
    --border: #e2e8f0;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(5,150,105,0.12);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ========== LAYOUT ========== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 16px;
}
.logo { font-size: 1.3rem; font-weight: 800; color: var(--text); white-space: nowrap; }
.logo span { color: var(--primary); }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text-light); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--primary); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 1rem; border: none; cursor: pointer; transition: all .2s;
    text-decoration: none; gap: 8px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #6d28d9; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0fdf4; }

/* ========== HERO ========== */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #fff 100%);
    text-align: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero h1 span { color: var(--primary); }
.hero-sub { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto 32px; }
.hero-badges { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #fff; border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--text-light); box-shadow: var(--shadow); }

/* ========== SECTION ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 600px; margin: 0 auto 48px; font-size: 1.05rem; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ========== PRODUCT CARDS ========== */
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px; margin-bottom: 40px;
}
.product-card {
    background: #fff; border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow-card); border: 1px solid var(--border);
    display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
    position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, #f0fdf4 0%, #fff 40%);
}
.product-card.featured::before {
    content: 'MAS POPULAR';
    position: absolute; top: 16px; right: -32px;
    background: var(--primary); color: #fff;
    padding: 4px 40px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
    transform: rotate(45deg);
}
.pc-icon { font-size: 2.5rem; margin-bottom: 16px; }
.pc-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.pc-desc { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.pc-price { margin-bottom: 20px; }
.pc-price .setup { font-size: 0.85rem; color: var(--text-light); }
.pc-price .monthly { font-size: 2rem; font-weight: 800; color: var(--primary); }
.pc-price .monthly small { font-size: 0.9rem; font-weight: 400; color: var(--text-light); }
.pc-features { margin-bottom: 24px; }
.pc-features li { padding: 4px 0; font-size: 0.9rem; color: var(--text-light); }
.pc-features li::before { content: '\2713'; color: var(--primary); font-weight: 700; margin-right: 8px; }

/* ========== PACK BANNER ========== */
.pack-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #064e3b 100%);
    border-radius: var(--radius); padding: 48px; text-align: center; color: #fff;
}
.pack-banner h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.pack-banner p { color: rgba(255,255,255,0.8); margin-bottom: 8px; font-size: 1.05rem; }
.pack-prices { display: flex; gap: 32px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pack-price-item { text-align: center; }
.pack-price-item .old { text-decoration: line-through; color: rgba(255,255,255,0.5); font-size: 1.1rem; }
.pack-price-item .new { font-size: 2.2rem; font-weight: 800; color: var(--primary-light); }
.pack-price-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.pack-save { display: inline-block; background: var(--primary-light); color: var(--bg-dark); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 24px; }

/* ========== HOW IT WORKS ========== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; padding: 24px; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: 0.95rem; }

/* ========== CALCULATOR ========== */
.calc-box {
    max-width: 600px; margin: 0 auto;
    background: #fff; border-radius: var(--radius); padding: 40px;
    box-shadow: var(--shadow-card); border: 1px solid var(--border);
}
.calc-group { margin-bottom: 24px; }
.calc-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.calc-group input[type="range"] { width: 100%; accent-color: var(--primary); }
.calc-group .range-val { text-align: center; font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-top: 4px; }
.calc-result {
    background: var(--bg-alt); border-radius: var(--radius-sm); padding: 24px;
    text-align: center; margin-top: 16px;
}
.calc-result .hours { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.calc-result .hours small { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.calc-result p { color: var(--text-light); margin-top: 8px; }

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; padding: 20px 0; background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.05rem; font-weight: 600; text-align: left; color: var(--text);
}
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform .2s; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a.open { max-height: 200px; }
.faq-a p { padding: 0 0 20px; color: var(--text-light); line-height: 1.7; }

/* ========== FOOTER ========== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 48px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 32px; flex-wrap: wrap; }
.footer-brand { max-width: 300px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-links h4 { color: #fff; font-size: 0.9rem; margin-bottom: 12px; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); font-size: 0.88rem; padding: 4px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-sub { font-size: 1rem; }
    .nav { display: none; }
    .products-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .pack-banner { padding: 32px 20px; }
    .pack-banner h3 { font-size: 1.4rem; }
    .pack-prices { flex-direction: column; gap: 16px; }
    .footer-inner { flex-direction: column; }
    .header-inner .btn { display: none; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.6rem; }
    .calc-box { padding: 24px; }
}
