/* ═══════════════════════════════════════════
   Banca Remota — Landing Page Styles
   Primary web color: #B38B4D (gold / appPrimary)
   ═══════════════════════════════════════════ */

:root {
  --color-bpa:    #1E5F52;
  --color-bandec: #5B2A1F;
  --color-accent: #81D717;
  --color-gold:   #B38B4D;
  --color-bm:     #1A3A6B;
}

html { scroll-behavior: smooth; }

/* Hide scrollbar while keeping scroll functional */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* Global scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 3px; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav-link {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--color-gold); }
.dark .nav-link { color: #9ca3af; }
.dark .nav-link:hover { color: var(--color-gold); }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-gold);
  color: #ffffff;
  font-weight: 700;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-gold) 35%, transparent);
}
.btn-primary:hover {
  background: #c9a05a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--color-gold) 45%, transparent);
}


.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.1);
  color: #1f2937;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(0,0,0,.08); }

.dark .btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
}
.dark .btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ══════════════════════════════════════════
   SECTION — typography and badges
══════════════════════════════════════════ */
.section-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  padding: 0.25rem 0.875rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.dark .section-title { color: #fff; }

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.dark .section-subtitle { color: #9ca3af; }

/* ══════════════════════════════════════════
   FEATURE CARDS
══════════════════════════════════════════ */
.feature-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.dark .feature-card { background: #1f2937; border-color: #374151; }

.feature-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.375rem;
  color: #111827;
}
.dark .feature-title { color: #fff; }

.feature-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}
.dark .feature-desc { color: #9ca3af; }

/* ══════════════════════════════════════════
   FEATURE SELECTOR (section 5)
══════════════════════════════════════════ */
.feat-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  background: none;
}
.feat-active {
  background: #fff;
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-gold) 14%, transparent);
}
.dark .feat-active {
  background: #1f2937;
  border-color: var(--color-gold);
}
.feat-inactive { background: transparent; }
.feat-inactive:hover {
  background: rgba(255,255,255,.6);
  border-color: #e5e7eb;
}
.dark .feat-inactive:hover {
  background: rgba(255,255,255,.04);
  border-color: #374151;
}

.feat-btn-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--color-gold) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.feat-btn-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #111827;
  margin-bottom: 0.2rem;
}
.dark .feat-btn-title { color: #fff; }

.feat-btn-desc {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
}
.dark .feat-btn-desc { color: #9ca3af; }

/* Mockup frame wrapper */
.mockup-frame {
  position: relative;
  display: flex;
  justify-content: center;
}
.mockup-img {
  width: 13rem;
  border-radius: 2.25rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  ring: 1px solid rgba(0,0,0,.08);
}
@media (min-width: 640px) { .mockup-img { width: 15rem; } }

/* ══════════════════════════════════════════
   OPERATION LIST ITEMS
══════════════════════════════════════════ */
.op-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  background: #f9fafb;
  font-size: 0.8125rem;
  color: #374151;
  border: 1px solid #f3f4f6;
}
.dark .op-item { background: #1f2937; color: #d1d5db; border-color: #374151; }

/* ══════════════════════════════════════════
   STEPS (how it works)
══════════════════════════════════════════ */
.step-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  text-align: center;
}
.dark .step-card { background: #1f2937; border-color: #374151; }

.step-number {
  font-family: fantasy, cursive;
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-gold), #c9a05a);
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-gold) 40%, transparent);
  border: 3px solid transparent;
}
.dark .step-number {
  border-color: #1f2937;
}

.step-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; color: #111827; }
.dark .step-title { color: #fff; }
.step-desc  { font-size: 0.875rem; color: #6b7280; }
.dark .step-desc  { color: #9ca3af; }

.flow-arrow {
  font-size: 1.5rem;
  color: #d1d5db;
  font-weight: 700;
  flex-shrink: 0;
}
.dark .flow-arrow { color: #4b5563; }
/* On mobile, rotate arrows to point downward */
@media (max-width: 640px) { .flow-arrow { transform: rotate(90deg); } }


/* ══════════════════════════════════════════
   BANK CARDS
══════════════════════════════════════════ */
.bank-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border-width: 2px;
  border-style: solid;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}
.dark .bank-card { background: #1f2937; }

.bank-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  margin-top: 0.375rem;
}

/* ══════════════════════════════════════════
   MANUAL ACCORDION
══════════════════════════════════════════ */
.manual-step {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.dark .manual-step { background: #1f2937; border-color: #374151; }

.step-badge {
  font-family: fantasy, cursive;
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-gold), #c9a05a);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-gold) 40%, transparent);
  border: 2px solid transparent;
}
.dark .step-badge {
  border-color: #1f2937;
}

.code-inline {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.75rem;
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: var(--color-gold);
}
.dark .code-inline { background: #374151; }

kbd.kbd {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}
.dark kbd.kbd { background: #374151; border-color: #4b5563; color: #e5e7eb; }

/* ══════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════ */
.faq-item {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  transition: border-color 0.2s;
}
.dark .faq-item { background: #1f2937; border-color: #374151; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: #111827;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.faq-question:hover { background: #f9fafb; }
.dark .faq-question { color: #fff; }
.dark .faq-question:hover { background: rgba(255,255,255,.04); }

.faq-icon {
  width: 1.25rem; height: 1.25rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.7;
}
.dark .faq-answer { color: #d1d5db; }
.faq-answer a { color: var(--color-gold); text-decoration: underline; }

/* ══════════════════════════════════════════
   ROADMAP
══════════════════════════════════════════ */
.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #f3f4f6;
}
.dark .roadmap-item { background: #1f2937; border-color: #374151; }

.roadmap-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.roadmap-done     { border-color: rgba(129,215,23,.25); }
.roadmap-progress { border-color: rgba(251,191,36,.25); }
.roadmap-planned  { opacity: 0.65; }

/* ══════════════════════════════════════════
   FOOTER LINKS
══════════════════════════════════════════ */
.footer-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
  font-size: 0.875rem;
}
.dark .footer-link { color: #9ca3af; }
.footer-link:hover, .dark .footer-link:hover { color: var(--color-gold); }

/* ══════════════════════════════════════════
   ALERT / DISCLAIMER BOX
══════════════════════════════════════════ */
.alert-box {
  text-align: center;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(179,139,77,.3);
  background: rgba(179,139,77,.08);
}
.dark .alert-box { background: rgba(179,139,77,.12); border-color: rgba(179,139,77,.35); }

/* ══════════════════════════════════════════
   LEGAL PAGES (privacidad / términos / eula)
══════════════════════════════════════════ */
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.dark .legal-content h2 { color: #fff; }
.legal-content p, .legal-content li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4b5563;
}
.dark .legal-content p, .dark .legal-content li { color: #9ca3af; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--color-gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: #111827; font-weight: 600; }
.dark .legal-content strong { color: #fff; }

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
/* Pause on hover so users can read the message */
.marquee-track:hover { animation-play-state: paused; }

.marquee-content { flex-shrink: 0; }

/* Two identical copies ensure a seamless loop with no visible jump */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 0.35s ease both; }
