/* rth-explorer.css — landing page do app RTH World Explorer */

/* ─── Layout base ─── */

.explorer-page {
  position: relative;
  z-index: 1;
  padding-top: 56px; /* altura do nav */
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ─── Hero ─── */

.explorer-hero {
  display: flex;
  align-items: center;
  min-height: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.hero-eyebrow {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid var(--neon-ciano, #00f5ff);
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-ciano, #00f5ff);
  margin-bottom: 1.5rem;
  font-family: 'Cascadia Code', ui-monospace, monospace;
}

.hero-title {
  font-family: 'RubikGlitch', cursive;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.35), 0 0 80px rgba(0, 245, 255, 0.12);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-family: 'Cascadia Code', ui-monospace, monospace;
}

/* ─── Badges de loja ─── */

.store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 10px 20px;
  border: 1px solid rgba(0, 245, 255, 0.35);
  border-radius: 12px;
  background: rgba(0, 245, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: ui-monospace, monospace;
  transition: border-color 0.2s, background 0.2s;
}

.store-badge:hover {
  border-color: rgba(0, 245, 255, 0.7);
  background: rgba(0, 245, 255, 0.08);
  color: #fff;
}

.store-badge-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.store-badge-label {
  display: flex;
  flex-direction: column;
}

.store-badge-store {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.55;
  line-height: 1;
}

.store-badge-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ─── Phone Mockup ─── */

.phone-frame {
  position: relative;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(0,245,255,0.06) 0%, rgba(5,4,15,0.97) 100%);
  border: 1.5px solid rgba(0, 245, 255, 0.3);
  box-shadow:
    0 0 0 1px rgba(0, 245, 255, 0.08),
    0 0 40px rgba(0, 245, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 14px 10px 18px;
}

.phone-frame::before {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: rgba(0, 245, 255, 0.18);
  border-radius: 3px;
  margin: 0 auto 10px;
}

.phone-frame--hero {
  width: 230px;
  flex-shrink: 0;
}

.phone-frame--showcase {
  width: 200px;
  flex-shrink: 0;
}

.phone-frame--card {
  width: 140px;
  flex-shrink: 0;
}

.phone-screen {
  aspect-ratio: 9 / 19.5;
  background: rgba(3, 3, 12, 0.95);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 245, 255, 0.1);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder visual para onde vai a foto */
.foto-aqui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  pointer-events: none;
}

.foto-aqui-linha {
  width: 30px;
  height: 1px;
  background: rgba(0, 245, 255, 0.2);
}

.foto-aqui-texto {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 245, 255, 0.25);
  font-family: ui-monospace, monospace;
}

/* ─── Feature Showcase (alternado) ─── */

.explorer-showcases {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.feature-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(0, 245, 255, 0.07);
}

.feature-showcase.flipped {
  grid-template-columns: 1fr auto;
}

.feature-showcase.flipped .feature-phone { order: 2; }
.feature-showcase.flipped .feature-text  { order: 1; }

.feature-number {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-ciano, #00f5ff);
  opacity: 0.5;
  margin-bottom: 0.7rem;
  font-family: ui-monospace, monospace;
}

.feature-name {
  font-family: 'RubikGlitch', cursive;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 0 25px rgba(0, 245, 255, 0.18);
  text-wrap: balance;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.68);
  font-family: 'Cascadia Code', ui-monospace, monospace;
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 1.5rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  padding: 4px 12px;
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.18);
  border-radius: 100px;
  font-size: 0.7rem;
  color: rgba(0, 245, 255, 0.75);
  letter-spacing: 0.05em;
  font-family: ui-monospace, monospace;
}

/* ─── Section heading ─── */

.section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2 {
  font-family: 'RubikGlitch', cursive;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  text-wrap: balance;
}

.section-heading h2 .accent-roxo {
  color: var(--neon-roxo, #bf00ff);
  text-shadow: var(--glow-roxo, 0 0 8px #bf00ff);
}

.section-heading h2 .accent-ciano {
  color: var(--neon-ciano, #00f5ff);
  text-shadow: var(--glow-ciano, 0 0 8px #00f5ff);
}

.section-heading p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  font-family: ui-monospace, monospace;
  max-width: 500px;
}

/* ─── Modules Grid ─── */

.explorer-modules {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(0, 245, 255, 0.07);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.module-card {
  background: rgba(5, 4, 15, 0.65);
  border: 1px solid rgba(0, 245, 255, 0.1);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.module-card:hover {
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.05);
}

.module-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.module-card-name {
  font-family: 'RubikGlitch', cursive;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
  text-align: center;
}

.module-card-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  font-family: ui-monospace, monospace;
  text-align: center;
}

/* ─── Integração ─── */

.explorer-integration {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(191, 0, 255, 0.12);
  background: rgba(191, 0, 255, 0.025);
}

.integration-flow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.int-step {
  flex: 1;
  min-width: 160px;
  background: rgba(5, 4, 15, 0.7);
  border: 1px solid rgba(191, 0, 255, 0.2);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.int-step-num {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(191, 0, 255, 0.6);
  margin-bottom: 0.4rem;
  font-family: ui-monospace, monospace;
}

.int-step-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: ui-monospace, monospace;
  line-height: 1.45;
}

.int-arrow {
  color: rgba(191, 0, 255, 0.45);
  font-size: 1.1rem;
  flex-shrink: 0;
  font-family: ui-monospace, monospace;
}

/* ─── CTA ─── */

.explorer-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(0, 245, 255, 0.07);
  text-align: center;
}

.cta-title {
  font-family: 'RubikGlitch', cursive;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 30px rgba(0, 245, 255, 0.25);
}

.cta-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: ui-monospace, monospace;
  margin-bottom: 2.5rem;
}

.cta-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Decoration bar ─── */

.explorer-decoration-bar {
  width: 40px;
  height: 2px;
  background: var(--neon-ciano, #00f5ff);
  box-shadow: var(--glow-ciano, 0 0 8px #00f5ff);
  margin-bottom: 1.5rem;
}

.explorer-decoration-bar.roxo {
  background: var(--neon-roxo, #bf00ff);
  box-shadow: var(--glow-roxo, 0 0 8px #bf00ff);
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-phone {
    display: flex;
    justify-content: center;
    order: -1;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .store-badges {
    justify-content: center;
  }

  .feature-showcase,
  .feature-showcase.flipped {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-showcase .feature-phone,
  .feature-showcase.flipped .feature-phone {
    display: flex;
    justify-content: center;
    order: -1;
  }

  .feature-showcase.flipped .feature-text { order: 2; }

  .feature-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-tags {
    justify-content: center;
  }

  .section-heading {
    text-align: center;
  }

  .section-heading p {
    margin-left: auto;
    margin-right: auto;
  }

  .explorer-decoration-bar {
    margin-left: auto;
    margin-right: auto;
  }

  .integration-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .int-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}
