/* Easy Forex Solutions - homepage styles. Mobile first. */

:root {
  --navy-900: #060f1d;
  --navy-800: #0a1628;
  --navy-700: #0f1f36;
  --navy-600: #162a47;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #e0a83e;
  --gold-dark: #c8922c;
  --teal: #4f8f8c;
  --text: #f4f6fa;
  --muted: #9fb0c8;
  --radius: 10px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--navy-800);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: #1a1405; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border-color: rgba(224, 168, 62, 0.55); color: var(--gold); }
.btn-outline:hover { border-color: var(--gold); background: rgba(224, 168, 62, 0.08); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #458280; }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn.is-disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.btn.is-disabled:hover { transform: none; background: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(6, 15, 29, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 34px; padding: 0 6px; border-radius: 7px;
  background: var(--gold); color: #1a1405; font-size: 14px; font-weight: 800;
}
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.site-nav a:not(.btn) { color: var(--muted); display: none; }
.site-nav a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 15% 85%, rgba(38, 84, 160, 0.35), transparent 70%),
    radial-gradient(700px 380px at 90% 20%, rgba(224, 168, 62, 0.10), transparent 70%),
    var(--navy-900);
}
.hero-inner { padding-top: 84px; padding-bottom: 92px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(79, 143, 140, 0.6); background: rgba(79, 143, 140, 0.12);
  font-family: var(--mono); font-size: 13px; color: #d5e4e3;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0773e; }
.hero h1 {
  margin: 26px auto 0; max-width: 780px;
  font-size: clamp(32px, 6.4vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
}
.hero-sub { margin: 20px auto 0; max-width: 560px; color: var(--muted); font-size: 18px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Live strip */
.live-strip {
  margin-top: -34px; position: relative;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  background: var(--navy-700); border: 1px solid var(--line);
}
.live-text { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.live-icon {
  width: 12px; height: 12px; border-radius: 50%; background: #e0573e; margin-right: 6px;
  box-shadow: 0 0 0 5px rgba(224, 87, 62, 0.18);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--navy-900); }
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.section h2 { margin-top: 10px; font-size: clamp(26px, 4.4vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.section-note { margin-top: 10px; color: var(--muted); }

.card {
  background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}

/* Steps */
.steps { margin-top: 32px; display: grid; gap: 16px; }
.step { position: relative; }
.step-num { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.step h3 { font-size: 22px; font-weight: 800; }
.step h3::before {
  content: ""; display: block; width: 34px; height: 4px; border-radius: 2px;
  background: var(--gold); margin-bottom: 16px;
}
.step p { margin-top: 8px; color: var(--muted); }

/* Firms */
.firms { margin-top: 32px; display: grid; gap: 16px; }
.firm { display: flex; flex-direction: column; gap: 14px; }
.firm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.firm h3 { font-size: 22px; font-weight: 800; }
.tag {
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(224, 119, 62, 0.14); color: #f0a57c; border: 1px solid rgba(224, 119, 62, 0.4);
}
.firm-verdict { color: var(--muted); flex: 1; }
.text-link { color: var(--gold); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* Membership */
.member-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--navy-900); }
.member-main { padding: 30px 24px; }
.member-main h2 { margin-top: 10px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 17px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 7px;
  width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.fine { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.member-price { padding: 28px 24px 30px; background: var(--navy-700); border-top: 1px solid var(--line); }
.price { margin-top: 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.price s { color: var(--muted); font-size: 22px; }
.price-now { color: var(--gold); font-size: 48px; font-weight: 800; line-height: 1; }
.price-per { color: var(--muted); font-size: 18px; font-weight: 600; }
.founding { margin: 10px 0 22px; color: #f0a57c; font-size: 15px; }
.pay-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { background: var(--navy-700); border-top: 1px solid var(--line); padding: 52px 0 30px; }
.site-footer h4 { margin-top: 28px; font-size: 15px; font-weight: 700; }
.site-footer p { margin-top: 8px; color: var(--muted); font-size: 14px; max-width: 900px; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--muted); font-size: 14px;
}
.footer-links { display: inline-flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

/* Wider screens */
@media (min-width: 640px) {
  .live-strip { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 26px; }
  .firms { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .site-nav a:not(.btn) { display: inline; }
  .hero-inner { padding-top: 120px; padding-bottom: 132px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .firms { grid-template-columns: repeat(4, 1fr); }
  .member-box { display: grid; grid-template-columns: 1.5fr 1fr; }
  .member-main { padding: 40px; }
  .member-price { border-top: 0; border-left: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---- Inner pages: sign-up, login, members area ---- */

.inner { padding: 48px 0 72px; min-height: 60vh; }
.inner h1 { margin-top: 10px; font-size: clamp(28px, 5vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.inner h2 { font-size: 20px; font-weight: 800; }
.narrow { max-width: 520px; }
.auth { padding: 30px 24px; }
.lead { margin-top: 12px; font-size: 17px; }
.auth .muted { margin: 10px 0 20px; }

.site-nav a.nav-always { display: inline; }
.inline-form { display: inline; margin: 0; }
button.btn { font-family: inherit; background: none; }
button.btn.btn-gold { background: var(--gold); }
button.btn.btn-gold:hover { background: var(--gold-dark); }

form label { display: block; margin-top: 20px; font-weight: 700; font-size: 15px; }
form input[type="text"], form input[type="email"], form input[type="password"], .copy-field {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px;
  background: var(--navy-900); color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px;
  font: inherit;
}
form input:focus, .copy-field:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
form .btn-block { margin-top: 26px; }
.hint { margin-top: 6px; color: var(--muted); font-size: 14px; }
.field-error { margin-top: 6px; color: #ff9a8a; font-size: 14px; font-weight: 600; }
.switch { margin-top: 22px; color: var(--muted); font-size: 15px; }

.alert { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.alert-error { background: rgba(224, 87, 62, 0.14); border: 1px solid rgba(224, 87, 62, 0.5); color: #ffb3a6; }
.alert-ok { background: rgba(79, 143, 140, 0.16); border: 1px solid rgba(79, 143, 140, 0.6); color: #cfe8e6; margin-bottom: 26px; }

.panels { margin-top: 28px; display: grid; gap: 16px; }
.panels .muted { margin-top: 8px; }
.copy-field { font-family: var(--mono); font-size: 14px; cursor: pointer; margin-top: 14px; }
.stat { margin-top: 14px; color: var(--muted); }
.stat strong { color: var(--gold); font-size: 20px; }

/* Plan picker */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-list { border: 0; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
form label.plan {
  margin: 0; display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center;
  padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px;
  background: var(--navy-900); cursor: pointer;
}
form label.plan:has(input:checked) { border-color: var(--gold); }
form label.plan:has(input:disabled) { cursor: default; opacity: 0.7; }
.plan input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; grid-row: span 2; }
.plan-price { color: var(--gold); font-size: 20px; font-weight: 800; grid-row: span 2; }
.plan-note { color: var(--muted); font-size: 14px; font-weight: 500; }
.plan-note-deal { color: #f0a57c; font-weight: 800; }
form .btn-block + .btn-block { margin-top: 12px; }
.panels .card > .btn { margin-top: 16px; }
.billing-form { margin-top: 12px; }

.site-footer-slim { padding: 28px 0; }
.site-footer-slim .footer-bottom { margin-top: 16px; }

@media (min-width: 900px) {
  .panels { grid-template-columns: 1fr 1fr; }
  .auth { padding: 40px; }
}

/* Keep the header on one line on phones. */
.brand, .site-nav a, .site-nav .btn { white-space: nowrap; }
@media (max-width: 479px) {
  .site-nav { gap: 14px; }
  .inner-page .brand-name { display: none; }
}
