/* FixSight marketing site — theme mirrors the app (charcoal + safety orange). */
:root {
  --bg: #121417;
  --bg-deep: #0d0f12;
  --panel: #1b1f24;
  --panel-2: #21262d;
  --line: #2a2f36;
  --line-soft: #1e232a;
  --ink: #f4f6f8;
  --ink-soft: #aab2bb;
  --ink-faint: #727b85;
  --accent: #ff6a00;
  --accent-2: #ff8a3d;
  --accent-soft: #2a1a0e;
  --green: #34c173;
  --yellow: #f5c518;
  --red: #ff5257;
  --blue: #5b9dff;
  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.eyebrow {
  color: var(--accent-2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
h2.section-title { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 16px; }
.section-sub { color: var(--ink-soft); font-size: 18px; max-width: 620px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.accent { color: var(--accent); }

/* Wordmark */
.brand-mark { border-radius: 9px; display: block; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.5px; }
.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 82, 87, 0.12);
  color: #ff7b7f;
  border: 1px solid rgba(255, 82, 87, 0.35);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255, 106, 0, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 106, 0, 0.7); }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-2); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 18, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(13, 15, 18, 0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-left { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-mobile-join { display: none; }

/* Hero */
.hero { padding: 70px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, #ffd0a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--ink-faint); font-size: 14px; }
.hero-trust b { color: var(--ink); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--green); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  width: 300px;
  background: #05070a;
  border-radius: 42px;
  padding: 12px;
  border: 1px solid #2c333c;
  box-shadow: var(--shadow);
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform 0.5s ease;
}
.phone:hover { transform: rotateY(-4deg) rotateX(1deg); }
.phone-screen { background: var(--bg); border-radius: 32px; overflow: hidden; }
.phone-notch { height: 26px; display: flex; justify-content: center; }
.phone-notch::after { content: ""; width: 110px; height: 18px; background: #05070a; border-radius: 0 0 14px 14px; }
.scr { padding: 4px 16px 18px; }
.scr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.scr-top .wordmark { font-size: 17px; }
.scr-photo {
  height: 120px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.15), transparent),
    repeating-linear-gradient(45deg, #232a31, #232a31 10px, #1d2329 10px, #1d2329 20px);
  position: relative;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
.scr-card { background: var(--panel); border-radius: 14px; padding: 13px; border: 1px solid var(--line); border-left: 3px solid var(--yellow); margin-bottom: 10px; }
.scr-problem { font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.chip { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.chip.sev { background: rgba(245, 197, 24, 0.16); color: var(--yellow); }
.chip.diy { background: rgba(52, 193, 115, 0.16); color: var(--green); }
.chip.conf { background: #232a31; color: var(--ink-soft); }
.scr-cost { display: flex; gap: 8px; }
.scr-cost div { flex: 1; background: var(--bg-deep); border-radius: 10px; padding: 8px; }
.scr-cost .lbl { font-size: 9px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.5px; }
.scr-cost .val { font-weight: 800; font-size: 15px; }
.scr-flag { display: flex; gap: 8px; align-items: center; background: rgba(255, 82, 87, 0.1); border: 1px solid rgba(255, 82, 87, 0.25); border-radius: 10px; padding: 9px 11px; }
.scr-flag svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.scr-flag span { font-size: 11px; color: var(--ink); }
.scr-step { display: flex; gap: 9px; align-items: flex-start; margin-top: 10px; }
.scr-step .num { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.scr-step p { font-size: 11px; color: var(--ink-soft); }

/* Logos / marquee strip */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 26px 0; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; color: var(--ink-faint); font-weight: 700; font-size: 14px; }
.strip-inner .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: #3a424c; background: var(--panel-2); }
.feature-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-ico svg { width: 24px; height: 24px; color: var(--accent-2); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.step { position: relative; padding-top: 14px; }
.step-num { font-family: var(--serif); font-size: 54px; color: var(--accent); opacity: 0.25; font-weight: 600; line-height: 1; margin-bottom: 8px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* Audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.aud {
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.aud.pro { background: linear-gradient(165deg, #20140b, #161013); border-color: #4a2e14; }
.aud h3 { font-size: 24px; margin-bottom: 8px; }
.aud .tag { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.aud ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.aud li { display: flex; gap: 11px; color: var(--ink-soft); font-size: 15px; }
.aud li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Pricing */
.banner-free {
  text-align: center;
  background: rgba(52, 193, 115, 0.1);
  border: 1px solid rgba(52, 193, 115, 0.3);
  color: #7fe0a8;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  gap: 8px;
  margin: 0 auto 36px;
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 20px 50px -24px rgba(255, 106, 0, 0.6); position: relative; }
.plan.featured::before {
  content: "Most popular";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.5px;
}
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .price { font-size: 38px; font-weight: 800; margin: 10px 0 2px; }
.plan .price small { font-size: 15px; color: var(--ink-faint); font-weight: 600; }
.plan .price-note { color: var(--green); font-size: 13px; font-weight: 700; min-height: 18px; }
.plan .tagline { color: var(--ink-soft); font-size: 14px; margin: 12px 0 18px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; }

/* Feature highlight band (get paid / community) */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.band.reverse .band-text { order: 2; }
.band-text h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; }
.band-text p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }
.band-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.band-list li { display: flex; gap: 11px; color: var(--ink); font-size: 15px; }
.band-list li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.mock {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .l { font-size: 14px; }
.mock-row .l b { display: block; }
.mock-row .l span { color: var(--ink-faint); font-size: 12px; }
.mock-pill { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.mock-pill.paid { background: rgba(52, 193, 115, 0.16); color: var(--green); }
.mock-pill.sent { background: rgba(91, 157, 255, 0.16); color: var(--blue); }
.mock-pay { margin-top: 16px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 12px; padding: 13px; text-align: center; font-weight: 800; font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; color: var(--ink); text-align: left; font-size: 17px; font-weight: 700; padding: 22px 40px 22px 0; cursor: pointer; position: relative; font-family: var(--font); }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); font-weight: 400; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--ink-soft); font-size: 15.5px; }
.faq-a p { padding-bottom: 22px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #20140b, var(--bg-deep));
  border: 1px solid #4a2e14;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(255, 106, 0, 0.25), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); font-size: 18px; max-width: 540px; margin: 0 auto 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-brand p { color: var(--ink-faint); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 6px 0; }
.footer-col a:hover { color: var(--accent); }
.legal { border-top: 1px solid var(--line-soft); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal p { color: var(--ink-faint); font-size: 12.5px; max-width: 720px; line-height: 1.7; }
.legal .copy { color: var(--ink-faint); font-size: 13px; white-space: nowrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-wrap { order: -1; }
  .features-grid, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .split, .band { grid-template-columns: 1fr; }
  .band.reverse .band-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 18px;
  }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav-mobile-join { display: block; width: 100%; text-align: center; margin-top: 4px; }
}
@media (max-width: 600px) {
  .features-grid, .steps, .plans, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .section { padding: 60px 0; }
  .cta-band { padding: 44px 22px; }
}
