:root {
  --bg: #060b18;
  --bg-subtle: #0a1128;
  --card: #0d1829;
  --card-hover: #111f36;
  --card-elevated: #121e33;
  --accent: #22c55e;
  --accent-soft: #4ade80;
  --accent-glow: rgba(34, 197, 94, 0.15);
  --accent-gradient: linear-gradient(135deg, #22c55e 0%, #10b981 50%, #059669 100%);
  --border: rgba(148, 163, 184, 0.12);
  --border-light: rgba(148, 163, 184, 0.08);
  --border-accent: rgba(34, 197, 94, 0.25);
  --text-main: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.1), 0 0 40px rgba(34, 197, 94, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --blue: #3b82f6;
  --blue-soft: #60a5fa;
  --purple: #a855f7;
  --purple-soft: #c084fc;
  --orange: #f97316;
  --orange-soft: #fb923c;
  --red: #ef4444;
  --red-soft: #f87171;
  --yellow: #eab308;
  --cyan: #06b6d4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.page-container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

.page-container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
}

.hero-section {
  text-align: center;
  padding: 80px 24px 64px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-section > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

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

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

.pro-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.pro-card:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-2px);
}

.pro-card-glass {
  background: rgba(13, 24, 41, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-card-glass:hover {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(13, 24, 41, 0.75);
}

.pro-card-featured {
  background: var(--card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.pro-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-card.green::before { background: linear-gradient(90deg, #22c55e, #10b981); }
.stat-card.blue::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.stat-card.orange::before { background: linear-gradient(90deg, #f97316, #fb923c); }
.stat-card.red::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.stat-card.purple::before { background: linear-gradient(90deg, #a855f7, #c084fc); }
.stat-card.yellow::before { background: linear-gradient(90deg, #eab308, #fbbf24); }

.stat-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg { width: 20px; height: 20px; }
.icon-box.green { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.icon-box.blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.icon-box.purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.icon-box.orange { background: rgba(249, 115, 22, 0.12); color: #fb923c; }
.icon-box.red { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.icon-box.cyan { background: rgba(6, 182, 212, 0.12); color: #22d3ee; }
.icon-box.yellow { background: rgba(234, 179, 8, 0.12); color: #fbbf24; }

.btn-pro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-pro-primary {
  background: var(--accent-gradient);
  color: #022c22;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.btn-pro-primary:hover {
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-pro-secondary {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-pro-secondary:hover {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.25);
}

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

.btn-pro-ghost:hover {
  background: rgba(34, 197, 94, 0.08);
}

.input-pro {
  width: 100%;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
  outline: none;
}

.input-pro::placeholder { color: var(--text-dim); }

.input-pro:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  background: rgba(15, 23, 42, 0.8);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px;
  transition: all 0.2s;
  max-width: 600px;
  margin: 0 auto;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.search-box input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.search-box input::placeholder { color: var(--text-dim); }

.search-box button {
  padding: 12px 28px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: #022c22;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.search-box button:hover {
  filter: brightness(1.05);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-green { background: rgba(34, 197, 94, 0.1); color: var(--accent); border: 1px solid rgba(34, 197, 94, 0.2); }
.tag-blue { background: rgba(59, 130, 246, 0.1); color: var(--blue-soft); border: 1px solid rgba(59, 130, 246, 0.2); }
.tag-purple { background: rgba(168, 85, 247, 0.1); color: var(--purple-soft); border: 1px solid rgba(168, 85, 247, 0.2); }
.tag-orange { background: rgba(249, 115, 22, 0.1); color: var(--orange-soft); border: 1px solid rgba(249, 115, 22, 0.2); }
.tag-red { background: rgba(239, 68, 68, 0.1); color: var(--red-soft); border: 1px solid rgba(239, 68, 68, 0.2); }
.tag-muted { background: rgba(148, 163, 184, 0.08); color: var(--text-muted); border: 1px solid rgba(148, 163, 184, 0.15); }

.ticker-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.ticker-chip:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
}

.pro-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.pro-table thead th {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: rgba(15, 23, 42, 0.5);
}

.pro-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.pro-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }

.pro-table tbody td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}

.pro-table tbody tr:hover td {
  background: rgba(34, 197, 94, 0.03);
}

.pro-table tbody tr:last-child td { border-bottom: none; }

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

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 48px 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
  display: inline-block;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-dim); }

.pro-footer {
  background: linear-gradient(180deg, var(--bg) 0%, var(--card) 100%);
  border-top: 1px solid var(--border);
  padding: 56px 24px 36px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin: 36px 0;
}

.footer-col h4 {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

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

.footer-bottom p {
  color: var(--text-dim);
  font-size: 12px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-dim);
  transition: color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.content-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 32px;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.content-section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.info-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s;
}

.info-card:hover {
  border-color: var(--border);
  background: rgba(15, 23, 42, 0.7);
}

.cta-section {
  text-align: center;
  padding: 56px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.news-card {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card .meta {
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-section { padding: 48px 16px 40px; }
  .page-container, .page-container-narrow, .page-container-wide { padding: 32px 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .content-section { padding: 24px 18px; }
  .cta-section { padding: 36px 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pro-table { font-size: 13px; }
  .pro-table thead th, .pro-table tbody td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; padding: 8px; }
  .search-box input { width: 100%; }
  .search-box button { width: 100%; }
}
