/* ─────────────────────────────────────────────────────────────
   ZetaStocks — WallStreetZen / TipRanks Crisp Light Mode Theme
   ───────────────────────────────────────────────────────────── */

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

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

:root {
  --bg:          #f8fafc;
  --surface:     #ffffff;
  --surface-subtle: #f1f5f9;
  --border:      #e2e8f0;
  --border-dark: #cbd5e1;

  --text-main:   #0f172a;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;

  --primary:     #0284c7;
  --primary-hover: #0369a1;
  --primary-subtle: #e0f2fe;

  --green:       #059669;
  --green-bg:    #d1fae5;
  --green-hover: #047857;

  --yellow:      #d97706;
  --yellow-bg:   #fef3c7;

  --red:         #dc2626;
  --red-bg:      #fee2e2;

  --radius-lg:   16px;
  --radius-md:   12px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header Navbar ─────────────────────────────────────── */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0284c7, #059669);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon svg { width: 24px; height: 24px; }
.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.brand-name span { color: var(--green); }
.brand-sub { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-login {
  color: var(--text-main);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}
.btn-login:hover { background: var(--surface-subtle); }
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-1px); }

/* ── Hero Lead Generation Section ────────────────────────── */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
  text-align: center;
}
.hero-container {
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--green-bg);
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: 3.0rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 400;
}

/* ── Email Lead Form ──────────────────────────────────── */
.lead-form-box {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin: 0 auto 24px auto;
}
.lead-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-main);
}
.btn-subscribe {
  background-color: var(--green);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.btn-subscribe:hover { background-color: var(--green-hover); }
.hero-trust {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ── Metrics Grid Section ─────────────────────────────── */
.metrics-section {
  max-width: 1200px;
  margin: -40px auto 48px auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.metric-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.metric-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.metric-val.green { color: var(--green); }
.metric-val.blue { color: var(--primary); }
.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Main Content Area ────────────────────────────────── */
.main-container {
  max-width: 1200px;
  margin: 0 auto 64px auto;
  padding: 0 24px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 1.0rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Signals Table ────────────────────────────────────── */
.table-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 48px;
}
.table-header-bar {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-title { font-size: 1.2rem; font-weight: 700; color: var(--text-main); }
.btn-refresh {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
}
.btn-refresh:hover { background: #e2e8f0; }

.signals-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.signals-table th {
  background: var(--surface-subtle);
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.signals-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: middle;
}
.signals-table tr:last-child td { border-bottom: none; }
.signals-table tr:hover { background-color: #f8fafc; }

.symbol-badge {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}
.company-name { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.tag-buy {
  display: inline-block;
  background-color: var(--green-bg);
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
}
.tag-watch {
  display: inline-block;
  background-color: var(--yellow-bg);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.score-badge {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--green);
}

/* ── Pricing Cards Section ────────────────────────────── */
.pricing-section {
  text-align: center;
  padding: 48px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 32px auto 0 auto;
}
.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  box-shadow: var(--shadow-md);
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
}
.featured-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-name { font-size: 1.3rem; font-weight: 800; color: var(--text-main); }
.plan-price { font-size: 2.8rem; font-weight: 800; color: var(--text-main); margin: 12px 0 4px 0; }
.plan-price span { font-size: 1.0rem; color: var(--text-muted); font-weight: 500; }
.plan-sub { font-size: 0.85rem; color: var(--green); font-weight: 600; margin-bottom: 24px; }

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}
.plan-features li {
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-icon { color: var(--green); font-weight: 800; }

.btn-card {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.btn-card.green { background: var(--green); color: #ffffff; }
.btn-card.green:hover { background: var(--green-hover); }
.btn-card.outline { background: transparent; border: 1px solid var(--border-dark); color: var(--text-main); }
.btn-card.outline:hover { background: var(--surface-subtle); }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.disclaimer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #94a3b8;
  text-align: justify;
}

/* ── Modal Overlay & Card ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-close-btn {
  background: none; border: none;
  font-size: 1.8rem; color: var(--text-muted);
  cursor: pointer; line-height: 1;
}
.modal-close-btn:hover { color: var(--text-main); }
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
}


