/* ============================================
   Coins AI — Landing Page Styles
   ============================================ */

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

:root {
  --bg-primary: #030303;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #161616;
  --accent: #d4a574;
  --accent-bright: #feeacb;
  --accent-deep: #a67c52;
  --accent-soft: rgba(212, 165, 116, 0.14);
  --accent-green: #3dd68c;
  --accent-green-soft: rgba(61, 214, 140, 0.12);
  --danger: #f07178;
  --text-primary: #ffffff;
  --text-secondary: #9a9a9a;
  --text-faint: #666666;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(254, 234, 203, 0.22);
  --gradient: linear-gradient(135deg, #feeacb 0%, #d4a574 45%, #a67c52 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #feeacb 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font-display: 'Outfit', 'Space Grotesk', sans-serif;
  --font-sans: 'Outfit', 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1200px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --glow-copper: 0 0 32px rgba(212, 165, 116, 0.28);
}

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

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

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.ambient-orb-a {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -120px;
  background: rgba(212, 165, 116, 0.16);
}
.ambient-orb-b {
  width: 420px;
  height: 420px;
  bottom: 8%;
  left: -140px;
  background: rgba(254, 234, 203, 0.06);
  animation-delay: -6s;
}
.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 15%, black, transparent 72%);
  opacity: 0.85;
}
@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-24px, 30px, 0) scale(1.08); }
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 2;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}
body.has-pointer .cursor-glow.is-on { opacity: 1; }

.navbar, .hero, .ticker-section, .features, .market-movers-section,
.stats-section, .pricing-section, .cta-section, .footer {
  position: relative;
  z-index: 3;
}

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: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  will-change: transform;
}

.btn-primary {
  background: var(--gradient);
  color: #0a0704;
  box-shadow: var(--glow-copper);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 40px rgba(212, 165, 116, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--accent-bright);
  border: 1px solid rgba(212, 165, 116, 0.55);
  box-shadow: inset 0 0 0 0 transparent, 0 0 18px rgba(212, 165, 116, 0.08);
}
.btn-outline:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  background: rgba(212, 165, 116, 0.08);
  box-shadow: 0 0 24px rgba(212, 165, 116, 0.2);
}

.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: 999px;
}

.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(3, 3, 3, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  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 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, #feeacb, #d4a574, #6b4a2e, #feeacb);
  box-shadow: 0 0 16px rgba(212, 165, 116, 0.35), inset 0 0 0 1px rgba(254,234,203,0.35);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #030303;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo-text em {
  font-style: normal;
  color: var(--accent-bright);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.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-actions-mobile {
  display: none;
}

.nav-more {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.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.4;
  transform: scale(1.06);
  transition: transform 0.45s ease-out;
  will-change: transform;
}
.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-family: var(--font-display);
  font-size: clamp(42px, 6.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #fff;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes titleIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.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-strong);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7,11,18,0.35));
}
.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-strong);
  background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.ai-signal-bar {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 1.1rem 1.05rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(90deg, var(--accent-green-soft), transparent 60%);
}
.ai-pill {
  flex-shrink: 0;
  margin-top: 0.15rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(46, 230, 166, 0.16);
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.ai-signal-bar p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.ai-signal-bar strong {
  color: var(--accent-green);
  font-family: var(--font-mono);
}

.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: #030303;
  background: var(--gradient);
}

.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 {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 14px 0;
}

.ticker-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  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.1em;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid rgba(212, 165, 116, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  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: #080808;
  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(212,165,116,0.22));
}

/* Glass Panels */
.glass-panel {
  position: absolute;
  background: rgba(20, 16, 12, 0.65);
  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, #e0b888, #a67c52);
  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, #feeacb, #c49660);
}

.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, #e0b888, #a67c52);
}
.glass-list-item:nth-child(2) .glass-list-bar {
  background: linear-gradient(90deg, #e0b888, #c49660);
  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: #101010;
}
.code-body {
  padding: 24px;
  background: #0a0a0a;
}
.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: #e0b888; }
.code-string { color: #c3e88d; }
.code-number { color: #f78c6c; }
.code-const { color: #ff966c; }
.code-var { color: #d4a574; }
.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-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  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(212, 165, 116, 0.28);
  box-shadow: 0 0 32px rgba(212, 165, 116, 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(212, 165, 116, 0.22);
  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(212, 165, 116, 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(212,165,116,0.1) 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(3, 3, 3, 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;
  }
  .nav-links.active .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(100%, 280px);
    margin-top: 28px;
  }

  .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(212, 165, 116, 0.08);
}

/* 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(212, 165, 116, 0.28), 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(212, 165, 116, 0.45);
}

/* 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;
}


/* ============================================
   Coins AI — Premium enhancements
   ============================================ */

.feature-mockup,
.feature-img,
.feature-video-wrapper,
.ai-visual-container,
.pricing-card,
.stat-card,
.movers-column {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-mockup:hover,
.feature-img:hover,
.feature-video-wrapper:hover,
.ai-visual-container:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,165,116,0.08);
}

.pricing-card {
  backdrop-filter: blur(10px);
  background: rgba(17, 17, 17, 0.92);
}
.pricing-popular {
  background:
    linear-gradient(180deg, rgba(212,165,116,0.12), transparent 42%),
    rgba(17, 25, 37, 0.95);
}

.cta-section {
  border-radius: var(--radius-lg);
  margin: 0 24px 40px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(212,165,116,0.16), transparent 60%),
    linear-gradient(180deg, #121212, #0a0a0a);
  overflow: hidden;
}

.fade-in {
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible {
  transition-delay: var(--delay, 0s);
}

.magnetic {
  display: inline-flex;
}

.nav-links .nav-link {
  position: relative;
}
.nav-links .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links .nav-link:hover::after {
  transform: scaleX(1);
}

/* Mobile drawer improvements */
@media (max-width: 768px) {
  .nav-links {
    padding: 96px 28px 40px;
    gap: 8px;
    background:
      radial-gradient(500px 280px at 50% 0%, rgba(212,165,116,0.14), transparent 60%),
      rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(18px);
  }
  .nav-links .nav-link {
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.85rem 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .nav-link::after { display: none; }
  .nav-dropdown { width: 100%; text-align: center; }
  .dropdown-menu {
    position: static;
    display: none;
    margin: 0 auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
  }
  .nav-dropdown.open .dropdown-menu,
  .nav-links.active .nav-dropdown:focus-within .dropdown-menu {
    display: block;
  }
  .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(100%, 280px);
    margin-top: 28px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .ai-signal-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .cta-section {
    margin: 0 16px 32px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .features {
    padding: 64px 16px;
  }
  .feature-block {
    margin-bottom: 72px;
  }
  .screener-row {
    grid-template-columns: 1.2fr 1fr 0.9fr;
  }
  .screener-row span:nth-child(4),
  .screener-row span:nth-child(5) {
    display: none;
  }
  .chart-toolbar-left {
    flex-wrap: wrap;
    gap: 8px;
  }
  .live-chart-canvas {
    height: 200px;
  }
  .glass-panel-bars,
  .glass-panel-list {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .ticker-label {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .pricing-card {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
  .cursor-glow { display: none; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
}


/* ===== ASTER THEME POLISH ===== */
.hero-overlay {
  background: linear-gradient(180deg, rgba(3,3,3,0.55) 0%, rgba(3,3,3,0.82) 55%, #030303 100%) !important;
}

.hero-chart-container,
.hero-video-container,
.feature-mockup,
.ai-visual-container,
.feature-img,
.feature-video-wrapper,
.movers-column,
.stat-card,
.pricing-card {
  border-color: rgba(255,255,255,0.08);
  background-color: #0e0e0e;
}

.stat-number {
  background: var(--gradient-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.pricing-badge {
  background: var(--gradient) !important;
  color: #0a0704 !important;
}

.ai-pill {
  background: rgba(212,165,116,0.16) !important;
  color: var(--accent-bright) !important;
}

.ai-signal-bar {
  background: linear-gradient(90deg, rgba(212,165,116,0.12), transparent 60%) !important;
}

.ai-signal-bar strong {
  color: var(--accent-bright) !important;
}

.chart-change.positive,
.up,
.signal-buy,
.ticker-up .ticker-change,
.mover-change.up {
  color: var(--accent-green) !important;
}

.nav-links .nav-link::after {
  background: var(--gradient) !important;
}

.pie-svg {
  filter: drop-shadow(0 0 30px rgba(212,165,116,0.22)) !important;
}

.screener-mockup::after {
  background: linear-gradient(90deg, transparent, rgba(212,165,116,0.35), transparent) !important;
}

.live-dot,
.status-dot {
  background: var(--accent) !important;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(212, 165, 116, 0); }
}
