:root {
  --bg: #fafbfc;
  --panel: #ffffff;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --brand: #6c5ce7;
  --brand-dark: #5a4bd1;
  --accent: #00b894;
  --red: #e74c3c;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--brand); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); text-decoration: none; }
.logo span { color: var(--brand); }
.logo-icon { background: var(--brand); color: #fff; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 900; letter-spacing: -0.5px; }
.cart-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 8px 14px; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.cart-btn svg { width: 16px; height: 16px; }
.cart-btn:hover { border-color: var(--brand); }
.cart-count { background: var(--brand); color: #fff; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }

/* HERO */
.hero { padding: 80px 0 60px; text-align: center; }
.hero-inner { max-width: 700px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(108,92,231,0.1); color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 auto 28px; line-height: 1.7; }
.hero-price { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.price-old { font-size: 22px; color: var(--muted); text-decoration: line-through; }
.price-now { font-size: 48px; font-weight: 900; color: var(--brand); }
.price-save { background: rgba(0,184,148,0.12); color: var(--accent); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 6px; }
.trust-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.trust-row span { font-size: 12px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.trust-row span::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 10px; border: none; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 16px rgba(108,92,231,0.35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,92,231,0.4); }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.btn-full { width: 100%; }

/* BRANDS */
.brands { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; background: var(--panel); }
.section-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--brand); text-align: center; margin-bottom: 12px; }
.brands h2, .features h2, .savings h2, .faq h2 { text-align: center; font-size: 28px; margin-bottom: 40px; }
.brand-logos { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.brand-item { font-size: 18px; font-weight: 800; color: var(--muted); opacity: 0.5; letter-spacing: -0.02em; }

/* FEATURES */
.features { padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(108,92,231,0.1); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 22px; height: 22px; color: var(--brand); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* SAVINGS */
.savings { padding: 80px 0; background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.savings-table { max-width: 560px; margin: 0 auto; }
.savings-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.savings-row:last-child { border-bottom: none; }
.savings-brand { font-weight: 600; font-size: 15px; }
.savings-amount { font-weight: 800; color: var(--accent); font-size: 14px; }
.savings-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }

/* CTA */
.cta { padding: 80px 0; }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cta-left h2 { font-size: 32px; margin-bottom: 12px; }
.cta-left p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.cta-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cta-list li { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cta-list li::before { content: "✓"; color: var(--accent); font-weight: 800; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,184,148,0.1); display: grid; place-items: center; font-size: 11px; }
.cta-card { background: var(--panel); border: 2px solid var(--brand); border-radius: 18px; padding: 36px 32px; text-align: center; position: relative; box-shadow: var(--shadow-lg); }
.cta-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; padding: 4px 14px; border-radius: 999px; }
.cta-price { font-size: 56px; font-weight: 900; color: var(--brand); margin: 16px 0 4px; }
.cta-period { color: var(--muted); font-size: 14px; display: block; margin-bottom: 24px; }
.cta-secure { color: var(--muted); font-size: 12px; margin-top: 14px; }

/* FAQ */
.faq { padding: 80px 0; background: var(--panel); border-top: 1px solid var(--border); }
.faq-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; }
.faq-list summary { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 700; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 12px; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* DRAWER */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 380px; max-width: 92vw; background: var(--panel); border-left: 1px solid var(--border); z-index: 100; transform: translateX(105%); transition: transform .28s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 15px; letter-spacing: 0.04em; }
.icon-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.icon-btn:hover { color: var(--text); }
.drawer-items { flex: 1; overflow-y: auto; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { color: var(--muted); font-size: 13px; text-align: center; margin-top: 40px; line-height: 1.7; }
.cart-item { display: flex; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.ci-info { flex: 1; }
.ci-name { font-size: 14px; font-weight: 700; display: block; }
.ci-detail { font-size: 12px; color: var(--muted); }
.ci-price { font-size: 16px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.drawer-foot { border-top: 1px solid var(--border); padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.subtotal-row { display: flex; justify-content: space-between; font-size: 15px; }
.subtotal-row strong { font-size: 18px; }

/* TOAST */
.toast-wrap { position: fixed; bottom: 20px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 18px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--panel); border: 1px solid var(--border); border-left: 4px solid var(--brand); color: var(--text); animation: slideIn .3s ease; }
.toast.err { border-left-color: var(--red); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-list { align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
