/* =============================================================================
   INFUSER DESIGN SYSTEM — IDENTIDADE VISUAL REAL
   Paleta: Preto Profundo / Grafite / Laranja Âmbar / Verde Terminal
   Inspirado no design minimalista de engenharia e alta conversão
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Fundo e Superfícies (Preto e Chumbo Profundo) */
  --bg-primary: #09090b;
  --bg-surface: #121215;
  --bg-card: #18181b;
  --bg-card-hover: #202024;
  --bg-terminal: #000000;
  
  /* Bordas Sutis e Delicadas */
  --border-subtle: #27272a;
  --border-medium: #3f3f46;
  --border-focus: #f97316;
  
  /* Tipografia */
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  /* Cores de Destaque Reais do Infuser */
  --accent-orange: #f97316;
  --accent-orange-hover: #ea580c;
  --accent-orange-glow: rgba(249, 115, 22, 0.15);
  
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  
  --accent-cyan: #06b6d4;

  /* Formas e Sombras */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --glow-orange: 0 0 20px -3px rgba(249, 115, 22, 0.35);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.015em;
}

/* Layout */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Textos e Destaques */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #f4f4f5 70%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange {
  color: var(--accent-orange);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(249, 115, 22, 0.1);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #86efac;
  border-color: rgba(16, 185, 129, 0.3);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--glow-orange);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: var(--border-medium);
  color: #ffffff;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

/* Cartões */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.card:hover {
  border-color: var(--border-medium);
  background-color: var(--bg-card);
}

.card-highlight {
  border-color: var(--accent-orange);
  background-color: #151518;
  position: relative;
}

.card-highlight:hover {
  border-color: #fb923c;
}

/* Navegação */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(9, 9, 11, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
  cursor: pointer;
}

.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
}

/* Grid de Produtos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

/* Preços */
.price-container {
  margin: 18px 0;
}

.price-strike {
  text-decoration: line-through;
  color: var(--text-dim);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 2px;
}

.price-current {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.price-current span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Terminal & Code Block */
.terminal {
  background-color: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.7;
}

.terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1e;
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

/* Acordeão */
.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
}

.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #f4f4f5;
}

.accordion-title:hover {
  color: var(--accent-orange);
}

.accordion-body {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Modais */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: #121215;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
}
