/* ==========================================================================
   HisaZangu — Landing Page
   Hero, ticker, features, market overview, how-it-works, CTA, footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   Scroll-triggered Animation
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll.delay-child-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-child-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-child-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-child-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-24) var(--space-6) var(--space-16);
}

/* Gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, rgba(11, 15, 26, 0.9) 50%, var(--bg-primary) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

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

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  animation: fadeInUp 0.7s var(--ease-out) 0.4s both;
}

.hero-metric {
  text-align: center;
}

.hero-metric-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero-metric-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   Floating Stat Badges (on Hero)
   -------------------------------------------------------------------------- */
.hero-floating-badges {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: float 5s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
}

.floating-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

.floating-badge-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}

.floating-badge-icon.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
}

.floating-badge-icon.blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.floating-badge-text {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.floating-badge-sub {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* Positions */
.floating-badge.badge-tl {
  top: 18%;
  left: 8%;
  animation-delay: 0s;
}

.floating-badge.badge-tr {
  top: 22%;
  right: 6%;
  animation-delay: 1.2s;
}

.floating-badge.badge-bl {
  bottom: 28%;
  left: 5%;
  animation-delay: 0.6s;
}

.floating-badge.badge-br {
  bottom: 24%;
  right: 8%;
  animation-delay: 1.8s;
}

.floating-badge.badge-ml {
  top: 50%;
  left: 3%;
  animation-delay: 0.4s;
}

.floating-badge.badge-mr {
  top: 45%;
  right: 4%;
  animation-delay: 1s;
}

@media (max-width: 1024px) {
  .hero-floating-badges {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Live Market Ticker Strip
   -------------------------------------------------------------------------- */
.ticker-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-card);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-3) 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  white-space: nowrap;
  padding: 0 var(--space-2);
  cursor: default;
}

.ticker-symbol {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.ticker-price {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.ticker-change {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: var(--text-xs);
  padding: 2px 6px;
  border-radius: var(--border-radius-sm);
}

.ticker-change.up {
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
}

.ticker-change.down {
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
}

/* Edge fades */
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-card), transparent);
}

.ticker-strip::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-card), transparent);
}

/* --------------------------------------------------------------------------
   Section Base
   -------------------------------------------------------------------------- */
.section {
  padding: var(--space-24) var(--space-6);
  position: relative;
}

.section-sm {
  padding: var(--space-16) var(--space-6);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   Feature Showcase (2x2 grid with glassmorphism)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration-slow) var(--ease-out),
    transform var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  flex-shrink: 0;
}

.feature-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.feature-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.feature-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.feature-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .feature-card {
    padding: var(--space-6);
  }
}

/* --------------------------------------------------------------------------
   Market Overview Section
   -------------------------------------------------------------------------- */
.market-overview {
  background: var(--bg-card);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

.market-stat {
  text-align: center;
  padding: var(--space-6);
}

.market-stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-2);
}

.market-stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.market-stat-change {
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.market-stat-change.up   { color: var(--green); }
.market-stat-change.down { color: var(--red); }

@media (max-width: 768px) {
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .market-stat {
    padding: var(--space-4);
  }

  .market-stat-value {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 480px) {
  .market-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }
}

/* --------------------------------------------------------------------------
   How It Works Section (3 step cards)
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--border-default), var(--gold));
  z-index: 0;
}

.step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 800;
  color: #0B0F1A;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.step-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 280px;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .steps-grid::before {
    display: none;
  }

  .step-card {
    flex-direction: row;
    text-align: left;
    gap: var(--space-5);
  }

  .step-desc {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   Stock Preview Section
   -------------------------------------------------------------------------- */
.stock-preview {
  max-width: var(--container-max);
  margin: 0 auto;
}

.stock-preview-table {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.stock-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-default);
}

.stock-preview-title {
  font-size: var(--text-lg);
  font-weight: 700;
}

.stock-preview-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  transition: color var(--duration);
}

.stock-preview-link:hover {
  color: var(--gold-light);
}

.stock-preview-list {
  padding: var(--space-2) 0;
}

@media (max-width: 480px) {
  .stock-preview-header {
    padding: var(--space-4);
  }
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-20) var(--space-8);
  border-radius: var(--border-radius-xl);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.08) 50%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  text-align: center;
  overflow: hidden;
}

/* Decorative glow */
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: 900;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-inner {
    padding: var(--space-12) var(--space-6);
    border-radius: var(--border-radius-lg);
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-default);
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-12);
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-default);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.footer-brand-name span {
  color: var(--gold);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: var(--text-base);
  transition:
    background var(--duration),
    color var(--duration),
    transform var(--duration-fast);
  text-decoration: none;
}

.footer-social-link:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-column-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--duration);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Hero Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero {
    padding: var(--space-20) var(--space-6) var(--space-12);
  }

  .hero-title {
    font-size: var(--text-5xl);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-16) var(--space-4) var(--space-10);
    min-height: auto;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-metrics {
    gap: var(--space-6);
    flex-wrap: wrap;
  }

  .hero-metric-value {
    font-size: var(--text-2xl);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-16) var(--space-4) var(--space-8);
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-metrics {
    gap: var(--space-4);
  }

  .hero-metric {
    flex: 1;
    min-width: 80px;
  }
}

/* --------------------------------------------------------------------------
   Landing-specific section divider
   -------------------------------------------------------------------------- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-default) 20%,
    rgba(245, 158, 11, 0.2) 50%,
    var(--border-default) 80%,
    transparent 100%
  );
}

/* --------------------------------------------------------------------------
   Trust / Social Proof Row
   -------------------------------------------------------------------------- */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  opacity: 0.5;
  transition: opacity var(--duration-slow);
}

.trust-row:hover {
  opacity: 0.8;
}

.trust-item {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* --------------------------------------------------------------------------
   Responsive general adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section {
    padding: var(--space-16) var(--space-4);
  }

  .section-sm {
    padding: var(--space-10) var(--space-4);
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  .section-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-12) var(--space-4);
  }

  .section-header {
    margin-bottom: var(--space-8);
  }
}

/* --------------------------------------------------------------------------
   Landing Template (current EJS) - class compatibility + mobile-first polish
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0 var(--space-16);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 15% 25%, rgba(245, 158, 11, 0.08) 0%, transparent 62%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, rgba(11, 15, 26, 0.94) 55%, var(--bg-primary) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  z-index: 0;
}

.hero-bg-orb-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.02) 70%);
  animation: float 6s ease-in-out infinite;
}

.hero-bg-orb-2 {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: 30px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0.02) 70%);
  animation: float 7.5s ease-in-out infinite;
  animation-delay: 0.8s;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 100%);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.9rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 600;
}

.hero-badge-tag i {
  font-size: 0.85em;
}

.hero-heading {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-5);
}

.hero-subtitle-text {
  margin: 0 0 var(--space-8);
  max-width: 56ch;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.75;
}

.hero-cta-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-cta-primary,
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 46px;
  padding: 0.78rem 1.25rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  transition:
    transform var(--duration-fast) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.hero-cta-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: #0B0F1A;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.hero-cta-primary:hover {
  color: #0B0F1A;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-1px);
}

.hero-cta-secondary {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.hero-cta-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}

.hero-visual-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(75%, 310px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 158, 11, 0.2);
  background:
    radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.03) 65%, transparent 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 24px 45px rgba(0, 0, 0, 0.45);
}

.hero-visual-icon i {
  font-size: clamp(3rem, 9vw, 5rem);
  color: rgba(245, 158, 11, 0.7);
}

.ticker-section,
.features-section,
.market-section,
.how-it-works-section,
.stocks-preview-section {
  position: relative;
}

.landing-section,
.landing-section-alt {
  padding: var(--space-20) 0;
  position: relative;
}

.landing-section-alt {
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, transparent 12%, transparent 88%, rgba(255, 255, 255, 0.01) 100%);
}

.landing-section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-section-title {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.landing-section-desc {
  font-size: var(--text-base);
  max-width: 640px;
}

.landing-subsection-title {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.landing-feature-card {
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  height: 100%;
  transition:
    transform var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration-slow) var(--ease-out);
}

.landing-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.landing-feature-icon i {
  font-size: 1.2rem;
}

.landing-feature-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.landing-feature-desc {
  margin-bottom: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
}

.landing-step-card {
  height: 100%;
  padding: var(--space-5);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.01);
}

.landing-step-number {
  width: 66px;
  height: 66px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  border: 1px solid var(--border-default);
  display: grid;
  place-items: center;
}

.landing-step-desc {
  margin-bottom: 0;
  font-size: var(--text-sm);
}

.stocks-preview-section .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-primary);
  --bs-table-border-color: var(--border-default);
}

.stocks-preview-section tbody tr {
  transition: background var(--duration-fast) var(--ease-out);
}

.stocks-preview-section tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.landing-th {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 600;
  border: none;
  padding: var(--space-4) var(--space-5);
  white-space: nowrap;
}

.landing-request-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.landing-request-indicator .spinner {
  width: 14px;
  height: 14px;
}

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: inline-flex;
}

#htmx-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: calc(var(--z-fixed) + 2);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

#htmx-progress::before {
  content: '';
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: translateX(-120%);
}

body.htmx-busy #htmx-progress {
  opacity: 1;
}

body.htmx-busy #htmx-progress::before {
  animation: htmxProgressSlide 1s linear infinite;
}

@keyframes htmxProgressSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: var(--space-16) 0 var(--space-12);
  }

  .hero-subtitle-text {
    max-width: none;
  }

  .landing-section,
  .landing-section-alt {
    padding: var(--space-16) 0;
  }
}

@media (max-width: 767.98px) {
  .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
  }

  .landing-feature-card {
    padding: var(--space-5);
  }

  .landing-step-card {
    padding: var(--space-4);
  }

  .landing-th {
    padding: var(--space-3) var(--space-4);
  }

  .stocks-preview-section td {
    padding: var(--space-3) var(--space-4) !important;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-10);
  }

  .hero-badge-tag {
    font-size: 0.75rem;
  }

  .hero-heading {
    font-size: clamp(1.9rem, 10vw, 2.4rem);
  }

  .hero-subtitle-text {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
  }

  .landing-section,
  .landing-section-alt {
    padding: var(--space-12) 0;
  }

  .landing-section-title {
    font-size: 1.7rem;
  }
}
