/* =============================================
   CryptoMinds Pro IA — Main Stylesheet
   Dark Crypto Premium Design System
   ============================================= */

/* =============================================
   ⚠️  MODO DARK FIXO (solicitação stakeholder 2025-04)
   Para reativar o toggle: remover a regra abaixo
   e descomentar o listener em theme.js
   ============================================= */
#theme-toggle {
  display: none !important;
}


/* === CSS Variables & Design Tokens === */
:root {
  /* Dark Mode (Forest & Gold) */
  --bg-primary: #080f0c;
  /* Dark forest base */
  --bg-secondary: #0d1a14;
  /* Slightly lighter dark */
  --bg-navbarlight: #0d1a14;
  /* Sidebar dark mode background (Forest dark) */

  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(152, 101, 70, 0.3);
  /* #986546 with opacity */
  --border-hover: rgba(238, 183, 20, 0.5);
  /* #EEB714 with opacity */

  --btc-orange: #EEB714;
  /* Reusing var name to avoid breaking existing code, mapped to Gold */
  --btc-orange-dark: #c0910b;
  --purple-vivid: #054534;
  /* Mapped to Dark Green */
  --purple-muted: #032b20;
  --purple-neon: #EEB714;
  /* Mapped to Gold for glow effects */
  --blue-accent: #C79B73;
  /* Mapped to Beige */
  --green-profit: #10b981;
  --red-loss: #ef4444;
  --yellow-accent: #EEB714;

  --text-primary: #f0ece6;
  --text-secondary: rgba(240, 236, 230, 0.75);
  --text-muted: rgba(240, 236, 230, 0.45);

  --gradient-hero: linear-gradient(135deg, #EEB714 0%, #986546 50%, #054534 100%);
  --gradient-primary: linear-gradient(135deg, #EEB714 0%, #C79B73 100%);
  --gradient-purple: linear-gradient(135deg, #10b981 0%, #C79B73 100%);
  --gradient-green: linear-gradient(135deg, #054534 0%, #10b981 100%);
  --gradient-card: linear-gradient(135deg, rgba(238, 183, 20, 0.1) 0%, rgba(5, 69, 52, 0.3) 100%);

  --shadow-color-main: rgba(238, 183, 20, 0.15);
  /* EEB714 */
  --shadow-color-dark: rgba(0, 0, 0, 0.4);

  --shadow-card: 0 4px 32px var(--shadow-color-dark), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-glow: 0 0 60px var(--shadow-color-main);
  --shadow-purple: 0 0 60px rgba(5, 69, 52, 0.4);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-main: 'Outfit', 'Inter', sans-serif;
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #f8f3ef;
  /* Off-white tint of Beige */
  --bg-secondary: #ebdcd0;
  /* Lighter Beige */
  --bg-navbarlight: #C79B73;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfcfc;
  --border: rgba(152, 101, 70, 0.15);
  /* #986546 */
  --border-hover: rgba(5, 69, 52, 0.3);
  /* #054534 */

  --btc-orange: #EEB714;
  --btc-orange-dark: #c0910b;
  --purple-vivid: #054534;
  --purple-muted: #032b20;
  --purple-neon: #EEB714;
  --blue-accent: #986546;

  --text-primary: #000000;
  --text-secondary: #054534;
  --text-muted: #986546;

  --gradient-hero: linear-gradient(135deg, #054534 0%, #986546 50%, #EEB714 100%);
  --gradient-primary: linear-gradient(135deg, #054534 0%, #032b20 100%);
  --gradient-purple: linear-gradient(135deg, #054534 0%, #10b981 100%);
  --gradient-green: linear-gradient(135deg, #10b981 0%, #054534 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(242, 231, 221, 0.5) 100%);

  --shadow-color-main: rgba(5, 69, 52, 0.1);
  --shadow-color-dark: rgba(152, 101, 70, 0.15);

  --shadow-card: 0 8px 30px var(--shadow-color-dark), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 40px var(--shadow-color-main);
  --shadow-purple: 0 0 40px rgba(238, 183, 20, 0.2);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--btc-orange) var(--bg-secondary);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--btc-orange);
  border-radius: 3px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* === UTILITY CLASSES === */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === APP LAYOUT (SIDEBAR + MAIN) === */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* === SIDEBAR === */
.sidebar {
  width: 250px;
  background: var(--bg-navbarlight);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  z-index: 1000;
  transition: var(--transition);
}

.main-content {
  flex: 1;
  margin-left: 250px;
  width: calc(100vw - 250px);
  max-width: calc(100vw - 250px);
  overflow-x: hidden;
  min-height: 100vh;
  display: block;
}

/* Sidebar Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-extrabold);
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  padding: 0 8px;
}

.logo-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.light-logo {
  display: none;
}

[data-theme="light"] .dark-logo {
  display: none;
}

[data-theme="light"] .light-logo {
  display: inline-block;
}

.logo-pro {
  color: var(--btc-orange);
}

.logo-ia {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text {
  font-size: 17px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* Sidebar Links */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  color: var(--btc-orange);
  background: rgba(238, 183, 20, 0.08);
  border-left-color: rgba(238, 183, 20, 0.4);
}

.nav-link.active-nav,
.nav-link.active {
  color: var(--btc-orange);
  background: rgba(238, 183, 20, 0.12);
  border-left-color: var(--btc-orange);
  font-weight: var(--fw-semibold);
}

.nav-badge-new {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  margin-left: auto;
  letter-spacing: 0.5px;
}

/* Topbar (Inside Main Content) */
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 28px;
  min-height: 64px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Force visibility */
  opacity: 1 !important;
  visibility: visible !important;
}

/* Logo no topbar — visível apenas no mobile (sidebar fica oculta) */
.topbar-logo-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.topbar-logo-mobile .logo-img {
  height: 28px;
  width: auto;
}
.topbar-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.2px;
}

@media (max-width: 768px) {
  .topbar-logo-mobile {
    display: flex;
  }
  .topbar {
    justify-content: flex-start;
  }
  #nav-actions-container {
    margin-left: auto;
  }
  #theme-toggle {
    display: none;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: var(--shadow-color-main);
  border-color: var(--btc-orange);
}

.btn-primary {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: var(--fw-bold);
  background: var(--gradient-primary);
  color: white;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--shadow-color-main);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px var(--shadow-color-main);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(238, 183, 20, 0.25) 0%, transparent 70%);
  top: -100px;
  left: -200px;
  animation: float 8s ease-in-out infinite;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 69, 52, 0.2) 0%, transparent 70%);
  top: 200px;
  right: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(152, 101, 70, 0.2) 0%, transparent 70%);
  bottom: -50px;
  left: 40%;
  animation: float 12s ease-in-out infinite;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Hero Typography */
.hero-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: var(--fw-black);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-secondary);
  max-width: 920px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238, 183, 20, 0.12);
  border: 1px solid rgba(238, 183, 20, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--btc-orange);
  margin-bottom: 32px;
  opacity: 1 !important;
  visibility: visible !important;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--btc-orange);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: var(--fw-black);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-primary);
  opacity: 1;
  visibility: visible;
}

.hero-subtitle {
  max-width: 920px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 1;
  visibility: visible;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  font-size: 16px;
  font-weight: var(--fw-bold);
  box-shadow: 0 8px 40px var(--shadow-color-main);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 50px var(--shadow-color-main);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  transition: var(--transition);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Agents CTA Button */
.btn-hero-agents {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero-agents::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: var(--transition);
}

.btn-hero-agents:hover {
  border-color: var(--purple-neon);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.btn-hero-agents:hover::before {
  opacity: 1;
}

.hero-agents-icon {
  font-size: 22px;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-agents-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.hero-agents-label {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--purple-neon);
  line-height: 1;
}

.hero-agents-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1;
}

.hero-agents-badge {
  background: var(--gradient-purple);
  color: white;
  font-size: 10px;
  font-weight: var(--fw-extrabold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: glow-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
  }

  50% {
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.9);
  }
}

/* Hero Scanner CTA Button */
.btn-hero-scanner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero-scanner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: var(--transition);
}

.btn-hero-scanner:hover {
  border-color: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.btn-hero-scanner:hover::before {
  opacity: 1;
}

.hero-scanner-icon {
  font-size: 22px;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-scanner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.hero-scanner-label {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: #34d399;
  line-height: 1;
}

.hero-scanner-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1;
}

.hero-scanner-badge {
  background: var(--gradient-green);
  color: white;
  font-size: 10px;
  font-weight: var(--fw-extrabold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: glow-pulse-green 2.5s ease-in-out infinite;
}

@keyframes glow-pulse-green {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  }

  50% {
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.9);
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 36px;
  font-weight: var(--fw-black);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-prefix {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--btc-orange);
}

.stat-suffix {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--btc-orange);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.stat-divider {
  height: 40px;
  width: 1px;
  background: var(--border);
}

/* === TICKER === */
.ticker-wrapper {
  background: rgba(247, 147, 26, 0.05);
  border-top: 1px solid rgba(247, 147, 26, 0.15);
  border-bottom: 1px solid rgba(247, 147, 26, 0.15);
  overflow: hidden;
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 40s linear infinite;
  width: max-content;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.t-coin {
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--text-secondary);
}

.t-price {
  font-size: 13px;
  font-weight: var(--fw-semibold);
}

.t-change {
  font-size: 12px;
  font-weight: var(--fw-bold);
}

.t-change.up {
  color: var(--green-profit);
}

.t-change.down {
  color: var(--red-loss);
}

/* === SECTIONS COMMON === */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(247, 147, 26, 0.12);
  border: 1px solid rgba(247, 147, 26, 0.25);
  color: var(--btc-orange);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--fw-black);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FEATURES === */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(247, 147, 26, 0.1);
}

.featured-card {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-color: rgba(247, 147, 26, 0.2);
}

.feat-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px;
}

.feat-icon svg {
  color: white;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11px;
  color: var(--text-secondary);
}

/* Agents Feature Card */
.feat-agents-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.06) 100%) !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
}

.feat-agents-card:hover {
  border-color: rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15) !important;
}

.feat-icon-agents {
  background: var(--gradient-purple) !important;
}

.feat-agents-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple-neon);
  font-size: 10px;
  font-weight: var(--fw-extrabold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.feat-agents-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--purple-neon);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.feat-agents-link:hover {
  color: #c084fc;
  gap: 4px;
  letter-spacing: 0.5px;
}

/* Scanner Feature Card */
.feat-scanner-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(59, 130, 246, 0.06) 100%) !important;
  border-color: rgba(16, 185, 129, 0.22) !important;
}

.feat-scanner-card:hover {
  border-color: rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.12) !important;
}

.feat-icon-scanner {
  background: var(--gradient-green) !important;
}

.feat-scanner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--green-profit);
  font-size: 10px;
  font-weight: var(--fw-extrabold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.feat-scanner-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--green-profit);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.feat-scanner-link:hover {
  color: #34d399;
  gap: 4px;
  letter-spacing: 0.5px;
}

/* === SIMULATOR === */
.simulator-section {
  background: var(--bg-primary);
}

.simulator-layout {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: start;
}

.sim-controls {
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.sim-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-label {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.asset-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.asset-btn {
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  transition: var(--transition);
}

.asset-btn:hover,
.asset-btn.active {
  background: rgba(247, 147, 26, 0.12);
  border-color: var(--btc-orange);
  color: var(--btc-orange);
}

.sim-select {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
}

.sim-select:focus {
  outline: none;
  border-color: var(--btc-orange);
}

.input-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-input {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  transition: var(--transition);
}

.sim-input:focus {
  outline: none;
  border-color: var(--btc-orange);
}

.sim-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
}

.sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
  cursor: pointer;
}

.period-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.period-btn {
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  transition: var(--transition);
}

.period-btn.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--purple-neon);
  color: var(--purple-neon);
}

.period-btn:hover {
  border-color: var(--purple-neon);
  color: var(--purple-neon);
}

.risk-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.risk-btn {
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  transition: var(--transition);
}

.risk-btn.active {
  background: rgba(247, 147, 26, 0.12);
  border-color: var(--btc-orange);
  color: var(--btc-orange);
}

.currency-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.currency-btn {
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.currency-btn:hover,
.currency-btn.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.6);
  color: #60a5fa;
}

.btn-simulate {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: white;
  font-size: 16px;
  font-weight: var(--fw-bold);
  box-shadow: 0 6px 30px rgba(247, 147, 26, 0.35);
  transition: var(--transition);
  margin-top: 8px;
}

.btn-simulate:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(247, 147, 26, 0.5);
}

.sim-results {
  display: none; /* oculto até a primeira simulação — JS exibe após simulate() */
  flex: 1;
  max-width: 820px;
  flex-direction: column;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.result-header h3 {
  font-size: 20px;
  font-weight: var(--fw-bold);
}

.result-asset-badge {
  padding: 6px 14px;
  background: rgba(247, 147, 26, 0.12);
  border: 1px solid rgba(247, 147, 26, 0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--btc-orange);
  font-weight: var(--fw-semibold);
}

.chart-container {
  height: 280px;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

#sim-chart {
  width: 100%;
  height: 100%;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.result-card {
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rc-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rc-value {
  font-size: 16px;
  font-weight: var(--fw-bold);
}

.rc-value.positive {
  color: var(--green-profit);
}

.rc-return {
  border-color: rgba(16, 185, 129, 0.2);
}

.rc-gain {
  border-color: rgba(16, 185, 129, 0.2);
}

.rc-percent {
  border-color: rgba(16, 185, 129, 0.2);
}

.ai-insight {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
}

.ai-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--gradient-purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.ai-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ai-text strong {
  color: var(--text-primary);
}

/* === ASSETS SECTION === */
.assets-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.asset-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.asset-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(247, 147, 26, 0.1);
}

.featured-asset {
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-color: rgba(247, 147, 26, 0.25);
}

.asset-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.asset-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: var(--fw-bold);
}

.asset-logo.btc {
  background: rgba(247, 147, 26, 0.2);
  color: var(--btc-orange);
}

.asset-logo.eth {
  background: rgba(98, 126, 234, 0.2);
  color: #627eea;
}

.asset-logo.bnb {
  background: rgba(243, 186, 47, 0.2);
  color: #f3ba2f;
}

.asset-logo.xrp {
  background: rgba(0, 170, 228, 0.2);
  color: #00aae4;
}

.asset-logo.sol {
  background: rgba(153, 69, 255, 0.2);
  color: #9945ff;
}

.asset-logo.ada {
  background: rgba(0, 51, 173, 0.2);
  color: #4a8adf;
}

.asset-logo.dot {
  background: rgba(230, 0, 122, 0.2);
  color: #e6007a;
}

.asset-logo.avax {
  background: rgba(232, 65, 66, 0.2);
  color: #e84142;
}

.asset-logo.link {
  background: rgba(42, 90, 218, 0.2);
  color: #2a5ada;
}

.asset-logo.matic {
  background: rgba(130, 71, 229, 0.2);
  color: #8247e5;
}

.asset-meta {
  flex: 1;
}

.asset-name {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-bold);
}

.asset-symbol {
  font-size: 11px;
  color: var(--text-muted);
}

.asset-rank {
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.asset-price {
  font-size: 18px;
  font-weight: var(--fw-black);
  margin-bottom: 12px;
}

.asset-chart-mini {
  margin-bottom: 12px;
}

.sparkline {
  width: 100%;
}

.asset-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a-change {
  font-size: 12px;
  font-weight: var(--fw-bold);
}

.a-change.pos {
  color: var(--green-profit);
}

.a-change.neg {
  color: var(--red-loss);
}

.a-cap {
  font-size: 10px;
  color: var(--text-muted);
}

.a-vol {
  font-size: 10px;
  color: var(--text-muted);
}

/* Skeleton loading para os cards de ativos */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: 200px 0;
  }
}

.asset-skeleton {
  min-height: 180px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
  pointer-events: none;
}

/* Aumentar grid para 5 colunas em telas largas para acomodar 20 cards */
@media (min-width: 1400px) {
  .assets-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}


/* === PROFILE / LEAD SECTION === */
.profile-section {
  background: var(--bg-primary);
  position: relative;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.profile-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.profile-info .section-desc {
  text-align: left;
  margin: 0 0 32px;
}

.profile-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-profit);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
}

.profile-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.profile-form-card h3 {
  font-size: 22px;
  font-weight: var(--fw-bold);
  margin-bottom: 28px;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--btc-orange);
  background: rgba(247, 147, 26, 0.05);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.radio-group {
  display: flex;
  gap: 10px;
}

.radio-opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: var(--fw-medium);
}

.radio-opt input[type="radio"] {
  display: none;
}

.radio-opt:has(input:checked) {
  border-color: var(--btc-orange);
  background: rgba(247, 147, 26, 0.1);
  color: var(--btc-orange);
}

.radio-opt:hover {
  border-color: rgba(247, 147, 26, 0.4);
}

.risk-slider-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.risk-label-s {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.btn-form-submit {
  padding: 16px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: white;
  font-size: 15px;
  font-weight: var(--fw-bold);
  margin-top: 8px;
  transition: var(--transition);
  box-shadow: 0 6px 30px rgba(247, 147, 26, 0.3);
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(247, 147, 26, 0.45);
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-privacy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* === PROFILE AUTH BANNER === */
.profile-auth-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 13px;
}

.profile-auth-banner--guest {
  background: rgba(247, 147, 26, 0.08);
  border: 1px solid rgba(247, 147, 26, 0.25);
}

.profile-auth-banner--logged {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pab-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.pab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.pab-text strong {
  font-size: 13px;
  color: var(--text-primary);
}

.pab-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.pab-btn {
  padding: 7px 16px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-size: 12px;
  font-weight: var(--fw-bold);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(247, 147, 26, 0.3);
}

.pab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(247, 147, 26, 0.5);
}

/* === PROFILE SAVED BADGE === */
.profile-saved-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(247, 147, 26, 0.3);
  border-radius: var(--radius-lg);
  animation: fadeInUp 0.5s ease;
}

.psb-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.psb-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.psb-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: var(--fw-semibold);
}

.psb-value {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.psb-check {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--green-profit);
  white-space: nowrap;
}

/* === RISK LEVEL DISPLAY === */
.risk-level-display {
  margin-top: 8px;
  text-align: center;
}

.risk-level-display span {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(247, 147, 26, 0.1);
  border: 1px solid rgba(247, 147, 26, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--btc-orange);
  transition: var(--transition);
}

/* === ASSET PREFERENCE CHECKBOXES === */
.assets-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asset-check-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}

.asset-check-opt input[type="checkbox"] {
  display: none;
}

.asset-check-opt:has(input:checked) {
  border-color: var(--btc-orange);
  background: rgba(247, 147, 26, 0.1);
  color: var(--btc-orange);
}

.asset-check-opt:hover {
  border-color: rgba(247, 147, 26, 0.4);
  color: var(--text-primary);
}

/* === ANIMATIONS === */

/* Pricing Carousel — transições fade+slide direcionais */
@keyframes pc-enter-right {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes pc-enter-left {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0);     }
}
@keyframes pc-exit-left {
  from { opacity: 1; transform: translateX(0);     }
  to   { opacity: 0; transform: translateX(-32px); }
}
@keyframes pc-exit-right {
  from { opacity: 1; transform: translateX(0);    }
  to   { opacity: 0; transform: translateX(32px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === LEARN SECTION === */
.learn-section {
  background: var(--bg-secondary);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.learn-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  position: relative;
}

.learn-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(247, 147, 26, 0.1);
}

.learn-ai-insights {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.06) 100%);
  border-color: rgba(139, 92, 246, 0.25);
}

.learn-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-bold);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.learn-badge.beginner {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-profit);
}

.learn-badge.intermediate {
  background: rgba(251, 191, 36, 0.15);
  color: var(--yellow-accent);
}

.learn-badge.advanced {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red-loss);
}

.learn-badge.ai {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-neon);
}

.learn-icon {
  font-size: 32px;
}

.learn-card h3 {
  font-size: 17px;
  font-weight: var(--fw-bold);
}

.learn-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.learn-meta {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-learn {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  transition: var(--transition);
  text-align: left;
}

.btn-learn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

/* === PRICING === */
.pricing-section {
  background: var(--bg-primary);
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle input:checked+.toggle-slider {
  background: var(--gradient-primary);
}

.toggle input:checked+.toggle-slider::before {
  transform: translateX(22px);
}

.discount-badge {
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-profit);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-bold);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.featured-plan {
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-color: rgba(247, 147, 26, 0.3);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(247, 147, 26, 0.15);
}

.featured-plan:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 11px;
  font-weight: var(--fw-bold);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-header h3 {
  font-size: 20px;
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 44px;
  font-weight: var(--fw-black);
}

.featured-plan .price-amount {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-yes {
  color: var(--text-primary);
}

.feat-no {
  color: var(--text-muted);
}

.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: var(--fw-bold);
  transition: var(--transition);
}

.btn-plan-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 6px 30px rgba(247, 147, 26, 0.35);
}

.btn-plan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(247, 147, 26, 0.5);
}

.btn-plan-ghost {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
}

.btn-plan-ghost:hover {
  background: rgba(247, 147, 26, 0.08);
  border-color: var(--btc-orange);
}

/* === TESTIMONIALS === */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.test-stars {
  color: var(--btc-orange);
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-black);
  font-size: 14px;
  color: white;
}

.test-author strong {
  display: block;
  font-size: 14px;
}

.test-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: radial-gradient(ellipse, rgba(247, 147, 26, 0.1) 0%, transparent 70%);
  filter: blur(60px);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: var(--fw-black);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
}

/* === FOOTER === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo {
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(247, 147, 26, 0.1);
  border-color: var(--btc-orange);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--btc-orange);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 500px;
  text-align: right;
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.modal h3 {
  font-size: 22px;
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}

.modal p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* === ANIMATIONS === */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal — elements are always visible; .visible adds a subtle animation */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assets-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .learn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sim-controls {
    max-width: 360px;
  }
}

@media (max-width: 992px) {
  .simulator-layout {
    flex-direction: column;
    align-items: center;
  }

  .sim-controls {
    max-width: 100%;
    position: static;
  }

  /* Cards de resultado: 2 colunas em vez de 4 */
  .result-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Gráfico: 100% da largura disponível no mobile */
  .chart-container {
    width: 100%;
    height: 220px;
  }

  #sim-chart {
    width: 100%;
    height: 220px;
  }

  /* Quando sim-results está dentro de sim-controls (DOM swap mobile) */
  .sim-controls > .sim-results {
    margin-top: 16px;
    padding: 20px 0 0 0;
    background: none;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
  }


  .profile-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Quando profile-form-card está dentro de profile-info (DOM swap mobile) */
  .profile-info > .profile-form-card {
    margin-top: 24px;
    padding: 28px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* ─── Pricing: Carrossel Mobile (fade+slide) ─── */

  .pricing-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  /* O grid é apenas o contêiner — exibe 1 card por vez */
  .pricing-grid {
    display: block;          /* 1 filho visível = altura natural */
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  /* Todos os cards: ocultos por padrão */
  .pricing-card {
    display: none !important;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 28px 20px;
  }

  /* Card ativo: visível */
  .pricing-card.pc-active {
    display: block !important;
  }

  .pricing-card:hover,
  .featured-plan,
  .featured-plan:hover {
    transform: none;
  }

  /* Setas — ficam DENTRO da barra de dots (não mais absolutas no wrapper) */
  .pricing-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(247, 147, 26, 0.18);
    border: 2px solid rgba(247, 147, 26, 0.5);
    color: var(--btc-orange);
    font-size: 26px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
  }
  .pricing-carousel-btn:hover  {
    background: rgba(247, 147, 26, 0.35);
    transform: scale(1.08);
  }
  .pricing-carousel-btn:disabled {
    opacity: 0.2;
    pointer-events: none;
  }

  /* Barra de navegação: [ ‹ ]  ● ○ ○  [ › ] */
  .pricing-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }
  .pricing-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
  }
  .pricing-dot.active {
    background: var(--btc-orange);
    transform: scale(1.45);
  }


  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  /* ===== SIDEBAR: oculto no mobile (o rodapé já faz a navegação) ===== */
  .sidebar {
    display: none !important;
  }

  /* Remove o espaço reservado ao sidebar no mobile */
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ajuste para o mobile nav */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: none !important;
  }

  #btn-signup,
  .nav-user-name {
    display: none !important;
  }

  #btn-login {
    padding: 6px 14px;
    font-size: 13px;
  }

  .mobile-bottom-nav {
    display: flex !important;
  }

  .hero-title {
    font-size: clamp(36px, 8vw, 60px);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .assets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn-grid {
    grid-template-columns: 1fr;
  }

  .result-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MOBILE BOTTOM NAV iOS STYLE ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 0, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px env(safe-area-inset-bottom, 12px);
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
}

.mb-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
  outline: none;
}

.mb-nav-item svg {
  width: 24px;
  height: 24px;
  transition: all 0.2s ease;
}

.mb-nav-item span {
  font-size: 10px;
  font-weight: 500;
}

.mb-nav-item:hover,
.mb-nav-item.active {
  color: var(--btc-orange);
}

.mb-nav-item.active svg {
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(247, 147, 26, 0.4));
}



.mb-badge {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 6px;
  height: 6px;
  background-color: var(--red-loss);
  border-radius: 50%;
  border: 1px solid var(--bg-primary);
}

/* ===== BOTTOM SHEET (MENU SECUNDÁRIO) ===== */
.mb-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mb-sheet-overlay.active {
  display: block;
  opacity: 1;
}

.mb-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(13, 0, 32, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--border);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 12px));
  z-index: 1002;
  transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.mb-sheet.active {
  bottom: 0;
}

.mb-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.mb-sheet-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.mb-sheet-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
}

.mb-sheet-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}

.mb-sheet-link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.mb-sheet-link:active {
  background: rgba(255, 255, 255, 0.08);
}

.mb-sheet-btn-ghost {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: white;
  font-weight: 600;
}

.mb-sheet-btn-primary {
  padding: 14px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  border: none;
}

/* ===== DROPDOWN DE PERFIL: FUNDO SÓLIDO NO MOBILE ===== */
@media (max-width: 768px) {
  .nav-user-dropdown {
    background: #0d1a14 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    position: fixed !important;
    top: 60px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100vw - 24px) !important;
    max-width: none !important;
    min-width: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9) !important;
  }
}

@media (max-width: 480px) {
  .assets-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center;
    max-width: 100%;
  }
}

/* ===== NAV USER DROPDOWN ===== */
.nav-user-menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-avatar {
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}

.nav-avatar:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 12px var(--shadow-color-main);
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s;
  z-index: 1000;
  overflow: hidden;
}

.nav-user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 20px 20px 16px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dh-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dh-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(247, 147, 26, 0.3);
}

.dh-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dh-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  overflow: hidden;
}

.dh-name {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.dropdown-body {
  padding: 16px 20px;
}

.dh-credits {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 14px;
}

.dh-credits-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.dh-credits-header span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--btc-orange);
}

.dh-credits-count b {
  color: var(--text-primary);
  font-size: 14px;
}

.dh-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.dh-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dh-get-credits {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--btc-orange);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  background: rgba(247, 147, 26, 0.1);
  border-radius: 6px;
  transition: var(--transition);
}

.dh-get-credits:hover {
  background: rgba(247, 147, 26, 0.2);
  color: white;
}

.dropdown-footer {
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.plan-badge.loading { background: rgba(255,255,255,0.05); color: var(--text-muted); animation: pulse 1.5s infinite; }
.plan-badge.free    { background: rgba(255,255,255,0.1); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); }
.plan-badge.trial   { background: rgba(139, 92, 246, 0.15); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.3); }
.plan-badge.pro     { background: rgba(247, 147, 26, 0.15); color: var(--btc-orange); border: 1px solid rgba(247, 147, 26, 0.3); }
.plan-badge.premium { background: var(--gradient-primary); color: white; box-shadow: 0 2px 10px rgba(247, 147, 26, 0.2); }
.plan-badge.platinum { background: var(--gradient-purple); color: white; box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2); }

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.dropdown-item {
  background: none;
  border: none;
  text-align: left;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.dropdown-item svg {
  color: var(--text-muted);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-item:hover svg {
  color: white;
}

.di-logout {
  color: var(--text-secondary);
}

.di-logout:hover {
  color: var(--red-loss) !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

.di-logout:hover svg {
  color: var(--red-loss) !important;
}

/* ============================================================
   BANNER DE STATUS DO SISTEMA — Graceful Degradation
   ============================================================ */
.system-status-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.4);
  padding: 10px 16px;
  animation: ssbSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.25);
}

.system-status-banner.hidden {
  display: none;
}

/* Quando o banner está visível, empurra o header pra baixo */
.system-status-banner:not(.hidden)+* {
  margin-top: 48px;
}

@keyframes ssbSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ssb-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ssb-icon {
  font-size: 16px;
  flex-shrink: 0;
  animation: ssbPulse 2s ease-in-out infinite;
}

@keyframes ssbPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.ssb-msg {
  font-size: 13px;
  font-weight: 500;
  color: #1c1000;
  flex: 1;
  line-height: 1.4;
}

.ssb-retry {
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-full);
  color: #1c1000;
  font-family: var(--font-main);
 