/* ============================================================
   NovaSQ — Main Stylesheet
   Shared across all pages
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  background: #ffffff;
  color: #06151f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── TOKENS ── */
:root {
  --navy:      #06151f;
  --navy-mid:  #0a2540;
  --blue:      #609dff;
  --blue-dk:   #3a7aee;
  --blue-dim:  rgba(96,157,255,0.12);
  --blue-bdr:  rgba(96,157,255,0.35);
  --text:      #06151f;
  --text-mid:  #1a2533;
  --text-lt:   #3a4a5a;
  --bg-lt:     #f4f7fb;
  --border:    #dde4ee;
  --max:       1200px;
}

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 48px; }

/* ── BUTTONS ── */
.btn-blue {
  background: var(--blue); color: #fff;
  padding: 13px 28px; border-radius: 4px;
  font-size: 15px; font-weight: 700;
  display: inline-block; border: none; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-blue:hover { background: var(--blue-dk); box-shadow: 0 4px 20px rgba(96,157,255,0.4); }

.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12px 26px; border-radius: 4px;
  font-size: 15px; font-weight: 700;
  display: inline-block; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-ghost-dark {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue-bdr);
  padding: 12px 26px; border-radius: 4px;
  font-size: 15px; font-weight: 700;
  display: inline-block; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-dark:hover { border-color: var(--blue); background: var(--blue-dim); }

/* ── NAVIGATION ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(6,21,31,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-bracket {
  width: 42px; height: 42px;
  border: 2px solid var(--blue); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--blue);
  letter-spacing: 0.04em; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-main { font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: 0.05em; line-height: 1; }
.nav-logo-sub  { font-size: 9px; color: var(--text-lt); letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--text-mid); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 11px 24px; border-radius: 4px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--blue-dk); box-shadow: 0 4px 16px rgba(96,157,255,0.35); }

/* ── SECTIONS ── */
.section      { padding: 80px 0; background: #fff; }
.section-alt  { background: var(--bg-lt); }
.section-dark { background: var(--navy); }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: 36px; font-weight: 700; color: var(--navy);
  line-height: 1.18; margin-bottom: 14px;
}
.section-body {
  font-size: 16px; color: var(--text-mid); line-height: 1.72;
  font-weight: 400; max-width: 640px; margin-bottom: 44px;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-body  { color: rgba(255,255,255,0.65); }

/* ── HERO ── */
.hero-wrap {
  position: relative; overflow: hidden;
  padding: 0;
}
.hero-wrap::before {
  content: ''; position: absolute; inset: -20px;
  background: url('../../assets/images/hero-workshop.png') center/cover no-repeat;
  filter: blur(30px) brightness(0.5); transform: scale(1.1);
  z-index: 0;
}
.hero {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
  min-height: 480px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6,21,31,0.82) 0%,
    rgba(6,21,31,0.65) 40%,
    rgba(6,21,31,0.25) 70%,
    rgba(6,21,31,0.05) 100%
  );
  z-index: 1;
}
.hero-content {
  position: absolute; top: 0; left: 0; bottom: 0;
  z-index: 2; max-width: 560px;
  padding: 56px 56px 56px 96px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(96,157,255,0.18);
  border: 1px solid rgba(96,157,255,0.45);
  color: #a8c8ff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 6px 16px;
  border-radius: 4px; margin-bottom: 24px; width: fit-content;
}
.hero h1 {
  font-size: 46px; font-weight: 700; color: #fff;
  line-height: 1.1; margin-bottom: 18px;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.80);
  font-weight: 400; line-height: 1.65; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── CARDS GRID (4-up) ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
.card {
  background: #fff; border-right: 1px solid var(--border);
  padding: 36px 28px; display: flex; flex-direction: column;
  transition: background 0.2s;
}
.card:nth-child(1) { background: rgba(96,157,255,0.04); }
.card:nth-child(2) { background: rgba(96,157,255,0.08); }
.card:nth-child(3) { background: rgba(96,157,255,0.12); }
.card:nth-child(4) { background: rgba(96,157,255,0.17); }
.card:last-child { border-right: none; }
.card:hover { background: rgba(96,157,255,0.22); }
.card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.card p  { font-size: 14px; color: var(--text-mid); line-height: 1.68; flex: 1; margin-bottom: 20px; }
.card-link {
  font-size: 14px; color: var(--navy); font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s, gap 0.2s;
}
.card-link:hover { color: var(--blue); gap: 11px; }
.card-link-arrow {
  width: 20px; height: 20px; border: 1.5px solid currentColor;
  border-radius: 3px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; flex-shrink: 0;
}

/* ── DISCOVER LINK ── */
.discover-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--blue); font-weight: 700;
  margin-top: 32px; border-bottom: 1.5px solid var(--blue-bdr);
  padding-bottom: 2px; transition: border-color 0.2s;
}
.discover-link:hover { border-color: var(--blue); }

/* ── APPROACH BANNER ── */
.approach-banner-wrap {
  background: linear-gradient(180deg, #fff 0%, #fff 50%, var(--bg-lt) 50%, var(--bg-lt) 100%);
  padding: 0;
}
.approach-banner-wrap.flip {
  background: linear-gradient(180deg, var(--bg-lt) 0%, var(--bg-lt) 50%, #fff 50%, #fff 100%);
}
.approach-banner {
  position: relative; overflow: hidden;
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  text-align: center;
  max-width: var(--max); margin: 0 auto;
  border-radius: 4px;
}
.approach-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: brightness(0.38) saturate(0.8); transform: scale(1.02);
}
.approach-overlay { position: absolute; inset: 0; background: rgba(6,21,31,0.55); }
.approach-content { position: relative; z-index: 2; padding: 56px 48px; max-width: 700px; }
.approach-content h2 { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.38; margin-bottom: 26px; }

/* ── SOLUTIONS GRID ── */
.solutions-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
.solution-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 26px; background: #fff;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.solution-row:nth-child(1), .solution-row:nth-child(2) { background: rgba(96,157,255,0.03); }
.solution-row:nth-child(3), .solution-row:nth-child(4) { background: rgba(96,157,255,0.06); }
.solution-row:nth-child(5), .solution-row:nth-child(6) { background: rgba(96,157,255,0.10); }
.solution-row:nth-child(7), .solution-row:nth-child(8) { background: rgba(96,157,255,0.15); }
.solution-row:hover { background: rgba(96,157,255,0.20); }
.solution-row:nth-child(2n) { border-right: none; }
.solution-row:nth-last-child(-n+2) { border-bottom: none; }
.sol-check { color: var(--blue); font-size: 17px; flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.solution-row h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.solution-row p  { font-size: 13px; color: var(--text-mid); line-height: 1.58; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.testi-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testi-card:hover { box-shadow: 0 4px 24px rgba(96,157,255,0.12); border-color: var(--blue-bdr); }
.testi-card.featured { border-color: var(--blue-bdr); box-shadow: 0 2px 16px rgba(96,157,255,0.1); }
.testi-quote { font-size: 44px; color: var(--blue); opacity: 0.35; font-family: Georgia, serif; line-height: 1; margin-bottom: -4px; }
.testi-text { font-size: 15px; color: #1a2533; line-height: 1.72; margin-bottom: 20px; font-style: italic; font-weight: 400; }
.testi-name    { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-company { font-size: 12px; color: var(--blue); margin-top: 2px; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(6,21,31,0.25);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dk); }
.back-to-top svg { width: 20px; height: 20px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--bg-lt); padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 700px; height: 280px;
  background: radial-gradient(ellipse, rgba(96,157,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-content { position: relative; z-index: 2; }
.cta-band h2 { font-size: 38px; font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.2; }
.cta-band p  { font-size: 18px; color: var(--text-mid); margin-bottom: 36px; font-weight: 400; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer { background: #0a1e2e; border-top: 1px solid rgba(96,157,255,0.12); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { filter: brightness(0) invert(1); }
.footer-desc { font-size: 14px; color: rgba(226,230,233,0.55); line-height: 1.72; max-width: 340px; margin-bottom: 18px; }
.footer-linkedin { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--blue); opacity: 0.8; transition: opacity 0.2s; }
.footer-linkedin:hover { opacity: 1; }
.footer-linkedin svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 14px; color: rgba(226,230,233,0.55); transition: color 0.2s; }
.footer-col a:hover { color: #f5f0f0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-bottom a:hover { color: #f5f0f0; }

/* ── PAGE HERO (inner pages) ── */
.page-hero-wrap {
  position: relative; overflow: hidden;
}
.page-hero-wrap::before {
  content: ''; position: absolute; inset: -20px;
  background: var(--page-hero-img) center/cover no-repeat;
  filter: blur(30px) brightness(0.5); transform: scale(1.1);
  z-index: 0;
}
.page-hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; overflow: hidden;
  min-height: 480px; display: flex; flex-direction: column; justify-content: center;
}
.page-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 1;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    100deg,
    rgba(6,21,31,0.85) 0%,
    rgba(6,21,31,0.70) 50%,
    rgba(6,21,31,0.45) 100%
  );
}
.page-hero {
  position: relative; z-index: 3;
  padding: 64px 0 56px;
}
.page-hero h1 { font-size: 42px; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.page-hero .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.92); font-weight: 400; max-width: 560px; line-height: 1.65; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.faq-item { padding: 24px 32px; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.faq-item:nth-child(odd)  { background: #fff; }
.faq-item:nth-child(even) { background: rgba(96,157,255,0.05); }
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: rgba(96,157,255,0.12); }
.faq-item h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.faq-item p  { font-size: 15px; color: var(--text-mid); line-height: 1.7; font-weight: 400; }

/* ── FOUNDER PROFILE ── */
.founder-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; max-width: 960px; }

/* ── ROI FORM ── */
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.roi-card { background: rgba(96,157,255,0.08); border: 1px solid var(--blue-bdr); border-radius: 4px; padding: 36px; }
.roi-card h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.roi-card .subtitle { font-size: 14px; color: var(--text-mid); margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field span { font-size: 13px; font-weight: 700; color: var(--navy); }
.field input { padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 15px; color: var(--navy); outline: none; transition: border-color 0.2s; }
.field input:focus { border-color: var(--blue); }
.radios { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.chip { padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--text-mid); background: #fff; cursor: pointer; transition: all 0.2s; }
.chip.active, .chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.mini { background: var(--bg-lt); border-radius: 4px; padding: 16px; }
.mini .small { font-size: 12px; color: var(--text-lt); margin-bottom: 4px; }
.mini .kpi { font-size: 24px; font-weight: 700; color: var(--navy); }

/* ── HAMBURGER MENU ── */
.nav-burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.nav-burger span { display:block; width:22px; height:2px; background:var(--navy); border-radius:2px; }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-burger { display:flex; }
  .nav-links { display: none; }
  .nav-open .nav-links {
    display:flex; flex-direction:column; position:absolute;
    top:76px; left:0; right:0; background:#fff;
    border-bottom:1px solid var(--border); padding:16px 24px 24px; gap:16px; z-index:99;
  }
  .hero { padding: 0; min-height: 0; }
  .hero-content { padding: 48px 24px; max-width: 100%; position: relative; }
  .hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-overlay { background: linear-gradient(180deg, rgba(6,21,31,0.82) 0%, rgba(6,21,31,0.70) 100%); }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .card { border-bottom: 1px solid var(--border); }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-row:nth-child(2n) { border-right: 1px solid var(--border); }
  .solution-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .solution-row:last-child { border-bottom: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band h2 { font-size: 28px; }
  .roi-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-grid > div:first-child > div:first-child { margin-left: auto; margin-right: auto; }
  .founder-grid img { margin: 0 auto; }
  .section-title { font-size: 28px; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-btns { flex-direction: column; }
  .btn-blue, .btn-ghost { width: 100%; text-align: center; }
}
