/* =========================================================
   Billetera Hera — Design System
   ========================================================= */

:root {
  --hera-green-dark: #0D4A2E;
  --hera-green: #1A6B45;
  --hera-green-light: #2E8B57;
  --hera-accent: #00C853;
  --hera-accent-dark: #00A040;
  --hera-white: #FFFFFF;
  --hera-off-white: #F5FAF7;
  --hera-gray: #6B7B75;
  --hera-gray-light: #E8F0EB;
  --hera-dark: #0A1F14;
  --hera-text: #1A2E22;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13, 74, 46, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 74, 46, 0.18);
  --transition: 0.25s ease;
  --container-max: 1140px;
}

/* =========================================================
   Reset & Base
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--hera-text);
  background: var(--hera-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* =========================================================
   Utilities
   ========================================================= */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: scale(1.04);
}

.btn-primary {
  background: var(--hera-accent);
  color: var(--hera-dark);
  box-shadow: 0 4px 18px rgba(0, 200, 83, 0.35);
}

.btn-primary:hover {
  background: var(--hera-accent-dark);
  box-shadow: 0 6px 24px rgba(0, 200, 83, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--hera-white);
  color: var(--hera-white);
}

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

.btn-nav {
  background: var(--hera-accent);
  color: var(--hera-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-nav:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4);
}

/* Scroll animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hera-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--hera-gray);
  max-width: 580px;
}

/* =========================================================
   Navbar
   ========================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--hera-green-dark);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(10, 31, 20, 0.35);
  background: var(--hera-dark);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--hera-white);
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--hera-accent);
}

.navbar-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  background: var(--hera-dark);
  padding: 1rem 1.25rem 1.5rem;
  gap: 0.25rem;
}

.navbar-menu.active {
  display: flex;
}

.navbar-menu li a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 0.6rem 0;
  font-weight: 500;
  transition: color var(--transition);
  font-size: 1rem;
}

.navbar-menu li a:hover {
  color: var(--hera-accent);
}

.navbar-toggle {
  background: none;
  border: none;
  color: var(--hera-white);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    background: none;
    padding: 0;
    align-items: center;
    gap: 0.25rem;
  }

  .navbar-menu li a {
    padding: 0.4rem 0.75rem;
    font-size: 0.95rem;
  }

  .navbar-toggle {
    display: none;
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--hera-dark) 0%, var(--hera-green-dark) 55%, var(--hera-green) 100%);
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* Decorative background circles */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.12) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.08) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: var(--hera-accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--hera-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: slideUp 0.8s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--hera-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: slideUp 0.8s 0.15s ease both;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUp 0.8s 0.3s ease both;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: slideUp 0.8s 0.45s ease both;
}

.hero-stat {
  color: rgba(255,255,255,0.9);
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--hera-accent);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.85rem;
  opacity: 0.75;
}

.hero-visual {
  display: none;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 6rem 0;
  }

  .hero-text {
    grid-column: 1;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Phone mockup (CSS-only) */
.phone-mockup {
  width: 220px;
  height: 420px;
  background: linear-gradient(160deg, #1A3A25 0%, #0D4A2E 100%);
  border-radius: 36px;
  border: 3px solid rgba(0, 200, 83, 0.35);
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
}

.phone-mockup::before {
  content: '';
  width: 70px;
  height: 6px;
  background: rgba(0, 200, 83, 0.4);
  border-radius: 3px;
  position: absolute;
  top: 14px;
}

.phone-screen-balance {
  text-align: center;
  color: white;
  margin-top: 1rem;
}

.phone-screen-balance .label {
  font-size: 0.7rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-screen-balance .amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--hera-accent);
}

.phone-screen-balance .currency {
  font-size: 0.85rem;
  opacity: 0.7;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
}

.phone-action-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(0, 200, 83, 0.2);
  border-radius: 10px;
  padding: 0.6rem 0.5rem;
  text-align: center;
  color: white;
  font-size: 0.7rem;
  font-family: var(--font);
}

.phone-action-btn .icon {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.2rem;
}

.phone-tx {
  width: 100%;
}

.phone-tx-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
}

.phone-tx-item .tx-label { opacity: 0.7; }
.phone-tx-item .tx-amount { color: var(--hera-accent); font-weight: 700; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* =========================================================
   Benefits Strip
   ========================================================= */

.benefits-strip {
  padding: 5rem 0;
  background: var(--hera-white);
}

.benefits-strip .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-strip .section-subtitle {
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-card {
  background: var(--hera-off-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border-left: 4px solid var(--hera-green-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--hera-green-dark), var(--hera-green-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hera-green-dark);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--hera-gray);
  line-height: 1.6;
}

/* =========================================================
   Features
   ========================================================= */

.features {
  padding: 5rem 0;
  background: var(--hera-off-white);
}

.features .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features .section-subtitle {
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feature-block:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .feature-block.reverse .feature-text { order: 2; }
  .feature-block.reverse .feature-visual { order: 1; }
}

.feature-text .section-label {
  margin-bottom: 0.5rem;
}

.feature-text h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--hera-green-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.feature-text p {
  color: var(--hera-gray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--hera-text);
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--hera-accent);
  color: var(--hera-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.feature-visual {
  border-radius: 20px;
  overflow: hidden;
}

.feature-illustration {
  background: linear-gradient(135deg, var(--hera-green-dark), var(--hera-green));
  border-radius: 20px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.feature-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 200, 83, 0.2) 0%, transparent 65%);
}

/* =========================================================
   How it Works
   ========================================================= */

.how-it-works {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--hera-dark) 0%, var(--hera-green-dark) 100%);
  color: var(--hera-white);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works .section-title {
  color: var(--hera-white);
}

.how-it-works .section-subtitle {
  color: rgba(255,255,255,0.7);
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps-container::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--hera-accent), rgba(0,200,83,0.2));
    z-index: 0;
  }
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--hera-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--hera-dark);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 8px rgba(0, 200, 83, 0.15);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--hera-white);
}

.step p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* =========================================================
   Points Program
   ========================================================= */

.points-program {
  padding: 5rem 0;
  background: var(--hera-white);
}

.points-program .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.points-program .section-subtitle {
  margin: 0 auto;
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
  .points-grid { grid-template-columns: repeat(3, 1fr); }
}

.points-card {
  background: var(--hera-off-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--hera-green-light);
}

.points-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.points-card .pts-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.points-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hera-green-dark);
  margin-bottom: 0.75rem;
}

.points-badge {
  background: linear-gradient(135deg, var(--hera-green-dark), var(--hera-green-light));
  color: var(--hera-white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.points-card p {
  font-size: 0.9rem;
  color: var(--hera-gray);
}

.points-footer {
  text-align: center;
  background: linear-gradient(135deg, var(--hera-green-dark), var(--hera-green-light));
  color: var(--hera-white);
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
}

.points-footer strong {
  color: var(--hera-accent);
}

/* =========================================================
   Trust / Security
   ========================================================= */

.trust {
  padding: 5rem 0;
  background: var(--hera-off-white);
}

.trust .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.trust .section-subtitle {
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-card {
  background: var(--hera-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
}

.trust-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hera-green-dark);
  margin-bottom: 0.6rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--hera-gray);
  line-height: 1.6;
}

/* =========================================================
   CTA Section
   ========================================================= */

.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--hera-dark) 0%, var(--hera-green-dark) 55%, var(--hera-green) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section .section-title {
  color: var(--hera-white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section .section-subtitle {
  color: rgba(255,255,255,0.75);
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta-section .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  position: relative;
}

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--hera-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--hera-white);
  margin-bottom: 0.75rem;
}

.footer-brand span { color: var(--hera-accent); }

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hera-accent);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--hera-accent);
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--hera-accent);
}
