/* ── Barry Economics Homepage ── */

/* ── Economic Curves Background Canvas ── */
.econ-curves-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* ── 3D Floating Particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  animation: particleDrift linear infinite;
  --drift: 0px;
}

@keyframes particleDrift {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 1; }
  85% { opacity: 0.5; }
  100% { opacity: 0; transform: translate(var(--drift), -80vh) scale(0.2); }
}

/* ── Canvas overlay ── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── 3D Orbiting Scene ── */
.hero-3d-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  perspective: 800px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  transform-style: preserve-3d;
}

.hero-orbit--1 {
  border-color: rgba(0, 240, 255, 0.12);
  transform: rotateX(70deg) rotateZ(0deg);
  animation: orbit3d-1 12s linear infinite;
}

.hero-orbit--2 {
  inset: -40px;
  border-color: rgba(255, 0, 170, 0.08);
  transform: rotateX(60deg) rotateZ(45deg);
  animation: orbit3d-2 18s linear infinite;
}

.hero-orbit--3 {
  inset: -80px;
  border-color: rgba(139, 92, 246, 0.06);
  transform: rotateX(75deg) rotateZ(90deg);
  animation: orbit3d-3 25s linear infinite;
}

.hero-orbit--4 {
  inset: 30px;
  border-color: rgba(0, 255, 136, 0.06);
  transform: rotateX(55deg) rotateZ(135deg);
  animation: orbit3d-4 15s linear infinite reverse;
}

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit--1 .orbit-dot {
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan), 0 0 40px rgba(0, 240, 255, 0.3);
  width: 8px;
  height: 8px;
  top: -4px;
}

.hero-orbit--2 .orbit-dot {
  background: var(--magenta);
  box-shadow: 0 0 16px var(--magenta), 0 0 40px rgba(255, 0, 170, 0.3);
}

.hero-orbit--3 .orbit-dot {
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
  width: 4px;
  height: 4px;
  top: -2px;
}

.hero-orbit--4 .orbit-dot {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  width: 5px;
  height: 5px;
  top: -2.5px;
}

@keyframes orbit3d-1 {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to { transform: rotateX(70deg) rotateZ(360deg); }
}

@keyframes orbit3d-2 {
  from { transform: rotateX(60deg) rotateZ(45deg); }
  to { transform: rotateX(60deg) rotateZ(405deg); }
}

@keyframes orbit3d-3 {
  from { transform: rotateX(75deg) rotateZ(90deg); }
  to { transform: rotateX(75deg) rotateZ(450deg); }
}

@keyframes orbit3d-4 {
  from { transform: rotateX(55deg) rotateZ(135deg); }
  to { transform: rotateX(55deg) rotateZ(495deg); }
}

.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.4)) drop-shadow(0 0 60px rgba(255, 0, 170, 0.15));
  animation: heroFloat 3s ease-in-out infinite;
  margin-bottom: 12px;
  position: relative;
  z-index: 3;
  transition: transform 0.15s ease-out;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 20px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 8px 0 32px;
  position: relative;
  z-index: 2;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  animation: scrollPulse 2s ease-in-out infinite;
  z-index: 2;
  cursor: pointer;
}

.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--cyan-dim);
  border-bottom: 2px solid var(--cyan-dim);
  transform: rotate(45deg);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Section Headings */
.section-heading {
  text-align: center;
  padding: 80px 24px 48px;
}

.section-heading h2 {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.section-heading p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.product-card {
  background: rgba(19, 19, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.product-card:hover {
  transform: translateY(-6px);
}

/* Card accent colors */
.product-card--igcse::before { background: var(--cyan); }
.product-card--igcse:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.12);
}

.product-card--ial::before { background: var(--magenta); }
.product-card--ial:hover {
  border-color: rgba(255, 0, 170, 0.25);
  box-shadow: 0 8px 40px rgba(255, 0, 170, 0.12);
}

.product-card--ap::before { background: var(--green); }
.product-card--ap:hover {
  border-color: rgba(0, 255, 136, 0.25);
  box-shadow: 0 8px 40px rgba(0, 255, 136, 0.12);
}

.product-card--accounting::before { background: var(--orange); }
.product-card--accounting:hover {
  border-color: rgba(255, 107, 53, 0.25);
  box-shadow: 0 8px 40px rgba(255, 107, 53, 0.12);
}

.product-card--coming-soon {
  opacity: 0.45;
  pointer-events: none;
}

.product-card--coming-soon .coming-soon-badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  margin-bottom: 16px;
}

.product-card__badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.product-card--igcse .product-card__badge {
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.product-card--ial .product-card__badge {
  background: rgba(255, 0, 170, 0.12);
  color: var(--magenta);
  border: 1px solid rgba(255, 0, 170, 0.25);
}

.product-card--accounting .product-card__badge {
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 53, 0.25);
}

.product-card__title {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.product-card__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 24px;
}

.product-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card__features li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.product-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 13px;
}

.product-card--igcse .product-card__features li::before { color: var(--cyan); }
.product-card--ial .product-card__features li::before { color: var(--magenta); }
.product-card--accounting .product-card__features li::before { color: var(--orange); }
.product-card--ap .product-card__features li::before { color: var(--green); }

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid;
  transition: all 0.25s ease;
}

.product-card--igcse .product-card__cta {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}
.product-card--igcse .product-card__cta:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.product-card--ial .product-card__cta {
  color: var(--magenta);
  border-color: var(--magenta-dim);
}
.product-card--ial .product-card__cta:hover {
  background: rgba(255, 0, 170, 0.1);
  box-shadow: 0 0 20px rgba(255, 0, 170, 0.2);
}
.product-card--accounting .product-card__cta {
  color: var(--orange);
  border-color: #cc5529;
}
.product-card--accounting .product-card__cta:hover {
  background: rgba(255, 107, 53, 0.1);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

/* Features Strip */
.features-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(19, 19, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.feature-item__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-item__title {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.feature-item__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
}

/* Homepage header (simplified) */
.homepage-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.homepage-header .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.homepage-header .brand-text h1 {
  font-family: 'Orbitron', monospace;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: 2px;
}

.homepage-header .brand-text p {
  display: none;
}

.homepage-header .barry-avatar {
  height: 42px;
  width: auto;
  border-radius: 6px;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.2));
}

.homepage-header .header-auth-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.homepage-header .nav-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--text-secondary);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.homepage-header .nav-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.homepage-header .nav-btn--membership {
  border-color: rgba(255, 0, 170, 0.3);
}

.homepage-header .nav-btn--membership:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

/* ── Hero Search Bar (frosted glass pill) ── */
.hero-search-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 20px auto 10px;
  z-index: 10;
}

.hero-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 11px 22px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-search-bar:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255,255,255,0.02);
}

.hero-search-bar:focus-within {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.06), 0 8px 32px rgba(0,0,0,0.25), inset 0 0 20px rgba(255,255,255,0.03);
}

.hero-search-icon {
  flex-shrink: 0;
  color: var(--text-dim);
  opacity: 0.5;
}

.hero-search-bar:focus-within .hero-search-icon {
  color: var(--cyan);
  opacity: 0.8;
}

.hero-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
  caret-color: var(--cyan);
  letter-spacing: 0.3px;
}

.hero-search-input::placeholder {
  color: rgba(200, 200, 220, 0.35);
}

.hero-search-hint {
  flex-shrink: 0;
  font-family: 'Rajdhani', monospace;
  font-size: 10px;
  font-weight: 600;
  color: rgba(200, 200, 220, 0.25);
  letter-spacing: 0.5px;
}

.hero-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(14, 14, 24, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 16px;
  padding: 6px;
  max-height: 340px;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.hero-search-results:empty { display: none; }

.hero-search-results::-webkit-scrollbar { width: 4px; }
.hero-search-results::-webkit-scrollbar-track { background: transparent; }
.hero-search-results::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.12); border-radius: 2px; }

.term-result {
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  animation: termFadeIn 0.25s ease-out both;
  text-align: left;
}

.term-result:hover { background: rgba(0, 240, 255, 0.05); }

@keyframes termFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.term-result__name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}

.term-result__cn {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 8px;
}

.term-result__topic {
  font-family: 'Rajdhani', monospace;
  font-size: 10px;
  color: var(--magenta);
  opacity: 0.6;
  float: right;
  margin-top: 3px;
}

.term-result__def {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.5;
  opacity: 0.8;
}

.term-result__links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.term-result__link {
  font-family: 'Rajdhani', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 3px;
  transition: all 0.2s;
}

.term-result__link--igcse {
  color: var(--cyan);
  border: 1px solid rgba(0,240,255,0.2);
  background: rgba(0,240,255,0.05);
}

.term-result__link--igcse:hover {
  background: rgba(0,240,255,0.15);
  border-color: var(--cyan);
}

.term-result__link--ial {
  color: var(--magenta);
  border: 1px solid rgba(255,0,170,0.2);
  background: rgba(255,0,170,0.05);
}

.term-result__link--ial:hover {
  background: rgba(255,0,170,0.15);
  border-color: var(--magenta);
}

.term-result__board {
  font-family: 'Rajdhani', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 4px;
  text-transform: uppercase;
}

.term-result__board--ig {
  color: var(--cyan);
  border: 1px solid rgba(0,240,255,0.25);
  background: rgba(0,240,255,0.08);
}

.term-result__board--ial {
  color: var(--magenta);
  border: 1px solid rgba(255,0,170,0.25);
  background: rgba(255,0,170,0.08);
}

.term-result__board--ai {
  color: var(--purple);
  border: 1px solid rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.1);
}

.term-result--ai-loading .term-result__name {
  animation: aiPulse 1.5s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.terminal-no-results {
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
}

.terminal-no-results a { color: var(--cyan); text-decoration: none; }
.terminal-no-results a:hover { text-decoration: underline; }

/* ── Daily Intelligence Ticker (Wall Street) ── */
.ticker-section {
  width: 100%;
  margin: 50px 0 40px;
  overflow: hidden;
}

.ticker-section--hero {
  margin: 30px 0 10px;
  position: relative;
  z-index: 5;
}

.ticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: tickerPulse 2s ease-in-out infinite;
}

@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ticker-title {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 3px;
}

.ticker-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 4px;
}

.ticker-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-translate-btn {
  font-family: 'Rajdhani', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.05);
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.2s;
}

.ticker-translate-btn:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
}

.ticker-translate-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
}

.ticker-date {
  font-family: 'Rajdhani', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.ticker-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(0, 255, 136, 0.08);
  border-bottom: 1px solid rgba(0, 255, 136, 0.08);
  background: rgba(0, 255, 136, 0.015);
}

.ticker-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-fade--left {
  left: 0;
  background: linear-gradient(to right, rgba(10,10,15,1) 0%, transparent 100%);
}

.ticker-fade--right {
  right: 0;
  background: linear-gradient(to left, rgba(10,10,15,1) 0%, transparent 100%);
}

.ticker-track {
  display: flex;
  animation: tickerScroll 120s linear infinite;
  width: max-content;
  will-change: transform;
}

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

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-card {
  flex-shrink: 0;
  width: 380px;
  padding: 18px 24px;
  border-right: 1px solid rgba(0, 255, 136, 0.06);
  cursor: default;
  transition: background 0.2s;
}

.ticker-card:hover { background: rgba(0, 255, 136, 0.03); }

.ticker-card__headline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 6px;
}

.ticker-card__analysis {
  font-family: 'Rajdhani', monospace;
  font-size: 11px;
  color: var(--green);
  opacity: 0.7;
  line-height: 1.5;
}

.ticker-card__topics {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ticker-card__topic {
  font-family: 'Rajdhani', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 1px 7px;
  border-radius: 3px;
  background: rgba(139, 92, 246, 0.08);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.12);
}

/* ── News Detail Modal ── */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalBgIn 0.2s ease-out;
}
@keyframes modalBgIn { from { opacity: 0; } to { opacity: 1; } }

.news-modal__card {
  background: rgba(14, 14, 24, 0.97);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 14px;
  max-width: 620px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,255,136,0.05);
  animation: modalCardIn 0.25s ease-out;
}
@keyframes modalCardIn { from { opacity:0; transform:translateY(20px) scale(0.97); } to { opacity:1; transform:translateY(0) scale(1); } }

.news-modal__card::-webkit-scrollbar { width: 4px; }
.news-modal__card::-webkit-scrollbar-thumb { background: rgba(0,255,136,0.15); border-radius: 2px; }

.news-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.news-modal__status {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Rajdhani', monospace; font-size: 11px; font-weight: 700;
  color: var(--green); letter-spacing: 2px;
}
.news-modal__actions { display: flex; align-items: center; gap: 10px; }
.news-modal__close {
  background: none; border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary); font-size: 20px;
  width: 32px; height: 32px; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.news-modal__close:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.news-modal__title {
  font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600;
  color: var(--text-primary); line-height: 1.5; margin: 0 0 14px;
}
.news-modal__topics { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.news-modal__analysis {
  font-family: 'Rajdhani', monospace; font-size: 13px;
  color: var(--green); opacity: 0.8; line-height: 1.6; margin-bottom: 16px;
}
.news-modal__divider {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(0,255,136,0.15), transparent);
  margin: 16px 0;
}
.news-modal__summary {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--text-secondary); line-height: 1.75;
}
.news-modal__summary p { margin: 0 0 10px; }
.news-modal__summary p:last-child { margin-bottom: 0; }
.news-modal__summary strong { color: var(--text-primary); }
.news-modal__summary em { color: var(--green); font-style: italic; }
.news-modal__summary h3, .news-modal__summary h4 { font-weight: 700; }

.news-modal__loading {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Rajdhani', monospace; font-size: 13px;
  color: var(--text-dim); letter-spacing: 1px; padding: 12px 0;
}

.ticker-card:hover {
  background: rgba(0, 255, 136, 0.06) !important;
  border-color: rgba(0, 255, 136, 0.2) !important;
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* ── Feature Nav (homepage header) ── */
.header-feature-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn--feature {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 4px;
  padding: 6px 14px;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.nav-btn--feature:hover {
  border-color: var(--green);
  background: rgba(0, 255, 136, 0.06);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.08);
}

.nav-btn--soon {
  color: var(--text-dim);
  border-color: rgba(255,255,255,0.06);
  cursor: default;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Explore Economics Section ── */
.explore-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.explore-card {
  background: rgba(19, 19, 31, 0.6);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.explore-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  opacity: 0;
  transition: opacity 0.3s;
}

.explore-card--tools::before { background: linear-gradient(90deg, var(--green), var(--cyan)); }
.explore-card--realworld::before { background: linear-gradient(90deg, var(--purple), var(--magenta)); }
.explore-card--resources::before { background: linear-gradient(90deg, var(--cyan), var(--purple)); }

.explore-card:hover:not(.explore-card--soon) {
  border-color: rgba(0, 255, 136, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.06);
}

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

.explore-card--soon {
  opacity: 0.45;
  cursor: default;
}

.explore-card__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.explore-card__title {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin: 0 0 4px;
}

.explore-card__cn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--green);
  margin: 0 0 10px;
}

.explore-card--realworld .explore-card__cn { color: var(--purple); }
.explore-card--resources .explore-card__cn { color: var(--cyan); }

.explore-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 14px;
}

.explore-card__cta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
}

.explore-card__cta--soon {
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-feature-nav {
    display: none;
  }

  .explore-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-tagline {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .hero-3d-scene {
    width: 300px;
    height: 300px;
  }

  .hero-search-wrap {
    max-width: 90%;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 60px;
  }

  .features-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px 60px;
  }

  .homepage-header {
    padding: 10px 16px;
  }

  .hero {
    padding: 100px 16px 60px;
  }

  .ticker-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 0 16px 10px;
  }

  .ticker-card {
    width: 300px;
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-search-bar {
    padding: 10px 16px;
  }

  .hero-search-hint { display: none; }

  .ticker-card { width: 260px; }
}
