/* ============================================
   coingateAI — Landing Page Styles
   ============================================ */

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

:root {
  --bg-primary: #0f0f14;
  --bg-secondary: #1a1a24;
  --bg-card: #1e1e2e;
  --accent: #2962ff;
  --accent-green: #00c8a0;
  --text-primary: #ffffff;
  --text-secondary: #8a8a9a;
  --border: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, #2962ff, #00c8a0);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #3d73ff;
  box-shadow: 0 0 24px rgba(41, 98, 255, 0.4);
  transform: scale(1.03);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(41, 98, 255, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}
.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn-block {
  width: 100%;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(15, 15, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  color: var(--accent);
  font-size: 22px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-link:hover {
  color: var(--text-primary);
}

.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-item {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.dropdown-item:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,20,0.6) 0%, rgba(15,15,20,0.85) 60%, var(--bg-primary) 100%);
}

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

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px;
}

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

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ===== Hero Video ===== */
.hero-video-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 32px;
}
.hero-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Live Chart ===== */
.hero-chart-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.hero-chart-container {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #0d0d14;
  overflow: hidden;
  position: relative;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.chart-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.chart-pair {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.chart-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.chart-change {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.chart-change.positive {
  color: var(--accent-green);
  background: rgba(0,200,160,0.12);
}
.chart-change.negative {
  color: #ff5252;
  background: rgba(255,82,82,0.12);
}
.chart-toolbar-right {
  display: flex;
  gap: 4px;
}
.chart-tf {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}
.chart-tf:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.chart-tf.active {
  color: var(--accent);
  background: rgba(41,98,255,0.15);
}

.live-chart-canvas {
  width: 100%;
  height: 380px;
  display: block;
}

.chart-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 11px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   TICKER BAR
   ============================================ */
.ticker-section {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.ticker-bar {
  overflow: hidden;
  padding: 14px 0;
}

.ticker-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #00c8a0;
  padding: 0 16px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.06);
  margin-right: 8px;
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-symbol {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
}

.ticker-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.ticker-change {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.ticker-up .ticker-change {
  color: var(--accent-green);
  background: rgba(0, 200, 160, 0.1);
}

.ticker-down .ticker-change {
  color: #ff5252;
  background: rgba(255, 82, 82, 0.1);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-block:last-child {
  margin-bottom: 0;
}

.feature-reverse {
  direction: rtl;
}
.feature-reverse > * {
  direction: ltr;
}

.feature-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(41, 98, 255, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  margin-bottom: 28px;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 600;
}

/* Feature mockups */
.feature-visual {
  position: relative;
}

.feature-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-video-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.feature-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.feature-mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }
.mockup-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.mockup-body {
  padding: 20px;
}

/* Chart mockup */
.chart-svg {
  width: 100%;
  height: auto;
}

/* ===== AI Visual (3D Pie + Glass Panels) ===== */
.ai-visual-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0a0a10;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pie-chart-3d {
  position: relative;
  z-index: 1;
  width: 65%;
  max-width: 320px;
}
.pie-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(41,98,255,0.2));
}

/* Glass Panels */
.glass-panel {
  position: absolute;
  background: rgba(30, 30, 50, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  z-index: 2;
}

.glass-panel-bars {
  bottom: 12%;
  left: 6%;
  width: 38%;
  max-width: 180px;
  padding: 14px 12px 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}
.glass-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  height: 100%;
}
.glass-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #4488ff, #2255dd);
  min-height: 8px;
  transition: height 0.6s ease;
}
.glass-bar:nth-child(2) {
  background: linear-gradient(180deg, #00e8c0, #00b890);
}
.glass-bar:nth-child(4) {
  background: linear-gradient(180deg, #6699ff, #3366ee);
}

.glass-panel-list {
  top: 10%;
  right: 8%;
  width: 32%;
  max-width: 160px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.glass-list-item {
  width: 100%;
}
.glass-list-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #4488ff, #2255dd);
}
.glass-list-item:nth-child(2) .glass-list-bar {
  background: linear-gradient(90deg, #4488ff, #3366ee);
  opacity: 0.7;
}
.glass-list-item:nth-child(3) .glass-list-bar {
  background: linear-gradient(90deg, #00e8c0, #00b890);
  opacity: 0.5;
}

/* ===== Code Mockup (Pine Script Editor) ===== */
.code-mockup {
  background: #13131f;
}
.code-body {
  padding: 24px;
  background: #0d0d16;
}
.code-block {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: #c8c8d8;
  white-space: pre;
  overflow-x: auto;
  tab-size: 2;
}
.code-comment { color: #6a7a8a; font-style: italic; }
.code-func { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-number { color: #f78c6c; }
.code-const { color: #ff966c; }
.code-var { color: #c792ea; }
.code-color { color: #ffcb6b; }

/* Screener mockup */
.screener-body {
  padding: 0;
}
.screener-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  align-items: center;
}
.screener-header-row {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.02);
  font-weight: 600;
}
.mono {
  font-family: var(--font-mono);
}
.up { color: var(--accent-green); }
.down { color: #ff5252; }
.signal-buy {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(0,200,160,0.12);
  padding: 2px 8px;
  border-radius: 3px;
  text-align: center;
}
.signal-sell {
  font-size: 11px;
  font-weight: 700;
  color: #ff5252;
  background: rgba(255,82,82,0.12);
  padding: 2px 8px;
  border-radius: 3px;
  text-align: center;
}
.signal-hold {
  font-size: 11px;
  font-weight: 700;
  color: #febc2e;
  background: rgba(254,188,46,0.12);
  padding: 2px 8px;
  border-radius: 3px;
  text-align: center;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: rgba(41, 98, 255, 0.3);
  box-shadow: 0 0 32px rgba(41, 98, 255, 0.08);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 100px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: rgba(41, 98, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.pricing-popular {
  border-color: var(--accent);
  box-shadow: 0 0 32px rgba(41, 98, 255, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-amount {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features {
  flex: 1;
  margin-bottom: 24px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.check {
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-billing {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(41,98,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 24px;
}

.footer-legal p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.footer-legal p:first-child {
  margin-bottom: 8px;
}
.footer-disclaimer {
  max-width: 640px;
  font-size: 12px !important;
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-reverse {
    direction: ltr;
  }
  .live-chart-canvas {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 20, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav-actions {
    display: none;
  }

  .hero {
    padding: 100px 20px 40px;
    min-height: auto;
  }
  .hero-title {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .screener-row {
    font-size: 11px;
    padding: 8px 12px;
    gap: 4px;
  }

  .live-chart-canvas {
    height: 220px;
  }

  .chart-toolbar {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .ai-visual-container {
    aspect-ratio: 1 / 1;
  }
  .glass-panel-bars {
    width: 45%;
    left: 2%;
    bottom: 5%;
  }
  .glass-panel-list {
    width: 40%;
    right: 2%;
    top: 5%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

/* ============================================
   Market Movers Section (Gainers / Losers)
   ============================================ */
.market-movers-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.movers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.movers-column {
  display: flex;
  flex-direction: column;
}

.movers-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.movers-arrow {
  color: var(--text-secondary);
  font-size: 24px;
}

.movers-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.movers-tab {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.movers-tab.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.movers-tab:hover:not(.active) {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.movers-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mover-row {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.mover-row:hover {
  background: rgba(255, 255, 255, 0.02);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 8px;
}

.mover-row:last-child {
  border-bottom: none;
}

.mover-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.mover-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--bg-card);
}

.mover-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mover-ticker {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

.mover-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
  margin-right: 16px;
  white-space: nowrap;
}

.mover-change {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}

.mover-change.up {
  background: rgba(0, 200, 160, 0.15);
  color: #00c8a0;
}

.mover-change.down {
  background: rgba(255, 82, 82, 0.15);
  color: #ff5252;
}

.movers-see-all {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: var(--transition);
}

.movers-see-all:hover {
  color: var(--accent-green);
}

@media (max-width: 768px) {
  .movers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .movers-title {
    font-size: 22px;
  }
  .mover-row {
    padding: 12px 0;
  }
  .mover-logo {
    width: 32px;
    height: 32px;
  }
  .mover-price {
    font-size: 13px;
    margin-right: 10px;
  }
  .mover-change {
    font-size: 12px;
    padding: 4px 8px;
    min-width: 70px;
  }
}

@media (max-width: 480px) {
  .mover-name {
    font-size: 13px;
  }
  .mover-ticker {
    font-size: 10px;
  }
  .mover-price {
    font-size: 12px;
  }
  .mover-change {
    font-size: 11px;
    padding: 3px 6px;
    min-width: 60px;
  }
}

/* ============================================
   Tech Animations & Effects
   ============================================ */

/* Number tick animation - micro bounce on value change */
@keyframes tickUp {
  0% { transform: translateY(0); }
  30% { transform: translateY(-3px); }
  60% { transform: translateY(1px); }
  100% { transform: translateY(0); }
}

@keyframes tickDown {
  0% { transform: translateY(0); }
  30% { transform: translateY(3px); }
  60% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

.mover-price.tick-up {
  animation: tickUp 0.4s ease-out;
  color: #00c8a0;
}

.mover-price.tick-down {
  animation: tickDown 0.4s ease-out;
  color: #ff4757;
}

/* Price flash on update */
@keyframes priceFlash {
  0% { background: transparent; }
  30% { background: rgba(0, 200, 160, 0.08); }
  100% { background: transparent; }
}

@keyframes priceFlashDown {
  0% { background: transparent; }
  30% { background: rgba(255, 71, 87, 0.08); }
  100% { background: transparent; }
}

.mover-row.flash-up {
  animation: priceFlash 0.6s ease-out;
}

.mover-row.flash-down {
  animation: priceFlashDown 0.6s ease-out;
}

/* Live pulse indicator */
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 200, 160, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 200, 160, 0); }
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c8a0;
  display: inline-block;
  animation: livePulse 2s ease-in-out infinite;
  margin-right: 6px;
}

/* Tech glow on hover for cards */
.feature-mockup,
.mover-row,
.screener-row {
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.mover-row:hover {
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 20px rgba(41, 98, 255, 0.06);
}

/* Scanning line effect for tech feel */
@keyframes scanLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.screener-mockup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(41, 98, 255, 0.3), transparent);
  animation: scanLine 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* Ticker item glow */
.ticker-item {
  transition: text-shadow 0.3s ease;
}

.ticker-item:hover {
  text-shadow: 0 0 12px rgba(41, 98, 255, 0.5);
}

/* Chart grid glow */
@keyframes gridPulse {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.06; }
}

.chart-container::before {
  animation: gridPulse 3s ease-in-out infinite;
}

/* Mover row slide-in animation */
@keyframes slideInRow {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mover-row {
  animation: slideInRow 0.3s ease-out both;
}

.mover-row:nth-child(1) { animation-delay: 0.05s; }
.mover-row:nth-child(2) { animation-delay: 0.1s; }
.mover-row:nth-child(3) { animation-delay: 0.15s; }
.mover-row:nth-child(4) { animation-delay: 0.2s; }
.mover-row:nth-child(5) { animation-delay: 0.25s; }
.mover-row:nth-child(6) { animation-delay: 0.3s; }

/* Logo subtle float animation */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.mover-logo {
  animation: logoFloat 3s ease-in-out infinite;
}

.mover-row:nth-child(odd) .mover-logo {
  animation-delay: -1.5s;
}
