/* ─────────────────────────────────────────────────────────────────────────
   OmniVectors marketing site — shared stylesheet
   Palette intentionally mirrors the PyExcelAI report/PDF branding (navy +
   blue + gold) so the site and the product output feel like one system.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --navy:       #0B1F3A;
  --navy-2:     #14335F;
  --blue:       #1565C0;
  --blue-light: #4C8DF0;
  --gold:       #B7950B;
  --gold-light: #E8C468;
  --green:      #1D9E75;
  --red:        #C0392B;

  --ink:        #1C2033;
  --ink-soft:   #4A5268;
  --muted:      #6B7280;
  --line:       #E3E7F0;
  --surface:    #FAFBFE;
  --card:       #FFFFFF;
  --bg:         #FFFFFF;

  --sans: 'Inter', 'Segoe UI', -apple-system, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;

  --radius: 12px;
  --shadow: 0 2px 10px rgba(11,31,58,0.06);
  --shadow-lg: 0 12px 40px rgba(11,31,58,0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); margin: 0 0 14px; line-height: 1.2; font-weight: 800; }
p { margin: 0 0 14px; color: var(--ink-soft); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
.section-alt { background: var(--surface); }
.center { text-align: center; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: all 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(21,101,192,0.3); }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 6px 20px rgba(21,101,192,0.4); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(183,149,11,0.3); }
.btn-gold:hover { background: #96790a; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Header / Nav ── */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; border-radius: 8px; }
.brand-tagline {
  font-family: var(--sans); font-weight: 600; font-size: 12.5px; color: var(--ink-soft);
  letter-spacing: 0.2px; padding-left: 12px; border-left: 1px solid var(--line);
  white-space: nowrap;
}
@media (max-width: 680px) { .brand-tagline { display: none; } }
nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav > ul { display: flex; align-items: center; gap: 2px; }
nav.main-nav > ul > li { position: relative; }
nav.main-nav > ul > li > a, .nav-btn {
  display: block; padding: 10px 14px; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); border-radius: 8px; background: none; border: none;
  cursor: pointer; font-family: var(--sans);
}
nav.main-nav > ul > li > a:hover, .nav-btn:hover { color: var(--navy); background: var(--surface); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.dropdown-panel {
  position: absolute; top: 46px; left: 0; min-width: 240px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all 0.15s ease;
}
li.has-dropdown:hover .dropdown-panel,
li.has-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a {
  display: block; padding: 9px 12px; border-radius: 7px; font-size: 13.5px;
  font-weight: 600; color: var(--ink-soft);
}
.dropdown-panel a:hover { background: var(--surface); color: var(--navy); text-decoration: none; }
.dropdown-panel .dd-desc { font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--navy); }

@media (max-width: 900px) {
  nav.main-nav { position: fixed; inset: 68px 0 0 0; background: var(--card);
    flex-direction: column; align-items: stretch; padding: 12px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.2s ease; }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; display: none; padding-left: 14px; }
  li.has-dropdown.open .dropdown-panel { display: block; }
  .nav-cta { flex-direction: column; align-items: stretch; padding: 14px 4px; }
  .nav-toggle { display: block; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue) 68%, var(--navy-2) 100%);
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 82% 18%, rgba(232,196,104,0.18), transparent 45%);
}
.hero .container { position: relative; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); max-width: 780px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lede { color: rgba(255,255,255,0.82); font-size: 18px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.22); }
.hero-stat-value { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 11.5px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 2px; }
.hero-small { padding: 56px 0 64px; }
.hero-small h1 { font-size: clamp(28px, 4vw, 40px); }

/* ── Grids / Cards ── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1080px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { font-size: 14px; margin-bottom: 0; }

/* ── App directory cards ── */
.app-card { display: flex; flex-direction: column; height: 100%; }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.app-badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.badge-free { background: rgba(29,158,117,0.12); color: var(--green); }
.badge-pro { background: rgba(183,149,11,0.14); color: #8a6f08; }
.badge-soon { background: rgba(107,114,128,0.14); color: var(--muted); }
.app-card p { flex: 1; font-size: 14px; }
.app-card .btn { align-self: flex-start; margin-top: 14px; }
.app-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.app-tag { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }

/* ── Pricing ── */
.price-card { text-align: center; position: relative; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 8px 30px rgba(21,101,192,0.16); transform: scale(1.03); }
.price-card .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.4px;
}
.price-value { font-size: 40px; font-weight: 800; color: var(--navy); margin: 12px 0 2px; }
.price-value span { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.price-feat { text-align: left; font-size: 13.5px; margin: 18px 0; }
.price-feat li { padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); display: flex; gap: 8px; }
.price-feat li:last-child { border-bottom: none; }
.price-feat li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ── Steps / How it works ── */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-num::before { content: counter(step); }
.step-body h4 { margin-bottom: 4px; font-size: 16px; }
.step-body p { font-size: 14px; margin-bottom: 0; }

/* ── Forms ── */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--surface);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.form-status { font-size: 13px; font-weight: 600; margin-top: 12px; min-height: 18px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* ── Testimonial / quote ── */
.quote { background: var(--surface); border-left: 4px solid var(--blue); border-radius: 8px; padding: 22px 26px; font-size: 15.5px; color: var(--ink-soft); font-style: italic; }
.quote-attr { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--navy); font-style: normal; }

/* ── FAQ accordion ── */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 0; font-family: var(--sans); font-weight: 700; font-size: 15.5px; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .chev { transition: transform 0.15s ease; color: var(--muted); flex: 0 0 auto; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 18px; font-size: 14.5px; }

/* ── Badges / tags used loosely ── */
.pill { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }

/* ── Blog ── */
.post-card { display: flex; flex-direction: column; }
.post-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.post-card h3 { font-size: 18px; }
article.post-body { max-width: 720px; margin: 0 auto; }
article.post-body h2 { font-size: 24px; margin-top: 34px; }
article.post-body p, article.post-body li { font-size: 16px; color: var(--ink-soft); line-height: 1.75; }
article.post-body li { margin-bottom: 8px; }

/* ── Coming soon ── */
.coming-soon-card { text-align: center; max-width: 560px; margin: 0 auto; }
.coming-soon-icon { font-size: 40px; margin-bottom: 14px; }

/* ── Footer ── */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 56px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 52px; width: auto; border-radius: 8px; }
.footer-col h5 { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.72); padding: 5px 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ── Utility ── */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 44px 0; border: none; }
.section-head { max-width: 700px; margin: 0 auto 44px; }
.section-head.left { margin: 0 0 40px; }
.badge-inline { display: inline-block; background: rgba(21,101,192,0.1); color: var(--blue); font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; margin-bottom: 12px; }

/* ── Twinkling AI star (the "🐍 + ✨" PyExcelAI card) ── */
.twinkle { display: inline-block; animation: twinkle 1.6s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: 1;    transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.82); }
}
@media (prefers-reduced-motion: reduce) {
  .twinkle { animation: none; }
}
