/* styles.css */
/* ============================================
   H2 TIPS / DARK TECH THEME (GREEN PRIMARY)
   ============================================ */

/* ============================================
   1) CSS VARIABLES
   ============================================ */
:root {
  /* Brand */
  --primary: #00ff9d;
  --primary-light: #34d399;
  --primary-dark: #00d982;
  --secondary: #8b5cf6;
  --secondary-light: #a78bfa;

  /* Accent */
  --accent: #ff0055;
  --accent-light: #ff1744;

  /* Backgrounds */
  --bg-dark: #050505;
  --bg-card: #0b0f12;
  --bg-card-light: #10161c;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.10);
  --border-color-light: rgba(255, 255, 255, 0.06);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* ============================================
   2) GLOBAL / RESET
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body{
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection{
  background-color: rgba(0,255,157,0.25);
  color: var(--text-primary);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible{
  outline: 2px solid rgba(0,255,157,0.7);
  outline-offset: 3px;
}

/* ============================================
   3) UTILITIES
   ============================================ */
.container{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 768px){
  .container{ padding: 0 var(--spacing-md); }
}

.w-full{ width: 100%; }

.gradient-text{
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   4) BUTTONS
   ============================================ */
.btn{
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn-primary{
  background-color: var(--primary);
  color: #02140c;
  box-shadow: 0 0 0 1px rgba(0,255,157,.35), 0 12px 28px rgba(0,255,157,.18);
}
.btn-primary:hover{
  background-color: var(--primary-dark);
  box-shadow: 0 0 0 1px rgba(0,255,157,.55), 0 18px 44px rgba(0,255,157,.26);
  transform: translateY(-2px);
}

.btn-outline{
  background-color: transparent;
  color: var(--primary);
  border: 1px solid rgba(0,255,157,0.45);
}
.btn-outline:hover{
  background-color: rgba(0,255,157,0.08);
  border-color: rgba(0,255,157,0.85);
}

.btn-lg{
  padding: 1rem 2rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

/* ============================================
   5) HEADER
   ============================================ */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(5,5,5,0.78);
  backdrop-filter: blur(10px);
}
.header .container{
  height: 5rem;
  display: flex;
  align-items: center;
}
.header-content{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.3s ease;
}
.logo:hover{ opacity: 0.85; }

.logo-img{
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,255,157,.12));
}
@media (max-width: 768px){
  .logo-img{ height: 30px; }
}

.nav-desktop{
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-mobile{
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: rgba(5,5,5,0.95);
  border-top: 1px solid var(--border-color);
}

.menu-toggle{
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 51;
}

@media (max-width: 768px){
  .nav-desktop{ display: none; }
  .menu-toggle{ display: block; }
  .nav-mobile.active{ display: flex; }
}

/* ============================================
   6) HERO SECTION
   ============================================ */
   
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 5rem;
  padding: var(--spacing-2xl) 0;
}

.hero-bg{
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,255,157,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(128,128,128,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128,128,128,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero .container{ position: relative; z-index: 10; }

.hero-content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: center;
}
@media (max-width: 1024px){
  .hero-content{ grid-template-columns: 1fr; }
}

.hero-text{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,255,157,0.25);
  background-color: rgba(0,255,157,0.08);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.pulse{
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}
.pulse::before{
  content:'';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--primary);
  animation: pulse-animation 2s infinite;
}
.pulse::after{
  content:'';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.75;
}
@keyframes pulse-animation{
  0%, 100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: 0.5; transform: scale(1.2); }
}
.badge span:last-child{
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
}

.hero-title{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
@media (max-width: 768px){
  .hero-title{ font-size: 2.1rem; }
}

.hero-description{
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-buttons{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
}

@media (max-width: 768px){
  .hero{ margin-top: 4rem; padding: var(--spacing-xl) 0; }
}

/* ============================================
   7) HERO IMAGE — MODELO ANCORADA (SEM “FLUTUAR”)
   ============================================ */
.hero-image{
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end; /* cola no chão */
  min-height: 600px;
  overflow: visible;
}
@media (max-width: 1024px){
  .hero-image{ justify-content: center; min-height: 520px; }
}

.hero-model{
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 640px;
  overflow: visible;
}

/* glow atrás (grande e suave) */
.model-glow{
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 40% 30%, rgba(0,255,157,0.20), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(139,92,246,0.14), transparent 60%);
  filter: blur(110px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

/* piso (sombra + linha de brilho) */
.model-floor{
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 420px;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}
.model-floor::before{
  content:"";
  position:absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 100%;
  height: 76px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.75), transparent 72%);
  filter: blur(12px);
  opacity: 0.95;
}
.model-floor::after{
  content:"";
  position:absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: 72%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,255,157,0.22), transparent);
  opacity: 0.55;
}

/* MODELO: grande + colada no chão (sem flutuar) */
.model-img{
  position: absolute;
  left: 50%;
  bottom: -200px;
  transform: translateX(-50%) scale(1);
  width: 360px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,0.78));
  object-fit: contain;
  object-position: bottom center;

  /* mata o recorte e “cola” no piso */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 12%, black 100%);
  mask-image: linear-gradient(to top, transparent 0%, black 12%, black 100%);
}

/* ============================================
   7.1) CALLOUT (OPCIONAL)
   - Se NÃO quiser usar, apague o bloco HTML do callout
   ============================================ */
.model-callout{
  position: absolute;
  left: 50%;
  bottom: 145px;
  transform: translateX(-50%);
  width: min(340px, 88vw);
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(5, 8, 12, 0.68);
  border: 1px solid rgba(0,255,157,0.22);
  backdrop-filter: blur(12px);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.92);
  box-shadow: 0 14px 50px rgba(0,0,0,0.35);
  z-index: 3;
  text-align: center;
}
.model-callout .dot{
  display:inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 8px;
  box-shadow: 0 0 0 6px rgba(0,255,157,0.12);
}
.model-callout .tail{
  position: absolute;
  left: 26px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: rgba(5, 8, 12, 0.68);
  border-left: 1px solid rgba(0,255,157,0.22);
  border-bottom: 1px solid rgba(0,255,157,0.22);
  transform: rotate(-45deg);
  border-bottom-left-radius: 6px;
}

/* mobile hero-model */
@media (max-width: 768px){
  .hero-model{ height: 560px; }
  .model-img{ width: 300px; }
  .model-floor{ width: 320px; }
  .model-callout{ bottom: 125px; }
}

/* ============================================
   8) FEATURES SECTION
   ============================================ */
.features{
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.features-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card{
  position: relative;
  background-color: rgba(16,22,28,0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
}
.feature-card:hover{
  background-color: rgba(16,22,28,0.85);
  border-color: rgba(0,255,157,0.25);
}
.feature-card::before{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, transparent, var(--primary));
  transition: height 0.3s ease;
}
.feature-card:hover::before{ height: 100%; }

.feature-icon{
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border: 1px solid;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon{ transform: scale(1.1); }

.feature-icon.yellow{
  background-color: rgba(234,179,8,0.1);
  border-color: rgba(234,179,8,0.5);
  color: #eab308;
}
.feature-icon.blue{
  background-color: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.5);
  color: #3b82f6;
}
.feature-icon.green{
  background-color: rgba(0,255,157,0.12);
  border-color: rgba(0,255,157,0.5);
  color: var(--primary);
}
.feature-icon.purple{
  background-color: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.5);
  color: var(--secondary);
}

.feature-card h3{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.feature-card p{
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.corner-accent{
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover .corner-accent{ opacity: 1; }
.corner-accent.top-right{
  top: 0.75rem; right: 0.75rem;
  border-left: none;
  border-bottom: none;
}
.corner-accent.bottom-left{
  bottom: 0.75rem; left: 0.75rem;
  border-right: none;
  border-top: none;
}

/* ============================================
   9) SOCIAL PROOF SECTION
   ============================================ */
.social-proof{
  position: relative;
  padding: var(--spacing-2xl) 0;
  background-color: rgba(0,0,0,0.2);
  overflow: hidden;
}

.social-proof-bg{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background-color: rgba(0,255,157,0.045);
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.social-proof .container{ position: relative; z-index: 10; }

.social-proof-header{
  text-align: center;
  margin-bottom: 3rem;
}

.badge-secondary{
  background-color: rgba(0,255,157,0.08);
  border-color: rgba(0,255,157,0.22);
  color: var(--primary);
}

.social-proof-header h2{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}
.social-proof-header p{
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.results-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.result-card{
  background-color: rgba(16,22,28,0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.result-card:hover{ border-color: rgba(0,255,157,0.25); }

.result-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.result-match{
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.result-market{
  font-weight: 600;
  color: var(--text-primary);
}
.result-odd{
  background-color: rgba(0,255,157,0.15);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.875rem;
  border: 1px solid rgba(0,255,157,0.25);
}
.result-divider{
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  margin: 1rem 0;
}
.result-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.result-status{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.05em;
}
.result-profit{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.82);
  font-family: 'Courier New', monospace;
}

/* Stats Bar */
.stats-bar{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(255,255,255,0.04);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}
.stat{ text-align: center; }
.stat-value{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label{
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ============================================
   10) CTA SECTION
   ============================================ */
.cta-section{
  padding: var(--spacing-2xl) 0;
  background-color: rgba(0,255,157,0.04);
  text-align: center;
}
.cta-section h2{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-section p{
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* CTA/Social responsive */
@media (max-width: 768px){
  .social-proof-header h2{ font-size: 1.875rem; }
  .cta-section h2{ font-size: 1.875rem; }
  .stats-bar{ grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-value{ font-size: 2rem; }
}
@media (max-width: 480px){
  :root{
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
  }
  .results-grid{ grid-template-columns: 1fr; }
  .stats-bar{ grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================
   11) FOOTER
   ============================================ */
.footer{
  border-top: 1px solid var(--border-color);
  background-color: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}
.footer-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.footer-description{
  color: var(--text-secondary);
  max-width: 420px;
}
.footer-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.footer-links a{
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}
.footer-links a:hover{ color: var(--primary); }

.footer-divider{
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}
.footer-bottom{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}
.footer-disclaimer{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.age-badge{
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================
   12) MODAL
   ============================================ */
.modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal.active{ display: flex; }

.modal-overlay{
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.modal-content{
  position: relative;
  z-index: 101;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.modal-close{
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 102;
}
.modal-close:hover{ color: var(--text-primary); }

.modal-form h2,
.modal-success h2{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
.modal-form p,
.modal-success p{
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.form-group{ margin-bottom: 1.5rem; }
.form-group label{
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.form-group input{
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}
.form-group input:focus{
  outline: none;
  border-color: rgba(0,255,157,0.55);
  background-color: rgba(255,255,255,0.07);
}
.form-group input::placeholder{ color: var(--text-muted); }

.form-disclaimer{
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

.modal-success{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.success-icon{
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(0,255,157,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  border: 1px solid rgba(0,255,157,0.25);
}
.success-message{ font-size: 0.875rem; color: var(--text-secondary); }


.section-copy {
  margin-top: 32px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  opacity: 0.88;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.01em;
}

.section-copy strong {
  color: var(--primary-light);
}