:root {
  --bg: #0c0d10;
  --panel: #15171b;
  --card: #1b1e23;
  --border: #262930;
  --text: #f2f3f5;
  --muted: #9a9fab;
  --orange: #ff7a1a;
  --orange-dark: #e5650a;
  --gold: #f5b942;
  --green: #3ecf6e;
  --blue: #3ba7ff;
  --purple: #9b6bff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
h1, h2, h3, .brand, .btn { font-family: 'Poppins', sans-serif; }
body { background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: var(--panel); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.brand { font-size: 22px; font-weight: 800; color: var(--orange); letter-spacing: .5px; }
.brand span { color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.lang-pill { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); padding: 8px 14px; border-radius: 20px; font-size: 13px; color: var(--muted); cursor: pointer; }
.btn { padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; }

/* ---------- Layout shell ---------- */
.shell { display: flex; min-height: 100vh; }

/* ---------- Sidebar ---------- */
.sidebar {
  width: 240px; flex-shrink: 0; background: var(--panel); border-right: 1px solid var(--border);
  padding: 18px 14px; position: sticky; top: 61px; height: calc(100vh - 61px); overflow-y: auto;
}
.promo { border-radius: 10px; padding: 14px; margin-bottom: 12px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.promo.p1 { background: linear-gradient(135deg, #3a2a12, #5c3d10); color: var(--gold); }
.promo.p2 { background: linear-gradient(135deg, #2a1414, #3a1a1a); color: #ff8a8a; }
.promo.p2 small, .promo.p1 small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.nav-group { margin-top: 16px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px;
  color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 2px;
}
.nav-link i { width: 18px; text-align: center; }
.nav-link:hover { background: var(--card); color: var(--text); }
.nav-link.active { background: linear-gradient(135deg, rgba(255, 122, 26, .18), rgba(255, 122, 26, .05)); color: var(--orange); border: 1px solid rgba(255, 122, 26, .3); }
.nav-divider { height: 1px; background: var(--border); margin: 14px 4px; }

/* ---------- Main ---------- */
.main { flex: 1; padding: 24px 28px; min-width: 0; }

.hero {
  position: relative; border-radius: 16px; overflow: hidden; padding: 44px 40px;
  background: radial-gradient(circle at 80% 30%, #1c2b4a, #0c1220 60%);
  border: 1px solid var(--border); display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.hero-left { flex: 1; min-width: 280px; }
.hero-left h1 { font-size: 38px; line-height: 1.15; font-weight: 800; }
.hero-left h1 .accent { color: var(--orange); display: block; }
.hero-left p.tag { margin-top: 14px; color: #cfd3da; font-size: 16px; }
.hero-left p.features { margin-top: 6px; color: var(--gold); font-weight: 600; font-size: 14px; }
.hero-icons { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero-icon { text-align: center; color: var(--muted); font-size: 12px; max-width: 90px; }
.hero-icon i { display: block; font-size: 20px; color: var(--orange); margin-bottom: 6px; }
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.hero-cta .btn-primary { padding: 14px 30px; font-size: 15px; }
.hero-cta .small-cta { color: var(--gold); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero-right { flex: 1; min-width: 260px; display: flex; justify-content: center; }

.notice {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 16px; margin-top: 18px; overflow: hidden;
}
.notice-icon { color: var(--gold); flex-shrink: 0; font-size: 15px; }
.notice-icon-right { color: var(--orange); flex-shrink: 0; background: var(--card); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.ticker-wrap { flex: 1; overflow: hidden; white-space: nowrap; position: relative; min-width: 0; }
.ticker-track { display: inline-flex; animation: ticker 18s linear infinite; }
.ticker-track span { padding-right: 50px; font-size: 13px; color: var(--muted); flex-shrink: 0; }
.ticker-track span b { color: var(--gold); font-weight: 700; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

.promo-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.promo-banner {
  border-radius: 14px; padding: 16px; min-height: 110px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--border);
}
.promo-banner svg { position: absolute; right: -6px; top: -6px; width: 78px; height: 78px; opacity: .95; }
.promo-banner h3 { font-size: 14px; font-weight: 700; position: relative; z-index: 2; }
.promo-banner p { font-size: 11px; color: rgba(255, 255, 255, .75); position: relative; z-index: 2; margin-top: 2px; }
.promo-banner.b1 { background: linear-gradient(135deg, #123a1f, #0e2416); }
.promo-banner.b2 { background: linear-gradient(135deg, #0f2b4a, #0b1c30); }
.promo-banner.b3 { background: linear-gradient(135deg, #241238, #160b24); }

.vip-strip {
  margin-top: 14px; border: 1px solid var(--gold); border-radius: 12px; padding: 12px 18px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(90deg, rgba(245, 185, 66, .08), rgba(245, 185, 66, .02), rgba(245, 185, 66, .08));
}
.vip-strip i { color: var(--gold); font-size: 18px; }
.vip-strip span { font-weight: 800; letter-spacing: 1px; color: var(--gold); font-size: 15px; }

.plans-counter { display: flex; align-items: center; gap: 10px; }
.plans-counter .count-pill { background: var(--card); border: 1px solid var(--border); color: var(--muted); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 16px; }
.plans-counter .arrow-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-size: 12px; }
.plans-counter .arrow-btn.disabled { background: var(--card); color: var(--muted); cursor: default; }

.bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; height: 64px; background: var(--panel);
  border-top: 1px solid var(--border); z-index: 50;
}
.bottom-nav .bn-inner { display: flex; height: 100%; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 10px; font-weight: 600; }
.bottom-nav a i { font-size: 17px; }
.bottom-nav a.active { color: var(--orange); }

.searchbar { margin-top: 22px; position: relative; }
.searchbar input {
  width: 100%; padding: 14px 18px 14px 44px; border-radius: 10px; background: var(--card);
  border: 1px solid var(--border); color: var(--text); font-size: 14px;
}
.searchbar i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--border); color: var(--muted); cursor: pointer; white-space: nowrap; }
.chip.active { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; border-color: transparent; }

.plans-head { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; flex-wrap: wrap; gap: 10px; }
.plans-head h2 { font-size: 20px; font-weight: 700; }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 16px; }
.plan-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  display: flex; flex-direction: column; gap: 4px; transition: transform .15s ease, border-color .15s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.plan-name { font-weight: 700; font-size: 15px; }
.plan-rate { font-size: 34px; font-weight: 800; margin-top: 6px; }
.plan-rate small { font-size: 14px; font-weight: 600; }
.plan-sub { font-size: 12px; color: var(--muted); margin-top: -4px; margin-bottom: 6px; font-weight: 600; }
.plan-icon { align-self: flex-end; font-size: 34px; opacity: .85; margin-top: -38px; }
.plan-meta { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.plan-meta b { color: var(--text); font-weight: 600; }
.plan-btn { margin-top: 16px; padding: 11px; border-radius: 8px; border: none; font-weight: 700; font-size: 14px; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }

.starter .plan-rate, .starter .plan-icon { color: var(--green); }
.growth .plan-rate, .growth .plan-icon { color: var(--blue); }
.premium .plan-rate, .premium .plan-icon { color: var(--gold); }
.vip .plan-rate, .vip .plan-icon { color: var(--purple); }

.disclaimer { margin-top: 22px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 16px; line-height: 1.6; }

.site-footer { padding: 32px 28px 22px; border-top: 1px solid var(--border); background: var(--panel); }
.footer-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-col { flex: 1; min-width: 140px; }
.footer-col.center { text-align: center; }
.footer-col.right { text-align: right; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer-icons { display: flex; gap: 10px; }
.footer-col.center .footer-icons { justify-content: center; }
.footer-col.right .footer-icons { justify-content: flex-end; }
.footer-icons a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.footer-icons a.wa { color: #25D366; } .footer-icons a.tg { color: #2AABEE; } .footer-icons a.fb { color: #1877F2; }

.footer-mid { display: flex; justify-content: space-between; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.footer-brand { max-width: 420px; }
.footer-logo { font-size: 24px; margin-bottom: 10px; }
.footer-brand p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer-notice { display: flex; gap: 12px; align-items: flex-start; max-width: 360px; }
.footer-badge { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #e5484d; color: #e5484d; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-notice ol { padding-left: 16px; font-size: 12px; color: var(--muted); line-height: 1.9; }

.footer-bottom { margin-top: 28px; text-align: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 18px; }

.float-socials { position: fixed; right: 18px; top: 45%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 40; }
.float-socials a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.float-socials .tg { background: #2AABEE; } .float-socials .wa { background: #25D366; }
.float-socials .fb { background: #1877F2; } .float-socials .cs { background: #12b886; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 40; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); cursor: pointer; }

.overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 55; }
.overlay.show { display: block; }

@media(max-width:900px) {
  #menuBtn { display: block !important; font-size: 20px; color: var(--text); }
  .sidebar { position: fixed; left: -260px; top: 0; height: 100vh; transition: left .22s ease; z-index: 60; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
  .sidebar.open { left: 0; }
  .float-socials { top: auto; bottom: 80px; right: 14px; transform: none; }
  .float-socials a { width: 38px; height: 38px; font-size: 16px; }
  .to-top { bottom: 80px; }
  body { padding-bottom: 64px; }
  .bottom-nav { display: block; }
  .main { padding: 16px; }
  .hero { padding: 26px 20px; flex-direction: column; text-align: center; }
  .hero-left h1 { font-size: 28px; }
  .hero-icons { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-right { order: -1; }
  .notice { padding: 10px 14px; }
  .notice-icon-right { display: none; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .topbar { padding: 12px 16px; }
  .brand { font-size: 18px; }
  .lang-pill span { display: none; }
}

@media(max-width:520px) {
  .plans-grid { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .topbar-right .btn { padding: 8px 14px; font-size: 13px; }
  .promo-banners { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .promo-banner { min-height: 90px; padding: 10px; }
  .promo-banner h3 { font-size: 11px; }
  .promo-banner p { display: none; }
  .promo-banner svg { width: 56px; height: 56px; }
}