/* Flow-Shift AI landing page.
   Values follow the design in Landing-Page/Main.dc.html. The pages use no
   inline styles (strict CSP), so every element is styled from this file. */

/* --- Fonts (self-hosted, SIL OFL - see fonts/OFL-*.txt) ------------------- */
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/heebo-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/heebo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/heebo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Base ----------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body { margin: 0; background: #070b0f; }
a { color: #22c7df; }
a:hover { color: #6ddcec; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #22c7df; outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }

.page {
  position: relative; overflow: clip; min-height: 100vh;
  background: #070b0f; color: #f2f7fa;
  font-family: 'Heebo', 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.7;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 920px; }
.wrap-faq { max-width: 880px; }
.accent { color: #0fb3cc; }
main { position: relative; z-index: 1; display: block; }

/* Cursor glow (positioned by site.js; hidden without JS and on touch screens). */
.fs-halo {
  position: absolute; left: 0; top: 0; width: 620px; height: 620px; margin-left: -310px; margin-top: -310px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle, rgba(15,179,204,0.22) 0%, rgba(15,179,204,0.09) 32%, rgba(15,179,204,0) 68%);
}

.fs-skip {
  position: absolute; top: -80px; inset-inline-start: 16px; z-index: 70;
  background: #0fb3cc; color: #031015; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.fs-skip:focus { top: 12px; }

/* --- Interactive states (from the design) ---------------------------------- */
.fs-navlink { transition: color .2s; }
.fs-navlink:hover { color: #6ddcec !important; }
.fs-btn { transition: box-shadow .25s, transform .25s, background-color .25s; }
.fs-btn:hover { box-shadow: 0 0 0 1px rgba(15,179,204,.6), 0 0 28px rgba(15,179,204,.55); transform: translateY(-2px); }
.fs-ghost { transition: border-color .25s, box-shadow .25s, color .25s; }
.fs-ghost:hover { border-color: rgba(15,179,204,.7) !important; box-shadow: 0 0 22px rgba(15,179,204,.3); }
.fs-card { transition: border-color .25s, box-shadow .25s, transform .25s; }
.fs-card:hover { border-color: rgba(15,179,204,.55) !important; box-shadow: 0 0 0 1px rgba(15,179,204,.2), 0 20px 60px -24px rgba(15,179,204,.5); transform: translateY(-3px); }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; background: #0fb3cc; color: #031015;
  font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn:hover { color: #031015; }
.btn-nav { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.btn-hero { min-height: 52px; gap: 10px; padding: 0 26px; border-radius: 12px; white-space: normal; }
.btn-ghost {
  display: inline-flex; align-items: center; border: 1px solid rgba(148,180,200,0.28); color: #e6f1f6; text-decoration: none;
}
.btn-ghost:hover { color: #e6f1f6; }
.btn-hero-ghost { min-height: 52px; padding: 0 24px; border-radius: 12px; }

/* --- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(7,11,15,0.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148,180,200,0.12);
}
.header-bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; color: #f2f7fa; text-decoration: none;
  font-weight: 800; font-size: 22px; letter-spacing: -0.5px; white-space: nowrap;
}
.logo:hover { color: #f2f7fa; }
.logo-footer { font-size: 20px; letter-spacing: normal; }
.fs-nav { display: flex; gap: 28px; font-size: 14px; }
.fs-navlink { color: #a9b9c5; text-decoration: none; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.lang-btn {
  min-height: 44px; box-sizing: border-box; background: transparent; border: 1px solid rgba(148,180,200,0.28); border-radius: 10px;
  color: #e6f1f6; padding: 0 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.lang-btn:hover { color: #e6f1f6; }

/* --- Hero ------------------------------------------------------------------ */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(15,179,204,0.35);
  background: rgba(15,179,204,0.08); color: #a6e9f3; border-radius: 999px; padding: 7px 16px; font-size: 13px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #0fb3cc; box-shadow: 0 0 10px #0fb3cc; flex: none; }
.hero-title {
  margin: 28px auto 22px; max-width: 1000px; font-size: clamp(40px, 6vw, 80px); line-height: 1.1;
  font-weight: 800; letter-spacing: -1px;
}
.hero-accent { color: #0fb3cc; text-shadow: 0 0 42px rgba(15,179,204,0.35); }
.hero-lead { max-width: 740px; margin: 0 auto; font-size: clamp(16px, 1.6vw, 19px); color: #a9b9c5; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin: 34px 0 22px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: #8ea0ad; font-size: 13px; margin-bottom: 56px; }
.trust-dot { color: #0fb3cc; }

/* Demo board */
.board {
  border: 1px solid rgba(15,179,204,0.28); background: rgba(11,18,24,0.92); border-radius: 20px; overflow: hidden;
  text-align: start; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.85), 0 0 70px -24px rgba(15,179,204,0.35);
}
.board-bar {
  padding: 14px 22px; border-bottom: 1px solid rgba(148,180,200,0.14); display: flex; align-items: center; gap: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #8ea0ad;
}
.board-lights { display: inline-flex; gap: 6px; }
.board-lights span { width: 10px; height: 10px; border-radius: 50%; background: #2a3945; }
.board-lights .on { background: #0fb3cc; }
.board-tag { margin-inline-start: auto; border: 1px solid rgba(15,179,204,0.35); color: #8fe3f0; padding: 2px 9px; border-radius: 6px; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0; }
.board-main { padding: 26px; grid-column: span 2; min-width: 0; }
.board-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.board-head h3 { font-size: 16px; margin: 0; }
.board-live { font-size: 12px; color: #6ddcec; }
.board-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; }
.board-col { background: #091016; padding: 13px; border-radius: 10px; border: 1px solid rgba(148,180,200,0.12); }
.board-col h4 { font-size: 12px; color: #93a5b2; margin: 0 0 12px; font-weight: 500; }
.board-item { background: #121c25; padding: 15px; border-radius: 8px; min-height: 130px; }
.board-mark { height: 3px; width: 30px; background: #0fb3cc; margin-bottom: 14px; box-shadow: 0 0 10px #0fb3cc; }
.board-item strong { font-size: 13px; }
.board-item p { font-size: 12px; color: #9cadb9; margin: 6px 0 0; }
.board-num { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #3fd2e8; margin-top: 14px; }
.board-aside { padding: 26px; background: rgba(15,179,204,0.06); border-inline-start: 1px solid rgba(15,179,204,0.2); min-width: 0; }
.board-assistant { display: flex; align-items: center; gap: 8px; color: #3fd2e8; font-size: 13px; }
.board-aside h3 { font-size: 18px; margin: 16px 0 10px; }
.board-aside p { font-size: 14px; color: #a9b9c5; margin: 0 0 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #6ddcec;
  border: 1px solid rgba(15,179,204,0.3); border-radius: 999px; padding: 4px 12px;
}
.board-caption { color: #7d8f9c; font-size: 12px; margin: 18px 0 0; }

/* Industries band */
.band { border-block: 1px solid rgba(148,180,200,0.12); text-align: center; padding: 30px 0; background: #0a1016; position: relative; z-index: 1; }
.band-title { margin: 0 0 14px; color: #8ea0ad; font-size: 13px; }
.band-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; font-size: 16px; font-weight: 700; color: #d4e1e8; }

/* --- Sections -------------------------------------------------------------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-alt { background: rgba(10,16,22,0.85); }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 1px; color: #3fd2e8; }
.sec-title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; margin: 14px 0; letter-spacing: -0.5px; }
.sec-lead { color: #a9b9c5; font-size: 18px; margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-290 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

.card { padding: 30px; border: 1px solid rgba(148,180,200,0.16); border-radius: 18px; background: rgba(13,20,27,0.78); }
.card-hl { border-color: rgba(15,179,204,0.35); background: rgba(15,179,204,0.06); }
.card-step { padding: 26px; }
.card-h { line-height: 1.3; }
.card-h-why { font-size: 22px; margin: 18px 0 10px; }
.card-h-svc { font-size: 21px; margin: 22px 0 10px; }
.card-h-sm { font-size: 20px; margin: 20px 0 10px; }
.card-text { color: #a9b9c5; font-size: 15px; margin: 0; }
.icon-box {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(15,179,204,0.35);
  background: rgba(15,179,204,0.08); display: flex; align-items: center; justify-content: center;
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #0fb3cc; color: #3fd2e8; flex: none;
  display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 14px;
  box-shadow: 0 0 18px rgba(15,179,204,0.35);
}
.step-line { flex: 1; height: 1px; background: rgba(15,179,204,0.25); }

/* Service models */
.model { display: flex; flex-direction: column; }
.model-featured { border-color: #0fb3cc; background: rgba(15,179,204,0.07); box-shadow: 0 0 60px -24px rgba(15,179,204,0.55); }
.model-title { font-size: 22px; margin: 0 0 6px; }
.model-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.model-head h3 { font-size: 22px; margin: 0; }
.model-tag { font-size: 12px; font-weight: 700; color: #031015; background: #0fb3cc; border-radius: 999px; padding: 3px 11px; }
.model-list { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #cfdde5; }
.model-list li { display: flex; gap: 10px; align-items: flex-start; }
.check { flex: none; margin-top: 4px; }
.model-cta {
  margin-top: auto; min-height: 48px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(148,180,200,0.28); border-radius: 11px; color: #e6f1f6; text-decoration: none; font-weight: 700; font-size: 15px;
}
.model-cta:hover { color: #e6f1f6; }
.model-cta-primary { background: #0fb3cc; border-color: #0fb3cc; color: #031015; }
.model-cta-primary:hover { color: #031015; }
.quote {
  margin-top: 24px; border: 1px dashed rgba(15,179,204,0.45); border-radius: 18px; padding: 28px 30px;
  display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center;
}
.quote-icon {
  width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgba(15,179,204,0.1);
  display: flex; align-items: center; justify-content: center;
}
.quote-body { flex: 1 1 420px; min-width: 0; }
.quote-body h3 { font-size: 22px; margin: 0 0 6px; }

/* Vision */
.vision { padding: clamp(64px, 9vw, 112px) 0; background: rgba(10,16,22,0.85); text-align: center; }
.vision-title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; font-weight: 800; margin: 18px 0 20px; letter-spacing: -0.5px; }
.vision-text { color: #a9b9c5; font-size: 18px; margin: 0 auto; max-width: 720px; }
.vision-motto { margin: 30px 0 0; font-size: 18px; font-weight: 700; color: #0fb3cc; text-shadow: 0 0 30px rgba(15,179,204,0.4); }

/* FAQ */
.faq-head { margin-bottom: 28px; }
.faq-item { border-top: 1px solid rgba(148,180,200,0.16); padding: 20px 0; }
.faq-item summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 18px; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.fs-plus { flex: none; transition: transform .25s; }
details[open] .fs-plus { transform: rotate(45deg); }
.faq-a { color: #a9b9c5; margin: 12px 0 0; padding-inline-end: 40px; }

/* --- Contact --------------------------------------------------------------- */
.contact { padding: 0 0 clamp(56px, 8vw, 96px); }
.contact-card {
  border: 1px solid rgba(15,179,204,0.45); border-radius: 26px; background: rgba(9,17,23,0.92);
  padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px); box-shadow: 0 0 90px -30px rgba(15,179,204,0.55);
}
.contact-title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.5px; }
.contact-lead { font-size: 18px; color: #a9b9c5; margin: 0 0 18px; }
.contact-note { font-size: 13px; color: #8ea0ad; margin: 0; }
.contact-mail { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: #8ea0ad; margin: 18px 0 0; }
.contact-form { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field-label { font-size: 14px; font-weight: 700; }
.field-gap { margin-top: 6px; }
.fs-input {
  border: 1px solid rgba(148,180,200,0.24); border-radius: 10px; padding: 12px 14px; background: #0b141b; color: #f2f7fa;
  font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; min-height: 46px;
}
.fs-input:focus { outline: none; border-color: #0fb3cc !important; box-shadow: 0 0 0 3px rgba(15,179,204,.25); }
.fs-textarea { resize: vertical; }
.btn-submit {
  margin-top: 12px; min-height: 52px; border: 0; border-radius: 12px; background: #0fb3cc; color: #031015;
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
.btn-submit:disabled { cursor: progress; opacity: .7; transform: none; box-shadow: none; }
.form-status { min-height: 24px; font-size: 14px; font-weight: 700; color: #6ddcec; }
.form-status.is-error { color: #ffb4a8; }
/* Honeypot field: invisible to people, filled in by naive bots. */
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --- Message pages (thanks, form error, 404) ------------------------------- */
.msg { padding: clamp(72px, 12vw, 140px) 0; text-align: center; }
.msg-card {
  max-width: 680px; margin: 0 auto; border: 1px solid rgba(15,179,204,0.45); border-radius: 26px; background: rgba(9,17,23,0.92);
  padding: clamp(28px, 4.5vw, 56px); box-shadow: 0 0 90px -30px rgba(15,179,204,0.55);
}
.msg-code { font-family: 'JetBrains Mono', monospace; color: #3fd2e8; margin: 0; }
.msg-title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.5px; }
.msg-text { color: #a9b9c5; font-size: 18px; margin: 0 0 28px; }
.msg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(148,180,200,0.14); padding: 42px 0 26px; color: #8ea0ad; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 40px; }
.footer-line { font-size: 14px; margin: 10px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; align-items: flex-start; }
.footer-link { padding: 10px 0; }
.footer-bottom {
  max-width: 1200px; margin: 24px auto 0; padding: 20px 24px 0; border-top: 1px solid rgba(148,180,200,0.1); font-size: 12px;
}

/* --- Responsive / accessibility ------------------------------------------- */
@media (max-width: 920px) { .fs-nav { display: none; } }
@media (max-width: 680px) { .board-main { grid-column: auto; } }
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .btn-nav { padding: 0 12px; }
  .lang-btn { padding: 0 10px; }
  .logo { font-size: 19px; }
}
@media (hover: none) { .fs-halo { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
