/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0d1b2e;
  --blue:    #1a5eb8;
  --blue-lt: #2e7dd4;
  --accent:  #00c4ff;
  --white:   #ffffff;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-400:#94a3b8;
  --gray-600:#475569;
  --gray-800:#1e293b;
  --radius:  12px;
  --radius-lg:20px;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:0 12px 48px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}

.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 8px rgba(26,94,184,.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: .9rem;
  transition: color .2s;
}

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

.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}

.btn-nav:hover {
  background: var(--blue-lt) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: .3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 12px;
  border-top: 1px solid var(--gray-200);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  padding: 8px 0;
}

.btn-nav-mobile {
  background: var(--blue);
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: 50px;
  text-align: center;
  font-weight: 600 !important;
  margin-top: 4px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #122748 55%, #0d2040 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}

.shape-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -150px; right: -100px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; left: 10%;
}

.shape-3 {
  width: 300px; height: 300px;
  background: var(--blue-lt);
  top: 40%; left: 40%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero logo */
.hero-brand {
  margin-bottom: 28px;
}

.hero-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
  background: white;
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #a8d4ff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--blue-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: #94b8d8;
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(30,94,184,.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,94,184,.5);
}

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.stat-label {
  font-size: .75rem;
  color: #94b8d8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* Phone Mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.phone-mockup {
  width: 300px;
  height: 580px;
  background: #1a1a2e;
  border-radius: 40px;
  border: 3px solid rgba(255,255,255,.15);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
}

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

.phone-screen { height: 100%; display: flex; flex-direction: column; background: #ece5dd; }

.chat-header {
  background: #075e54;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.chat-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 3px; mix-blend-mode: multiply; }

.chat-name { color: var(--white); font-weight: 600; font-size: .85rem; }
.chat-status { color: #b2dfdb; font-size: .7rem; }

.chat-body { flex: 1; overflow: hidden; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }

.msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: .75rem;
  line-height: 1.45;
  animation: fadeUp .4s ease forwards;
}

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

.msg.bot {
  background: var(--white);
  align-self: flex-start;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  color: #333;
}

.msg.user {
  background: #dcf8c6;
  align-self: flex-end;
  border-radius: 12px 0 12px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  color: #333;
}

.chat-options { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }

.chat-option {
  background: #f0f4f8;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: .7rem;
  color: var(--blue);
  cursor: pointer;
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-dark {
  background: var(--navy);
  padding: 96px 0;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-800);
  margin: 12px 0 16px;
}

.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: #94b8d8; }

.section-header p { color: var(--gray-600); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: #dbeafe;
  color: var(--blue);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section-tag.light {
  background: rgba(255,255,255,.1);
  color: var(--accent);
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.tab {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--gray-200);
  background: none;
  color: var(--gray-600);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: .2s;
}

.tab.active, .tab:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.hidden { display: none; }

/* ===== STEPS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

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

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.step-num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

.step-arrow {
  font-size: 1.8rem;
  color: var(--blue);
  align-self: center;
  padding: 0 12px;
  opacity: .5;
}

/* ===== CARDS MODE ===== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.card-mode {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

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

.card-mode.featured {
  background: linear-gradient(135deg, rgba(30,94,184,.5), rgba(46,125,212,.3));
  border-color: var(--blue-lt);
  box-shadow: 0 0 0 1px var(--blue-lt), var(--shadow-lg);
}

.card-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}

.card-icon { font-size: 2.4rem; margin-bottom: 16px; }

.card-mode h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-mode p {
  color: #94b8d8;
  font-size: .9rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.card-mode ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card-mode li { font-size: .85rem; color: #b8d4f0; }

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.benefit-icon { font-size: 2rem; margin-bottom: 14px; }
.benefit h3   { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.benefit p    { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 60%, #1a7dd8 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.btn-large { padding: 18px 44px; font-size: 1.05rem; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-logo {
  width: 120px;
  height: auto;
  margin-bottom: 16px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 10px rgba(26,94,184,.15));
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}

.contact-item:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,94,184,.08);
}

.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-label { font-size: .75rem; color: var(--gray-400); font-weight: 500; margin-bottom: 2px; }
.contact-value { font-weight: 600; color: var(--gray-800); font-size: .95rem; }

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,94,184,.1);
}

.btn-full { width: 100%; text-align: center; cursor: pointer; border: none; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 32px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: 10px;
  padding: 4px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.footer-copy { color: var(--gray-400); font-size: .85rem; }

.footer-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4ade80;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s;
}

.footer-whatsapp:hover { color: #86efac; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content   { grid-template-columns: 1fr; }
  .hero-visual    { display: none; }
  .benefits-grid  { grid-template-columns: 1fr 1fr; }
  .cards-grid     { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .steps          { flex-direction: column; align-items: center; }
  .step-arrow     { transform: rotate(90deg); padding: 8px 0; }
  .step           { max-width: 100%; width: 100%; }
}

@media (max-width: 600px) {
  .nav-links      { display: none; }
  .hamburger      { display: flex; }
  .mobile-menu.open { display: flex; }
  .benefits-grid  { grid-template-columns: 1fr; }
  .hero           { padding: 80px 0 48px; }
  .hero-stats     { flex-wrap: wrap; gap: 16px; }
  .stat-divider   { display: none; }
  .contact-form   { padding: 24px 20px; }
  .footer-inner   { flex-direction: column; text-align: center; }
  .hero-cta       { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
}
