/* ===== Global ===== */
:root {
    --bg-primary: #0f172a;
    --bg-card: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --accent: #22c55e;
    --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-primary); color: var(--text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navbar */
.navbar { background: rgba(15,23,42,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.nav-links a { color: var(--text-muted); margin-left: 24px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; font-size: 1rem; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-buy { width: 100%; padding: 14px; background: var(--accent); color: #0f172a; font-size: 1rem; font-weight: 700; border-radius: 8px; border: none; cursor: pointer; transition: all 0.2s; }
.btn-buy:hover { background: #16a34a; transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.btn-secondary:hover { border-color: var(--primary); color: var(--text); }

/* Products */
.products-section { padding: 60px 0; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 48px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.product-badge.new { background: #8b5cf6; }
.product-badge.hot { background: #ef4444; }
.product-image { height: 180px; background: linear-gradient(135deg, #1e293b, #0f172a); display: flex; align-items: center; justify-content: center; }
.placeholder-img { font-size: 4rem; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }
.product-features { list-style: none; margin-bottom: 16px; }
.product-features li { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.product-price { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }

/* About */
.about-section { padding: 60px 0; background: rgba(30,41,59,0.5); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.about-card { text-align: center; padding: 24px; }
.about-icon { font-size: 2.5rem; margin-bottom: 12px; }
.about-card h3 { margin-bottom: 8px; }
.about-card p { color: var(--text-muted); font-size: 0.9rem; }

/* FAQ */
.faq-section { padding: 60px 0; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.faq-item h3 { margin-bottom: 8px; color: var(--primary); }
.faq-item p { color: var(--text-muted); }

/* Footer */
.footer { text-align: center; padding: 40px 0; border-top: 1px solid var(--border); color: var(--text-muted); }

/* ===== Checkout Modal ===== */
#checkout-modal { display:none !important; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:9999; align-items:center; justify-content:center; }
#checkout-modal.active { display:flex !important; }
.modal-content { background:#1e293b; border:1px solid #334155; border-radius:16px; padding:32px; max-width:480px; width:90%; max-height:90vh; overflow-y:auto; position:relative; }
.modal-close { position:absolute; top:12px; right:16px; background:none; border:none; color:#94a3b8; font-size:1.5rem; cursor:pointer; }
.step-indicator { text-align:center; margin-bottom:20px; }
.step-indicator .step { color:#475569; font-size:0.85rem; }
.step-indicator .step.active, .step-indicator .step.done { color:#22c55e; font-weight:700; }
.step-divider { color:#334155; margin:0 8px; }
.checkout-step { display:none; }
.payment-options { display:grid; grid-template-columns:1fr; gap:12px; margin-top:16px; }
.payment-option { background:#0f172a; border:2px solid #334155; border-radius:12px; padding:20px; text-align:center; cursor:pointer; transition:all 0.2s; }
.payment-option:hover { border-color:#6366f1; transform:translateY(-2px); }
.payment-option.selected { border-color:#22c55e; background:rgba(34,197,94,0.1); }
.pay-icon { font-size:2rem; margin-bottom:8px; }
.pay-label { font-size:1.1rem; font-weight:700; color:#f1f5f9; }
.pay-desc { font-size:0.85rem; color:#64748b; margin-top:4px; }
.email-input input { width:100%; padding:12px; border:1px solid #334155; border-radius:8px; background:#0f172a; color:#f1f5f9; font-size:1rem; box-sizing:border-box; }
.email-input input::placeholder { color:#64748b; }
@media(min-width:480px) { .payment-options { grid-template-columns:repeat(3,1fr); } }
