/* ----------------------------------------------------------
   WorkFlow marketing site
   ---------------------------------------------------------- */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-dark: #0f1d2e;
  --ink: #0f1d2e;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --line: #e3e8ef;
  --brand: #1f4e79;
  --brand-2: #2e75b6;
  --brand-soft: #e8f1fa;
  --accent: #f97316;
  --shadow-sm: 0 2px 6px rgba(15, 29, 46, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 29, 46, 0.10);
  --shadow-lg: 0 28px 80px rgba(15, 29, 46, 0.16);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

code, kbd {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}
kbd {
  background: #eef2f7;
  border: 1px solid #d6dde6;
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 7px;
  color: #1f2937;
}
code {
  background: #eef2f7;
  border-radius: 5px;
  padding: 1px 6px;
  color: #0b3a63;
}

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

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 56px;
  max-width: 720px;
}

.muted { color: var(--ink-muted); }

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 78, 121, 0.28);
}
.btn-primary:hover {
  background: #194062;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(31, 78, 121, 0.34);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn-sm  { padding: 9px 16px; font-size: 14px; }
.btn-lg  { padding: 14px 26px; font-size: 16px; }
.btn-xl  { padding: 18px 34px; font-size: 18px; }

/* ----------------------------------------------------------
   Header / nav
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 800px) {
  .nav-links { display: none; }
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  background:
    radial-gradient(1100px 480px at 85% 10%, rgba(46,117,182,0.10), transparent 60%),
    radial-gradient(900px 420px at 10% 0%, rgba(31,78,121,0.07), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 64px;
}
@media (max-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 22px;
}
.hero .accent {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 580px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 15px;
}
.hero-shot img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: rotate(-0.6deg);
}

/* ----------------------------------------------------------
   Sections — common
   ---------------------------------------------------------- */
section { padding: 96px 0; }
section.props { background: var(--bg-soft); }
section.views { background: #fff; }
section.gallery { background: var(--bg-soft); }
section.model { background: #fff; }
section.pricing {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(31,78,121,0.08), transparent 60%),
    var(--bg-soft);
}
section.faq { background: #fff; }

/* ----------------------------------------------------------
   Value props
   ---------------------------------------------------------- */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .props-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .props-grid { grid-template-columns: 1fr; } }

.prop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cdd9e6;
}
.prop-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.prop-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.prop-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ----------------------------------------------------------
   Views walkthrough
   ---------------------------------------------------------- */
.view-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.view-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.view-row.reverse .view-copy { order: 2; }
.view-row.reverse .view-shot { order: 1; }
.view-row:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .view-row,
  .view-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 60px;
  }
  .view-row.reverse .view-copy { order: 1; }
  .view-row.reverse .view-shot { order: 2; }
}

.view-copy h3 {
  font-size: 28px;
  margin: 8px 0 12px;
  letter-spacing: -0.015em;
}
.view-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}
.step {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 0.12em;
}
.view-shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* ----------------------------------------------------------
   Gallery grid
   ---------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: zoom-in;
}
.gallery-grid figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gallery-grid figure:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   Lightbox
   ---------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 20, 35, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  animation: lb-fade 0.18s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-img {
  max-width: min(1400px, 96vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #fff;
}
.lightbox-caption {
  margin-top: 14px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  max-width: 80ch;
  opacity: 0.9;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.gallery-grid img { width: 100%; display: block; }
.gallery-grid figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: #fff;
}

/* ----------------------------------------------------------
   Data model
   ---------------------------------------------------------- */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .model-grid { grid-template-columns: 1fr; } }

.model-col {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.model-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.model-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.model-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
}
.model-col li:last-child { border-bottom: none; }
.model-col strong { color: var(--ink); }

/* ----------------------------------------------------------
   Pricing
   ---------------------------------------------------------- */
.price-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 44px 38px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
}
.currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  align-self: flex-start;
  margin-top: 14px;
}
.amount {
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.period {
  font-size: 16px;
  color: var(--ink-muted);
  margin-left: 6px;
}
.price-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.price-features li {
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.price-fineprint {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  max-width: 920px;
}
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-grid details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  color: var(--brand-2);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-grid details[open] summary::after {
  content: "−";
}
.faq-grid details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ----------------------------------------------------------
   Final CTA
   ---------------------------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #143656 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.final-cta h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.final-cta p {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.78);
  font-size: 18px;
}
.final-cta .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 30px rgba(0,0,0,0.20);
}
.final-cta .btn-primary:hover {
  background: #f1f5fb;
  color: var(--brand);
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 64px 0 28px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--brand); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 4px 0 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin: 8px 0; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #94a3b8; }

.footer-bottom {
  border-top: 1px solid #1e2f44;
  padding-top: 20px;
  font-size: 13px;
}
