/* Hedge Radar Landing Page — Binance Dark Theme + Ultra-Polish Bento Design System */

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

:root {
  --bg-dark: #080a0f;
  --bg-card: rgba(15, 19, 28, 0.75);
  --bg-card-hover: rgba(22, 28, 42, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(240, 185, 11, 0.3);
  --border-green: rgba(14, 203, 129, 0.35);
  
  --gold: #f0b90b;
  --gold-glow: rgba(240, 185, 11, 0.25);
  --green: #0ecb81;
  --green-glow: rgba(14, 203, 129, 0.35);
  --red: #f6465d;
  --text-main: #f0f3f8;
  --text-muted: #848e9c;
  --text-dim: #474d57;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(240, 185, 11, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(14, 203, 129, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(79, 142, 247, 0.05) 0%, transparent 50%);
  min-height: 100vh;
}

/* ─── Ticker Bar ───────────────────────────────────────────────────────────── */
.ticker-bar {
  background: #040609;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  position: relative;
  z-index: 1001;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
  gap: 32px;
}
.ticker-track:hover { animation-play-state: paused; }

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-sym { color: var(--text-muted); font-weight: 600; }
.ticker-val { color: var(--text-main); }
.ticker-up { color: var(--green); }
.ticker-down { color: var(--red); }

/* ─── Floating Glassmorphic Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 185, 11, 0.12);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
}

.brand-badge {
  background: rgba(240, 185, 11, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--gold); }

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

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, #0ecb81 0%, #0ab873 100%);
  color: #04070a;
  box-shadow: 0 0 20px var(--green-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(14, 203, 129, 0.55);
}

.btn-gold {
  background: linear-gradient(135deg, #f0b90b 0%, #d8a408 100%);
  color: #04070a;
  box-shadow: 0 0 20px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(240, 185, 11, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-share {
  background: rgba(14, 203, 129, 0.08);
  color: var(--green);
  border-color: var(--border-green);
}
.btn-share:hover {
  background: rgba(14, 203, 129, 0.16);
  box-shadow: 0 0 20px var(--green-glow);
}

/* ─── Hero Section ──────────────────────────────────────────────────────────── */
.hero {
  padding-top: 140px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(14, 203, 129, 0.08);
  border: 1px solid var(--border-green);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(14, 203, 129, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 203, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(14, 203, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 203, 129, 0); }
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-h1 span.highlight-gold {
  color: var(--gold);
  background: linear-gradient(135deg, #f0b90b 0%, #ffe885 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-h1 span.highlight-green {
  color: var(--green);
  background: linear-gradient(135deg, #0ecb81 0%, #60f0b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
  font-weight: 400;
}

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

/* ─── Terminal Mockup ───────────────────────────────────────────────────────── */
.terminal-section {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 0 24px;
}

.terminal-window {
  background: #0b0e14;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(240, 185, 11, 0.08);
}

.terminal-bar {
  background: #07090e;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  margin-left: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.terminal-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  text-align: left;
}

.data-table th {
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 18px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.data-table tr:hover td {
  background: rgba(240, 185, 11, 0.03);
}

.tag-breakout {
  background: rgba(14, 203, 129, 0.12);
  color: var(--green);
  border: 1px solid var(--border-green);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tag-iv {
  background: rgba(240, 185, 11, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ─── Bento Grid Section ────────────────────────────────────────────────────── */
.bento-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px;
}

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

.section-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(240, 185, 11, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(240, 185, 11, 0.08);
}

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

.bento-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.bento-h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.bento-p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.bento-preview {
  background: rgba(6, 8, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ─── Free Access & Share Section ───────────────────────────────────────────── */
.free-section {
  max-width: 1000px;
  margin: 60px auto 80px auto;
  padding: 0 24px;
}

.free-card {
  background: linear-gradient(135deg, rgba(14, 203, 129, 0.06) 0%, rgba(240, 185, 11, 0.06) 100%);
  border: 1px solid var(--border-green);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 0 40px rgba(14, 203, 129, 0.08);
}

.free-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
}

.free-p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #040609;
  padding: 48px 24px 32px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold); }

/* ─── Glassmorphism Auth Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 9, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal-card {
  background: #0e121a;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px var(--gold-glow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.auth-tab.active {
  background: var(--gold);
  color: #04070a;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}
.form-input:focus { border-color: var(--gold); }

/* ─── Responsive Adjustments ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-h1 { font-size: 2.2rem; }
  .hero-p { font-size: 1rem; }
  .hero { padding-top: 110px; }
  .nav-menu { display: none; }
  .nav-right .btn-outline { display: none; }
  .nav-container { padding: 0 16px; }
  .brand-badge { display: none; }
  .brand-name { font-size: 1.15rem; }
  .bento-grid { grid-template-columns: 1fr; gap: 16px; }
  .bento-card { padding: 24px; }
  .data-table th:nth-child(n+4), .data-table td:nth-child(n+4) { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .hero-h1 { font-size: 1.85rem; }
  .brand-name { font-size: 1rem; }
}
