:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #526071;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --brand: #153060;
  --brand-hover: #0d2145;
  --brand-accent: #1d4ed8;
  --brand-soft: #eef4ff;
  --brand-soft-text: #153060;
  --ok-bg: #ecfdf5;
  --ok-text: #047857;
  --ok-border: #a7f3d0;
  --soon-bg: #f1f5f9;
  --soon-text: #475569;
  --soon-border: #e2e8f0;
  --focus-ring: 0 0 0 3px rgba(29, 78, 216, 0.32);
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 16px -4px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 18px 40px -16px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 28px 70px -18px rgba(15, 23, 42, 0.28);
  --radius: 16px;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html.dark {
  --bg: #0b1120;
  --bg-subtle: #0f172a;
  --bg-muted: #1e293b;
  --surface: #111b2e;
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --border-strong: #334155;
  --brand: #3b82f6;
  --brand-hover: #2563eb;
  --brand-accent: #60a5fa;
  --brand-soft: rgba(59, 130, 246, 0.15);
  --brand-soft-text: #93c5fd;
  --ok-bg: rgba(16, 185, 129, 0.14);
  --ok-text: #6ee7b7;
  --ok-border: rgba(16, 185, 129, 0.32);
  --soon-bg: #1e293b;
  --soon-text: #94a3b8;
  --soon-border: #334155;
  --focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.4);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 6px 20px -6px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 20px 44px -16px rgba(0, 0, 0, 0.58);
  --shadow-lg: 0 28px 70px -18px rgba(0, 0, 0, 0.78);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Skip Link (Accesibilidad) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
}

.brand-logo-dark {
  display: none;
}

html.dark .brand-logo-light {
  display: none;
}

html.dark .brand-logo-dark {
  display: block;
}

@media (min-width: 640px) {
  .brand-logo {
    height: 34px;
    max-width: 215px;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 2px;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

.theme-label {
  display: none;
}

.icon-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-slot svg,
.btn-icon-only svg {
  width: 17px;
  height: 17px;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  padding-bottom: 14px;
  gap: 4px;
}

.mobile-nav-link {
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover {
  background: var(--bg-muted);
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-muted);
}

.btn-icon-pill {
  height: 38px;
  padding: 0 11px;
  border-radius: 10px;
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-secondary);
  font-size: 12.5px;
}

.btn-icon-pill:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.btn-icon-only {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn-icon-only:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.btn-sm {
  padding: 8px 13px;
  font-size: 12.5px;
  border-radius: 9px;
}

.btn-lg {
  padding: 12px 20px;
  font-size: 14px;
}

/* Hero limpio editorial (sin mockup interno) */
.hero {
  padding: 54px 0 56px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 50% -18%, var(--brand-soft), transparent 72%),
    var(--bg);
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 100%;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.13;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 24ch;
}

.text-accent {
  color: var(--brand-accent);
}

.hero-lead {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 60ch;
}

.sector-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}

.sector-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 580px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.stat-item {
  min-width: 0;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(14px, 3vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Badges / Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}

.pill-ok {
  background: var(--ok-bg);
  color: var(--ok-text);
  border-color: var(--ok-border);
}

.pill-soon {
  background: var(--soon-bg);
  color: var(--soon-text);
  border-color: var(--soon-border);
}

.pill-meta {
  background: var(--bg-muted);
  color: var(--text-secondary);
  border-color: var(--border);
}

/* Sections */
.section {
  padding: 60px 0;
  scroll-margin-top: 84px;
}

.section-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-cta {
  padding-top: 12px;
}

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

.section-head-copy {
  min-width: 0;
}

.section-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 31px);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 58ch;
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.filter-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.search-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  transition: border-color 0.15s ease;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--brand);
}

/* Product Library Grid (Jerarquía limpia: Ícono+Badge arriba, Título 100% ancho abajo) */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 18px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-card.is-featured {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--border));
  box-shadow: var(--shadow-sm);
}

.product-card.is-custom {
  background: var(--bg-subtle);
  border-style: dashed;
  border-color: var(--border-strong);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.app-icon-img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.app-icon-mono {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.card-heading {
  min-width: 0;
}

.card-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.card-summary {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.card-footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.card-footer-actions .btn {
  flex: 1;
}

.card-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item.open {
  border-color: var(--border-strong);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-trigger svg {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 17px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact CTA Banner */
.cta-box {
  background: linear-gradient(135deg, #173466 0%, #0c1c3d 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 34px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-md);
}

.cta-copy {
  min-width: 0;
}

.cta-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  margin-bottom: 6px;
}

.cta-box h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}

.cta-box p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
  max-width: 54ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
}

.btn-white:hover {
  background: #f1f5f9;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.footer-legal-link {
  border: none;
  background: transparent;
  padding: 2px 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-legal-link:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-sep {
  color: var(--border-strong);
  user-select: none;
}

.legal-intro {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-section {
  margin-bottom: 16px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.legal-section p {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.modal-foot-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Product Detail Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-dialog-sm {
  max-width: 520px;
}

.buy-steps {
  display: grid;
  gap: 12px;
}

.buy-step-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.buy-step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.buy-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.buy-step-text {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.buy-yape-card {
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.buy-yape-number {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.buy-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid var(--border-strong);
}

.buy-price-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.buy-price-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.buy-price-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.buy-price-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.buy-price-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--brand-soft-text);
}

.buy-price-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.buy-method-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.buy-method-tab {
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.buy-method-tab:hover {
  color: var(--text);
}

.buy-method-tab.active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.buy-qr-wrap {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.buy-qr-img {
  width: 224px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.buy-paypal-box {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-paypal-email {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}

.buy-notice {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-soft-text);
  font-size: 12px;
  line-height: 1.45;
}

.modal-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-head-copy {
  min-width: 0;
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.modal-subtitle {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  display: grid;
  gap: 20px;
}

.modal-hero-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.modal-hero-mono {
  width: 60px;
  height: 60px;
  font-size: 18px;
}

.modal-hero-text {
  flex: 1;
  min-width: 200px;
  display: grid;
  gap: 8px;
}

.modal-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-section h4 {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.modal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.modal-list svg {
  width: 16px;
  height: 16px;
  color: var(--ok-text);
  flex-shrink: 0;
  margin-top: 3px;
}

.modal-req {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.modal-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-subtle);
}

.modal-foot-price {
  font-size: 13.5px;
  font-weight: 700;
}

.modal-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Toast */
.site-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  padding: 10px 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  max-width: calc(100vw - 32px);
  text-align: center;
}

.site-toast[hidden] {
  display: none;
}

/* Responsive Breakpoints */
@media (min-width: 540px) {
  .container {
    padding: 0 24px;
  }

  .theme-label {
    display: inline;
  }
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }

  .mobile-only {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero {
    padding: 72px 0 68px;
  }

  .cta-box {
    padding: 40px 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
