* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #faf8f5; color: #2d3a2e; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: #ffffff; border-bottom: 1px solid #e8e4dc; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.logo { font-size: 24px; font-weight: 700; color: #1a4d2e; }
.logo span { color: #2d5a3d; }
.nav { display: flex; gap: 25px; }
.nav-link { color: #5a6b5c; text-decoration: none; font-size: 15px; transition: color 0.2s; }
.nav-link:hover { color: #1a4d2e; }
.nav-vip { color: #d4a017; font-weight: 600; }
.header-actions { display: flex; gap: 10px; }

/* Buttons */
.btn { padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.2s; }
.btn-primary { background: #1a4d2e; color: #ffffff; }
.btn-primary:hover { background: #2d5a3d; }
.btn-outline { background: transparent; color: #1a4d2e; border: 1px solid #1a4d2e; }
.btn-outline:hover { background: rgba(26,77,46,0.05); }
.btn-vip { background: linear-gradient(135deg, #d4a017, #b8860b); color: #ffffff; }
.btn-vip:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(212,160,23,0.3); }
.btn-full { width: 100%; padding: 14px; }

/* Hero */
.hero { background: linear-gradient(135deg, #1a4d2e 0%, #2d5a3d 50%, #1a4d2e 100%); padding: 80px 0; text-align: center; color: #ffffff; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); color: #f0e6d2; padding: 8px 20px; border-radius: 20px; font-size: 14px; margin-bottom: 20px; }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; color: #ffffff; }
.hero-subtitle { font-size: 18px; color: #c8d8cc; max-width: 700px; margin: 0 auto 40px; }
.hero-stats { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.stat-number { font-size: 36px; font-weight: 800; color: #f0e6d2; }
.stat-label { font-size: 14px; color: #a8c0ad; margin-top: 5px; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: #f5f2ed; }
.section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 10px; color: #1a4d2e; }
.section-subtitle { text-align: center; color: #5a6b5c; margin-bottom: 40px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }

/* Filter */
.filter-bar { display: flex; gap: 10px; }
.filter-btn { padding: 8px 16px; border-radius: 20px; border: 1px solid #d8d4cc; background: transparent; color: #5a6b5c; cursor: pointer; font-size: 13px; }
.filter-btn.active { background: #1a4d2e; color: #ffffff; border-color: #1a4d2e; }

/* Calculator Grid */
.calculator-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.calculator-card { background: #ffffff; border-radius: 12px; padding: 30px; cursor: pointer; transition: all 0.2s; border: 1px solid #e8e4dc; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.calculator-card:hover { transform: translateY(-3px); border-color: #1a4d2e; box-shadow: 0 8px 24px rgba(26,77,46,0.12); }
.calc-icon { font-size: 40px; margin-bottom: 15px; }
.calculator-card h3 { font-size: 18px; margin-bottom: 10px; color: #1a4d2e; }
.calculator-card p { font-size: 14px; color: #5a6b5c; }
.calc-tag { position: absolute; top: 15px; right: 15px; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.calc-tag.Free { background: rgba(26,77,46,0.1); color: #1a4d2e; }
.calc-tag.VIP { background: rgba(212,160,23,0.15); color: #b8860b; }

/* Content Grid */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.content-card { background: #ffffff; border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.2s; border: 1px solid #e8e4dc; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.content-card:hover { transform: translateY(-3px); border-color: #1a4d2e; box-shadow: 0 8px 24px rgba(26,77,46,0.12); }
.content-cover { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.content-body { padding: 20px; }
.content-category { font-size: 12px; color: #1a4d2e; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.content-title { font-size: 17px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; color: #2d3a2e; }
.content-desc { font-size: 13px; color: #5a6b5c; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.content-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8a9b8c; }
.vip-badge { background: rgba(212,160,23,0.15); color: #b8860b; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; }

/* VIP Section */
.vip-section { background: linear-gradient(135deg, #faf5e8, #f5edd8); }
.vip-card { background: #ffffff; border: 2px solid #d4a017; border-radius: 20px; padding: 50px; box-shadow: 0 8px 32px rgba(212,160,23,0.15); }
.vip-badge { display: inline-block; background: rgba(212,160,23,0.15); color: #b8860b; padding: 8px 20px; border-radius: 20px; font-size: 14px; margin-bottom: 20px; }
.vip-card h2 { font-size: 32px; margin-bottom: 30px; color: #1a4d2e; }
.vip-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.vip-features { display: flex; flex-direction: column; gap: 15px; }
.feature-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #2d3a2e; }
.check { color: #1a4d2e; font-weight: 700; }
.vip-pricing { text-align: center; }
.price { font-size: 48px; font-weight: 800; color: #d4a017; }
.price span { font-size: 18px; color: #5a6b5c; }
.price-note { color: #5a6b5c; margin: 10px 0 20px; font-size: 14px; }
.secure-note { font-size: 12px; color: #8a9b8c; margin-top: 15px; }

/* Footer */
.footer { background: #1a4d2e; padding: 50px 0 20px; color: #c8d8cc; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-col h4 { margin-bottom: 15px; color: #f0e6d2; font-size: 15px; }
.footer-col a { display: block; color: #a8c0ad; text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: #ffffff; }
.footer-desc { color: #a8c0ad; font-size: 14px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid #2d5a3d; padding-top: 20px; text-align: center; color: #8a9b8c; font-size: 13px; }
.footer .logo { color: #f0e6d2; }
.footer .logo span { color: #ffffff; }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #ffffff; border-radius: 16px; padding: 30px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; border: 1px solid #e8e4dc; box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #8a9b8c; font-size: 28px; cursor: pointer; }
.modal-close:hover { color: #2d3a2e; }

/* Auth Modal */
.auth-tabs { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid #e8e4dc; }
.auth-tab { background: none; border: none; color: #8a9b8c; font-size: 18px; font-weight: 600; padding: 10px 0; cursor: pointer; border-bottom: 2px solid transparent; }
.auth-tab.active { color: #1a4d2e; border-bottom-color: #1a4d2e; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: #5a6b5c; }
.form-group input { width: 100%; padding: 12px; background: #faf8f5; border: 1px solid #d8d4cc; border-radius: 8px; color: #2d3a2e; font-size: 15px; }
.form-group input:focus { outline: none; border-color: #1a4d2e; background: #ffffff; }

/* Content Modal */
.content-modal { max-width: 800px; }
.content-modal h2 { margin-bottom: 15px; font-size: 26px; color: #1a4d2e; }
.content-meta-row { display: flex; gap: 15px; margin-bottom: 20px; color: #5a6b5c; font-size: 14px; }
.content-modal-body { line-height: 1.8; }
.content-modal-body h3 { color: #1a4d2e; margin: 20px 0 10px; font-size: 18px; }
.content-modal-body h4 { color: #2d5a3d; margin: 15px 0 8px; }
.content-modal-body p { margin-bottom: 12px; color: #3d4a3e; }
.vip-locked { background: #faf5e8; border: 1px solid #d4a017; border-radius: 12px; padding: 30px; text-align: center; margin-top: 20px; }
.vip-locked h4 { color: #b8860b; margin-bottom: 10px; }

/* Calc Modal */
.calc-modal { max-width: 700px; }
.calc-modal h3 { margin-bottom: 20px; color: #1a4d2e; }
.calc-input-group { margin-bottom: 15px; }
.calc-input-group label { display: block; margin-bottom: 5px; font-size: 14px; color: #5a6b5c; }
.calc-input-group input { width: 100%; padding: 10px; background: #faf8f5; border: 1px solid #d8d4cc; border-radius: 8px; color: #2d3a2e; }
.calc-input-group input:focus { outline: none; border-color: #1a4d2e; }
.calc-result { background: #f0f7f2; border: 1px solid #1a4d2e; border-radius: 10px; padding: 20px; margin-top: 20px; }
.calc-result h4 { color: #1a4d2e; margin-bottom: 10px; }
.calc-result p { margin: 5px 0; color: #2d3a2e; }

/* VIP Modal */
.vip-modal-content { text-align: center; }
.vip-modal-icon { font-size: 50px; margin-bottom: 15px; }
.vip-modal-content h3 { color: #1a4d2e; }
.vip-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 25px 0; }
.plan-card { background: #faf8f5; border: 1px solid #e8e4dc; border-radius: 12px; padding: 25px; position: relative; }
.plan-card.best-value { border-color: #d4a017; background: #faf5e8; }
.plan-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #d4a017; color: #ffffff; padding: 3px 12px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.plan-name { font-size: 16px; color: #5a6b5c; margin-bottom: 10px; }
.plan-price { font-size: 36px; font-weight: 800; margin-bottom: 15px; color: #1a4d2e; }
.plan-price span { font-size: 14px; color: #8a9b8c; }

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 25px; }
    .vip-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .vip-plans { grid-template-columns: 1fr; }
}
