/* SALSA Reload Landing Page V1 */
:root {
  --primary: #5b4cf0;
  --primary-2: #8b39ee;
  --blue: #1f62d8;
  --green: #27c77d;
  --navy: #0d1638;
  --text: #34405f;
  --muted: #6f7894;
  --bg: #f8f9ff;
  --card: #ffffff;
  --border: #e8eaf5;
  --shadow: 0 18px 50px rgba(48, 51, 112, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232,234,245,.8);
}
.nav-wrap {
  min-height: 78px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
}
.brand img {
  width: 205px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}
.nav-menu a {
  position: relative;
  padding: 28px 0;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: translateX(-50%);
  transition: width .2s ease;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 22px; }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--primary), var(--primary-2));
  box-shadow: 0 12px 28px rgba(91,76,240,.24);
}
.btn-ghost { border-color: var(--border); background: #fff; }
.btn-outline {
  border-color: #7a72f5;
  color: #3f45c9;
  background: #fff;
}
.btn-light { background: #fff; color: #4f46e5; }
.btn-lg { min-height: 54px; padding: 0 28px; border-radius: 14px; font-size: 15px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 42px;
  background:
    radial-gradient(circle at 80% 22%, rgba(92,75,240,.09), transparent 25%),
    radial-gradient(circle at 94% 72%, rgba(39,199,125,.06), transparent 20%),
    linear-gradient(180deg, #fff 0%, #fbfbff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -110px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(47,98,229,.13), rgba(130,84,244,.08), rgba(39,199,125,.06));
  filter: blur(2px);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow, .section-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.hero h1 {
  max-width: 680px;
  margin: 14px 0 18px;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: .99;
  letter-spacing: -.045em;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--blue), var(--primary), var(--primary-2), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 38px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  color: #4f46e5;
  border: 1px solid #dadcf6;
  background: #fff;
  border-radius: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(52,53,104,.07);
}
.trust-item strong { display: block; font-size: 13px; }
.trust-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

/* Hero phone */
.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}
.phone-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(91,76,240,.16), rgba(91,76,240,.04) 58%, transparent 59%);
  border: 1px dashed rgba(91,76,240,.20);
}
.phone-shell {
  position: relative;
  width: 300px;
  height: 600px;
  padding: 10px;
  overflow: hidden;
  border: 8px solid #111522;
  border-radius: 45px;
  background: #111522;
  box-shadow: 0 30px 70px rgba(18,23,56,.25);
}
.phone-shell img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  object-position: top;
}
.phone-notch {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 98px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #111522;
}
.float-card {
  position: absolute;
  min-width: 92px;
  padding: 14px 16px;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.94);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(48,51,112,.14);
  backdrop-filter: blur(12px);
}
.float-card strong { display: block; margin-top: 7px; font-size: 12px; }
.float-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin: 0 auto;
  color: #fff;
  border-radius: 14px;
  font-size: 23px;
  font-weight: 800;
}
.purple { background: linear-gradient(135deg, #7357f4, #a43ef0); }
.blue { background: linear-gradient(135deg, #2d77ef, #4763ea); }
.green { background: linear-gradient(135deg, #1fbf71, #42d990); }
.violet { background: linear-gradient(135deg, #9253ef, #7448f0); }
.float-pulsa { top: 115px; left: 40px; }
.float-pln { top: 195px; right: 18px; }
.float-bill { top: 330px; left: 20px; }
.float-data { bottom: 92px; right: 0; }

/* Services */
.service-strip {
  position: relative;
  z-index: 4;
  padding: 20px 0 14px;
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.service-card {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(46,50,107,.06);
}
.service-icon, .feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  color: #fff;
  border-radius: 13px;
  font-size: 21px;
  font-weight: 800;
}
.service-card strong { display: block; font-size: 13px; }
.service-card p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

/* General sections */
.section { padding: 82px 0; }
.section-heading {
  max-width: 740px;
  margin: 0 auto 38px;
  text-align: center;
}
.section-heading h2,
.app-showcase h2,
.cta-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.section-heading p, .app-showcase p { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(48,51,112,.06);
}
.feature-card h3 { margin: 18px 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.app-showcase { background: var(--bg); }
.showcase-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-weight: 600;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--green));
  border-radius: 50%;
  font-size: 11px;
}
.showcase-card {
  max-height: 570px;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.showcase-card img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* FAQ */
.faq-section { background: #fff; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.faq-grid details {
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(48,51,112,.05);
}
.faq-grid summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--primary);
}
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid details p {
  margin: -6px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

/* CTA */
.cta-section { padding: 20px 0 90px; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px 52px;
  color: #fff;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, #214fd9, #5d4df0 52%, #913af0);
  box-shadow: 0 24px 60px rgba(79,70,229,.24);
}
.cta-card h2 { max-width: 720px; }
.cta-card p { margin: 0; color: rgba(255,255,255,.82); }
.section-kicker.light { color: rgba(255,255,255,.76); }

/* Footer */
footer {
  padding: 52px 0 24px;
  border-top: 1px solid var(--border);
  background: #fbfbfe;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, .8fr);
  gap: 44px;
}
.footer-brand img {
  width: 210px;
  height: 62px;
  object-fit: contain;
  object-position: left;
}
.footer-brand p {
  max-width: 370px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
footer h4 { margin: 9px 0 14px; font-size: 14px; }
footer a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-size: 13px;
}
footer a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #8a91aa;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-wrap { grid-template-columns: 190px 1fr auto; gap: 18px; }
  .nav-menu { gap: 20px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 720px); }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; }
  .nav-menu, .nav-actions {
    display: none;
  }
  .nav-menu.open {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav-menu.open a { padding: 13px 12px; }
  .nav-menu.open a::after { display: none; }

  .hero { padding-top: 48px; }
  .hero-grid,
  .showcase-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .trust-row { max-width: 620px; margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 620px; }
  .showcase-grid { gap: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 20px, 520px); }
  .brand img { width: 178px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-row { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { min-height: 525px; transform: scale(.88); margin: -25px -20px; }
  .phone-shell { width: 270px; height: 540px; }
  .phone-glow { width: 430px; height: 430px; }
  .float-pulsa { left: 6px; }
  .float-pln { right: 0; }
  .float-bill { left: 0; }
  .float-data { right: -4px; bottom: 56px; }
  .service-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .cta-card { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}



/* =========================
   SALSA Reload Animation V2
   ========================= */

/* Smooth page entrance */
body.preload .hero-copy > *,
body.preload .hero-visual,
body.preload .service-card {
  opacity: 0;
}

body.loaded .hero-copy .eyebrow {
  animation: fadeUp .65s ease forwards;
}
body.loaded .hero-copy h1 {
  animation: fadeUp .8s ease .08s forwards;
}
body.loaded .hero-copy .hero-lead {
  animation: fadeUp .8s ease .18s forwards;
}
body.loaded .hero-copy .hero-actions {
  animation: fadeUp .8s ease .28s forwards;
}
body.loaded .hero-copy .trust-row {
  animation: fadeUp .8s ease .38s forwards;
}
body.loaded .hero-visual {
  animation: heroPhoneIn .95s cubic-bezier(.18,.89,.32,1.28) .15s forwards;
}

/* Floating phone */
.phone-shell {
  animation: phoneFloat 5.5s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* Glowing circle pulse */
.phone-glow {
  animation: pulseGlow 4.2s ease-in-out infinite;
}

/* Floating small cards */
.float-card {
  animation: floatY 4.6s ease-in-out infinite;
  will-change: transform;
}
.float-pulsa { animation-delay: 0s; }
.float-pln { animation-delay: .9s; }
.float-bill { animation-delay: 1.6s; }
.float-data { animation-delay: 2.3s; }

/* Hero decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}
.hero-orb-one {
  width: 220px;
  height: 220px;
  left: -40px;
  top: 60px;
  background: radial-gradient(circle, rgba(91,76,240,.18), rgba(91,76,240,.02) 70%, transparent 72%);
  animation: driftOne 9s ease-in-out infinite;
}
.hero-orb-two {
  width: 300px;
  height: 300px;
  right: -60px;
  top: 100px;
  background: radial-gradient(circle, rgba(39,199,125,.12), rgba(39,199,125,.02) 70%, transparent 72%);
  animation: driftTwo 11s ease-in-out infinite;
}

/* Button shimmer */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -120%;
  width: 80px;
  height: 140%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  transform: skewX(-18deg);
}
.btn-primary:hover::after {
  animation: shine .9s ease;
}

/* Card hover */
.service-card,
.feature-card,
.faq-grid details,
.showcase-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, opacity .4s ease;
}
.service-card:hover,
.feature-card:hover,
.faq-grid details:hover,
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(48,51,112,.11);
  border-color: rgba(91,76,240,.20);
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.delay-1.in-view { transition-delay: .08s; }
.reveal.delay-2.in-view { transition-delay: .16s; }
.reveal.delay-3.in-view { transition-delay: .24s; }
.reveal.delay-4.in-view { transition-delay: .32s; }

/* Navbar scroll effect */
.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(19, 24, 54, .06);
}

/* Optional subtle movement for nav CTA */
.nav-actions .btn-primary {
  animation: softBreath 3.8s ease-in-out infinite;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

@keyframes heroPhoneIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: .95;
  }
  50% {
    transform: scale(1.06);
    opacity: .65;
  }
}

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

@keyframes driftOne {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(24px, -18px, 0); }
}

@keyframes driftTwo {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-22px, 20px, 0); }
}

@keyframes shine {
  from { left: -120%; }
  to { left: 140%; }
}

@keyframes softBreath {
  0%, 100% { box-shadow: 0 12px 28px rgba(91,76,240,.24); }
  50% { box-shadow: 0 16px 34px rgba(91,76,240,.34); }
}


/* SEO content section */
.seo-content {
  padding-top: 62px;
  padding-bottom: 62px;
  background: #ffffff;
}
.seo-content-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.seo-content h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -.035em;
}
.seo-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.seo-copy p:first-child { margin-top: 0; }
.seo-copy p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .seo-content-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
