/* ==========================================================================
   Clearis — site.css
   Single stylesheet for every page and language of clearis.pt.

   CSP: this file is the only style source. HTML must not contain <style>
   blocks or style="" attributes, and JS must not inject either — use
   classes (or the `hidden` attribute) instead.

   Page scope: each <body> carries one page class, used only where a
   component genuinely differs between pages:
     .page-home | .page-product (+ .page-provizo / .page-solvro)
     .page-contact | .page-legal

   Contents
     00 Fonts             09 Product pages (shared)
     01 Tokens
     02 Reset & base      10 Provizo-only / Solvro-only
     03 Utilities         11 Architecture diagram
     04 Navigation        12 Contact page
     05 Buttons           13 Legal pages
     06 Section headings  14 Final CTA
     07 Hero              15 Footer
     08 Home sections     16 Cookie consent banner
                          17 Animations · 18 Responsive · 19 Reduced motion
   ========================================================================== */


/* 00 FONTS ================================================================= */
/* Self-hosted variable fonts (SIL OFL) — no request to Google, CSP font-src 'self'.
   Weight ranges match what the site loaded from Google Fonts before
   (Inter 300–600, Plus Jakarta Sans 300–800); heavier requests clamp to the max.
   latin-ext files are only downloaded if a page contains those characters. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url('/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/plus-jakarta-sans-latin-wght-normal.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 300 600;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/inter-latin-wght-normal.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 300 600;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* 01 TOKENS ================================================================ */
:root {
  --navy: #1E3A5F;
  --navy-deep: #0f2040;
  --navy-light: #264a77;
  --cyan: #00AEEF;
  --cyan-light: #33c2f5;
  --white: #FFFFFF;
  --grey-light: #F5F5F5;
  --grey-mid: #e8edf3;
  --grey-text: #8a9ab5;
  --dark: #333333;
  --text-muted: #5a6b85;
  --text-soft: #7a8b9f;
  --text-legal: #4a5a6a;
  --error: #e05252;
  --success: #27a86e;

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 32px rgba(30, 58, 95, 0.08);
  --shadow-hover: 0 16px 48px rgba(30, 58, 95, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;
}


/* 02 RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
[hidden] { display: none !important; }


/* 03 UTILITIES ============================================================= */
section { padding: 100px 48px; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.is-raised { position: relative; z-index: 1; }
.intro-narrow { max-width: 560px; }
.mb-48 { margin-bottom: 48px; }

/* Gradient text — used for the cyan accent words in headings */
.text-gradient,
.hero-title .accent,
.left-title .accent {
  background: linear-gradient(135deg, var(--cyan), #66d4f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stagger delays for .fade-up (replace the old style="transition-delay:…") */
.d-50  { transition-delay: 0.05s; }
.d-70  { transition-delay: 0.07s; }
.d-80  { transition-delay: 0.08s; }
.d-100 { transition-delay: 0.1s; }
.d-140 { transition-delay: 0.14s; }
.d-150 { transition-delay: 0.15s; }
.d-160 { transition-delay: 0.16s; }
.d-200 { transition-delay: 0.2s; }
.d-210 { transition-delay: 0.21s; }
.d-240 { transition-delay: 0.24s; }
.d-250 { transition-delay: 0.25s; }
.d-280 { transition-delay: 0.28s; }
.d-300 { transition-delay: 0.3s; }
.d-320 { transition-delay: 0.32s; }
.d-350 { transition-delay: 0.35s; }
.d-400 { transition-delay: 0.4s; }
.d-480 { transition-delay: 0.48s; }


/* 04 NAVIGATION ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-cta {
  background: var(--cyan);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--cyan-light) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
}

/* Language dropdown */
.nav-lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 7px 12px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.lang-btn:hover, .nav-lang.open .lang-btn { color: var(--cyan); border-color: var(--cyan); }
.lang-caret { transition: transform var(--transition); }
.nav-lang.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px;
  list-style: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.nav-lang.open .lang-menu { display: block; }
.lang-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.lang-menu a:hover { background: rgba(255,255,255,0.06); color: var(--cyan); }
.lang-menu a.active { color: var(--cyan); font-weight: 700; }


/* 05 BUTTONS =============================================================== */
.btn-primary {
  background: var(--cyan);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,174,239,0.4); }

/* Ghost button on dark hero — .btn-secondary (home) and .btn-outline (products) */
.btn-secondary,
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline { color: rgba(255,255,255,0.7); }
.btn-secondary:hover,
.btn-outline:hover { border-color: rgba(255,255,255,0.45); color: var(--white); transform: translateY(-2px); }

/* Large CTA buttons — .btn-cta-primary/.btn-cta (filled), .btn-cta-secondary/.btn-cta-ghost */
.btn-cta-primary,
.btn-cta {
  background: var(--cyan);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}
.btn-cta-primary:hover,
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,174,239,0.4); }
.btn-cta-secondary,
.btn-cta-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}
.btn-cta-secondary:hover,
.btn-cta-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); transform: translateY(-2px); }

/* Outline link-button on light cards */
.btn-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13px 24px;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-product:hover { background: var(--navy); color: var(--white); transform: translateX(4px); }
.btn-product svg { transition: transform var(--transition); }
.btn-product:hover svg { transform: translateX(4px); }


/* 06 SECTION HEADINGS ====================================================== */
/* Base = product/inner pages; the homepage uses a larger scale (below). */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}
.page-home .section-title { font-size: clamp(2rem, 3.5vw, 3rem); }
.page-home .section-sub { font-size: 1.05rem; max-width: 600px; }


/* 07 HERO ================================================================== */
/* Base = product pages. Home and Solvro override below. */
.hero {
  min-height: 88vh;
  background: var(--navy-deep);
  padding: 140px 48px 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 65% 40%, rgba(0,174,239,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #0a1628, #1E3A5F 60%, #0a1e3c);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,174,239,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatSoft 10s ease-in-out infinite;
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,174,239,0.12), transparent 70%);
  top: -80px; right: -80px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}
.hero-left { animation: fadeUp 0.7s ease both; }
.hero-right { animation: fadeUp 0.7s 0.2s ease both; }
.product-hero-logo { height: 48px; width: auto; margin-bottom: 36px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,174,239,0.12);
  border: 1px solid rgba(0,174,239,0.25);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* — Solvro hero: darker, teal-tinted variant — */
.page-solvro .hero { background: #071829; }
.page-solvro .hero-bg {
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(0,174,239,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(30,58,95,0.4) 0%, transparent 50%),
    linear-gradient(135deg, #071829, #0d2035 50%, #0a1525);
}
.page-solvro .hero-grid {
  background-image:
    linear-gradient(rgba(0,174,239,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,0.035) 1px, transparent 1px);
}
.page-solvro .orb { animation-duration: 12s; }
.page-solvro .orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,174,239,0.14), transparent 70%);
  top: -60px; right: auto; left: -60px;
}

/* — Homepage hero — */
.page-home .hero { min-height: 100vh; padding: 120px 48px 80px; }
.page-home .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,174,239,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,174,239,0.06) 0%, transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #1E3A5F 50%, #0d2a4a 100%);
  animation: bgShift 12s ease-in-out infinite alternate;
}
.page-home .orb { animation: float 8s ease-in-out infinite; }
.page-home .orb-1 {
  background: radial-gradient(circle, rgba(0,174,239,0.15), transparent 70%);
  top: -100px; right: -100px;
  animation-duration: 10s;
}
.page-home .orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(30,58,95,0.4), transparent 70%);
  bottom: 100px; left: 10%;
  animation-duration: 14s;
  animation-delay: -3s;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.page-home .hero-left { max-width: 600px; animation: none; }
.page-home .hero-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}
.page-home .hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
.page-home .hero-title {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.0;
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.page-home .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  animation: fadeUp 0.6s 0.2s ease both;
}
.page-home .hero-actions { animation: fadeUp 0.6s 0.3s ease both; }
.page-home .hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* Home hero — stat cards */
.hero-stat-card {
  display: block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.hero-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--cyan);
  border-radius: 3px 0 0 3px;
}
.hero-stat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,174,239,0.25);
  transform: translateX(4px);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.stat-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }


/* 08 HOME SECTIONS ========================================================= */

/* Product split */
.products-split { background: var(--grey-light); }
.products-header { text-align: center; margin-bottom: 72px; }
.products-header .section-sub { margin: 0 auto; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30,58,95,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.product-logo { height: 40px; width: auto; margin-bottom: 32px; }
.product-tagline {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.product-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.product-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.product-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
}
/* Check icon — data: URI is allowed by img-src 'self' data: in the CSP */
.product-checks li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(0,174,239,0.12) url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300AEEF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.product-ai-features {
  background: linear-gradient(135deg, rgba(0,174,239,0.06), rgba(30,58,95,0.04));
  border: 1px solid rgba(0,174,239,0.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.product-ai-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-ai-title svg { width: 14px; height: 14px; }
.product-ai-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.product-ai-list li {
  font-size: 0.85rem;
  color: #3a5070;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.product-ai-list li::before {
  content: '→';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Why Clearis */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.why-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover { background: var(--white); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.why-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.why-icon svg { color: var(--cyan); }
.why-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.why-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* How the platforms work together */
.together-section {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.together-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0,174,239,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #0a1628, #1E3A5F 60%, #0d2a4a);
}
.together-section .section-title { color: var(--white); }
.together-section .section-sub { color: rgba(255,255,255,0.6); }
.together-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.together-diagram { display: flex; flex-direction: column; gap: 16px; position: relative; }
.together-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all var(--transition);
}
.together-box--accent { background: rgba(0,174,239,0.06); border-color: rgba(0,174,239,0.2); }
.together-box:hover { background: rgba(255,255,255,0.07); border-color: rgba(0,174,239,0.3); }
.together-box-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 6px;
}
.together-box-text { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.together-connector {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  margin: 0 auto;
  opacity: 0.4;
}
.together-benefits { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.together-benefits li { display: flex; gap: 16px; align-items: flex-start; }
.benefit-num {
  width: 32px; height: 32px;
  min-width: 32px;
  background: rgba(0,174,239,0.15);
  border: 1px solid rgba(0,174,239,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 2px;
}
.benefit-content-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.benefit-content-text { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* Industries */
.industries-section { background: var(--grey-light); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.industry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--grey-mid);
  transition: all var(--transition);
}
.industry-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: rgba(0,174,239,0.2);
}
.industry-icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.industry-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.industry-desc { font-size: 0.82rem; color: var(--text-soft); line-height: 1.55; }

/* Trust & credibility */
.trust-section { background: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.trust-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--grey-mid);
  transition: all var(--transition);
}
.trust-item:hover { border-color: rgba(0,174,239,0.2); box-shadow: 0 4px 20px rgba(30,58,95,0.07); }
.trust-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.trust-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.trust-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }


/* 09 PRODUCT PAGES (shared) ================================================ */

/* The challenge */
.challenge-section { background: var(--grey-light); }
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.challenge-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--grey-mid);
  border-left: 3px solid var(--cyan);
  transition: all var(--transition);
}
.challenge-item:hover { box-shadow: var(--shadow-card); transform: translateX(4px); }
.challenge-item h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.challenge-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Modules */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.module-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--grey-mid);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.module-number {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.module-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.module-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.benefit-item {
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--grey-mid);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition);
}
.benefit-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-color: rgba(0,174,239,0.2);
}
.benefit-emoji { font-size: 1.8rem; flex-shrink: 0; }
.benefit-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.benefit-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Integration tiles — .integration-* (Provizo) and .flex-* (Solvro) */
.integration-grid,
.flex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.integration-item,
.flex-item {
  border-radius: var(--radius);
  border: 1px solid var(--grey-mid);
  text-align: center;
  transition: all var(--transition);
}
.integration-item div:first-child,
.flex-item div:first-child { font-size: 1.5rem; margin-bottom: 12px; }
.integration-item strong,
.flex-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.integration-item span,
.flex-item span { font-size: 0.8rem; color: var(--text-soft); line-height: 1.5; display: block; }


/* 10 PROVIZO-ONLY / SOLVRO-ONLY ============================================ */

/* — Provizo — */
.page-provizo .modules-section { background: var(--white); }
.page-provizo .module-card { background: var(--grey-light); }
.page-provizo .module-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.page-provizo .module-card:hover::after { transform: scaleX(1); }
.page-provizo .module-card:hover { background: var(--white); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.page-provizo .benefits-section { background: var(--grey-light); }
.page-provizo .benefit-item { background: var(--white); }

.integrations-section { background: var(--white); }
.integration-item { padding: 24px; background: var(--grey-light); }
.integration-item:hover { border-color: rgba(0,174,239,0.3); box-shadow: var(--shadow-card); background: var(--white); }

/* AI capabilities (Provizo) */
.ai-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0,174,239,0.1) 0%, transparent 60%);
}
.ai-section .section-title { color: var(--white); }
.ai-section .section-sub { color: rgba(255,255,255,0.6); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.ai-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--cyan);
  border-radius: 3px 0 0 3px;
}
.ai-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(0,174,239,0.3); transform: translateY(-4px); }
.ai-card-icon {
  width: 44px; height: 44px;
  background: rgba(0,174,239,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.ai-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.ai-card p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.ai-new-tag {
  display: inline-block;
  background: var(--cyan);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: 10px;
  vertical-align: middle;
  line-height: 1.6;
}

/* — Solvro — */
.page-solvro .modules-section { background: var(--grey-light); }
.page-solvro .module-card { background: var(--white); }
.page-solvro .module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
}
.page-solvro .module-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.page-solvro .benefits-section { background: var(--white); }
.page-solvro .benefit-item { background: var(--grey-light); }
.page-solvro .benefit-item:hover { background: var(--white); }

.flex-section { background: var(--grey-light); }
.flex-item { padding: 28px; background: var(--white); }
.flex-item:hover { border-color: rgba(0,174,239,0.3); box-shadow: var(--shadow-card); transform: translateY(-3px); }

/* Capabilities (Solvro) */
.capabilities-section { background: var(--white); }
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.capability-card {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--grey-mid);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.capability-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.capability-card:hover::after { transform: scaleX(1); }
.capability-card:hover { background: var(--white); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.capability-icon { font-size: 2rem; margin-bottom: 20px; }
.capability-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.capability-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Use cases (Solvro) */
.usecases-section {
  background: linear-gradient(135deg, var(--navy-deep), #0d2035);
  position: relative;
  overflow: hidden;
}
.usecases-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(0,174,239,0.08) 0%, transparent 60%);
}
.usecases-section .section-title { color: var(--white); }
.usecases-section .section-sub { color: rgba(255,255,255,0.6); }
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.usecase-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.usecase-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(0,174,239,0.25); transform: translateY(-4px); }
.usecase-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  display: block;
}
.usecase-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.usecase-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }


/* 11 ARCHITECTURE DIAGRAM (product heroes) ================================= */
/* Behaviour lives in site.js (initArchDiagram). Module texts are read from
   data-title / data-desc on each .mg group, so translations stay in HTML. */
.arch-diagram-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,174,239,0.2);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  padding: 20px 16px 16px;
  background: rgba(255,255,255,0.03);
}
.arch-svg { display: block; width: 100%; height: auto; }
.mg { cursor: pointer; outline: none; }
.mr { transition: fill .22s; }
.mg:hover .mr, .mg.on .mr, .mg:focus-visible .mr { fill: #00AEEF; }
.mg:hover .mt, .mg.on .mt, .mg:focus-visible .mt { fill: #1E3A5F; }
.mg:hover .ms, .mg.on .ms, .mg:focus-visible .ms { fill: rgba(30,58,95,.75); }
.mg-hub { cursor: pointer; outline: none; }
.mg-hub:focus-visible .hub-core { stroke: #00AEEF; stroke-width: 2; }
.spk { fill: none; stroke: rgba(0,174,239,.55); stroke-width: 1.5; stroke-dasharray: 3 5; }
.spk.lit { stroke: #00AEEF; stroke-opacity: .9; stroke-dasharray: 4 3; animation: spkfl .65s linear infinite; }
.hp { animation: hubpulse 2.8s ease-in-out infinite; }
#arch-detail {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,174,239,0.2);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 8px 0 0;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#arch-detail h3 {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 5px;
  font-family: var(--font-head);
}
#arch-detail p {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  font-family: var(--font-body);
}


/* 12 CONTACT PAGE ========================================================== */
.page-wrapper {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left panel — context */
.left-panel {
  background: var(--navy-deep);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
}
.left-panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(0,174,239,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,174,239,0.06) 0%, transparent 50%);
}
.left-panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,174,239,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.left-content { position: relative; z-index: 2; max-width: 420px; }
.left-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.left-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  display: block;
}
.left-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.left-sub { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 52px; }
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.expect-item { display: flex; gap: 16px; align-items: flex-start; }
.expect-dot {
  width: 32px; height: 32px; min-width: 32px;
  background: rgba(0,174,239,0.12);
  border: 1px solid rgba(0,174,239,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.expect-dot svg { color: var(--cyan); }
.expect-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.expect-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.5; }
.product-pills { display: flex; gap: 10px; margin-top: 52px; flex-wrap: wrap; }
.product-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.product-pill:hover { background: rgba(0,174,239,0.1); border-color: rgba(0,174,239,0.3); color: var(--cyan); }
.product-pill::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* Right panel — form */
.right-panel {
  background: var(--grey-light);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-header { margin-bottom: 40px; }
.form-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.form-subtitle { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.required { color: var(--cyan); margin-left: 2px; }
.form-subtitle .required { font-weight: 700; margin-left: 0; }
.form-label-optional { font-weight: 400; color: var(--grey-text); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: #b0bcc9; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,174,239,0.1); }
.form-input:hover,
.form-select:hover,
.form-textarea:hover { border-color: #a0b0c4; }
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-soft);
  pointer-events: none;
}
.form-select { padding-right: 40px; cursor: pointer; }
.form-select option[value=""] { color: #b0bcc9; }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

/* Product interest — checkbox chips */
.checkbox-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5a70;
  transition: all var(--transition);
  user-select: none;
  flex: 1;
  min-width: 100px;
  justify-content: center;
}
.checkbox-label:hover { border-color: var(--cyan); color: var(--navy); }
/* Visually hidden but still focusable (was display:none — not keyboard accessible) */
.checkbox-label input[type="checkbox"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.checkbox-label:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,174,239,0.15); }
.checkbox-label.checked {
  border-color: var(--cyan);
  background: rgba(0,174,239,0.08);
  color: var(--navy);
  font-weight: 600;
}
.checkbox-label .check-icon {
  width: 18px; height: 18px;
  border: 1.5px solid var(--grey-mid);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  background: var(--white);
}
.checkbox-label.checked .check-icon { background: var(--cyan); border-color: var(--cyan); }
.checkbox-label .check-icon svg { display: none; }
.checkbox-label.checked .check-icon svg { display: block; }

/* Submit */
.btn-submit {
  background: var(--navy);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,95,0.25); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { cursor: progress; }
.btn-submit svg { transition: transform var(--transition); }
.btn-submit:hover svg { transform: translateX(4px); }
.btn-submit .spinner { animation: spin 0.8s linear infinite; }
.btn-submit:hover .spinner { transform: none; }
.form-note {
  font-size: 0.78rem;
  color: var(--grey-text);
  text-align: center;
  line-height: 1.5;
  margin-top: 12px;
}

/* Submission error (replaces the old alert()) */
.form-alert {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #8f2d2d;
  background: rgba(224,82,82,0.08);
  border: 1px solid rgba(224,82,82,0.3);
  border-left: 3px solid var(--error);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.form-alert a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Validation */
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(224,82,82,0.1); }
.field-error { font-size: 0.75rem; color: var(--error); display: none; margin-top: 2px; }
.form-group.has-error .field-error { display: block; }

/* Success state */
.success-message { text-align: center; padding: 48px 32px; }
.success-icon {
  width: 72px; height: 72px;
  background: rgba(39,168,110,0.1);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.success-icon svg { color: var(--success); }
.success-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto 32px;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  padding: 12px 24px;
  transition: all var(--transition);
}
.btn-back:hover { background: var(--navy); color: var(--white); }


/* 13 LEGAL PAGES (privacy policy, terms of use) ============================ */
.page-hero {
  background: var(--navy-deep);
  padding: 100px 48px 72px;
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,174,239,0.08) 0%, transparent 60%);
}
.page-hero--left::before {
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0,174,239,0.08) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,174,239,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.page-hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.page-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  display: block;
}
.page-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.page-meta { font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 48px 100px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}
.toc { position: sticky; top: 96px; }
.toc-title {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-soft);
  padding: 6px 12px;
  border-left: 2px solid var(--grey-mid);
  transition: all var(--transition);
  line-height: 1.4;
}
.toc-list a:hover { color: var(--navy); border-left-color: var(--cyan); }
.toc-list a.active { color: var(--navy); border-left-color: var(--cyan); font-weight: 600; }
.article { min-width: 0; }
.policy-section { margin-bottom: 48px; scroll-margin-top: 96px; }
.policy-section:last-child { margin-bottom: 0; }
.policy-section h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--grey-mid);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.policy-section p { font-size: 0.9rem; line-height: 1.8; color: var(--text-legal); margin-bottom: 12px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul { margin: 8px 0 12px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.policy-section li { font-size: 0.9rem; line-height: 1.7; color: var(--text-legal); }
.policy-section a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.policy-section a:hover { color: var(--navy); }
.info-box {
  background: rgba(0,174,239,0.06);
  border: 1px solid rgba(0,174,239,0.2);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 16px 0;
}
.info-box p { font-size: 0.875rem; color: #3a5070; margin-bottom: 0; line-height: 1.7; }


/* 14 FINAL CTA ============================================================= */
.cta-section {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(0,174,239,0.12) 0%, transparent 60%);
}
.cta-section .section-title { color: var(--white); }
.cta-section .section-sub { color: rgba(255,255,255,0.6); margin: 0 auto 48px; }
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* 15 FOOTER ================================================================ */
/* .footer = full 4-column footer (home, products)
   .footer--compact = single-row footer (contact, legal) */
.footer {
  background: var(--navy-deep);
  padding: 64px 48px 40px;
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { height: 22px; width: auto; margin-bottom: 20px; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-legal { display: flex; gap: 24px; }
.footer-bottom a,
.footer-legal button { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom a:hover,
.footer-legal button:hover { color: var(--cyan); }

/* Compact footer */
.footer--compact { padding: 40px 48px; }
.footer--compact .footer-inner {
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 0;
  border-bottom: 0;
}
.footer--compact .footer-brand { display: flex; align-items: center; gap: 24px; }
.footer--compact .footer-logo { margin-bottom: 0; }
.footer-copy { font-size: 0.8rem; }
.footer-links-inline { display: flex; gap: 12px 28px; list-style: none; flex-wrap: wrap; }
.footer-links-inline a,
.footer-links-inline button { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-links-inline a:hover,
.footer-links-inline button:hover { color: var(--cyan); }
.footer-links-inline a[aria-current="page"] { color: rgba(255,255,255,0.65); }

/* "Cookie settings" is a <button> styled as a footer link */
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}


/* 16 COOKIE CONSENT BANNER ================================================= */
/* Markup is built by site.js (initConsent) — styles must live here, not in JS. */
.consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy-deep);
  color: var(--white);
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: 0 -4px 32px rgba(30,58,95,0.35);
}
.consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.consent-text { margin: 0; flex: 1 1 420px; }
.consent-text a { color: var(--cyan-light); text-decoration: underline; }
.consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.consent-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity .2s;
}
.consent-btn:hover { opacity: .85; }
.consent-accept { background: var(--cyan); color: var(--white); border: 1px solid var(--cyan); }
.consent-reject { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }


/* 17 ANIMATIONS ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bgShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes float {      /* homepage orbs */
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
@keyframes floatSoft {  /* product page orbs */
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-25px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}
@keyframes spkfl { to { stroke-dashoffset: -14; } }
@keyframes hubpulse { 0%, 100% { opacity: .45; } 50% { opacity: .1; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Scroll reveal. Only hidden when site.js has run (html.js), so content
   stays visible if the script is blocked or fails to load. */
.js .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .fade-up.visible { opacity: 1; transform: translateY(0); }


/* 18 RESPONSIVE ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right,
  .page-home .hero-right { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .together-inner { grid-template-columns: 1fr; gap: 48px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid,
  .capabilities-grid,
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  /* contact */
  .page-wrapper { grid-template-columns: 1fr; }
  .left-panel { min-height: auto; padding: 64px 48px; }
  .left-content { max-width: 100%; }
  .right-panel { padding: 64px 48px; }
}

@media (max-width: 900px) {
  .content-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px 80px; }
  .toc { position: static; display: none; }
}

@media (max-width: 768px) {
  section { padding: 72px 24px; }
  .nav { padding: 0 24px; }
  .hero,
  .page-home .hero { padding: 100px 24px 64px; }
  .page-home .hero-title { font-size: 2.8rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-deep);
    padding: 32px 24px;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .nav-toggle { display: flex; }
  .nav-lang { align-self: flex-start; }
  .lang-menu { position: static; margin-top: 10px; box-shadow: none; }

  .why-grid,
  .trust-grid,
  .challenge-grid,
  .ai-grid,
  .modules-grid,
  .capabilities-grid,
  .usecases-grid,
  .benefits-grid { grid-template-columns: 1fr; }
  .industries-grid,
  .integration-grid,
  .flex-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer--compact { padding: 32px 24px; }
  .footer--compact .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* contact */
  .left-panel,
  .right-panel { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* legal */
  .page-hero { padding: 80px 24px 56px; }
  .content-wrapper { padding: 40px 24px 64px; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .page-home .btn-primary,
  .page-home .btn-secondary { padding: 14px 24px; font-size: 0.9rem; }
}


/* 19 REDUCED MOTION ======================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .fade-up { opacity: 1; transform: none; }
}
