/* ============ Zyro EA — Dark Gold Theme ============ */
:root {
  --bg: #0b0e13;
  --bg-soft: #12161f;
  --bg-card: #171c27;
  --border: #262d3d;
  --gold: #e8b84b;
  --gold-soft: #f5d585;
  --text: #e8ebf2;
  --text-dim: #98a2b8;
  --green: #38c172;
  --red: #e3556b;
  --radius: 14px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Ticker tape ---------- */
.tv-ticker {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  height: 46px;
  overflow: hidden;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 19, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.lang-toggle {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 20px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-toggle:hover { border-color: var(--gold); }
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(232, 184, 75, 0.13), transparent),
    var(--bg);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--gold); }
.hero p.sub {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.badge {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
}
.badge b { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d19a2f);
  color: #171205;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 184, 75, 0.35);
  color: #171205;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--bg-soft); }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 46px;
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Steps ---------- */
.step { text-align: center; }
.step .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ---------- Stats ---------- */
.stat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.stat-tile .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}
.stat-tile .label { color: var(--text-dim); font-size: 0.88rem; margin-top: 4px; }

/* ---------- Returns calendar ---------- */
.cal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.cal-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 6px; }
.cal-month-label { font-weight: 700; font-size: 1.05rem; min-width: 160px; text-align: center; }
.cal-nav {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  width: 34px; height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
}
.cal-nav:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-summary { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 18px; }
.cal-summary .g { color: var(--green); }
.cal-summary .r { color: var(--red); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { text-align: center; color: var(--text-dim); font-size: 0.72rem; padding: 4px 0; text-transform: uppercase; }
.cal-cell {
  min-height: 52px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cal-cell.empty { background: transparent; border: none; }
.cal-cell .cal-day { font-size: 0.7rem; color: var(--text-dim); }
.cal-cell .cal-val { font-size: 0.78rem; font-weight: 700; }
.cal-cell.pos { background: rgba(56, 193, 114, 0.14); border-color: rgba(56, 193, 114, 0.4); }
.cal-cell.pos .cal-val { color: var(--green); }
.cal-cell.neg { background: rgba(227, 85, 107, 0.12); border-color: rgba(227, 85, 107, 0.4); }
.cal-cell.neg .cal-val { color: var(--red); }
.cal-legend { display: flex; gap: 18px; justify-content: center; margin-top: 16px; color: var(--text-dim); font-size: 0.8rem; flex-wrap: wrap; }
.cal-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--bg-soft); border: 1px solid var(--border); margin-right: 6px; }
.cal-legend .dot.pos { background: rgba(56, 193, 114, 0.5); }
.cal-legend .dot.neg { background: rgba(227, 85, 107, 0.5); }
.cal-disclaimer {
  margin-top: 16px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-style: italic;
}
@media (max-width: 560px) {
  .cal-cell { min-height: 44px; padding: 3px 4px; }
  .cal-cell .cal-val { font-size: 0.62rem; }
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table.spec {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.spec th, table.spec td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
table.spec th { color: var(--gold); background: var(--bg-soft); font-weight: 600; }
table.spec td:first-child { color: var(--text-dim); width: 40%; }
table.spec tr:last-child td { border-bottom: none; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(232, 184, 75, 0.12);
}
.price-card .plan-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #171205;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.price-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  margin: 10px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.price-card .price small { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; white-space: nowrap; }
.price-card ul {
  list-style: none;
  margin: 20px 0 26px;
  flex: 1;
}
.price-card ul li {
  padding: 7px 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--border);
}
.price-card ul li::before { content: "✓  "; color: var(--green); font-weight: 700; }
.price-card ul li.no::before { content: "✕  "; color: var(--red); }
.price-card .btn { width: 100%; text-align: center; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after { content: "+"; color: var(--gold); font-size: 1.4rem; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 22px 20px; color: var(--text-dim); font-size: 0.93rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.12), rgba(232, 184, 75, 0.03));
  border: 1px solid rgba(232, 184, 75, 0.35);
  border-radius: var(--radius);
  padding: 48px 30px;
  text-align: center;
}
.cta-banner h2 { font-size: 1.6rem; margin-bottom: 10px; }
.cta-banner p { color: var(--text-dim); margin-bottom: 26px; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  background: var(--bg-card);
  border-radius: 8px;
  padding: 18px 22px;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 40px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 44px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 12px; color: var(--gold); }
.footer-grid p, .footer-grid a { color: var(--text-dim); font-size: 0.88rem; display: block; padding: 3px 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

/* ---------- Page header ---------- */
.page-head {
  padding: 60px 0 10px;
  text-align: center;
}
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 10px; }
.page-head p { color: var(--text-dim); max-width: 620px; margin: 0 auto; }

/* ---------- Responsive ---------- */
.grid > * { min-width: 0; }
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 20px;
    gap: 14px;
    align-items: flex-start;
  }
  .nav-links.show { display: flex; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
}
