/* Aviator Predictor SAGA — Landing Page */

:root {
  --bg: #01160d;
  --bg-card: #012a1c;
  --bg-card-hover: #013322;
  --border: rgba(0, 255, 136, 0.25);
  --green: #00ff88;
  --green-dark: #00c96a;
  --green-glow: rgba(0, 255, 136, 0.45);
  --blue: #00b0ff;
  --purple: #aa00ff;
  --pink: #ff4081;
  --yellow: #ffd54f;
  --text: #ffffff;
  --text-muted: #8fa89a;
  --radius: 16px;
  --radius-sm: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  padding-bottom: calc(80px + var(--safe-bottom));
  overflow-x: hidden;
  max-width: 100vw;
}

/* Background — Comandante SAGA */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-bg-img {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(420px, 75vw);
  height: auto;
  opacity: 0.14;
  filter: blur(1px);
  transform-origin: left center;
  transform: translateY(-50%) scaleX(-1);
  mask-image: linear-gradient(to left, black 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(to left, black 30%, transparent 85%);
}

.site-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 136, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 176, 255, 0.05), transparent),
    linear-gradient(180deg, rgba(1, 22, 13, 0.3) 0%, rgba(1, 22, 13, 0.85) 60%, var(--bg) 100%);
}

.urgency-bar,
.page,
.sticky-cta,
.whatsapp-fab {
  position: relative;
  z-index: 1;
}

/* Urgency bar */
.urgency-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #01301f, #012a1c, #01301f);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Layout */
.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}

@media (min-width: 768px) {
  .page {
    max-width: 640px;
    padding: 32px 24px 48px;
  }
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 8px 0 24px;
  overflow: visible;
  margin-bottom: 4px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-commander {
  position: relative;
  left: -43%;
  top: 50%;
  width: 65%;
  max-width: 260px;
  height: auto;
  opacity: 0.35;
  transform-origin: right center;
  transform: translateY(-50%);
  mask-image: linear-gradient(to left, black 25%, transparent 88%);
  -webkit-mask-image: linear-gradient(to left, black 25%, transparent 88%);
  filter: drop-shadow(0 0 24px rgba(0, 255, 136, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-commander {
    right: 10%;
    width: 52%;
    max-width: 280px;
    opacity: 0.45;
  }

  .site-bg-img {
    opacity: 0.18;
  }
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.logo-img {
  width: 160px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 32px var(--green-glow);
  object-fit: cover;
}

.hero-title {
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-title .accent { color: var(--green); }

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 auto;
}

.hero-sub strong { color: var(--text); }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.glow-card {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
}

.section-label { margin-bottom: 8px; }

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-title.center { text-align: center; }

.section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Badges */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
}

.badge-outline {
  font-size: 0.68rem;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
}

.badge-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* Testimonials Carousel */
.testimonials-section {
  overflow: hidden;
}

.testimonials-swiper {
  margin-top: 4px;
  padding-bottom: 36px;
}

.testimonials-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonials-swiper .swiper-slide img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.3);
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: transform 0.2s, background 0.2s;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--green);
  transform: scale(1.25);
  box-shadow: 0 0 8px var(--green-glow);
}

.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  margin-top: -28px;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 50%;
  color: var(--green);
  transition: background 0.2s, transform 0.2s;
}

.testimonials-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
  background: rgba(0, 255, 136, 0.22);
  transform: scale(1.08);
}

.testimonials-swiper .swiper-button-prev { left: 2px; }
.testimonials-swiper .swiper-button-next { right: 2px; }

@media (max-width: 400px) {
  .testimonials-swiper .swiper-button-prev,
  .testimonials-swiper .swiper-button-next {
    display: none;
  }
}

/* Video */
.video-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(0, 255, 136, 0.35);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

.video-wrapper .plyr {
  --plyr-color-main: var(--green);
  border-radius: var(--radius-sm);
}

.video-wrapper .plyr--video {
  background: #000;
}

/* Preview: Candles */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.candles-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.candles-scroll::-webkit-scrollbar { display: none; }

.candle {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.candle.blue { background: linear-gradient(160deg, #0a3d6b, #1565c0); }
.candle.purple { background: linear-gradient(160deg, #4a148c, #7b1fa2); }
.candle.pink { background: linear-gradient(160deg, #880e4f, #c2185b); }

.candle .mult {
  font-size: 0.95rem;
  font-weight: 800;
}

.candle .time {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.7);
}

.candle .round {
  font-size: 0.55rem;
  background: rgba(0,0,0,0.45);
  border-radius: 4px;
  padding: 2px 4px;
  margin-top: 2px;
}

/* Signal box */
.signal-box {
  text-align: center;
  padding: 20px 12px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 255, 136, 0.15);
}

.signal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.signal-main {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.signal-target {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.signal-info {
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.signal-after {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.signal-after strong { color: var(--text); }

.signal-wait {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--yellow);
}

/* Radar */
.radar-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.radar-col {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.05);
}

.radar-col h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-row:last-child { border-bottom: none; }

.stat-row span { color: var(--text-muted); }
.stat-row strong { font-weight: 700; white-space: nowrap; }

.bar-row {
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.bar-row span { color: var(--text-muted); }

.bar-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease-out;
}

.bar-fill.blue { background: var(--blue); }
.bar-fill.purple { background: var(--purple); }
.bar-fill.pink { background: var(--pink); }

@media (min-width: 600px) {
  .radar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .radar-col:last-child { grid-column: 1 / -1; }
}

/* Benefits */
.benefits { margin-bottom: 24px; }

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.benefit-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.benefits-list strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.benefits-list p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  text-align: center;
  padding: 28px 20px;
}

.price-tag { margin-bottom: 20px; }

.price-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.price-value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  margin-bottom: 8px;
}

.currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 8px;
  margin-right: 2px;
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}

.cents {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 8px;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 24px;
}

.guarantee strong {
  display: block;
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 4px;
}

.guarantee p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA Button */
.btn-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 60px;
  padding: 18px 28px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  color: #001a0f;
  background: linear-gradient(135deg, #00ff88 0%, #00e676 35%, #00ffaa 65%, #00ff88 100%);
  background-size: 300% auto;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 0 0 0 rgba(0, 255, 136, 0.6),
    0 6px 28px rgba(0, 255, 136, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background-position 0.5s;
  -webkit-tap-highlight-color: transparent;
  animation: ctaGradient 3s ease infinite;
}

.btn-cta-pulse {
  animation: ctaGradient 3s ease infinite, ctaPulse 2s ease-in-out infinite;
}

.btn-cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  animation: ctaShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.btn-cta-text {
  position: relative;
  z-index: 1;
}

.btn-cta-arrow {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  animation: ctaArrow 1.2s ease-in-out infinite;
}

@keyframes ctaGradient {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(0, 255, 136, 0.55),
      0 6px 28px rgba(0, 255, 136, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(0, 255, 136, 0),
      0 8px 36px rgba(0, 255, 136, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}

@keyframes ctaShine {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

@keyframes ctaArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.btn-cta:hover,
.btn-cta:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 4px rgba(0, 255, 136, 0.25),
    0 10px 40px rgba(0, 255, 136, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: ctaGradient 1.5s ease infinite;
}

.btn-cta:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta,
  .btn-cta-pulse,
  .btn-cta-shine,
  .btn-cta-arrow {
    animation: none;
  }
}

.cta-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ */
.faq { margin-bottom: 32px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 16px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding: 28px 0 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.08);
}

.social-whatsapp {
  background: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.social-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.social-youtube {
  background: #ff0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.3);
}

.social-youtube:hover {
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45);
}

.social-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
}

.social-instagram:hover {
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
}

.footer-copy {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-legal {
  font-size: 0.62rem;
  line-height: 1.65;
  color: rgba(143, 168, 154, 0.75);
  text-align: justify;
  margin-bottom: 12px;
  max-width: 100%;
}

.footer-legal strong {
  color: rgba(143, 168, 154, 0.9);
  font-weight: 600;
}

.footer-disclaimer {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: rgba(1, 22, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

.btn-cta-sm {
  flex: 1;
  min-height: 48px;
  font-size: 0.88rem;
  padding: 12px 16px;
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 32px; }
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: calc(88px + var(--safe-bottom));
  right: 16px;
  z-index: 99;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

@media (min-width: 768px) {
  .whatsapp-fab { bottom: 24px; }
}
