/* ============================================================
   Bitachon Trade Ideas — Shared Stylesheet
   Brand: Navy #1e3a7a | Gold #b8860b | Blue #4472c4 | White #fff
   ============================================================ */

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

:root {
  --navy:  #1e3a7a;
  --gold:  #b8860b;
  --blue:  #4472c4;
  --white: #ffffff;
  --light: #f4f6fb;
  --muted: #6b7280;
  --border: #dde3f0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(30,58,122,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

/* ── HEADER ──────────────────────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; }
.brand img { height: 68px; width: auto; display: block; max-width: 360px; }

nav { display: flex; align-items: center; gap: 28px; }
nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: color .15s;
  position: relative;
  padding-bottom: 2px;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s;
}
nav a:hover { color: var(--gold); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }
nav a.active { color: var(--gold); }

nav .cta-btn {
  background: var(--gold);
  color: var(--white) !important;
  padding: 7px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  transition: background .15s, transform .1s;
}
nav .cta-btn:hover { background: #9a6f09; transform: translateY(-1px); }
nav .cta-btn::after { display: none; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4fa0 100%);
  color: var(--white);
  padding: 88px 24px 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s, transform .1s, box-shadow .15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9a6f09; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #162d62; color: var(--white); }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 52px 24px 44px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; margin-bottom: 10px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.78); max-width: 520px; margin: 0 auto; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 72px 24px; }
.section-alt { background: var(--light); }

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

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ── CARDS ────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(30,58,122,.13); }

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── BADGE / TAG ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--light);
  color: var(--navy);
  border: 1px solid var(--border);
}
.badge-gold { background: #fdf3dc; color: var(--gold); border-color: #f0d580; }
.badge-green { background: #eafaf1; color: #1a7a4a; border-color: #b2e8c8; }
.badge-red   { background: #fdf0f0; color: #a01a1a; border-color: #e8b2b2; }

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--navy);
  color: var(--white);
}
.stat-item {
  flex: 1;
  min-width: 160px;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ── TABLE ────────────────────────────────────────────────── */
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.results-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.results-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: #333;
}
.results-table tr:last-child td { border-bottom: none; }
.results-table tr:hover td { background: var(--light); }
.profit { color: #1a7a4a; font-weight: 600; }
.loss   { color: #a01a1a; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}
.faq-question:hover { background: var(--light); }
.faq-question .arrow {
  font-size: 18px;
  transition: transform .2s;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-question.open .arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.faq-answer.open { display: block; }

/* ── SUBSCRIBE FORM ───────────────────────────────────────── */
.subscribe-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(30,58,122,.10);
}
.subscribe-box h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.subscribe-box p  { font-size: 14px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a2e;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(68,114,196,.15);
}
.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
.form-submit:hover { background: #9a6f09; transform: translateY(-1px); }

.plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.plan-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.plan-card:hover, .plan-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,.12);
}
.plan-card.featured { background: #fdf9ef; }
.plan-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}
.plan-price span { font-size: 15px; color: var(--muted); font-weight: 400; }
.plan-name { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.plan-features { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
  margin-top: auto;
}
footer a { color: rgba(255,255,255,.7); }
footer a:hover { color: var(--white); }
footer .footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }

/* ── DISCLAIMER ─────────────────────────────────────────── */
.disclaimer {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 12px;
  color: #5a4a00;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { gap: 16px; }
  nav a:not(.cta-btn) { display: none; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .plan-cards { grid-template-columns: 1fr; }
  .subscribe-box { padding: 32px 20px; }
}
