/* ==========================================================================
   Saluris — design system
   Colors: primary blue #0071BC, green #00A651, dark #1A2332, footer #0F1419
   Font: Inter
   ========================================================================== */

:root {
  --blue: #0071BC;
  --blue-dark: #005a96;
  --green: #00A651;
  --green-dark: #008f45;
  --ink: #1A2332;
  --slate: #4B5563;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg-soft: #F5FBFF;
  --bg-soft2: #F0FaF5;
  --footer: #0F1419;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
  --shadow: 0 10px 30px rgba(16,24,40,.08);
  --shadow-lg: 0 20px 50px rgba(16,24,40,.12);
  --maxw: 1200px;
  --grad: linear-gradient(to right, var(--green), var(--blue));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.section--soft { background: linear-gradient(to bottom right, var(--bg-soft), var(--white)); }
.section--tint { background: var(--bg-soft); }
.section--dark { background: var(--ink); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #cbd5e1; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---- Eyebrow pill ---- */
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  background: rgba(0,113,188,.1);
  color: var(--blue);
}
.eyebrow--green { background: rgba(0,166,81,.1); color: var(--green); }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--slate); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: all .18s ease;
  text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: #fff; color: var(--blue); border-color: #dbe6f0; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); filter: saturate(1.05); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; }
.brand svg, .brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---- Hero ---- */
.hero { padding: 72px 0 88px; background: linear-gradient(to bottom right, var(--bg-soft), #fff 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero p.lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-badges .item { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.hero-visual { position: relative; min-height: 420px; }
.hero-panel {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: transparent;
}
.hero-panel::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 65% 30%, rgba(0,113,188,.06), transparent 55%),
    radial-gradient(circle at 40% 80%, rgba(0,166,81,.06), transparent 55%);
}
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; z-index: 2;
}
.float-card small { color: var(--muted); font-size: .78rem; display: block; }
.float-card strong { color: var(--ink); font-size: .95rem; }
.float-card .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.float-card--a { bottom: 22%; left: 4%; }
.float-card--b { top: 12%; right: 2%; }
.dot-green { background: rgba(0,166,81,.15); color: var(--green); }
.dot-blue { background: rgba(0,113,188,.15); color: var(--blue); }

/* ---- Grid / cards ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; background: rgba(0,113,188,.1); color: var(--blue);
}
.icon-box.green { background: rgba(0,166,81,.1); color: var(--green); }
.icon-box svg { width: 26px; height: 26px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--blue); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: var(--bg-soft); color: var(--blue); }

/* problem cards accent */
.card--problem { border-top: 3px solid var(--blue); }

/* ---- Feature list (checkmarks) ---- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--slate); }
.check {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,166,81,.15);
  color: var(--green); display: grid; place-items: center; margin-top: 2px;
}
.check svg { width: 13px; height: 13px; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.price-card {
  background: #fff; border: 2px solid var(--blue); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow); position: relative;
}
.price-card .amount { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price-card .amount span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { color: var(--muted); font-size: .92rem; margin: 6px 0 20px; }
.price-side .example {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center;
}
.price-side .example .t { color: var(--ink); font-weight: 600; }
.price-side .example .s { color: var(--muted); font-size: .88rem; }
.price-side .example .p { color: var(--blue); font-weight: 700; font-size: 1.15rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill { background: rgba(0,166,81,.1); color: var(--green-dark); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 9999px; }

/* ---- Split (image + text) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-panel {
  position: relative; border-radius: var(--radius-lg); min-height: 340px; overflow: hidden;
  background: linear-gradient(135deg, #063d6b, #0071BC 55%, #00A651); box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.media-panel .glyph { color: rgba(255,255,255,.92); width: 96px; height: 96px; }
.media-panel .badge {
  position: absolute; top: 20px; left: 20px; background: #fff; border-radius: 12px;
  padding: 10px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
}
.media-panel .badge small { display: block; color: var(--muted); font-size: .72rem; }
.media-panel .badge strong { color: var(--ink); }

/* ---- Steps ---- */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { text-align: center; }
.step .num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin: 0 auto 14px; font-size: 1.1rem;
}

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-size: 1.05rem; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform .2s ease; flex: 0 0 auto; color: var(--blue); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 24px 20px; color: var(--muted); }

/* ---- CTA band ---- */
.cta-band { background: var(--grad); border-radius: var(--radius-lg); padding: 56px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 24px; }

/* ---- Contact / form ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,188,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.form-msg.ok { display: block; background: rgba(0,166,81,.1); color: var(--green-dark); }
.form-msg.err { display: block; background: #fef2f2; color: #b91c1c; }
.contact-aside { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 32px; }
.contact-aside .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-aside .row .ic { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; box-shadow: var(--shadow-sm); }
.contact-aside .row small { color: var(--muted); display: block; font-size: .82rem; }
.contact-aside .row a, .contact-aside .row span { color: var(--ink); font-weight: 600; }

/* ---- Stat row ---- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stats .n { font-size: 2.4rem; font-weight: 800; color: var(--blue); }
.stats .l { color: var(--muted); font-size: .95rem; }

/* ---- Legal / prose ---- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { background: var(--footer); color: #9CA3AF; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: none; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #9CA3AF; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-brand svg, .footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: #9CA3AF; max-width: 320px; font-size: .95rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; background: #1A2332; display: grid; place-items: center; color: #9CA3AF; }
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-cta { margin-bottom: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid #1f2937; margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.footer-bottom a { margin-left: 18px; }

/* ---- Page hero (subpages) ---- */
.page-hero { background: linear-gradient(to bottom right, var(--bg-soft), #fff); padding: 64px 0 56px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero p { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto; }

/* ---- Breadcrumb-ish ---- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---- Solution mini-cards (5 across) ---- */
.mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-card .icon-box { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px; }
.mini-card .icon-box svg { width: 22px; height: 22px; }
.mini-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.mini-card p { color: var(--muted); margin: 0; font-size: .9rem; }

/* ---- Persona cards (2 across, inline icon) ---- */
.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.persona-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.persona-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.persona-head .icon-box { margin: 0; flex: 0 0 auto; }
.persona-head h3 { margin: 0; }
.persona-card > p { color: var(--muted); }
.persona-card .card-tags { margin: 16px 0; }
.persona-card .divider { border: 0; border-top: 1px solid var(--line); margin: 18px 0 16px; }

/* ---- Green text link ---- */
.link-green { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); }
.link-green:hover { color: var(--green-dark); }

/* ---- Pricing (centered card + example row) ---- */
.price-wrap { max-width: 720px; margin: 0 auto; }
.price-card--center { text-align: center; border-color: #cfe6d8; }
.price-card--center .checklist { text-align: left; max-width: 460px; margin: 0 auto; }
.price-hi { background: rgba(0,166,81,.08); border-radius: 14px; padding: 18px 20px; margin: 22px 0; color: var(--green-dark); font-weight: 700; line-height: 1.5; }
.price-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 36px auto 0; }
.price-ex { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.price-ex .t { color: var(--ink); font-weight: 700; }
.price-ex .s { color: var(--muted); font-size: .9rem; margin: 2px 0 10px; }
.price-ex .p { color: var(--blue); font-weight: 800; font-size: 1.5rem; }
.price-foot { text-align: center; max-width: 720px; margin: 28px auto 0; }
.price-foot p { color: var(--muted); font-size: .95rem; margin-bottom: 6px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid, .split, .form-grid, .pricing-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 300px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: 1fr; }
  .price-examples { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-demo-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { font-size: 1.05rem; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .stats, .mini-grid { grid-template-columns: 1fr; }
  .cta-band, .price-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom a { margin-left: 0; margin-right: 18px; }
}
