/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #E8430A;
  --primary-dark: #C43508;
  --primary-light: #FFF3E6;
  --accent: #FFB347;
  --accent-light: #FFF8ED;
  --dark: #1A1A2E;
  --gray-900: #2D2D3F;
  --gray-600: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F9FAFB;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #E8430A 0%, #FF6B35 50%, #FFB347 100%);
  --gradient-dark: linear-gradient(135deg, #C43508 0%, #E8430A 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

a { text-decoration: none; color: inherit; }

.accent { color: var(--primary); }

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-top: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-dark);
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(232,67,10,0.35); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-nav {
  padding: 10px 24px;
  background: var(--gradient-dark);
  color: var(--white);
  border-radius: 50px;
}
.btn-nav:hover { box-shadow: 0 4px 15px rgba(232,67,10,0.3); }

.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
}
.logo-svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-600);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--gradient);
  padding: 140px 0 100px;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,179,71,0.1);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 { margin-bottom: 20px; color: var(--white); }
.hero-content .accent { color: var(--accent); }
.hero-sub { font-size: 1.15rem; opacity: 0.92; margin-bottom: 32px; max-width: 500px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; }

.hero-card {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: rotate(2deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-12px); }
}

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-avatar { flex-shrink: 0; }
.card-name { font-weight: 700; font-size: 1rem; }
.card-school { font-size: 0.8rem; color: var(--gray-600); }
.card-balance { background: var(--primary-light); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.card-label { font-size: 0.8rem; color: var(--gray-600); }
.card-amount { font-size: 2rem; font-weight: 800; color: var(--primary); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.chip-ok { background: #F0FDF4; color: #16A34A; }
.chip-block { background: #FEF2F2; color: #DC2626; }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ===== STATS ===== */
.stats {
  padding: 60px 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { padding: 24px; }

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 16px;
  margin: 0 auto 12px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-number::after { content: '+'; }
.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ===== SCHOOLS MARQUEE ===== */
.schools {
  padding: 80px 0;
  background: var(--gray-100);
  text-align: center;
}
.schools h2 { margin-bottom: 40px; }

.schools-marquee {
  overflow: hidden;
  margin: 0 -24px;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee 35s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.school-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  border: 1px solid var(--gray-200);
}

.schools-cta {
  margin-top: 32px;
  color: var(--gray-600);
}
.schools-cta a {
  color: var(--primary);
  font-weight: 600;
}
.schools-cta a:hover { text-decoration: underline; }

/* ===== BENEFITS ===== */
.benefits-parents {
  padding: 100px 0;
  background: var(--white);
}

.benefits-kids {
  padding: 100px 0;
  background: var(--gray-100);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.benefits-grid.reverse .benefits-visual { order: -1; }

.benefits-content h2 { margin-bottom: 32px; }

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius);
}

.benefits-list li strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}
.benefits-list li p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Phone Mockup */
.phone-mockup {
  background: var(--dark);
  border-radius: 36px;
  padding: 12px;
  width: 300px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  padding: 24px 20px;
  min-height: 420px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary);
}
.phone-time { color: var(--gray-400); }

.phone-balance {
  text-align: center;
  margin-bottom: 28px;
}
.phone-balance p { font-size: 0.85rem; color: var(--gray-600); }
.phone-balance h3 { font-size: 2.2rem; font-weight: 800; color: var(--primary); }

.phone-transactions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.transaction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
}
.transaction span { display: flex; align-items: center; gap: 6px; }
.tx-amount { font-weight: 700; color: #EF4444; }
.tx-amount.positive { color: #10B981; }

.phone-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Kid Card */
.kid-card {
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.kid-icon { margin-bottom: 20px; }
.kid-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.kid-card p { opacity: 0.92; font-size: 1rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-icon { margin-bottom: 16px; }
.cta-content h2 { margin-bottom: 12px; }
.cta-content p { opacity: 0.92; margin-bottom: 32px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.step {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--gray-200);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--gradient-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(232,67,10,0.3);
}

.step-icon { margin-bottom: 16px; margin-top: 8px; }
.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--gray-100);
}
.faq h2 { text-align: center; margin-bottom: 48px; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--primary-light); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
  color: var(--primary);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
}

.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--primary); }

.faq-item p {
  padding: 0 24px 20px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 24px; }

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input {
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.contact-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,67,10,0.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo .logo-text { color: var(--white); }
.footer-brand > p { font-size: 0.9rem; margin-top: 8px; }

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }

  .hero { padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid.reverse .benefits-visual { order: 0; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .logo { justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hero-card { width: 280px; }
  .phone-mockup { width: 260px; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
