/* ─────────────────────────────────────────
   MASTER TRADERS — Stylesheet v2
   Theme: Dark Navy + Cyan (Base Layout)
   ───────────────────────────────────────── */

:root {
  --cyan: #00D4FF;
  --cyan-light: #33DFFF;
  --cyan-dark: #00A3C4;
  --cyan-glow: rgba(0,212,255,0.25);
  --purple: #6366F1;
  --purple-dark: #4F46E5;
  --navy: #0A0E27;
  --navy-soft: #0F1535;
  --navy-card: #111840;
  --navy-mid: #1A2348;
  --navy-border: rgba(0,212,255,0.12);
  --white: #F0F6FF;
  --white-dim: rgba(240,246,255,0.68);
  --white-muted: rgba(240,246,255,0.42);
  --white-faint: rgba(240,246,255,0.18);
  --green: #10B981;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ─── Typography ─── */
.font-display { font-family: 'Playfair Display', Georgia, serif; }

.text-cyan-gradient {
  background: linear-gradient(135deg, #00D4FF 0%, #33DFFF 45%, #00A3C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Eyebrow labels ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ─── Dividers ─── */
.cyan-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
}
.cyan-line-short {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #00D4FF, #33DFFF);
  display: block;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #6366F1, #4F46E5, #3B82F6);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(99,102,241,0.3);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-15deg);
  animation: shimmer 2.8s infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(99,102,241,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--cyan);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(0,212,255,0.4);
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(0,212,255,0.07);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}

/* ─── Nav ─── */
.nav-link {
  position: relative;
  color: var(--white-dim);
  transition: color 0.25s;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* ─── Hero overlay ─── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,14,39,0.97) 0%,
    rgba(10,14,39,0.90) 38%,
    rgba(10,14,39,0.55) 62%,
    rgba(10,14,39,0.1)  100%
  );
}

/* ─── Cards ─── */
.card-dark {
  background: rgba(17,24,64,0.7);
  border: 1px solid var(--navy-border);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card-dark:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 28px rgba(0,212,255,0.08);
}

.glass {
  background: rgba(15,21,53,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 12px;
}
.glass-dark {
  background: rgba(10,14,39,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 12px;
}
.card-hover { transition: all 0.35s ease; }
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.3) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px rgba(0,212,255,0.1);
}
.glow-cyan { box-shadow: 0 0 30px rgba(0,212,255,0.3), 0 0 60px rgba(0,212,255,0.1); }

/* ─── Stats band ─── */
.stats-band {
  background: #080C20;
  border-top: 1px solid rgba(0,212,255,0.1);
  border-bottom: 1px solid rgba(0,212,255,0.1);
}

/* ─── Pillar icon box ─── */
.pillar-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,212,255,0.2);
  background: rgba(0,212,255,0.06);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.pillar-icon:hover,
.pillar-wrap:hover .pillar-icon {
  border-color: rgba(0,212,255,0.45);
  background: rgba(0,212,255,0.12);
  box-shadow: 0 0 16px rgba(0,212,255,0.15);
}

/* ─── Resultado card ─── */
.resultado-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  background: var(--navy-card);
}
.resultado-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 20px rgba(0,212,255,0.1);
}
.resultado-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.resultado-card:hover img { transform: scale(1.03); }

/* ─── Chart frame ─── */
.chart-frame {
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* ─── Preço card ─── */
.preco-card {
  background: rgba(17,24,64,0.8);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.preco-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366F1, #00D4FF, #6366F1);
}

/* ─── Ticker tag ─── */
.ticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ─── Mesh / radial backgrounds ─── */
.mesh-bg {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(99,102,241,0.06) 0%, transparent 45%);
}

/* ─── Animations ─── */
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 180%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 24px rgba(99,102,241,0.3); }
  50%       { box-shadow: 0 4px 40px rgba(99,102,241,0.6), 0 0 20px rgba(0,212,255,0.2); }
}
@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 12px rgba(0,212,255,0.3); }
  50%       { box-shadow: 0 0 28px rgba(0,212,255,0.6); }
}

.animate-float       { animation: float 4s ease-in-out infinite; }
.animate-fadeInUp    { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fadeInLeft  { animation: fadeInLeft 0.8s ease-out forwards; }
.animate-pulse-glow  { animation: pulse-glow 2.5s ease-in-out infinite; }
.animate-pulse-cyan  { animation: pulse-cyan 2.5s ease-in-out infinite; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--cyan-dark); border-radius: 10px; }

/* ─── Mobile ─── */
@media (max-width: 767px) {
  nav a.btn-primary, nav a.btn-outline { display: none !important; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

/* ─── FAQ ─── */
.faq-details > summary { list-style: none; }
.faq-details > summary::-webkit-details-marker { display: none; }
.faq-details[open] .faq-arrow { transform: rotate(45deg); }
.faq-details { border-radius: 12px; }
.faq-question + .faq-question { margin-top: 0; }

/* ─── Print cards (auto-height para screenshots WhatsApp) ─── */
.prints-grid .resultado-card img { object-position: top center; }

/* ─── Lightbox ─── */
#lb-overlay { transition: opacity 0.25s; }
#lb-overlay.lb-open { display: flex !important; }
#lb-close:hover, #lb-prev:hover, #lb-next:hover { background: rgba(0,212,255,0.22) !important; }
.lb-trigger { cursor: zoom-in; }

/* ─── Prints slider box (quadrado) ─── */
.mt-box {
  background: #000;
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,0.12);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.3s;
}
.mt-box:hover { border-color: rgba(0,212,255,0.35); }
.mt-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ─── Feedback slider box ─── */
.fb-box {
  background: #000;
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s;
}
.fb-box:hover { border-color: rgba(0,212,255,0.35); }
.fb-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* ─── Background effects ─── */
@keyframes orb-drift {
  0%,  100% { transform: translate(0, 0) scale(1); }
  33%        { transform: translate(28px, -22px) scale(1.06); }
  66%        { transform: translate(-18px, 16px) scale(0.94); }
}
@keyframes grid-breathe {
  0%, 100% { opacity: 0.035; }
  50%       { opacity: 0.065; }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bg-dot-grid {
  background-image: radial-gradient(circle, rgba(0,212,255,0.22) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: grid-breathe 7s ease-in-out infinite;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  animation: orb-drift ease-in-out infinite;
}
.bg-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.06), rgba(0,212,255,0.12), rgba(0,212,255,0.06), transparent);
  pointer-events: none;
  animation: scanline 8s linear infinite;
}

@keyframes float-a {
  0%,100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50%      { transform: translateY(-18px) rotate(6deg); opacity: 1; }
}
@keyframes float-b {
  0%,100% { transform: translateY(0px) rotate(0deg); opacity: 0.5; }
  50%      { transform: translateY(-24px) rotate(-8deg); opacity: 0.9; }
}
@keyframes float-c {
  0%,100% { transform: translateY(0px) scale(1); opacity: 0.6; }
  50%      { transform: translateY(-14px) scale(1.08); opacity: 1; }
}
@keyframes float-d {
  0%,100% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
  33%      { transform: translateY(-20px) translateX(8px); opacity: 0.8; }
  66%      { transform: translateY(-8px) translateX(-6px); opacity: 0.6; }
}
.fl-a { animation: float-a ease-in-out infinite; }
.fl-b { animation: float-b ease-in-out infinite; }
.fl-c { animation: float-c ease-in-out infinite; }
.fl-d { animation: float-d ease-in-out infinite; }
