/* ==========================================================================
   Platita.cc - Fintech Landing Page Styles
   Obsidian Dark & Dollar Green Design System
   ========================================================================== */

:root {
  --bg-dark: #0A0E14;
  --bg-surface: #12171F;
  --bg-card: #181F2A;
  --bg-card-hover: #1F2937;
  --border-color: #232D3F;
  --border-highlight: #374151;

  --color-green: #00C853;
  --color-green-light: #10B981;
  --color-green-dark: #007E33;
  --color-green-glow: rgba(0, 200, 83, 0.25);

  --color-gold: #FFD700;
  --color-gold-champagne: #D4AF37;

  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --color-danger: #EF4444;
  --color-danger-bg: rgba(239, 68, 68, 0.12);
  --color-success-bg: rgba(16, 185, 129, 0.12);

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace, SFMono-Regular, Menlo;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glow */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: radial-gradient(circle 500px at 50% -100px, rgba(0, 200, 83, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography & Links */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: background 0.3s ease;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: #fff;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-green-glow);
  transition: transform 0.2s ease;
}

.nav-brand:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--color-green-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-green);
  color: #051408;
  box-shadow: 0 4px 14px var(--color-green-glow);
}

.btn-primary:hover {
  background: var(--color-green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  color: #fff;
  transform: translateY(-2px);
}

.btn-demo {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.15) 0%, rgba(255, 215, 0, 0.15) 100%);
  color: #fff;
  border: 1px solid rgba(0, 200, 83, 0.5);
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.2);
}

.btn-demo:hover {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.25) 0%, rgba(255, 215, 0, 0.25) 100%);
  border-color: var(--color-green-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 200, 83, 0.35);
}

.btn-demo-nav {
  background: rgba(0, 200, 83, 0.12);
  color: var(--color-green-light);
  border: 1px solid rgba(0, 200, 83, 0.3);
  font-size: 0.88rem;
  padding: 8px 16px;
}

.btn-demo-nav:hover {
  background: rgba(0, 200, 83, 0.22);
  border-color: var(--color-green);
  color: #fff;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.badge-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--color-green-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--color-green-light) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item span.icon {
  color: var(--color-green-light);
}

/* ==========================================================================
   Showcase Mockup Card
   ========================================================================== */
.mockup-wrapper {
  max-width: 960px;
  margin: 0 auto;
  perspective: 1000px;
}

.portfolio-card-mockup {
  background: linear-gradient(180deg, #131A24 0%, #0D1219 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--color-green-glow);
  position: relative;
  text-align: left;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.mockup-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1E293B;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mockup-header-title {
  font-weight: 700;
  font-size: 1rem;
}

.mockup-header-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mockup-badges {
  display: flex;
  gap: 8px;
}

.pill-badge {
  background: #1A2433;
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.pill-live {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-green-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-light);
  box-shadow: 0 0 8px var(--color-green-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.mockup-balance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.balance-card {
  background: #101620;
  border: 1px solid #1E2738;
  border-radius: 12px;
  padding: 16px 20px;
}

.balance-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.balance-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.balance-sub {
  font-size: 0.85rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.positive {
  color: var(--color-green-light);
}

.negative {
  color: var(--color-danger);
}

/* Mini Tickers Table */
.mockup-table-container {
  overflow-x: auto;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.mockup-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.mockup-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(35, 45, 63, 0.4);
}

.ticker-symbol {
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
}

.ticker-type {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.mockup-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.tag-bull {
  background: rgba(0, 200, 83, 0.15);
  color: var(--color-green-light);
}

.tag-arbitrage {
  background: rgba(255, 215, 0, 0.15);
  color: var(--color-gold);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-green-light);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

.feature-card.span-2 {
  grid-column: span 2;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--color-green-light);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Feature Mockups & Interactive Snippets
   ========================================================================== */
.feature-mockup {
  margin-top: 18px;
  background: #0D131D;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* --- Privacy & Viral Share Card Mockup --- */
.share-mockup-card {
  background: linear-gradient(145deg, #131B27 0%, #0D131C 100%);
  border: 1px solid #2A364B;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.share-mockup-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.15), transparent 70%);
  pointer-events: none;
}

.share-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.share-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 11px;
  font-weight: 900;
}

.share-brand-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}

.share-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.privacy-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.privacy-toggle-btn.active {
  background: rgba(0, 200, 83, 0.15);
  border-color: rgba(0, 200, 83, 0.4);
  color: var(--color-green-light);
}

.toggle-switch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6B7280;
  transition: all 0.2s ease;
}

.privacy-toggle-btn.active .toggle-switch-dot {
  background: var(--color-green-light);
  box-shadow: 0 0 6px var(--color-green-light);
}

.share-download-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--color-green-light);
  font-weight: 600;
}

.share-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.share-kpi-card {
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid rgba(42, 54, 75, 0.6);
  border-radius: 8px;
  padding: 10px;
}

.share-kpi-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.share-kpi-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s ease;
}

.share-kpi-val.positive {
  color: var(--color-green-light);
}

.share-kpi-sub {
  font-size: 0.72rem;
  margin-top: 2px;
  color: var(--color-green-light);
  font-weight: 600;
}

.share-footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}

/* Masked styles when privacy is active */
.val-real {
  display: inline;
}
.val-masked {
  display: none;
  letter-spacing: 2px;
  color: #9CA3AF;
}

.privacy-masked .val-real {
  display: none !important;
}
.privacy-masked .val-masked {
  display: inline !important;
}

/* --- Closed Trades Mockup --- */
.trade-mockup-card {
  background: #111722;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trade-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trade-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trade-ticker {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.trade-tag-type {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.trade-status-closed {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-green-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trade-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 20, 0.4);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.trade-step {
  display: flex;
  flex-direction: column;
}

.trade-step-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.trade-step-price {
  font-weight: 600;
  color: var(--text-primary);
}

.trade-flow-arrow {
  color: var(--color-green-light);
  font-size: 0.9rem;
}

.trade-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.trade-gain-badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.trade-gain-amount {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-green-light);
}

.trade-gain-pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-green-light);
  padding: 1px 6px;
  border-radius: 4px;
}

.trade-share-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trade-share-btn:hover {
  background: rgba(0, 200, 83, 0.15);
  border-color: rgba(0, 200, 83, 0.4);
  color: var(--color-green-light);
}

/* --- Heatmap Mockup --- */
.heatmap-mockup-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.heatmap-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heatmap-tab-group {
  display: inline-flex;
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2px;
}

.heatmap-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.heatmap-tab-btn.active {
  background: #1F2937;
  color: #fff;
}

.heatmap-legend {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 65px 55px;
  gap: 6px;
}

.heatmap-tile {
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
  user-select: none;
}

.heatmap-tile:hover {
  transform: scale(1.02);
}

.heatmap-tile.span-2 {
  grid-column: span 2;
}

.heatmap-tile.row-span-2 {
  grid-row: span 2;
}

.tile-green-dark {
  background: rgba(0, 200, 83, 0.25);
  border: 1px solid rgba(0, 200, 83, 0.4);
}

.tile-green-bright {
  background: rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(16, 185, 129, 0.6);
}

.tile-green-subtle {
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.2);
}

.tile-red {
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.tile-ticker {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.tile-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: right;
}

.tile-val.green {
  color: #34D399;
}

.tile-val.red {
  color: #F87171;
}

/* --- Candlestick & Execution Points Chart Mockup --- */
.chart-mockup-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chart-title-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.chart-ticker {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.chart-current-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-green-light);
  font-weight: 600;
}

.chart-canvas-wrap {
  position: relative;
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  height: 110px;
  display: flex;
  align-items: center;
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-pin {
  position: absolute;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.chart-pin-buy {
  bottom: 18px;
  left: 22%;
  background: #007E33;
  border: 1px solid #10B981;
  color: #fff;
}

.chart-pin-sell {
  top: 15px;
  right: 22%;
  background: #B45309;
  border: 1px solid #F59E0B;
  color: #fff;
}

.chart-summary-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.chart-summary-badge {
  font-family: var(--font-mono);
  color: var(--color-green-light);
  font-weight: 700;
}

/* --- Portfolio Composition & Evolution Mockup --- */
.composition-mockup-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.composition-bar {
  display: flex;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  width: 100%;
}

.bar-segment {
  height: 100%;
  transition: width 0.3s ease;
}

.seg-cedears {
  width: 58%;
  background: #00C853;
}

.seg-bonos {
  width: 24%;
  background: #3B82F6;
}

.seg-acciones {
  width: 13%;
  background: #F59E0B;
}

.seg-cash {
  width: 5%;
  background: #8B5CF6;
}

.composition-legend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  font-size: 0.73rem;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legend-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-cedears {
  background-color: #00C853;
}

.dot-bonos {
  background-color: #3B82F6;
}

.dot-acciones {
  background-color: #F59E0B;
}

.dot-cash {
  background-color: #8B5CF6;
}

.pill-share {
  cursor: pointer;
  color: var(--color-green-light) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  transition: all 0.2s ease;
}

.pill-share:hover {
  background: rgba(16, 185, 129, 0.15);
}

.legend-pct {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
}

.evolution-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 20, 0.4);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(42, 54, 75, 0.4);
  font-size: 0.75rem;
}

.evolution-sparkline {
  width: 90px;
  height: 22px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #182332 0%, #121A26 100%);
  border: 1.5px solid var(--color-green);
  box-shadow: 0 16px 40px -10px rgba(0, 200, 83, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-green);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 200, 83, 0.4);
}

.pricing-header {
  margin-bottom: 28px;
  text-align: center;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.plan-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 44px;
}

.plan-price {
  margin: 20px 0 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-divider {
  height: 1px;
  background: var(--border-color);
  margin: 24px 0;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.feature-item.check .item-icon {
  color: var(--color-green-light);
  font-weight: 700;
}

.feature-item.cross {
  color: var(--text-muted);
}

.feature-item.cross .item-icon {
  color: #4B5563;
}

.feature-item strong {
  color: #fff;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle 800px at 50% 50%, rgba(0, 200, 83, 0.15), var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin: 40px auto 80px;
  max-width: 1000px;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta-banner-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

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

.footer-links-col a:hover {
  color: var(--color-green-light);
}

.footer-disclaimer {
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.span-2 {
    grid-column: span 1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; /* simple mobile nav */
  }
  .hero-section {
    padding: 50px 0 40px;
  }
  .portfolio-card-mockup {
    padding: 20px;
  }
  .balance-card {
    padding: 14px;
  }
  .balance-value {
    font-size: 1.3rem;
  }
  .mockup-table th:nth-child(3),
  .mockup-table td:nth-child(3) {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .share-kpi-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .heatmap-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .heatmap-tile.span-2 {
    grid-column: span 1;
  }
  .composition-legend-grid {
    grid-template-columns: 1fr;
  }
  .chart-pin-buy {
    left: 10%;
  }
  .chart-pin-sell {
    right: 10%;
  }
}

.text-proximamente {
  font-size: 2rem !important;
  color: var(--color-gold) !important;
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  pointer-events: none;
}
