/* ============================================================
   fx2live — First Experience to Live
   Shared stylesheet
   ============================================================ */

:root {
  --coral: #ff6b5b;
  --coral-dark: #e8523f;
  --coral-soft: #ffe9e5;
  --navy: #1e2a4a;
  --navy-soft: #35426b;
  --teal: #2bb8a3;
  --teal-soft: #e0f5f1;
  --gold: #ffb648;
  --gold-soft: #fff3df;
  --ink: #26304d;
  --muted: #5f6b8a;
  --line: #e7e9f2;
  --bg: #ffffff;
  --bg-warm: #fff9f5;
  --bg-cool: #f5f7fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(30, 42, 74, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 42, 74, 0.14);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Nunito", "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

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

section { padding: 84px 0; }

.eyebrow {
  display: inline-block;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow.coral { color: var(--coral-dark); background: var(--coral-soft); }
.eyebrow.gold { color: #b97a17; background: var(--gold-soft); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 91, 0.35);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.logo-text {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-text .fx { color: var(--coral); }

.logo-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.nav-links a:hover { color: var(--coral-dark); text-decoration: none; }
.nav-links a.active { color: var(--coral-dark); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, var(--teal-soft) 0%, transparent 60%),
    radial-gradient(800px 500px at -10% 20%, var(--coral-soft) 0%, transparent 55%),
    var(--bg-warm);
  padding: 96px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 .accent { color: var(--coral); }
.hero p.lede { font-size: 1.18rem; margin: 22px 0 32px; max-width: 540px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--navy);
}
.hero-stats .stat span { font-size: 0.88rem; color: var(--muted); }

.hero-visual { position: relative; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card h3 { margin: 16px 0 8px; }
.card p { font-size: 0.97rem; }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--coral-soft);
}
.card .icon.teal { background: var(--teal-soft); }
.card .icon.gold { background: var(--gold-soft); }
.card .icon.cool { background: var(--bg-cool); }

.card .learn { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.92rem; }

/* ---------- Feature split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 40px 0;
}
.split.reverse .split-visual { order: 2; }
.split h2 { margin-bottom: 14px; }
.split ul { list-style: none; margin-top: 20px; }
.split ul li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
  color: var(--muted);
}
.split ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232bb8a3" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat;
}
.split ul li b { color: var(--ink); }

.split-visual {
  background: var(--bg-cool);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
}

/* ---------- Mock UI panels (illustrative) ---------- */
.mock {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-cool);
}
.mock-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line); display: inline-block;
}
.mock-bar i:nth-child(1) { background: var(--coral); }
.mock-bar i:nth-child(2) { background: var(--gold); }
.mock-bar i:nth-child(3) { background: var(--teal); }
.mock-body { padding: 22px; }

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--bg-cool);
}
.mock-row .dot {
  width: 34px; height: 34px; border-radius: 50%;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  background: var(--coral-soft);
}
.mock-row .dot.t { background: var(--teal-soft); }
.mock-row .dot.g { background: var(--gold-soft); }
.mock-row b { font-size: 0.9rem; color: var(--navy); display: block; line-height: 1.3; }
.mock-row span { font-size: 0.78rem; color: var(--muted); }
.mock-pill {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: #157a6b;
  white-space: nowrap;
}
.mock-pill.warn { background: var(--gold-soft); color: #b97a17; }
.mock-pill.coral { background: var(--coral-soft); color: var(--coral-dark); }

.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6d28d9;
  background: #f1eaff;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------- Dark band / CTA ---------- */
.band {
  background: linear-gradient(135deg, var(--navy) 0%, #2b3a66 100%);
  color: #fff;
  border-radius: 28px;
  padding: 64px 56px;
  text-align: center;
}
.band h2 { color: #fff; }
.band p { color: #c3cbe4; max-width: 560px; margin: 14px auto 30px; }

.band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--coral);
  box-shadow: var(--shadow-lg);
}
.price-card .plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.35rem; }
.price-card .plan-for { font-size: 0.9rem; margin-top: 4px; min-height: 44px; }
.price-card .price {
  font-family: "Nunito", sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--navy);
  margin: 18px 0 2px;
}
.price-card .price small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.price-card .per { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 0 0 28px; flex: 1; }
.price-card ul li {
  padding: 9px 0 9px 30px;
  position: relative;
  font-size: 0.94rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232bb8a3" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/11px no-repeat;
}
.price-card ul li.na { opacity: 0.45; }
.price-card ul li.na::before {
  background: var(--bg-cool) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235f6b8a" stroke-width="3" stroke-linecap="round"><line x1="6" y1="12" x2="18" y2="12"/></svg>') center/11px no-repeat;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  background: #fff;
}
.faq summary {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--coral);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 0.97rem; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bg-warm);
  border: 1px solid #ffe3dc;
  border-radius: 20px;
  padding: 32px 28px;
}
.quote-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.quote-card blockquote { color: var(--ink); font-size: 1rem; line-height: 1.7; }
.quote-card .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote-card .who .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: "Nunito", sans-serif;
  color: #fff; background: var(--teal); flex: none;
}
.quote-card .who .avatar.c { background: var(--coral); }
.quote-card .who .avatar.n { background: var(--navy); }
.quote-card .who b { display: block; color: var(--navy); font-size: 0.95rem; }
.quote-card .who span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* ---------- Trust bar ---------- */
.trust {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trust span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.contact-info .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
}
.contact-info .info-item .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--coral-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex: none;
}
.contact-info .info-item b { display: block; color: var(--navy); font-family: "Nunito", sans-serif; }
.contact-info .info-item p, .contact-info .info-item a { font-size: 0.96rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: "Nunito", sans-serif;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--coral);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--bg-cool);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.legal-hero p { margin-top: 10px; font-size: 0.95rem; }

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}
.legal h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
  padding-top: 8px;
}
.legal h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 0.99rem; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 26px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal .notice {
  background: var(--gold-soft);
  border: 1px solid #f4dcae;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 0.92rem;
  margin: 24px 0;
  color: #7a5a1e;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.92rem;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}
.legal th { background: var(--bg-cool); color: var(--navy); font-family: "Nunito", sans-serif; }
.legal-toc {
  background: var(--bg-cool);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 8px;
}
.legal-toc b { font-family: "Nunito", sans-serif; color: var(--navy); }
.legal-toc ol { margin: 10px 0 0; padding-left: 22px; }
.legal-toc li { margin-bottom: 4px; font-size: 0.93rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b9c2dd;
  padding: 70px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.site-footer .logo-text { color: #fff; }
.site-footer .footer-about p { font-size: 0.92rem; color: #9aa5c8; margin-top: 14px; max-width: 300px; }
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #b9c2dd; font-size: 0.94rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-contact li { font-size: 0.92rem; line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8a95bd;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, var(--teal-soft) 0%, transparent 60%),
    radial-gradient(600px 400px at 0% 30%, var(--coral-soft) 0%, transparent 55%),
    var(--bg-warm);
  padding: 76px 0 64px;
  text-align: center;
}
.page-hero p {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 1.12rem;
}

/* ---------- Utility ---------- */
.bg-warm { background: var(--bg-warm); }
.bg-cool { background: var(--bg-cool); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-visual { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band { padding: 48px 28px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 26px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
  }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0; }
  .hero-stats { gap: 24px; }
}
