/* ============================================
   page-home.css — Betano App Android Landing
   Todas as seções da landing page
   ============================================ */

/* --- Body offset para header fixo --- */
body {
  padding-top: var(--header-height);
}

/* --- HERO --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, #cc4000 100%);
  padding: 48px 0 32px;
  overflow: hidden;
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content h1 {
  color: var(--color-white);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 540px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}

.hero__trust span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero__trust .trust-icon {
  color: var(--color-accent);
  font-weight: 700;
}

.hero__phone {
  display: flex;
  justify-content: center;
}

.hero__phone-mockup {
  position: relative;
  width: 220px;
  max-width: 100%;
}

.phone-frame {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.phone-screen {
  position: absolute;
  top: 5%;
  left: 8%;
  width: 84%;
  height: 90%;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.phone-screen__logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.phone-screen__text {
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

@media (min-width: 601px) {
  .hero {
    padding: 64px 0 48px;
  }
}

@media (min-width: 1025px) {
  .hero__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .hero__phone-mockup {
    width: 280px;
  }
}

/* --- STEPS BLOCK --- */
.steps-block {
  background: var(--color-surface);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.steps-block__title {
  text-align: center;
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step-counter;
}

.step-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 12px;
}

.step-card__icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  margin-top: 0;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.steps-cta {
  text-align: center;
  margin-top: 28px;
}

@media (min-width: 601px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- SEÇÃO GERAL DE CONTEÚDO --- */
.content-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-section h2 .section-icon {
  font-size: 1.3em;
}

/* --- FEATURE CARDS --- */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.feature-card__body h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  margin-top: 0;
}

.feature-card__body p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

@media (min-width: 601px) {
  .feature-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- APP vs SITE COMPARISON TABLE --- */
.compare-table {
  margin: 24px 0;
}

/* --- GALLERY --- */
.app-gallery {
  padding: 16px 0;
}

.gallery-scroll {
  padding: 8px 0 16px;
}

.gallery-item {
  width: 200px;
  height: 380px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}

.gallery-item__label {
  font-weight: 600;
  margin-top: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gallery-item__screen {
  width: 80%;
  height: 70%;
  background: linear-gradient(180deg, var(--color-dark) 0%, #1a2332 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.gallery-item__screen span {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* --- PROMO BLOCKS --- */
.promo-block {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.promo-block::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,80,0,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.promo-block h3 {
  color: var(--color-white);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 12px;
  position: relative;
}

.promo-block p {
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 24px;
  position: relative;
}

.promo-block .btn {
  position: relative;
}

/* --- AUTHOR BLOCK --- */
.author-block {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin: 40px 0;
}

.author-block__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
  margin: 0 auto;
}

.author-block__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 0;
}

.author-block__role {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.author-block__bio {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.author-block__updated {
  font-size: 0.78rem;
  color: var(--color-muted);
}

@media (min-width: 601px) {
  .author-block {
    grid-template-columns: auto 1fr;
    text-align: left;
    padding: 36px 32px;
  }

  .author-block__photo {
    margin: 0;
  }
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 40px 18px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  font-family: inherit;
  line-height: 1.4;
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.4rem;
  color: var(--color-muted);
  transition: transform var(--transition-base);
  line-height: 1;
}

.faq-item.active .faq-item__question::after {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 600px;
  padding-bottom: 18px;
}

.faq-item__answer p,
.faq-item__answer ul {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.faq-item__answer ul {
  padding-left: 20px;
  list-style: disc;
}

.faq-item__answer ul li {
  margin-bottom: 6px;
}

/* --- LEGAL SECTIONS --- */
.legal-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.legal-section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.legal-section ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 16px;
}

.legal-section li {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 6px;
}

/* --- PROS/CONS --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0;
}

.pros-box, .cons-box {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.pros-box {
  background: rgba(26,174,90,0.06);
  border: 1px solid rgba(26,174,90,0.15);
}

.cons-box {
  background: rgba(225,25,0,0.04);
  border: 1px solid rgba(225,25,0,0.1);
}

.pros-box h3, .cons-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.pros-box ul li::marker {
  color: var(--color-accent);
}

.cons-box ul li::marker {
  color: var(--color-live);
}

.pros-box ul, .cons-box ul {
  padding-left: 20px;
  list-style: disc;
}

.pros-box li, .cons-box li {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

@media (min-width: 601px) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- TRUST BADGES ROW --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--color-surface);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.trust-badge .badge-icon {
  color: var(--color-accent);
  font-size: 0.85rem;
}

/* --- INSTALL GUIDE (visual steps) --- */
.install-guide {
  margin: 24px 0;
}

.install-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-bottom: 28px;
  align-items: start;
}

.install-step__marker {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.install-step__content h3 {
  margin-top: 4px;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.install-step__content p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.install-step__screenshot {
  width: 100%;
  max-width: 300px;
  height: 180px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 8px;
}

/* --- RESPONSIBLE GAMING BOX --- */
.responsible-box {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a2332 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  margin: 32px 0;
}

.responsible-box h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.responsible-box ul {
  padding-left: 20px;
  list-style: disc;
}

.responsible-box li {
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.responsible-box .helplines {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.responsible-box .helplines p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

/* --- BONUS TABLE HIGHLIGHT --- */
.bonus-highlight {
  background: linear-gradient(135deg, var(--color-primary) 0%, #cc4000 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  margin: 24px 0;
}

.bonus-highlight h3 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.bonus-highlight p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

/* --- ODDS CHIP --- */
.odds-chip {
  display: inline-flex;
  padding: 4px 10px;
  background: rgba(30,142,70,0.1);
  color: var(--color-odds);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.odds-chip--boost {
  background: rgba(255,80,0,0.1);
  color: var(--color-primary);
}

/* --- LIVE INDICATOR --- */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-live);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--color-live);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* --- Pix highlight --- */
.pix-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(26,174,90,0.06);
  border: 1px solid rgba(26,174,90,0.15);
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.pix-highlight__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.pix-highlight__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* --- Scroll indicator para galeria --- */
.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 8px;
}

@media (min-width: 601px) {
  .scroll-hint {
    display: none;
  }
}

/* --- Padding bottom para mobile CTA bar --- */
@media (max-width: 600px) {
  main {
    padding-bottom: calc(var(--mobile-cta-height) + 16px);
  }
}

/* --- Generated browser screenshot for install guide --- */
.install-step__screenshot--image {
  height: auto;
  max-width: 520px;
  padding: 0;
  overflow: hidden;
  border-style: solid;
  background: var(--color-white);
}

.install-step__screenshot--image img {
  display: block;
  width: 100%;
  height: auto;
}
