/* ========================================================================
   My Inventory AI — site styles
   Palette matches the app + logo:
     navy        #102b4d   (primary / headings)
     navy-2      #1c3d6b   (links / hover)
     green       #4f8c2a   (accent / CTAs)
     green-2     #6ea83a   (bright accent / hover)
     bg          #eef2f8   (page background)
     paper       #ffffff   (cards)
     ink         #16233a   (body text)
     muted       #5d6b80   (secondary text)
     line        #dce5ef   (borders)
   Voice: friendly, reassuring, practical — not techy.
   ====================================================================== */

:root {
  --navy:    #102b4d;
  --navy-2:  #1c3d6b;
  --green:   #4f8c2a;
  --green-2: #6ea83a;
  --bg:      #eef2f8;
  --paper:   #ffffff;
  --ink:     #16233a;
  --muted:   #5d6b80;
  --line:    #dce5ef;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(16, 43, 77, 0.45);
}

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

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--green); }

/* ── Typography ──────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p  { margin-bottom: 1em; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.rule { width: 54px; height: 3px; background: var(--green); border-radius: 3px; margin: 16px 0 26px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ── Layout containers ───────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(56px, 8vw, 100px) 0; }
section.tight { padding: clamp(36px, 6vw, 64px) 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(255, 255, 255, 0.92);
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--navy); padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: center; transition: transform .2s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--green); }
.nav a.nav-cta {
  background: var(--green); color: #fff; padding: 9px 18px; border-radius: 9px;
  font-weight: 700;
}
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--green-2); color: #fff; }
.nav a.nav-login { color: var(--muted); }

.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.menu-toggle svg { width: 28px; height: 28px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: 10px;
  border: 2px solid var(--green);
  background: var(--green); color: #fff;
  transition: background .15s, color .15s, border-color .15s, transform .12s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(79,140,42,.7); }
.btn.navy { background: var(--navy); border-color: var(--navy); }
.btn.navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; }
.btn.on-dark { background: #fff; color: var(--navy); border-color: #fff; }
.btn.on-dark:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn.ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost-on-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 78% 20%, rgba(110,168,58,.22), transparent 60%),
              linear-gradient(135deg, #102b4d 0%, #163763 55%, #1c3d6b 100%);
  color: #fff;
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-top: clamp(56px, 8vw, 92px); padding-bottom: clamp(56px, 8vw, 92px);
}
.hero .eyebrow { color: var(--green-2); }
.hero h1 { color: #fff; }
.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,0.9);
  margin: 18px 0 30px; max-width: 560px; line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual img {
  width: 100%; max-width: 460px; border-radius: 18px;
  background: #fff; padding: 26px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.55);
}

.page-hero {
  background: linear-gradient(135deg, #102b4d 0%, #1c3d6b 100%);
  color: #fff; text-align: center;
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 84px);
}
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--green-2); }
.page-hero .rule { background: var(--green); margin: 16px auto 22px; }
.page-hero p { color: rgba(255,255,255,0.86); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

/* ── Trust strip ────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--navy); color: rgba(255,255,255,.85);
  padding: 16px 0;
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; align-items: center;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
}
.trust-strip .item { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 18px; height: 18px; color: var(--green-2); flex: none; }

/* ── Feature / pillar grid ──────────────────────────────────────────── */
.features { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(4, 1fr); }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.feature .icon {
  width: 46px; height: 46px; color: var(--green); margin: 0 auto 16px;
}
.feature h3 { margin-bottom: 8px; color: var(--navy); }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* ── Steps (how it works) ───────────────────────────────────────────── */
.steps { display: grid; gap: clamp(22px, 3vw, 36px); grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 1.15rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ── Split section (image + text) ───────────────────────────────────── */
.split { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse > :first-child { order: 2; }
.split .panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }

/* ── Pricing cards ──────────────────────────────────────────────────── */
.pricing { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow); position: relative; }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card .price { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.price-card .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.price-card ul { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-card ul li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); }
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--green); opacity: .15;
}
.price-card ul li::after {
  content: ""; position: absolute; left: 5px; top: 8px;
  width: 6px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.price-card .btn { margin-top: auto; text-align: center; }

.addons { display: grid; gap: 12px 28px; grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.addons .addon { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.addons .addon .name { color: var(--ink); }
.addons .addon .amt { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #102b4d 0%, #1c3d6b 100%); color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 12px auto 28px; }
.cta-band .hero-cta { justify-content: center; }

/* ── Testimonial / proof ────────────────────────────────────────────── */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; color: var(--navy);
  line-height: 1.4; margin-bottom: 16px;
}
.quote .who { color: var(--muted); font-size: 14px; letter-spacing: .04em; }

/* ── Get Started: dual path ─────────────────────────────────────────── */
.paths { display: grid; gap: 28px; grid-template-columns: 1.15fr .85fr; align-items: start; }
.path-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.path-card.diy { border: 2px solid var(--green); }
.path-card h2 { font-size: 1.6rem; }
.path-card .price { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.path-card .sub { color: var(--muted); margin-bottom: 20px; }

/* ── Forms ──────────────────────────────────────────────────────────── */
.lead-form { display: grid; gap: 15px; }
.lead-form label {
  display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; padding: 12px 14px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px;
  transition: border-color .15s, background .15s;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus {
  outline: none; border-color: var(--green); background: #fff;
}
.lead-form textarea { resize: vertical; min-height: 120px; }
.lead-form .row-2 { display: grid; gap: 15px; grid-template-columns: 1fr 1fr; }
.lead-form button { margin-top: 6px; width: 100%; }
.form-msg { padding: 14px 18px; border-radius: 9px; font-size: 14px; display: none; }
.form-msg.success { display: block; background: #ecf5e9; color: #2d5b1f; border: 1px solid #b7d9aa; }
.form-msg.error   { display: block; background: #fbe9e9; color: #7a2424; border: 1px solid #e8b3b3; }

/* ── FAQ accordion ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0;
  font-size: 1.1rem; font-weight: 700; color: var(--navy); position: relative;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--green); line-height: 1;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > p { padding: 0 36px 22px 0; color: var(--muted); margin: 0; max-width: 70ch; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 56px 0 26px; margin-top: 40px; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--green-2); }
.footer-cols { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1.6fr 1fr 1fr 1fr; margin-bottom: 36px; }
.site-footer img { height: 30px; margin-bottom: 16px; }
.site-footer .col p { color: rgba(255,255,255,0.66); margin-bottom: 8px; font-size: 14px; max-width: 30ch; }
.site-footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.site-footer .col ul { list-style: none; }
.site-footer .col ul li { margin-bottom: 9px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.55);
}

/* ── Misc helpers ───────────────────────────────────────────────────── */
.lede { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.mt-32 { margin-top: 32px; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { order: -1; }
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 340px; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .paths { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .lead-form .row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .nav { display: none; position: fixed; top: 60px; left: 0; right: 0;
         flex-direction: column; gap: 0; align-items: stretch;
         background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav.open { display: flex; }
  .nav a { padding: 13px var(--gutter); width: 100%; }
  .nav a.nav-cta { margin: 8px var(--gutter); text-align: center; }
  .menu-toggle { display: inline-flex; }
  .trust-strip .container { gap: 8px 20px; font-size: 12px; }
}
