/* ==========================================
   YouShop — Estilos principais (homepage)
   Paleta: bg #0a0a0f | accent #c8f135 | card #13131a
   ========================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg-card: #13131a;
  --bg-card2: #1e1e2e;
  --accent: #c8f135;
  --accent-dark: #a8d020;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

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

.highlight { color: var(--accent); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { text-decoration: none; display: flex; align-items: center; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--text); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: #000;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-nav:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(200,241,53,0.12);
  color: var(--accent);
  border: 1px solid rgba(200,241,53,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
  display: inline-block;
}

.btn-primary:hover { transform: translateY(-2px); background: var(--accent-dark); }

.btn-ghost {
  color: var(--text);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.btn-ghost:hover { opacity: 1; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 12px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Dashboard card */
.hero-visual { display: flex; justify-content: center; }

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.card-live { font-size: 11px; color: var(--accent); font-weight: 600; }

.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric {
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value { font-size: 16px; font-weight: 700; }
.metric-label { font-size: 10px; color: var(--text-muted); }
.metric-delta { font-size: 11px; font-weight: 600; }
.metric-delta.up { color: var(--accent); }

.card-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  background: rgba(200,241,53,0.2);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}

.chart-bar.active { background: var(--accent); }

/* ===== SECTIONS COMUNS ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  color: var(--text-muted);
  text-align: center;
  font-size: 17px;
  margin-bottom: 56px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg-card); }

.steps {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  flex: 1;
  min-width: 200px;
  max-width: 220px;
  text-align: center;
}

.step-icon { font-size: 32px; margin-bottom: 12px; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.step-arrow {
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(200,241,53,0.3);
  transform: translateY(-3px);
}

.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== CTA ===== */
.cta-section { background: var(--bg-card); }

.cta-inner { text-align: center; }
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding-top: 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 32px;
}

.footer-brand .logo-text { font-size: 20px; font-weight: 800; }
.footer-brand p { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 16px 24px;
}
.footer-bottom p { font-size: 11px; color: var(--text-muted); }

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 40px;
  }

  .hero-visual { display: none; }

  .nav-links { display: none; }

  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
