/* B1G Reseller Panel — simple, light, flat theme */

:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --line: #e1e7ed;
  --text: #1e2a38;
  --text-muted: #5b6b7c;
  --text-dim: #8a97a6;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --whatsapp: #25d366;
  --radius: 6px;
  --maxw: 1100px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none !important; }
}

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}
.btn-block {
  display: block;
  width: 100%;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand-badge {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-menu a:not(.btn) {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
}
.mobile-menu a[aria-current="page"] {
  color: var(--accent);
}
.mobile-menu .btn {
  margin: 14px 20px;
}
.mobile-menu:not([hidden]) {
  display: flex;
}

/* whatsapp button */
.whatsapp-fab {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(30, 42, 56, 0.18);
  z-index: 900;
}
.whatsapp-fab svg {
  width: 26px;
  height: 26px;
}

/* currency switcher */
.currency-switcher {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 850;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 4px 14px rgba(30, 42, 56, 0.18);
  text-align: center;
}
.currency-switcher span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.currency-btns {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.currency-btn {
  font-weight: 700;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.currency-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* hero */
.hero {
  padding: 64px 0;
  background: var(--surface-2);
}
.hero-flex {
  display: block;
}
.hero-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
}
.hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-top: 16px;
}
.hero-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

/* generic section */
section {
  padding: 64px 0;
}
.section-head {
  max-width: 620px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-head .eyebrow {
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 32px);
}
.section-head p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 16px;
}

#pricing { background: var(--surface); }
#how { background: var(--surface-2); }
#about { background: var(--surface); }
.about-copy { max-width: 720px; margin: 0 auto; }
.about-copy p {
  color: var(--text-muted);
  font-size: 16px;
}
.about-copy p + p {
  margin-top: 16px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.step-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.step h3 {
  margin-top: 12px;
  font-size: 16px;
}
.step p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.credit-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.credit-grid .plan {
  padding: 20px 14px;
}
.credit-grid .plan-tag {
  font-size: 10px;
  padding: 2px 5px;
}
.credit-grid .plan-name {
  font-size: 12px;
}
.credit-grid .plan-price {
  margin-top: 14px;
}
.credit-grid .plan-price .cur {
  font-size: 15px;
}
.credit-grid .plan-price .num {
  font-size: 22px;
}
.credit-grid .plan-price .days {
  font-size: 11px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.is-featured {
  border-color: var(--accent);
  border-width: 2px;
}
.plan-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--accent);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.plan-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.plan-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
}
.plan-name {
  font-size: 14px;
  font-weight: 700;
}
.plan-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price .cur {
  font-size: 16px;
  color: var(--text-muted);
}
.plan-price .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}
.plan-price .days {
  font-size: 12.5px;
  color: var(--text-muted);
}
.plan-includes-label {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan-features {
  margin-top: 10px;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 5px 0;
}
.plan-features .tick {
  flex-shrink: 0;
  color: #16A34A;
  display: flex;
}
.plan-features .tick svg {
  width: 17px;
  height: 17px;
  stroke-width: 3.5;
}
.plan-features .cross {
  flex-shrink: 0;
  color: #DC2626;
  display: flex;
}
.plan-features .cross svg {
  width: 17px;
  height: 17px;
  stroke-width: 3.5;
}
.plan .btn {
  margin-top: 20px;
}
.currency-note {
  text-align: center;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* credit pricing cards */
.credit-rate {
  flex-grow: 1;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* cta band */
.cta-band {
  background: var(--surface-2);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 {
  font-size: clamp(22px, 3.4vw, 30px);
}
.cta-band p {
  margin-top: 12px;
  color: var(--text-muted);
}
.cta-band .hero-cta {
  margin-top: 22px;
}

/* faq */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 18px;
  color: var(--accent);
  margin-left: 16px;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  padding: 0 0 16px;
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 600px;
}

/* footer */
footer {
  padding: 44px 0 28px;
  background: var(--surface-2);
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}
footer .brand {
  color: var(--text);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-cols {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: var(--accent);
}
.disclaimer {
  max-width: 640px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* responsive */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .credit-grid { grid-template-columns: repeat(5, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .main-nav > .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .hero { padding: 44px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .footer-top { flex-direction: column; }
  /* credit-grid cards go full-width at this size, so undo the 5-across text shrink */
  .credit-grid .plan-tag { font-size: 12px; padding: 3px 7px; }
  .credit-grid .plan-name { font-size: 15px; }
  .credit-grid .plan-price .cur { font-size: 18px; }
  .credit-grid .plan-price .num { font-size: 30px; }
  .credit-grid .plan-price .days { font-size: 13px; }
}
@media (max-width: 720px) {
  .currency-switcher {
    right: 24px;
    padding: 6px;
  }
  .currency-switcher span { display: none; }
  .currency-btns { flex-direction: row; gap: 6px; }
  .currency-btn { padding: 12px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .whatsapp-fab { width: 48px; height: 48px; left: 16px; }
  .currency-switcher { right: 16px; padding: 6px; }
}
