:root {
  --bg: #050506;
  --bg-soft: #0c0d10;
  --surface: rgba(17, 18, 22, 0.84);
  --surface-2: rgba(23, 24, 30, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f1e8;
  --muted: #b8b0a2;
  --muted-2: #908775;
  --accent: #ff9f0a;
  --accent-2: #d57d00;
  --accent-3: #ffcc72;
  --shadow: 0 18px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 36px rgba(0, 0, 0, 0.28);
  --container: min(1180px, calc(100% - 32px));
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 158, 12, 0.12), transparent 35%),
    linear-gradient(180deg, #060608 0%, #090a0d 50%, #050506 100%);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: -8%;
  background: url("../images/bg-pattern.webp") center/cover no-repeat;
  opacity: 0.95;
  z-index: -3;
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 160, 20, 0.08), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(255, 173, 55, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.08), rgba(5, 5, 6, 0.45));
  pointer-events: none;
  z-index: -2;
}

.inner-page::before { opacity: 0.72; }
.container { width: var(--container); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.74), rgba(8, 8, 10, 0.48));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar.solid {
  background: rgba(7, 8, 10, 0.82);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(255, 159, 10, 0.18));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-copy span {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  position: relative;
  padding: 12px 16px;
  border-radius: 999px;
  color: #ddd4c5;
  font-size: 0.95rem;
  transition: 180ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: white;
  background: rgba(255, 159, 10, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.18);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #f3ede2;
}

.hero {
  position: relative;
  padding: 72px 0 42px;
}

.hero-compact {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}

.hero-bg,
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background:
    linear-gradient(135deg, rgba(255, 159, 10, 0.06), transparent 38%),
    radial-gradient(circle at 50% 10%, rgba(255, 163, 20, 0.08), transparent 32%);
}

.hero-noise {
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.hero-panel {
  width: min(880px, 100%);
  padding: 42px 42px 38px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 19, 24, 0.72), rgba(9, 10, 12, 0.72));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.16), transparent 28%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-panel-centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.18);
  color: var(--accent-3);
  font-size: 0.86rem;
  margin-bottom: 18px;
}

.hero-panel h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.accent { color: var(--accent-3); }

.definition,
.page-lead {
  margin: 20px auto 0;
  max-width: 860px;
  color: #e0d8ca;
  line-height: 1.95;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
}

.gateways-panel {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: 28px;
  border-radius: calc(var(--radius-xl) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 16, 20, 0.82), rgba(10, 11, 14, 0.88));
  box-shadow: var(--shadow-soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head.compact h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.gateway-grid,
.premium-grid {
  display: grid;
  gap: 18px;
}

.gateway-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gateway-card,
.info-card,
.leader-card,
.rule-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(26, 27, 34, 0.94), rgba(14, 15, 19, 0.98));
  box-shadow: var(--shadow-soft);
}

.gateway-card {
  min-height: 214px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gateway-card::before,
.info-card::before,
.leader-card::before,
.rule-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.16), transparent 34%);
  opacity: 0.56;
  pointer-events: none;
}

.gateway-card:hover,
.info-card:hover,
.leader-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 10, 0.22);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.gateway-number,
.req span,
.rule-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.18);
  color: var(--accent-3);
  font-size: 0.84rem;
  margin-bottom: 22px;
}

.gateway-card h3,
.info-card h3,
.leader-card h3,
.rule-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.gateway-card p,
.info-card p,
.leader-card p,
.rule-card p {
  margin: 0;
  color: #d0c7ba;
  line-height: 1.9;
  font-size: 0.96rem;
}

.page-main { padding-bottom: 60px; }
.page-hero {
  padding: 72px 0 18px;
}

.page-hero .page-lead {
  margin-inline: 0;
  max-width: 760px;
}

.page-section {
  padding: 18px 0 0;
}

.info-card {
  padding: 22px 22px 24px;
  min-height: 184px;
}

.info-card.req {
  min-height: 200px;
}

.leaders-grid .leader-card {
  padding: 24px;
  min-height: 290px;
}

.leader-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.18);
  color: var(--accent-3);
  font-size: 0.84rem;
  margin-bottom: 20px;
}

.leader-avatar {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.24), rgba(70, 70, 75, 0.28));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.rules-stack {
  display: grid;
  gap: 16px;
}

.rule-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.rule-card span {
  margin-bottom: 0;
}

.footer-min {
  padding: 18px 0 26px;
}

.footer-min-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .gateway-grid,
  .feature-list,
  .three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 15, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open { display: flex; }
  .nav a { border-radius: 14px; }
  .hero { padding-top: 42px; }
  .hero-panel { padding: 34px 24px 30px; }
  .gateways-panel { padding: 22px; }
  .gateway-grid,
  .feature-list,
  .two-col,
  .three-col { grid-template-columns: 1fr; }
  .page-hero { padding-top: 44px; }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 74px; }
  .brand-copy span { display: none; }
  .hero-compact { min-height: calc(100vh - 74px); }
  .definition, .page-lead { line-height: 1.85; font-size: 1rem; }
  .gateway-card, .info-card, .leader-card, .rule-card { border-radius: 20px; }
  .footer-min-wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gateway-card,
  .info-card,
  .leader-card { transition: none; }
}


.leader-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 48px;
  width: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.18), rgba(213, 125, 0, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.24);
  color: #fff4de;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.leader-whatsapp:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.24), rgba(213, 125, 0, 0.3));
  box-shadow: inset 0 0 0 1px rgba(255, 184, 76, 0.28), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.leader-whatsapp:active {
  transform: translateY(0);
}
