/* ==========================================================================
   agente-1xbet-ecuador.com | B2B Fintech Terminal Stylesheet
   Standards: Anti-AI Aesthetic, High-Contrast Terminal, Mobile-First, CLS=0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-base: #0b0f19;
  --bg-surface: #111827;
  --bg-card: #141d30;
  --bg-card-hover: #19243c;
  --bg-elevated: #1e293b;
  --bg-overlay: rgba(11, 15, 25, 0.85);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #0284c7;
  --border-active: rgba(16, 185, 129, 0.4);

  /* Accents & Signals */
  --accent-primary: #0284c7;
  --accent-primary-hover: #0369a1;
  --accent-emerald: #10b981;
  --accent-emerald-hover: #059669;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.12);
  --accent-sky: #38bdf8;
  --telegram-blue: #229ed9;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0b0f19;

  /* System Fonts Stack (Zero WebFont Latency) */
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Fluid Spacing & Dimensions */
  --container-max-w: 1200px;
  --header-height: 4.25rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-system);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 2.5rem);
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: var(--accent-sky);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #7dd3fc;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   3. Typography & Layout System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sky);
  margin-bottom: 0.75rem;
}

.section-tag.tag-emerald {
  background-color: var(--accent-emerald-glow);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.section-tag.tag-amber {
  background-color: var(--accent-amber-glow);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
}

.section-title {
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 68ch;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Sticky Legal Bar & Header
   -------------------------------------------------------------------------- */
.top-disclaimer {
  background-color: #121008;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  color: #fcd34d;
  font-size: 0.75rem;
  line-height: 1.4;
  padding-block: 0.4rem;
  position: relative;
  z-index: 50;
}

.top-disclaimer-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  text-align: center;
}

.disclaimer-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: var(--accent-amber);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  height: 28px;
  width: auto;
  max-width: 135px;
  display: block;
  object-fit: contain;
}

.brand-badge {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--accent-emerald);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: none;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--bg-overlay);
  backdrop-filter: blur(16px);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 1.5rem;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  padding-block: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. Buttons & Controls (Min 48px Touch Target)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-emerald {
  background-color: var(--accent-emerald);
  color: #0b0f19;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-emerald:hover {
  background-color: var(--accent-emerald-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-telegram {
  background-color: var(--telegram-blue);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-telegram:hover {
  background-color: #1d8bbf;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background-color: var(--bg-elevated);
  border-color: var(--text-secondary);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Hero Section (#hero)
   -------------------------------------------------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-title {
  font-size: clamp(1.85rem, 4vw + 0.5rem, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--accent-sky);
}

.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

@media (min-width: 540px) {
  .hero-stats-banner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent-emerald);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-frame {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
}

/* --------------------------------------------------------------------------
   Floating Action CTA Button (FAB)
   -------------------------------------------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px -3px rgba(16, 185, 129, 0.45), 0 4px 12px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.floating-cta:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #000000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -3px rgba(16, 185, 129, 0.6), 0 6px 16px rgba(0, 0, 0, 0.6);
}

.floating-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: rgba(11, 15, 25, 0.85);
  color: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-cta-text {
  font-family: var(--font-system);
  letter-spacing: -0.01em;
}

@media (max-width: 480px) {
  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.4);
  }
}

/* --------------------------------------------------------------------------
   7. Operational Facts Grid (#direct-facts)
   -------------------------------------------------------------------------- */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.fact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, 0.4);
}

.fact-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald);
  padding: 0.25rem 0.5rem;
  background-color: var(--accent-emerald-glow);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.fact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.fact-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. Margin & Profit Calculator (#calculadora)
   -------------------------------------------------------------------------- */
.calculator-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

@media (min-width: 992px) {
  .calculator-container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.slider-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--accent-emerald-glow);
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-weight: 700;
}

.slider-value-display {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-sky);
}

/* Native Range Slider with Dynamic CSS Fill */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--accent-primary) 0%,
    var(--accent-primary) var(--fill-percent, 25%),
    #1e293b var(--fill-percent, 25%),
    #1e293b 100%
  );
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover,
.calc-range:active::-webkit-slider-thumb {
  transform: scale(1.15);
}

.calc-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.slider-range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Preset Quick Select Buttons */
.presets-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.presets-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.presets-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-preset {
  padding: 0.4rem 0.75rem;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-preset:hover, .btn-preset.active {
  background-color: rgba(2, 132, 199, 0.2);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

/* Calculator Results Panel */
.calc-results {
  background-color: #0d1322;
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.result-card {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.result-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-header {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.result-amount {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1.1;
}

.result-amount.amount-monthly {
  color: var(--accent-sky);
}

.result-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Comparative Table */
.calc-table-wrapper {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.calc-table th {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.calc-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.calc-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.calc-table .highlight-row td {
  background-color: rgba(16, 185, 129, 0.06);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. Capital Model Section (#modelo-capital)
   -------------------------------------------------------------------------- */
.capital-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.capital-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .capital-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capital-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.capital-box-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.capital-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.capital-box-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. MobCash Walkthrough Guide (#guia-mobcash)
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-card-media {
  width: 100%;
  aspect-ratio: 2 / 3;
  background-color: #0d1322;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.step-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.step-card:hover .step-card-img {
  transform: scale(1.03);
}

.step-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-sm);
  color: var(--accent-sky);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. Bank Infrastructure & SRI Section (#bancos-sri)
   -------------------------------------------------------------------------- */
.bancos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .bancos-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.bancos-banner-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bancos-img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 320px;
  background-color: #0b1120;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.bancos-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bancos-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.banco-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.banco-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sky);
  font-weight: 700;
  font-size: 0.85rem;
}

.banco-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.banco-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   12. Lead Capture Form (#registro)
   -------------------------------------------------------------------------- */
.form-container {
  max-width: 680px;
  margin-inline: auto;
  background-color: var(--bg-card);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: #ef4444;
}

.form-input, .form-select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Qualification Checkbox */
.checkbox-card {
  background-color: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-block: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.checkbox-input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  cursor: pointer;
  accent-color: var(--accent-emerald);
}

.checkbox-label {
  font-size: 0.875rem;
  color: #fef08a;
  line-height: 1.45;
  cursor: pointer;
}

.checkbox-label strong {
  color: #ffffff;
}

/* Form States */
.form-error-banner {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-size: 0.85rem;
  color: #fca5a5;
  margin-bottom: 1.25rem;
  display: none;
}

.form-error-banner.active {
  display: block;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--accent-emerald-glow);
  color: var(--accent-emerald);
  font-size: 2rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   13. FAQ Accordion (#faq)
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(2, 132, 199, 0.4);
}

.faq-button {
  width: 100%;
  min-height: 54px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-elevated);
  color: var(--text-secondary);
  font-weight: 400;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-sky);
}

.faq-content {
  display: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-content {
  display: block;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #060911;
  border-top: 1px solid var(--border-subtle);
  padding-block: 3.5rem 2rem;
  font-size: 0.85rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 48ch;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-disclaimer-box {
  background-color: #0e121d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.footer-disclaimer-box h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-amber);
  margin-bottom: 0.4rem;
}

.footer-disclaimer-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}
