/*
Theme Name: FinCripto Brasil
Theme URI: https://getbinance.brasil-fin.art
Author: FinCripto Brasil
Author URI: https://getbinance.brasil-fin.art
Description: Landing page theme for FinCripto Brasil — Binance affiliate site optimized for Brazilian market with PIX, bonus code BONUS369, and full SEO optimization.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: fincripto-brasil
Tags: one-page, affiliate, crypto, landing-page
*/

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #f5f5f5;
  color: #1a1a2e;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===========================
   TOPBAR / HEADER
=========================== */
#site-header {
  background: #1a1a2e;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: #F0B90B;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a2e;
  flex-shrink: 0;
}

.logo-text {
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.logo-text span {
  color: #F0B90B;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #F0B90B;
}

.lang-toggle {
  display: flex;
  gap: 4px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  background: #F0B90B;
  color: #1a1a2e;
  border-color: #F0B90B;
  font-weight: 600;
}

/* ===========================
   BONUS BAR
=========================== */
.bonus-bar {
  background: #F0B90B;
  padding: 10px 24px;
  text-align: center;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 600;
}

.bonus-bar .code-badge {
  display: inline-block;
  background: #1a1a2e;
  color: #F0B90B;
  padding: 2px 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  margin: 0 4px;
  letter-spacing: 1px;
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(240,185,11,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(240,185,11,0.15);
  border: 1px solid rgba(240,185,11,0.4);
  color: #F0B90B;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-section h1 {
  color: #ffffff;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #F0B90B;
  color: #1a1a2e;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary:hover {
  background: #e6b000;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240,185,11,0.35);
}

.btn-secondary {
  background: transparent;
  color: #F0B90B;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #F0B90B;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(240,185,11,0.1);
}

/* ===========================
   METRICS GRID
=========================== */
.metrics-section {
  background: #ffffff;
  padding: 36px 24px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.metric-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  transition: transform 0.2s;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: #F0B90B;
}

.metric-value {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
}

.metric-label {
  font-size: 12px;
  color: #6c757d;
  margin-top: 4px;
  display: block;
}

/* ===========================
   SECTIONS GENERAL
=========================== */
.section {
  padding: 48px 24px;
  max-width: 860px;
  margin: 0 auto;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F0B90B;
  display: inline-block;
}

.section-bg {
  background: #ffffff;
}

.section-bg-alt {
  background: #f8f9fa;
}

/* ===========================
   INFO TABLE
=========================== */
.info-table-wrap {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.info-table tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table tr:hover {
  background: #fffdf0;
}

.info-table td {
  padding: 13px 18px;
}

.info-table td:first-child {
  color: #6c757d;
  font-size: 13px;
  width: 50%;
}

.info-table td:last-child {
  font-weight: 600;
  color: #1a1a2e;
  text-align: right;
}

.info-table .highlight-row td:last-child {
  color: #d4a000;
}

/* ===========================
   CALLOUT / BONUS BOX
=========================== */
.callout-box {
  background: linear-gradient(135deg, #fffdf0 0%, #fff9e0 100%);
  border: 2px solid #F0B90B;
  border-radius: 16px;
  padding: 28px 28px;
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
}

.callout-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.callout-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.callout-box p {
  font-size: 14px;
  color: #495057;
  line-height: 1.7;
  margin-bottom: 16px;
}

.code-display {
  display: inline-block;
  background: #1a1a2e;
  color: #F0B90B;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 8px 0;
}

.bonus-amount {
  display: inline-block;
  background: #F0B90B;
  color: #1a1a2e;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-left: 8px;
}

/* ===========================
   STEPS
=========================== */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.step-item:hover {
  border-color: #F0B90B;
  transform: translateX(4px);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F0B90B;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.6;
}

/* ===========================
   APP DOWNLOAD
=========================== */
.app-section-inner {
  background: #1a1a2e;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.app-section-inner h2 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.app-section-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  margin-bottom: 24px;
}

.app-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 160px;
  text-align: left;
}

.app-btn:hover {
  background: rgba(240,185,11,0.15);
  border-color: #F0B90B;
}

.app-btn-icon {
  font-size: 28px;
}

.app-btn-small {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

.app-btn-name {
  font-size: 14px;
  font-weight: 600;
}

/* ===========================
   FAQ
=========================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: #F0B90B;
}

.faq-question {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.faq-question::before {
  content: '✦';
  color: #F0B90B;
  font-size: 12px;
  flex-shrink: 0;
}

.faq-question::after {
  content: '+';
  margin-left: auto;
  font-size: 18px;
  color: #F0B90B;
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 16px 42px;
  font-size: 13px;
  color: #6c757d;
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: #1a1a2e;
  padding: 40px 24px 24px;
  margin-top: 0;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  font-size: 18px;
  margin-bottom: 8px;
  display: block;
}

.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links h4 {
  color: #F0B90B;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #F0B90B;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,185,11,0.1);
  border: 1px solid rgba(240,185,11,0.25);
  color: #F0B90B;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 640px) {
  .header-nav {
    display: none;
  }

  .hero-section {
    padding: 40px 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  .section {
    padding: 36px 16px;
  }

  .footer-top {
    flex-direction: column;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-btn {
    width: 100%;
    max-width: 280px;
  }

  .callout-box {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   UTILITIES
=========================== */
.text-center { text-align: center; }
.text-gold { color: #F0B90B; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.full-width { max-width: 100%; }

/* ===========================
   WORDPRESS DEFAULTS
=========================== */
.wp-block-image { margin: 1.5rem 0; }
.aligncenter { display: block; margin: 0 auto; }
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
