/* GE Informer — marketing landing page. Builds on the design tokens in
   styles.css (:root vars + .btn) and adds a standalone landing layout. */

:root {
  --ge-max: 1140px;
}

body.ge-landing {
  background:
    radial-gradient(1100px 520px at 80% -8%, rgba(247, 183, 51, 0.10), transparent 60%),
    radial-gradient(900px 480px at 8% 4%, rgba(90, 169, 255, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.ge-wrap { max-width: var(--ge-max); margin: 0 auto; padding: 0 24px; }

/* ---------- Top nav ---------- */
.ge-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 14, 20, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.ge-nav__inner {
  max-width: var(--ge-max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.ge-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ge-brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), #e0922b);
  color: #1a1205; font-weight: 800; font-size: 16px; letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(247, 183, 51, 0.3);
}
.ge-brand__name { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }
.ge-brand__sub { font-size: 11.5px; color: var(--text-dim); margin-top: 1px; }

.ge-nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ge-nav__link {
  padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600;
  color: var(--text-dim); text-decoration: none; transition: color 0.15s, background 0.15s;
}
.ge-nav__link:hover { color: var(--text); background: var(--panel); }
.ge-nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.ge-nav__toggle { display: none; }

/* ---------- Hero ---------- */
.ge-hero { text-align: center; padding: 84px 0 64px; }
.ge-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
  background: rgba(247, 183, 51, 0.1); border: 1px solid rgba(247, 183, 51, 0.25);
  color: var(--accent); font-size: 12.5px; font-weight: 600;
}
.ge-hero h1 {
  font-size: clamp(38px, 6vw, 68px); line-height: 1.05; font-weight: 800;
  letter-spacing: -1.5px; margin: 0 auto 22px; max-width: 16ch;
}
.ge-hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ge-hero__sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--text-dim);
  max-width: 620px; margin: 0 auto 34px; line-height: 1.55;
}
.ge-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.ge-hero__note { margin-top: 18px; font-size: 13px; color: var(--text-faint); }

/* ---------- Showcase (chart + market table) ---------- */
.ge-showcase { padding: 8px 0 56px; }
.ge-showcase__stack {
  display: flex; flex-direction: column; gap: 28px;
  max-width: 960px; margin: 0 auto;
}
.ge-showcase-chart,
.ge-showcase-table,
.ge-showcase-strategy { margin: 0; }
.ge-showcase__chart-body { padding: 12px 12px 0; background: rgba(11, 14, 20, 0.35); }
.ge-chart-svg-wrap {
  width: 100%; height: 220px; overflow: hidden; position: relative;
}
.ge-chart-svg { display: block; width: 100%; height: 100%; }
.ge-chart-hit { cursor: crosshair; }
.ge-chart-hit--buy,
.ge-chart-hit--sell,
.ge-chart-hit--forecast.ge-chart-layer--forecast-bg { fill: transparent; }

.ge-chart-grid line { stroke: rgba(47, 58, 79, 0.55); stroke-width: 1; }
.ge-chart-axis { fill: var(--text-faint); font-size: 11px; font-family: var(--mono); }

.ge-chart-layer { transition: opacity 0.22s ease; }
.ge-chart-layer--forecast-bg {
  fill: rgba(216, 180, 254, 0.06); stroke: rgba(216, 180, 254, 0.12); stroke-width: 1;
}
.ge-chart-layer--buy rect:not(.ge-chart-hit) { fill: rgba(96, 165, 250, 0.20); stroke: #60a5fa; stroke-width: 2; }
.ge-chart-layer--sell rect:not(.ge-chart-hit) { fill: rgba(52, 211, 153, 0.20); stroke: #34d399; stroke-width: 2; }
.ge-chart-layer--trend {
  fill: none; stroke: rgba(160, 170, 190, 0.75); stroke-width: 1.5; stroke-dasharray: 5 5;
}
.ge-chart-layer--forecast {
  fill: none; stroke: #d8b4fe; stroke-width: 2.5; stroke-dasharray: 5 7; stroke-linecap: square;
}
.ge-chart-price-fill { fill: url(#geGoldFill); stroke: none; }
.ge-chart-price-line {
  fill: none; stroke: #f7b733; stroke-width: 2.5; stroke-linecap: square; stroke-linejoin: miter;
}
.ge-chart-layer--today line { stroke: rgba(247, 183, 51, 0.35); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ge-chart-layer--today text { fill: var(--accent); font-size: 10px; font-weight: 700; }
.ge-chart-zone-label { fill: var(--text-faint); font-size: 10px; font-weight: 600; opacity: 0; transition: opacity 0.2s; }

.ge-showcase-chart:has(.ge-chart-hit:hover) .ge-chart-layer { opacity: 0.2; }
.ge-showcase-chart:has(.ge-chart-hit--price:hover) .ge-chart-layer--price { opacity: 1; }
.ge-showcase-chart:has(.ge-chart-hit--price:hover) .ge-chart-price-line { stroke: #ffd56a; }
.ge-showcase-chart:has(.ge-chart-hit--buy:hover) .ge-chart-layer--buy { opacity: 1; }
.ge-showcase-chart:has(.ge-chart-hit--buy:hover) .ge-chart-layer--buy .ge-chart-zone-label { opacity: 1; }
.ge-showcase-chart:has(.ge-chart-hit--buy:hover) .ge-chart-layer--buy rect:not(.ge-chart-hit) { fill: rgba(96, 165, 250, 0.32); }
.ge-showcase-chart:has(.ge-chart-hit--sell:hover) .ge-chart-layer--sell { opacity: 1; }
.ge-showcase-chart:has(.ge-chart-hit--sell:hover) .ge-chart-layer--sell .ge-chart-zone-label { opacity: 1; }
.ge-showcase-chart:has(.ge-chart-hit--sell:hover) .ge-chart-layer--sell rect:not(.ge-chart-hit) { fill: rgba(52, 211, 153, 0.32); }
.ge-showcase-chart:has(.ge-chart-hit--trend:hover) .ge-chart-layer--trend { opacity: 1; stroke: rgba(200, 210, 230, 0.95); }
.ge-showcase-chart:has(.ge-chart-hit--forecast:hover) .ge-chart-layer--forecast,
.ge-showcase-chart:has(.ge-chart-hit--forecast:hover) .ge-chart-layer--forecast-bg { opacity: 1; }
.ge-showcase-chart:has(.ge-chart-hit--forecast:hover) .ge-chart-layer--forecast { stroke: #e9d5ff; }
.ge-showcase-chart:has(.ge-chart-hit--forecast:hover) .ge-chart-layer--forecast-bg { fill: rgba(216, 180, 254, 0.12); }

.ge-chart-tip {
  margin: 10px 0 12px; padding: 10px 14px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--border);
  height: 68px; box-sizing: border-box; overflow: hidden;
  transition: border-color 0.2s;
}
.ge-showcase-chart:has(.ge-chart-hit--price:hover) .ge-chart-tip { border-color: rgba(247, 183, 51, 0.35); }
.ge-showcase-chart:has(.ge-chart-hit--buy:hover) .ge-chart-tip { border-color: rgba(96, 165, 250, 0.35); }
.ge-showcase-chart:has(.ge-chart-hit--sell:hover) .ge-chart-tip { border-color: rgba(52, 211, 153, 0.35); }
.ge-showcase-chart:has(.ge-chart-hit--forecast:hover) .ge-chart-tip { border-color: rgba(216, 180, 254, 0.35); }
.ge-chart-tip strong { display: block; font-size: 13px; margin-bottom: 3px; color: var(--text); }
.ge-chart-tip span { display: block; font-size: 12.5px; color: var(--text-dim); line-height: 1.45; }

.ge-preview {
  max-width: 960px; margin: 0 auto; border-radius: 18px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.ge-preview__bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--panel); border-bottom: 1px solid var(--border);
}
.ge-preview__dot { width: 11px; height: 11px; border-radius: 50%; background: #2f3a4f; }
.ge-preview__dot:nth-child(1) { background: #f0616d; }
.ge-preview__dot:nth-child(2) { background: #f7b733; }
.ge-preview__dot:nth-child(3) { background: #3ad29f; }
.ge-preview__url {
  margin-left: 12px; font-size: 12px; color: var(--text-faint); font-family: var(--mono);
}
.ge-preview__body { padding: 0; overflow-x: auto; }
.ge-preview table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.ge-preview th {
  text-align: right; padding: 12px 14px; font-size: 11px; letter-spacing: 0.4px;
  text-transform: uppercase; color: var(--text-faint); border-bottom: 1px solid var(--border);
}
.ge-preview th:first-child { text-align: left; }
.ge-preview td { padding: 13px 14px; text-align: right; border-bottom: 1px solid rgba(35,44,61,0.5); font-family: var(--mono); }
.ge-preview td:first-child { text-align: left; font-family: inherit; font-weight: 600; }
.ge-preview tr:last-child td { border-bottom: none; }
.ge-preview .pos { color: var(--green); }
.ge-preview .pill {
  display: inline-block; min-width: 34px; padding: 3px 8px; border-radius: 7px;
  font-weight: 700; text-align: center;
}
.ge-preview .pill.hi { background: rgba(58,210,159,0.16); color: var(--green); }
.ge-preview .pill.mid { background: rgba(247,183,51,0.16); color: var(--accent); }
.ge-preview .tag {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; margin-left: 8px;
  background: rgba(90,169,255,0.14); color: var(--blue); vertical-align: middle;
}

/* Strategy preview card (fixed height — no layout shift when cycling) */
.ge-showcase__strategy-body {
  padding: 16px 18px 18px;
  background: rgba(11, 14, 20, 0.35);
  min-height: 196px;
}
.ge-strategy-card {
  border-left: 3px solid var(--green);
  background: var(--panel);
  border-radius: 12px;
  padding: 14px 16px 12px;
  min-height: 132px;
  transition: border-color 0.35s ease;
}
.ge-strategy-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.ge-strategy-card__head h3 {
  margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.2px;
}
.ge-strategy-card__badge { flex-shrink: 0; }
.ge-strategy-card__figures {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px;
  margin-bottom: 10px;
}
.ge-strategy-card__figures > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ge-strategy-card__detail {
  margin: 0; min-height: 48px; max-height: 48px; overflow: hidden;
  font-size: 12.5px; line-height: 1.55; color: var(--text-dim);
  transition: opacity 0.35s ease;
}
.ge-strategy-card__detail.is-fading { opacity: 0; }
.ge-strategy-card__note {
  margin: 12px 0 0; font-size: 12px; color: var(--text-faint); text-align: center;
}
.ge-strategy-card__figures .bf-value,
.ge-strategy-card__figures .bf-text { transition: opacity 0.35s ease; }
.ge-strategy-card__figures .bf-value.is-fading,
.ge-strategy-card__figures .bf-text.is-fading,
.ge-strategy-card__badge.is-fading { opacity: 0; }

/* ---------- Section scaffolding ---------- */
.ge-section { padding: 64px 0; }
.ge-section--alt { background: rgba(17, 21, 31, 0.5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ge-section__head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.ge-section__eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.ge-section__head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.6px; margin: 0 0 12px; }
.ge-section__head p { font-size: 16px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* ---------- Feature grid ---------- */
.ge-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ge-feature {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; transition: transform 0.15s, border-color 0.15s;
}
.ge-feature:hover { transform: translateY(-3px); border-color: rgba(247,183,51,0.3); }
.ge-feature__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(247,183,51,0.12); color: var(--accent); font-size: 22px; margin-bottom: 16px;
}
.ge-feature h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.ge-feature p { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* ---------- Comparison ---------- */
.ge-compare { max-width: 820px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.ge-compare table { width: 100%; border-collapse: collapse; }
.ge-compare th, .ge-compare td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.ge-compare thead th { background: var(--panel); font-weight: 700; }
.ge-compare thead th:nth-child(2) { color: var(--accent); text-align: center; }
.ge-compare thead th:nth-child(3) { color: var(--text-dim); text-align: center; }
.ge-compare td:nth-child(2), .ge-compare td:nth-child(3) { text-align: center; font-family: var(--mono); }
.ge-compare tbody tr:last-child td { border-bottom: none; }
.ge-compare .yes { color: var(--green); font-weight: 700; }
.ge-compare .no { color: var(--text-faint); }
.ge-compare td:first-child { color: var(--text); font-weight: 600; }

/* ---------- Pricing teaser ---------- */
.ge-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; }
.ge-plan {
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px; display: flex; flex-direction: column;
}
.ge-plan--featured { border-color: rgba(247,183,51,0.5); box-shadow: 0 20px 50px rgba(247,183,51,0.08); position: relative; }
.ge-plan__flag {
  position: absolute; top: -12px; right: 24px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1205;
  font-size: 11px; font-weight: 800; letter-spacing: 0.4px;
}
.ge-plan h3 { font-size: 18px; margin: 0 0 6px; }
.ge-plan__price { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin: 8px 0 2px; }
.ge-plan__price span { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.ge-plan__tag { font-size: 13.5px; color: var(--text-dim); margin-bottom: 18px; }
.ge-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; }
.ge-plan li { font-size: 14px; color: var(--text); padding-left: 26px; position: relative; line-height: 1.45; }
.ge-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.ge-plan li.muted { color: var(--text-faint); }
.ge-plan li.muted::before { content: "—"; color: var(--text-faint); }
.ge-plan .btn { margin-top: auto; justify-content: center; }
.ge-pricing-note { text-align: center; color: var(--text-faint); font-size: 13px; margin: 24px 0 0; }

/* ---------- FAQ ---------- */
.ge-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ge-faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px;
}
.ge-faq summary {
  cursor: pointer; padding: 16px 0; font-size: 15.5px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.ge-faq summary::-webkit-details-marker { display: none; }
.ge-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
.ge-faq details[open] summary::after { content: "−"; }
.ge-faq p { margin: 0 0 16px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.ge-cta-band { text-align: center; padding: 76px 0; }
.ge-cta-band h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.8px; margin: 0 0 14px; }
.ge-cta-band p { font-size: 17px; color: var(--text-dim); margin: 0 auto 28px; max-width: 520px; }

/* ---------- Footer ---------- */
.ge-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.ge-footer__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; }
.ge-footer__links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.ge-footer__links a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.ge-footer__links a:hover { color: var(--text); }
.ge-footer__meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; max-width: 420px; }
.ge-footer__dvelop,
.ge-footer__contact { margin: 0; font-size: 13px; color: var(--text-dim); }
.ge-footer__dvelop a,
.ge-footer__contact a { color: var(--text-dim); text-decoration: none; }
.ge-footer__dvelop a:hover,
.ge-footer__contact a:hover { color: var(--text); }
.ge-footer__copy { font-size: 13px; color: var(--text-faint); }

/* ---------- Auth (login/signup) page ---------- */
.ge-auth-wrap { display: flex; justify-content: center; padding: 64px 24px 80px; }
.ge-auth-card {
  width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 18px; padding: 34px;
}
.ge-auth-card h1 { font-size: 26px; letter-spacing: -0.4px; margin: 0 0 6px; }
.ge-auth-sub { color: var(--text-dim); font-size: 14.5px; margin: 0 0 22px; }
.ge-auth-tabs {
  display: flex; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 11px; margin-bottom: 20px;
}
.ge-auth-tab {
  flex: 1; padding: 9px; border-radius: 8px; border: none; background: none; cursor: pointer;
  color: var(--text-dim); font-weight: 600; font-size: 14px; font-family: inherit;
}
.ge-auth-tab.active { background: var(--panel-2); color: var(--text); }
.ge-google-btn { width: 100%; justify-content: center; display: flex; align-items: center; gap: 10px; padding: 12px; }
.ge-google-g {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; color: #4285f4; font-weight: 800; font-size: 13px;
}
.ge-auth-divider { text-align: center; position: relative; margin: 18px 0; color: var(--text-faint); font-size: 12px; }
.ge-auth-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--border); }
.ge-auth-divider span { position: relative; background: var(--panel); padding: 0 12px; }
.ge-auth-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.ge-auth-label input {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
  color: var(--text); font-size: 14.5px; font-family: inherit;
}
.ge-auth-label input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(247,183,51,0.12); }
#ge-login-submit { width: 100%; justify-content: center; margin-top: 4px; }
.ge-login__hint { font-size: 13px; margin: 12px 0 0; color: var(--text-dim); text-align: center; min-height: 1em; }
.ge-login__hint.ok { color: var(--green); }
.ge-login__hint.err { color: var(--red); }
.ge-auth-foot { font-size: 12px; color: var(--text-faint); text-align: center; margin: 20px 0 0; line-height: 1.5; }

/* ---------- Account page ---------- */
.ge-account-card { max-width: 520px; }
.ge-account-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.ge-account-block h2 { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--accent); letter-spacing: 0.2px; }
.ge-account-meta { font-size: 15px; color: var(--text); margin: 0 0 14px; }
.ge-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.ge-account-note { font-size: 12.5px; color: var(--text-faint); line-height: 1.55; margin: 0; }
.ge-account-list { margin: 0; padding-left: 18px; color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }
.ge-account-list li { margin-bottom: 10px; }
.ge-account-list a { color: var(--accent); }
.ge-link-btn {
  background: none; border: none; padding: 0; color: var(--accent); cursor: pointer;
  font: inherit; text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .ge-features { grid-template-columns: repeat(2, 1fr); }
  .ge-pricing { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ge-footer__meta { align-items: flex-start; text-align: left; width: 100%; max-width: none; }
  .ge-nav__links { display: none; }
  .ge-features { grid-template-columns: 1fr; }
  .ge-hero { padding: 56px 0 44px; }
  .ge-brand__sub { display: none; }
}
