/* ============================================
   Veridhan — Minimalist Design System
   ============================================ */

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

/* --- Tokens --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #e8e4de;
  --text-secondary: #9a9590;
  --text-muted: #6b6560;
  --accent: #c9a96e;
  --accent-dim: rgba(201, 169, 110, 0.15);
  --accent-glow: rgba(201, 169, 110, 0.08);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.12);
  --red: #f87171;
  --warn: #f59e0b;
  --warn-dim: rgba(245, 158, 11, 0.08);
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 960px;
  --container-wide: 1100px;
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #dfc28a;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation — Sticky Top Bar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.navbar-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.navbar-logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar-logo .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 450;
  transition: color var(--transition);
  text-decoration: none;
  position: relative;
}

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

.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 24px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 450;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Body offset for fixed navbar */
body {
  padding-top: 64px;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

.label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 80px 0;
}

.section+.section {
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 48px;
}

.section-header .subtitle {
  margin-top: 8px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero .subtitle {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.hero-cta:hover {
  background: #dfc28a;
  color: #0a0a0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}

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

.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.hero-stat .label-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

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

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {

  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Metric Cards (for algo stats)
   ============================================ */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.metric .value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  display: block;
}

.metric .metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
  display: block;
}

/* ============================================
   Notice / Disclaimer
   ============================================ */
.notice {
  padding: 18px 22px;
  border-left: 3px solid var(--warn);
  background: var(--warn-dim);
  border-radius: var(--radius-sm);
  margin: 20px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.notice strong {
  color: var(--text-primary);
}

.disclaimer-section {
  padding: 40px 0;
}

.disclaimer-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.disclaimer-block h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.disclaimer-block p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ============================================
   Featured Logos
   ============================================ */
.logos-section {
  padding: 40px 0;
  text-align: center;
}

.logos-section h2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.85;
}

.logos-row img {
  height: 40px;
}

.logos-row a {
  display: inline-block;
  transition: opacity var(--transition);
}

.logos-row a:hover {
  opacity: 1;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
}

.btn-primary:hover {
  background: #dfc28a;
  color: #0a0a0f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 12px 16px;
}

.btn-ghost:hover {
  color: #dfc28a;
}

.btn-green {
  background: var(--green);
  color: #052e16;
}

.btn-green:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.2);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

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

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

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typewriter animation */
.tw-ready {
  min-height: 1.2em;
}

.tw-typing {
  border-right: 2px solid var(--accent);
  padding-right: 4px;
  animation: tw-blink 0.6s step-end infinite;
}

.tw-done {
  border-right: 2px solid var(--accent);
  padding-right: 4px;
  animation: tw-fade-cursor 0.6s 0.4s forwards;
}

@keyframes tw-blink {

  0%,
  100% {
    border-color: var(--accent);
  }

  50% {
    border-color: transparent;
  }
}

@keyframes tw-fade-cursor {
  to {
    border-color: transparent;
  }
}

/* 3D Coming from back animation (Subtle) */
.fade-up .section-header,
.fade-up .cta-box {
  perspective: 1000px;
}

.fade-up .section-header h2,
.fade-up .cta-box h2 {
  transform: translateZ(-30px) scale(0.96);
  opacity: 0.4;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.1s;
  will-change: transform, opacity;
}

.fade-up.visible .section-header h2,
.fade-up.visible .cta-box h2 {
  transform: translateZ(0) scale(1);
  opacity: 1;
}

/* Stagger children */
.stagger>.fade-up:nth-child(1) {
  transition-delay: 0s;
}

.stagger>.fade-up:nth-child(2) {
  transition-delay: 0.08s;
}

.stagger>.fade-up:nth-child(3) {
  transition-delay: 0.16s;
}

.stagger>.fade-up:nth-child(4) {
  transition-delay: 0.24s;
}

.stagger>.fade-up:nth-child(5) {
  transition-delay: 0.32s;
}

/* ============================================
   Utility
   ============================================ */
.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-secondary);
}

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

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

.text-green {
  color: var(--green);
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-720 {
  max-width: 720px;
}

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

/* Prose list styling */
.prose-list {
  list-style: none;
  padding: 0;
}

.prose-list li {
  padding: 12px 0 12px 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-bottom: 1px solid var(--border);
}

.prose-list li:last-child {
  border-bottom: none;
}

.prose-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================
   Product Cards (NinjaTrader pages)
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.product-header {
  background: var(--bg-secondary);
  padding: 24px;
  border-bottom: 2px solid var(--accent);
}

.product-header.blue {
  border-bottom-color: #3b82f6;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.product-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.product-features li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.spec-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}

.product-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ============================================
   Waitlist Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 10;
}

.modal-close:hover {
  color: var(--text-primary);
}

/* ============================================
   Performance Data (Opening Range Bot page)
   ============================================ */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

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

.perf-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.perf-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.perf-item:last-child {
  border-bottom: none;
}

.perf-label {
  color: var(--text-muted);
}

.perf-value {
  color: var(--text-primary);
  font-weight: 600;
}

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

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.risk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.risk-card.good {
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.04);
}

.risk-card h4 {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-weight: 600;
}

.risk-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.risk-card.good .risk-value {
  color: var(--green);
}

.risk-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Strategy section */
.strategy-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.strategy-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.strategy-grid ul {
  list-style: none;
  padding: 0;
}

.strategy-grid li {
  padding: 6px 0 6px 18px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.strategy-grid li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CTA Box */
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 32px 0;
}

.cta-box h2 {
  margin-bottom: 8px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cta-box .btn-group {
  justify-content: center;
}

/* ============================================
   Affiliate Banner
   ============================================ */
.affiliate-banner {
  background: var(--bg-secondary);
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.affiliate-banner a {
  display: inline-block;
}

.affiliate-banner img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Benefits Grid (NinjaTrader)
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.benefit-item {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.benefit-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.benefit-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   Data Table
   ============================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.data-table thead {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.data-table tbody tr:hover {
  background: var(--bg-card-hover);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .cta-box .btn-group {
    flex-direction: column;
  }

  .cta-box .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .strategy-section {
    padding: 24px;
  }
}

/* Notice box for NinjaTrader pages */
.notice-box-dark {
  background: var(--accent-dim);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.notice-box-dark strong {
  color: var(--accent);
}

/* ============================================
   Detail Modal (strategy performance popup)
   ============================================ */
.modal.detail-modal {
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
}

.modal.detail-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.modal.detail-modal .detail-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.modal.detail-modal .detail-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 720px;
}

.modal.detail-modal .perf-grid {
  margin-bottom: 24px;
}

.modal.detail-modal .risk-grid {
  margin-bottom: 24px;
}

.modal.detail-modal .strategy-section {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .modal.detail-modal {
    max-width: 100%;
    padding: 20px;
    max-height: 90vh;
  }
}