
:root {
  --bg: #152848;
  --bg-2: #1a3058;
  --bg-3: #213866;
  --surface: #eef2f7;
  --surface-2: #f7f9fc;
  --card: #1b2f50;
  --card-2: #223862;
  --card-3: #294472;
  --text: #f7fbff;
  --text-2: #d7e4f4;
  --muted: #98aec9;
  --ink: #182438;
  --ink-soft: #47566b;
  --accent: #00947f;
  --accent-2: #00b894;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(17, 32, 52, 0.08);
  --success: #00947f;
  --brand-teal: #00656b;
  --brand-rosa: #e94b61;
  --brand-blue: #3e89be;
  --brand-orange: #f9b233;
  --brand-green: #00947f;
  --brand-purple: #371961;
  --shadow: 0 24px 60px rgba(3, 12, 23, 0.28);
  --radius: 26px;
  --radius-sm: 18px;
  --radius-xs: 14px;
  --container: min(1180px, calc(100vw - 40px));
  --space-1: 10px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 56px;
  --space-6: 84px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(76, 149, 214, 0.48), transparent 0 26rem),
    radial-gradient(circle at 12% 88%, rgba(56, 118, 147, 0.36), transparent 0 22rem),
    linear-gradient(180deg, #152848 0%, #132542 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent);
  color: #04121f;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.announcement {
  background: rgba(27, 74, 94, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.announcement__inner {
  min-height: 46px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.announcement__inner p {
  margin: 0;
  color: var(--text-2);
}

.announcement__link {
  color: var(--accent);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px);
  background: rgba(6, 17, 32, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(1, 8, 18, 0.28);
}

.site-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 128px;
  height: auto;
}

.nav {
  justify-self: center;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__link {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 16px;
  align-items: center;
  border-radius: 999px;
  color: var(--text-2);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav__link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #e94b61, #d63b51 55%, #f06070);
  box-shadow: 0 12px 30px rgba(233, 75, 97, 0.25);
}

.button--secondary {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.button--ghost {
  color: var(--accent);
  background: transparent;
  border-color: rgba(0, 148, 127, 0.30);
}

.button--small {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 0.96rem;
}

main {
  /* no overflow clip here – it breaks IntersectionObserver reveals */
}

.hero,
.page-hero {
  padding: 40px 0 24px;
}

.hero__grid,
.page-hero__grid,
.split-hero {
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
}

.hero__content,
.page-hero__content {
  max-width: 670px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 18px;
}

.eyebrow::before {
  display: none;
}
.eyebrow--no-dash::before {
  display: none;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.hero p,
.page-hero p {
  margin: 0;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
}

.hero__actions,
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.pills,
.chips,
.logo-wall {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  margin: 22px 0 0;
}

.pill,
.chip,
.logo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.96rem;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.logo-chip {
  background: #ffffff;
  color: #12213a;
  border-color: rgba(16,33,58,0.08);
  box-shadow: 0 8px 24px rgba(8, 17, 28, 0.06);
  font-weight: 700;
}

/* Hero trust badges with icons */
.hero-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 101, 107, 0.15);
  border: 1px solid rgba(0, 200, 210, 0.2);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}

.hero-trust-badge:hover {
  background: rgba(0, 101, 107, 0.25);
  border-color: rgba(0, 200, 210, 0.35);
}

.hero-trust-badge__icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .hero-trust-badges {
    gap: 10px;
  }
  .hero-trust-badge {
    padding: 8px 14px 8px 10px;
    font-size: 0.84rem;
  }
}

/* Video link in scenario cards */
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.video-link:hover {
  color: #6bd8ff;
  gap: 8px;
}

.video-link svg {
  flex-shrink: 0;
}

.hero-board,
.mock-board,
.stack-panel,
.callout-panel,
.card,
.glass-card,
.light-card,
.note-card,
.contact-card,
.timeline-card,
.module-card,
.quote-card,
.faq-box,
.form-panel,
.metric-card,
.checklist-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-board,
.mock-board,
.stack-panel,
.callout-panel,
.glass-card,
.note-card,
.contact-card,
.timeline-card,
.module-card,
.quote-card,
.faq-box,
.form-panel,
.metric-card {
  background: linear-gradient(180deg, rgba(16, 33, 58, 0.92), rgba(8, 22, 41, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
}

.metric-card {
  padding: 32px;
}

.hero-board {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-board::after,
.cta-panel::after,
.footer-cta::after {
  content: "";
  position: absolute;
  inset: auto auto -90px -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 198, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.window-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(202, 216, 235, 0.5);
}

.board-main {
  background: linear-gradient(180deg, rgba(31, 67, 104, 0.98), rgba(20, 53, 87, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: calc(var(--radius) - 4px);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.board-main__kicker {
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.board-main h2,
.board-main h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.board-main p {
  margin: 0;
  color: var(--text-2);
}

.board-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.board-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 600;
}

.board-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.board-card,
.stat-card,
.step-card,
.feature-pill,
.data-card,
.skill-pill {
  border-radius: 22px;
  background: rgba(8, 22, 41, 0.84);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
}

.board-card h3,
.stat-card h3,
.step-card h3,
.data-card h3,
.card h3,
.module-card h3,
.checklist-card h3,
.quote-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.board-card p,
.stat-card p,
.step-card p,
.data-card p,
.card p,
.module-card p,
.quote-card p,
.checklist-card p,
.light-card p {
  margin: 0;
  color: var(--text-2);
}

.card-number,
.stat-number {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(95, 200, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.customer-strip {
  padding: 18px 0 10px;
}

.customer-strip__inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 22px;
  border-radius: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.customer-strip__label {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section--light {
  background: var(--surface);
  color: var(--ink);
}

.section--light .eyebrow,
.section--muted .eyebrow {
  color: #2a9fda;
}

.section--light p,
.section--muted p {
  color: var(--ink-soft);
}

.section--muted {
  background: linear-gradient(180deg, #f7f9fc 0%, #f1f5f9 100%);
  color: var(--ink);
}

.section--dark {
  background:
    radial-gradient(circle at 82% 10%, rgba(81, 146, 218, 0.2), transparent 0 26rem),
    linear-gradient(180deg, #061120 0%, #071423 100%);
}

.section--dark.is-flat {
  background: #071423;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  font-size: 1.08rem;
}

.grid-2,
.grid-3,
.grid-4,
.grid-auto {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card,
.light-card,
.checklist-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(17, 32, 52, 0.10);
  box-shadow: 0 4px 12px rgba(15, 25, 38, 0.06), 0 20px 48px rgba(15, 25, 38, 0.08);
}

.section--dark .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
  box-shadow: var(--shadow);
}

.section--dark .card p {
  color: var(--text-2);
}

.kicker {
  color: #2a9fda;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 11px 0;
  border-top: 1px solid rgba(16, 33, 58, 0.08);
}

.section--dark .list li,
.glass-card .list li,
.mock-board .list li {
  border-color: rgba(255,255,255,0.08);
}

.list li:first-child {
  border-top: 0;
}

.split {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: start;
}

.note-card,
.callout-panel,
.quote-card,
.contact-card,
.form-panel {
  padding: 26px;
}

.callout-panel h3,
.contact-card h3,
.quote-card h3,
.note-card h3,
.form-panel h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

.section--light .muted,
.section--muted .muted {
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(17,32,52,0.08);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 25, 38, 0.06);
}

.section--dark .table-wrap {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 18px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 32, 52, 0.08);
}

.section--dark th,
.section--dark td {
  border-bottom-color: rgba(255,255,255,0.08);
}

th {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #2a9fda;
  background: rgba(42, 159, 218, 0.08);
}

.section--dark th {
  background: rgba(255,255,255,0.04);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-top: 12px;
}

.checklist li:first-child {
  margin-top: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 5px rgba(95, 200, 255, 0.12);
}

.timeline {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card {
  padding: 24px;
}

.timeline-card__year {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.skill-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.skill-pill {
  background: #fff;
  border: 1px solid rgba(17, 32, 52, 0.08);
  color: var(--ink);
  padding: 16px 18px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 25, 38, 0.05);
}

.modules-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card {
  padding: 22px;
}

.module-card__tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(95, 200, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 0.84rem;
}

.kv-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.sdk-diagram {
  position: relative;
  min-height: 370px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 28, 50, 0.92), rgba(8, 22, 41, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.sdk-diagram__orbit {
  position: absolute;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.94rem;
}

.sdk-diagram__center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 132px;
  height: 132px;
  margin: -66px 0 0 -66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #6bd8ff);
  color: #04111f;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 22px 46px rgba(95, 200, 255, 0.22);
}

.sdk-diagram__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--text-2);
  max-width: 34ch;
}

/* Image-based SDK diagram */
.sdk-diagram--image {
  min-height: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13, 28, 50, 0.6), rgba(0, 101, 107, 0.12));
  border: 1px solid rgba(0, 200, 210, 0.15);
  box-shadow: 0 8px 32px rgba(0, 101, 107, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
}

.sdk-diagram__img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  object-fit: contain;
}

.sdk-diagram__caption--below {
  position: static;
  padding: 14px 8px 0;
  max-width: none;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0.7;
}

.cta-panel,
.footer-cta {
  position: relative;
  overflow: hidden;
  padding: 28px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(26, 55, 89, 0.98), rgba(13, 31, 54, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-panel h2,
.footer-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.cta-panel p,
.footer-cta p {
  margin: 0;
  color: var(--text-2);
  max-width: 56ch;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.breadcrumbs span {
  opacity: 0.55;
}

.faq {
  display: grid;
  gap: 18px;
}

.faq details {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 22px;
  padding: 20px 22px;
}

.section--light .faq details,
.section--muted .faq details {
  border-color: rgba(17,32,52,0.08);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 25, 38, 0.05);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 14px 0 0;
}

.form-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-field label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 16px;
  min-height: 54px;
  padding: 14px 16px;
}

.section--light .form-field input,
.section--light .form-field textarea,
.section--light .form-field select,
.section--muted .form-field input,
.section--muted .form-field textarea,
.section--muted .form-field select {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(17,32,52,0.12);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(95, 200, 255, 0.12);
  color: var(--text);
  border: 1px solid rgba(95, 200, 255, 0.18);
}

.form-success.is-visible {
  display: block;
}

.page-shell {
  padding-bottom: 36px;
}

.site-footer {
  padding: 70px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.site-footer__grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.25fr 0.8fr 0.95fr 0.95fr;
}

.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--text-2);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-brand img {
  width: 132px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.hero-centered,
.state-page {
  padding: 110px 0 90px;
}

.state-box {
  max-width: 760px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16,33,58,0.94), rgba(8,22,41,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.state-box h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.state-box p {
  margin: 0;
  color: var(--text-2);
  font-size: 1.08rem;
}

.util-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 1120px) {
  .grid-4,
  .timeline,
  .kv-grid,
  .modules-grid,
  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 10;
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    background: rgba(8, 22, 41, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    justify-content: center;
  }

  .header-actions .button--primary {
    display: none;
  }

  .hero__grid,
  .page-hero__grid,
  .split,
  .highlight-grid,
  .cta-panel,
  .footer-cta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .customer-strip__inner {
    grid-template-columns: 1fr;
  }

  .hero__trust-line {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.84rem;
  }

  .testimonial__author {
    flex-direction: column;
    text-align: center;
  }

  .board-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .announcement__inner {
    padding-block: 8px;
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 70px 0;
  }

  .hero,
  .page-hero {
    padding-top: 34px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .board-main h2,
  .board-main h3 {
    font-size: 1.4rem;
  }

  .timeline,
  .grid-4,
  .kv-grid,
  .modules-grid,
  .skill-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ========================================
   Centered Hero Layout
   ======================================== */
.hero--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__content--center {
  max-width: 820px;
  margin: 0 auto;
}

.hero__content--center h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero__content--center .eyebrow::before {
  display: none;
}

.hero__subtitle {
  color: var(--text-2);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  max-width: 60ch;
  margin: 0 auto;
}

.hero__actions--center {
  justify-content: center;
}

.hero__trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.5;
}

/* ========================================
   3D Hero Showcase
   ======================================== */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 42px auto 0;
  padding-bottom: 40px;
  overflow: visible;
}

/* Hexagonal grid pattern (ITSL brand style) */
.hero-showcase__grid {
  position: absolute;
  inset: -20% -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66Z' fill='none' stroke='rgba(0,148,127,0.22)' stroke-width='0.7'/%3E%3Cpath d='M28 100L0 84L0 50L28 34L56 50L56 84L28 100Z' fill='none' stroke='rgba(0,148,127,0.15)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: grid-fade-in 2s ease 0.5s forwards;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 75%);
}

@keyframes grid-fade-in {
  to { opacity: 1; }
}

/* Floating orb accents */
.hero-showcase__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.hero-showcase__orb--1 {
  width: 420px;
  height: 420px;
  top: -10%;
  right: -12%;
  background: radial-gradient(circle, rgba(95, 200, 255, 0.30) 0%, transparent 70%);
  animation: orb-drift-1 12s ease-in-out infinite;
}

.hero-showcase__orb--2 {
  width: 360px;
  height: 360px;
  bottom: 0%;
  left: -10%;
  background: radial-gradient(circle, rgba(56, 118, 200, 0.25) 0%, transparent 70%);
  animation: orb-drift-2 15s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 15px) scale(1.05); }
  66% { transform: translate(10px, -10px) scale(0.95); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(15px, -20px) scale(1.08); }
  70% { transform: translate(-10px, 10px) scale(0.96); }
}

/* Floating particles */
.hero-showcase__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-showcase__particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(95, 200, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(95, 200, 255, 0.3);
  animation: particle-float linear infinite;
  opacity: 0;
}

.hero-showcase__particles span:nth-child(1) { left: 10%; top: 20%; animation-duration: 8s; animation-delay: 0s; }
.hero-showcase__particles span:nth-child(2) { left: 25%; top: 60%; animation-duration: 10s; animation-delay: 1.5s; width: 2px; height: 2px; }
.hero-showcase__particles span:nth-child(3) { left: 45%; top: 15%; animation-duration: 12s; animation-delay: 3s; }
.hero-showcase__particles span:nth-child(4) { left: 65%; top: 70%; animation-duration: 9s; animation-delay: 0.8s; width: 4px; height: 4px; }
.hero-showcase__particles span:nth-child(5) { left: 80%; top: 30%; animation-duration: 11s; animation-delay: 2s; }
.hero-showcase__particles span:nth-child(6) { left: 90%; top: 55%; animation-duration: 7s; animation-delay: 4s; width: 2px; height: 2px; }
.hero-showcase__particles span:nth-child(7) { left: 15%; top: 80%; animation-duration: 13s; animation-delay: 1s; }
.hero-showcase__particles span:nth-child(8) { left: 55%; top: 45%; animation-duration: 10s; animation-delay: 3.5s; width: 2px; height: 2px; }

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-120px) translateX(30px); }
}

.hero-showcase__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 80%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(95, 200, 255, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 60%, rgba(56, 118, 200, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 40%, rgba(95, 160, 255, 0.15) 0%, transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 6s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* ---- Hero Tabs ---- */
.hero-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
  animation: hero-tabs-enter 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.15s both;
}

@keyframes hero-tabs-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(13, 28, 50, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  letter-spacing: 0.01em;
  overflow: hidden;
}

.hero-tab svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.hero-tab:hover {
  background: rgba(95, 200, 255, 0.08);
  border-color: rgba(95, 200, 255, 0.2);
  color: var(--text);
}

.hero-tab:hover svg {
  opacity: 1;
}

.hero-tab.is-active {
  background: rgba(95, 200, 255, 0.12);
  border-color: rgba(95, 200, 255, 0.35);
  color: var(--accent-2);
  box-shadow:
    0 0 20px rgba(95, 200, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Progress bar inside active tab */
.hero-tab::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-tab.is-active.is-timing::after {
  opacity: 0.8;
  animation: tab-progress 6s linear forwards;
}

@keyframes tab-progress {
  from { width: 0%; }
  to { width: 80%; }
}

.hero-tab.is-active svg {
  opacity: 1;
  stroke: var(--accent);
}

/* ---- Scene & Panels (3D Carousel) ---- */
.hero-showcase__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1.88 / 1;
}

.hero-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
  transform: scale(0.7) translateX(0);
  filter: brightness(0.4) blur(2px);
  z-index: 0;
}

/* Center card – active */
.hero-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  transform: scale(1) translateX(0);
  filter: brightness(1) blur(0);
}

/* Left peek card – previous */
.hero-panel.is-prev {
  opacity: 0.5;
  z-index: 1;
  transform: perspective(1200px) scale(0.30) translateX(-165%) rotateY(25deg);
  filter: brightness(0.5) blur(1px);
}

/* Right peek card – next */
.hero-panel.is-next {
  opacity: 0.5;
  z-index: 1;
  transform: perspective(1200px) scale(0.30) translateX(165%) rotateY(-25deg);
  filter: brightness(0.5) blur(1px);
}

/* Outgoing center card */
.hero-panel.is-leaving {
  opacity: 0;
  z-index: 2;
  transform: scale(0.9) translateX(0);
  filter: brightness(0.6) blur(2px);
}

/* Main center card */
.hero-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
  will-change: transform;
}

.hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hero-card--main {
  width: 88%;
  left: 6%;
  top: 0;
  z-index: 3;
  transform: perspective(1200px) rotateX(4deg) rotateY(0deg) translateZ(0);
  border: 1px solid rgba(95, 200, 255, 0.25);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(95, 200, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card--main::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(95, 200, 255, 0.4) 0%,
    transparent 35%,
    transparent 65%,
    rgba(99, 102, 241, 0.25) 100%
  );
  z-index: -1;
  opacity: 0.8;
  animation: card-border-glow 6s ease-in-out infinite;
}

@keyframes card-border-glow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

.hero-card--main .hero-card__glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 25%,
    transparent 75%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: 16px;
}

/* Hover lift on scene */
.hero-showcase__scene:hover .hero-card--main {
  transform: perspective(1200px) rotateX(2deg) rotateY(0deg) translateZ(20px);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(95, 200, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Floating accent elements */
.hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(13, 28, 50, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.hero-float--badge {
  top: 18%;
  left: -1%;
  animation: hero-float-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both, float-subtle 4s ease-in-out 1.8s infinite;
}

.hero-float--stat {
  bottom: 20%;
  right: -1%;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  animation: hero-float-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s both, float-subtle 5s ease-in-out 2s infinite;
}

.hero-float--shield {
  bottom: 8%;
  left: 4%;
  animation: hero-float-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.2s both, float-subtle 4.5s ease-in-out 2.2s infinite;
  color: var(--accent);
}

.hero-float--shield svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.hero-float__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f9b233;
  box-shadow: 0 0 8px rgba(249, 178, 51, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-float__number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-float__label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* Reflection */
.hero-showcase__reflection {
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 80%;
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(95, 200, 255, 0.04) 0%,
    transparent 100%
  );
  filter: blur(20px);
  border-radius: 50%;
  pointer-events: none;
}

/* Entrance animations */
@keyframes hero-main-enter {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(12deg) rotateY(0deg) translateZ(-80px) translateY(40px);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(4deg) rotateY(0deg) translateZ(0) translateY(0);
  }
}

@keyframes hero-float-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 16px rgba(52, 211, 153, 0.8); }
}

/* Mobile responsive */
@media (max-width: 920px) {
  .hero-card--main {
    width: 96%;
    left: 2%;
    transform: perspective(800px) rotateX(3deg) translateZ(0);
  }

  .hero-float--badge {
    top: auto;
    bottom: -8%;
    left: 4%;
  }

  .hero-float--stat {
    display: none;
  }

  .hero-float--shield {
    bottom: -8%;
    left: auto;
    right: 4%;
  }

  .hero-tabs {
    gap: 4px;
    flex-wrap: wrap;
  }

  .hero-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-tab svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 600px) {
  .hero-showcase {
    margin-top: 28px;
  }

  .hero-float {
    font-size: 0.76rem;
    padding: 7px 12px;
  }

  .hero-tab {
    padding: 7px 12px;
    font-size: 0.76rem;
    gap: 5px;
  }
}

/* ========================================
   Button Glow Effect
   ======================================== */
.button--glow {
  position: relative;
}

.button--glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e94b61, #d63b51, #f06070);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

.button--glow:hover::after {
  opacity: 0.5;
}

/* ========================================
   Logo Chips with Images
   ======================================== */
.logo-chip--img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-height: auto;
}

.logo-chip--img img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 0;
}

/* ========================================
   Testimonial Section
   ======================================== */
.testimonial-section {
  padding: 48px 0;
}

.testimonial {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  margin: 0;
  padding: 0;
}

.testimonial__quote p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}

.testimonial__author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #64bdf8);
  color: #061120;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.testimonial__name {
  font-weight: 700;
  color: var(--text);
}

.testimonial__role {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ========================================
   Hero Background Video
   ======================================== */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6, 17, 32, 0.3) 0%,
    rgba(6, 17, 32, 0.1) 40%,
    rgba(6, 17, 32, 0.6) 100%
  );
}

/* ========================================
   AppFrame – Window Chrome
   ======================================== */
.appframe {
  overflow: hidden;
}

.appframe__topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(10, 20, 38, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.appframe__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.appframe__dot--r { background: rgba(255, 255, 255, 0.15); }
.appframe__dot--y { background: rgba(255, 255, 255, 0.15); }
.appframe__dot--g { background: rgba(255, 255, 255, 0.15); }

.appframe__title {
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
}

/* ========================================
   Mega Menu – Products Dropdown
   ======================================== */
.nav__item--mega {
  position: relative;
}

.nav__link--dropdown {
  background: none;
  border: none;
  display: inline-flex;
  gap: 4px;
  min-height: 42px;
  padding: 10px 16px;
  align-items: center;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: inherit;
  font-size: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__link--dropdown:hover,
.nav__link--dropdown:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav__chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav__link--dropdown[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 680px;
  background: rgba(10, 20, 40, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mega-menu__heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu__list li {
  margin-bottom: 10px;
}

.mega-menu__list li a {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease;
}

.mega-menu__list li a:hover {
  color: var(--accent);
}

.mega-menu__list li span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.3;
}

/* ========================================
   Compliance / Trust Strip
   ======================================== */
.compliance-strip {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 17, 32, 0.6);
}

.compliance-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.compliance-item__icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.compliance-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.compliance-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .compliance-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .mega-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    top: 100px;
  }
  .mega-menu.is-open {
    transform: none;
  }
  .mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .compliance-strip__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Light Card – Enhanced Visibility
   ======================================== */
.light-card--with-screenshot {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.light-card--with-screenshot > h3,
.light-card--with-screenshot > p {
  flex-shrink: 0;
}

.light-card--with-screenshot > p {
  min-height: 4em;
}

.light-card--with-screenshot h3 {
  font-size: 1.22rem;
  color: #0e1e35;
  margin-bottom: 8px;
}

.light-card--with-screenshot .card-number {
  background: linear-gradient(135deg, rgba(42, 159, 218, 0.18), rgba(99, 102, 241, 0.14));
  color: #1a7fb5;
  font-size: 0.92rem;
  font-weight: 800;
}

.light-card--with-screenshot .list li {
  font-weight: 500;
  color: #2c3e52;
  font-size: 0.95rem;
  padding: 10px 0 10px 24px;
  position: relative;
}

.light-card--with-screenshot .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a9fda;
}

/* ========================================
   Feature List Accordion
   ======================================== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  border-bottom: 1px solid rgba(17, 32, 52, 0.08);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: #2c3e52;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  transition: color 0.2s ease;
}

.feature-item__toggle:hover {
  color: #2a9fda;
}

.feature-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a9fda;
  flex-shrink: 0;
}

.feature-item__chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.35;
}

.feature-item.is-open .feature-item__chevron {
  transform: rotate(180deg);
  opacity: 0.7;
}

.feature-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.23, 1, 0.32, 1), padding 0.35s ease;
  padding: 0 0 0 16px;
}

.feature-item.is-open .feature-item__body {
  max-height: 200px;
  padding: 0 0 12px 16px;
}

.feature-item__body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5a6d80;
}

/* ========================================
   Gov Section – Offentlig sektor i fokus
   ======================================== */
.gov-section {
  position: relative;
  overflow: hidden;
}

.gov-section__deco {
  position: absolute;
  top: -120px;
  right: -80px;
  pointer-events: none;
  opacity: 0.6;
}

.gov-section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* Stat row */
.stat-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-item__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-item__suffix {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-item__label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 200px;
  line-height: 1.4;
}

/* Gov cards (2×2 grid) */
.gov-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.gov-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gov-card {
  background: linear-gradient(180deg, rgba(16, 33, 58, 0.92), rgba(8, 22, 41, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gov-card:hover {
  border-color: rgba(95, 200, 255, 0.25);
  box-shadow: 0 0 24px rgba(95, 200, 255, 0.06);
}

.gov-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--accent);
}

.gov-card__icon svg {
  width: 100%;
  height: 100%;
}

.gov-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.gov-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Gov section mobile */
@media (max-width: 768px) {
  .stat-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .gov-cards {
    grid-template-columns: 1fr;
  }
  .gov-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Card Screenshots
   ======================================== */
.card-screenshot {
  margin: 16px 0;
  border-radius: calc(var(--radius-sm) - 4px);
  overflow: hidden;
  border: 1px solid rgba(17, 32, 52, 0.08);
}

.card-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.light-card--with-screenshot:hover .card-screenshot img {
  transform: scale(1.03);
}

/* ========================================
   Video Links (HeyGen)
   ======================================== */
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #2a9fda;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.video-link:hover {
  color: #1e8bc3;
  gap: 12px;
}

.video-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(42, 159, 218, 0.12);
  font-size: 0.7rem;
  transition: background 0.2s ease;
}

.video-link:hover .video-link__icon {
  background: rgba(42, 159, 218, 0.22);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.is-active {
  display: flex;
  opacity: 1;
}

.video-modal__inner {
  position: relative;
  width: 90vw;
  max-width: 960px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal.is-active .video-modal__inner {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: 80vh;
  outline: none;
}

/* ========================================
   News Cards
   ======================================== */
.news-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(17, 32, 52, 0.08);
  box-shadow: 0 18px 42px rgba(15, 25, 38, 0.06);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(15, 25, 38, 0.1);
}

.news-card__img {
  margin: -28px -28px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-card:hover .news-card__img img {
  transform: scale(1.04);
}

.news-card__date {
  color: #2a9fda;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.news-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.news-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: #2a9fda;
  font-weight: 700;
  font-size: 0.92rem;
  transition: gap 0.2s ease;
  gap: 4px;
}

.news-card__link:hover {
  gap: 8px;
}

/* ========================================
   Article Page
   ======================================== */
.article-hero {
  padding: 6rem 0 3rem;
  text-align: center;
}

.article-hero .eyebrow {
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 740px;
  margin: 0 auto 1rem;
  line-height: 1.18;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.article-meta__author {
  font-weight: 600;
  color: var(--text-2);
}

.article-hero__img {
  max-width: 780px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-hero__img img {
  width: 100%;
  display: block;
}

/* Article body */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.article-body p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0 0 1.25rem;
}

.article-body ul,
.article-body ol {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.72;
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-2);
  font-style: italic;
  font-size: 1.08rem;
}

/* Back link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.article-back:hover {
  gap: 10px;
}

/* News overview page */
.news-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .news-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Microinteractions – Card Hovers
   ======================================== */
.card,
.light-card,
.metric-card,
.timeline-card,
.module-card {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.light-card:hover,
.metric-card:hover,
.timeline-card:hover,
.module-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 28px 60px rgba(3, 12, 23, 0.18);
}

.light-card:hover {
  border-color: rgba(42, 159, 218, 0.25);
}

.section--dark .card:hover,
.metric-card:hover,
.timeline-card:hover,
.module-card:hover {
  box-shadow: 0 28px 60px rgba(3, 12, 23, 0.35), 0 0 40px rgba(95, 200, 255, 0.06);
}

/* Button active state */
.button:active {
  transform: scale(0.97) !important;
}

/* ========================================
   FAQ Animated Accordion
   ======================================== */
.faq details {
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(95, 200, 255, 0.2);
}

.section--light .faq details[open] {
  border-color: rgba(42, 159, 218, 0.2);
}

.faq summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(95, 200, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(95, 200, 255, 0.2);
}

.faq details p {
  animation: faq-open 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Cursor Glow Effect (Linear-style)
   ======================================== */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 200, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cursor-glow.is-active {
  opacity: 1;
}

/* ========================================
   Number Count-up (visual only, JS animates)
   ======================================== */
.card-number {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover .card-number,
.light-card:hover .card-number,
.timeline-card:hover .card-number {
  transform: scale(1.1);
}

/* ========================================
   Hero Grid Dot Animation
   ======================================== */
@keyframes pulse-dots {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* ========================================
   Feature Map — Overview Grid
   ======================================== */

.fmap__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.fmap__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 8px 0 12px;
}
.fmap__head p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.6;
}

.fmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fmap__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fmap__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 4px 12px;
  margin: 0 0 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fmap__col--cyan .fmap__cat { color: #00947f; }
.fmap__col--indigo .fmap__cat { color: #3e89be; }
.fmap__col--emerald .fmap__cat { color: #f9b233; }
.fmap__cat svg { opacity: 0.7; }
.fmap__col--cyan .fmap__cat svg { stroke: #00947f; }
.fmap__col--indigo .fmap__cat svg { stroke: #3e89be; }
.fmap__col--emerald .fmap__cat svg { stroke: #f9b233; }

.fmap__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}
.fmap__card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}
.fmap__col--cyan .fmap__card:hover {
  border-color: rgba(0,148,127,0.3);
  box-shadow: 0 4px 24px rgba(0,148,127,0.08);
}
.fmap__col--indigo .fmap__card:hover {
  border-color: rgba(62,137,190,0.3);
  box-shadow: 0 4px 24px rgba(62,137,190,0.08);
}
.fmap__col--emerald .fmap__card:hover {
  border-color: rgba(249,178,51,0.3);
  box-shadow: 0 4px 24px rgba(249,178,51,0.08);
}

.fmap__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.22s ease;
}
.fmap__card:hover .fmap__icon { opacity: 0.85; }
.fmap__col--cyan .fmap__icon { stroke: #00947f; }
.fmap__col--indigo .fmap__icon { stroke: #3e89be; }
.fmap__col--emerald .fmap__icon { stroke: #f9b233; }

.fmap__card div {
  flex: 1;
  min-width: 0;
}
.fmap__card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.fmap__card span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.fmap__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  stroke: var(--muted);
}
.fmap__card:hover .fmap__arrow {
  opacity: 0.6;
  transform: translateX(0);
}

/* Scroll reveal for fmap cards */
.fmap__card {
  opacity: 0;
  transform: translateY(16px);
}
.fmap__card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.fmap__card.is-visible:hover {
  transform: translateY(-2px);
}

/* Stagger animation per column */
.fmap__col .fmap__card:nth-child(2).is-visible { transition-delay: 0.06s; }
.fmap__col .fmap__card:nth-child(3).is-visible { transition-delay: 0.12s; }
.fmap__col .fmap__card:nth-child(4).is-visible { transition-delay: 0.18s; }
.fmap__col .fmap__card:nth-child(5).is-visible { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .fmap { grid-template-columns: 1fr; gap: 32px; }
}

/* ========================================
   Hubs Feature Sections (Dedicated per-feature)
   ======================================== */

/* Category Header */
.fsect-category {
  padding-top: 72px !important;
  padding-bottom: 0 !important;
}

.fsect-cat-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
}

.fsect-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fsect-cat-header--cyan .fsect-cat-icon {
  background: rgba(0,148,127,0.12);
  color: #00947f;
}
.fsect-cat-header--indigo .fsect-cat-icon {
  background: rgba(62,137,190,0.12);
  color: #3e89be;
}
.fsect-cat-header--emerald .fsect-cat-icon {
  background: rgba(249,178,51,0.12);
  color: #f9b233;
}

.fsect-cat-header h2 {
  margin: 4px 0 8px;
  font-size: 1.8rem;
}

.fsect-cat-header p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

/* Category headers always on dark bg now */

/* Scroll offset for anchor links (sticky header) */
.fsect[id],
.fsect-category[id],
section[id] {
  scroll-margin-top: 80px;
}

/* Feature Section */
.fsect {
  position: relative;
  overflow: hidden;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.fsect__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.fsect--reverse .fsect__inner {
  direction: rtl;
}

.fsect--reverse .fsect__inner > * {
  direction: ltr;
}

/* Decorative elements */
.fsect__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.fsect__deco--dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 80% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 80% 50%, black 0%, transparent 70%);
}

.fsect--reverse .fsect__deco--dots {
  mask-image: radial-gradient(ellipse 60% 50% at 20% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 20% 50%, black 0%, transparent 70%);
}

.fsect__deco--grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 50% 60% at 70% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 70% 40%, black 0%, transparent 70%);
}

.fsect--reverse .fsect__deco--grid {
  mask-image: radial-gradient(ellipse 50% 60% at 30% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 30% 40%, black 0%, transparent 70%);
}

.fsect__deco--lines {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.02) 40px,
    rgba(255,255,255,0.02) 41px
  );
}

/* Glow orbs */
.fsect__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

.fsect__glow--tl {
  top: -15%;
  left: -5%;
}

.fsect__glow--br {
  bottom: -15%;
  right: -5%;
}

.fsect--cyan .fsect__glow {
  background: radial-gradient(circle, rgba(0,148,127,0.12) 0%, transparent 70%);
}

.fsect--indigo .fsect__glow {
  background: radial-gradient(circle, rgba(62,137,190,0.12) 0%, transparent 70%);
}

.fsect--emerald .fsect__glow {
  background: radial-gradient(circle, rgba(249,178,51,0.10) 0%, transparent 70%);
}

/* Text side */
.fsect__text {
  position: relative;
  z-index: 1;
}

.fsect__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fsect__icon--cyan { background: rgba(0,148,127,0.12); color: #00947f; }
.fsect__icon--indigo { background: rgba(62,137,190,0.12); color: #3e89be; }
.fsect__icon--emerald { background: rgba(249,178,51,0.12); color: #f9b233; }

.fsect__text h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fsect__text p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 20px;
}

.fsect__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fsect__points li {
  font-size: 0.94rem;
  color: var(--text-2);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.fsect__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.fsect--cyan .fsect__points li::before { background: rgba(0,148,127,0.5); }
.fsect--indigo .fsect__points li::before { background: rgba(62,137,190,0.5); }
.fsect--emerald .fsect__points li::before { background: rgba(249,178,51,0.5); }

/* Visual side — Mockups */
.fsect__visual {
  position: relative;
  z-index: 1;
}

.fsect__mockup {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  background: rgba(8,18,32,0.90);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 40px rgba(0,0,0,0.10);
}

.fsect__mockup--cyan { border-color: rgba(0,148,127,0.15); }
.fsect__mockup--indigo { border-color: rgba(62,137,190,0.15); }
.fsect__mockup--emerald { border-color: rgba(249,178,51,0.15); }

.fsect__mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fsect__mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

/* SDK mockup — message rows */
.fsect__mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fsect__mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,148,127,0.25), rgba(62,137,190,0.25));
  flex-shrink: 0;
}

.fsect__mockup-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fsect__mockup-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

.fsect__mockup-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249,178,51,0.15);
  color: #f9b233;
  white-space: nowrap;
}

/* Chat mockup */
.fsect__mockup-chat {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fsect__chat-bubble {
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  max-width: 80%;
}

.fsect__chat-bubble--in {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.fsect__chat-bubble--out {
  background: rgba(0,148,127,0.12);
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.fsect__chat-bubble--ai {
  background: rgba(62,137,190,0.12);
}

.fsect__mockup-lock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.76rem;
  color: var(--muted);
}

.fsect__mockup-lock svg {
  color: #f9b233;
}

/* Video mockup */
.fsect__mockup-video { padding: 14px; }

.fsect__video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.fsect__video-tile {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,148,127,0.08), rgba(62,137,190,0.08));
  border: 1px solid rgba(255,255,255,0.06);
}

.fsect__video-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.fsect__vid-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: block;
}

.fsect__vid-btn--red {
  background: rgba(239,68,68,0.25);
}

/* File list mockup */
.fsect__mockup-files { padding: 6px 0; }

.fsect__file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fsect__file-icon {
  font-size: 1.1rem;
  opacity: 0.6;
}

.fsect__file-name {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  display: block;
  flex: 1;
}

.fsect__file-meta {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Bridge mockup */
.fsect__mockup-bridge {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 20px 18px;
}

.fsect__bridge-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fsect__bridge-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fsect__bridge-block {
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
}

.fsect__bridge-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  font-size: 1.2rem;
  color: rgba(62,137,190,0.5);
}

/* Document mockup */
.fsect__mockup-doc { padding: 14px 18px; }

.fsect__doc-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.fsect__doc-toolbar span {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  display: block;
}

.fsect__doc-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 10px;
}

.fsect__doc-cursor {
  width: 2px;
  height: 16px;
  background: #3e89be;
  margin: 4px 0 8px 30%;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* List mockup (fax/support) */
.fsect__mockup-list { padding: 6px 0; }

.fsect__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fsect__list-icon {
  font-size: 0.9rem;
  color: var(--muted);
  flex-shrink: 0;
}

.fsect__list-text {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  display: block;
  flex: 1;
}

.fsect__list-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(0,148,127,0.15);
  color: #00947f;
}

.fsect__list-tag--green { background: rgba(249,178,51,0.15); color: #f9b233; }
.fsect__list-tag--yellow { background: rgba(245,158,11,0.15); color: #f59e0b; }
.fsect__list-tag--red { background: rgba(239,68,68,0.15); color: #ef4444; }

/* Course mockup (lärplattform) */
.fsect__mockup-courses { padding: 14px 18px; }

.fsect__course {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fsect__course span {
  font-size: 0.80rem;
  color: var(--muted);
}

.fsect__course-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(249,178,51,0.4), rgba(249,178,51,0.15));
  transition: width 0.8s ease;
}

/* Kanban mockup */
.fsect__mockup-kanban {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 14px;
}

.fsect__kanban-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fsect__kanban-head {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2px;
}

.fsect__kanban-card {
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
}

.fsect__kanban-card--active {
  border-color: rgba(249,178,51,0.3);
  background: rgba(249,178,51,0.08);
}

.fsect__kanban-card--done {
  opacity: 0.5;
}

/* Whiteboard mockup */
.fsect__mockup-wb {
  position: relative;
  height: 180px;
  padding: 14px;
}

.fsect__wb-shape {
  position: absolute;
}

.fsect__wb-shape--rect {
  top: 20px;
  left: 15%;
  width: 80px;
  height: 50px;
  border-radius: 8px;
  border: 2px solid rgba(249,178,51,0.35);
  background: rgba(249,178,51,0.05);
}

.fsect__wb-shape--circle {
  top: 25px;
  right: 18%;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid rgba(62,137,190,0.35);
  background: rgba(62,137,190,0.05);
}

.fsect__wb-shape--line {
  top: 90px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(255,255,255,0.10);
}

.fsect__wb-shape--arrow {
  bottom: 25px;
  left: 25%;
  width: 50%;
  height: 30px;
  border-bottom: 2px solid rgba(62,137,190,0.30);
  border-right: 2px solid rgba(62,137,190,0.30);
}

.fsect__wb-cursor {
  position: absolute;
  bottom: 40px;
  right: 30%;
  width: 12px;
  height: 18px;
  border-left: 2px solid #00947f;
  border-top: 2px solid #00947f;
  transform: rotate(-10deg);
  opacity: 0.6;
}

/* Scroll-reveal animation */
.fsect__inner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.fsect__inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fsect-cat-header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.fsect-cat-header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Architecture Columns
   ======================================== */
.arch-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.arch-col {
  text-align: center;
  padding: 36px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16,33,58,0.80), rgba(8,22,41,0.95));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease;
}

.arch-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.12);
}

.arch-col__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.arch-col__icon--cyan {
  background: rgba(0,148,127,0.12);
  color: #00947f;
}

.arch-col__icon--indigo {
  background: rgba(62,137,190,0.12);
  color: #3e89be;
}

.arch-col__icon--emerald {
  background: rgba(249,178,51,0.12);
  color: #f9b233;
}

.arch-col h3 {
  font-size: 1.14rem;
  color: var(--text);
  margin: 0 0 8px;
}

.arch-col p {
  font-size: 0.92rem;
  color: var(--text-2);
  margin: 0 0 14px;
  line-height: 1.55;
}

.arch-col__count {
  display: inline-block;
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

/* ========================================
   Drift Cards
   ======================================== */
.drift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.drift-card {
  background: linear-gradient(180deg, rgba(16,33,58,0.80), rgba(8,22,41,0.95));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease;
}

.drift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(3,12,23,0.3);
}

.drift-card__num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.drift-card h3 {
  font-size: 1.12rem;
  color: var(--text);
  margin: 0 0 8px;
}

.drift-card p {
  font-size: 0.92rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

/* ID strip */
.id-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.id-strip__head h3 {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 4px;
}

.id-strip__head p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.id-strip__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.id-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Tech pills */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

/* ========================================
   Responsive: Feature Sections
   ======================================== */
@media (max-width: 900px) {
  .fsect__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .fsect--reverse .fsect__inner {
    direction: ltr;
  }
  .fsect__text h3 {
    font-size: 1.35rem;
  }
  .arch-cols,
  .drift-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fsect-cat-header {
    gap: 18px;
  }
  .fsect-cat-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .arch-cols,
  .drift-grid {
    grid-template-columns: 1fr;
  }
  .fsect-cat-header {
    flex-direction: column;
    gap: 14px;
  }
  .fsect {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .fsect__mockup-kanban {
    grid-template-columns: 1fr;
  }
  .id-strip {
    flex-direction: column;
    text-align: center;
  }
  .id-strip__badges {
    justify-content: center;
  }
}

/* ========================================
   Hero Background Effects
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* -- Hex grid across entire hero -- */
.hero-bg-grid {
  position: absolute;
  inset: -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: hero-grid-in 1.5s ease 0.3s forwards;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

@keyframes hero-grid-in {
  to { opacity: 1; }
}

/* -- Animated gradient glows (Vercel/Stripe style) -- */
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0;
  animation: glow-appear 2s ease 0.5s forwards;
}

@keyframes glow-appear {
  to { opacity: 1; }
}

.hero-bg-glow--1 {
  width: 800px;
  height: 800px;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.hero-bg-glow--2 {
  width: 600px;
  height: 600px;
  top: 25%;
  left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.hero-bg-glow--3 {
  width: 650px;
  height: 650px;
  top: 15%;
  right: -10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 1.1s forwards, glow-float-3 12s ease-in-out 3.1s infinite;
}

@keyframes glow-float-1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(30px); }
}

@keyframes glow-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

@keyframes glow-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 25px) scale(1.05); }
}

/* -- Animated light beams -- */
.hero-bg-beam {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  display: none;
}

.hero-bg-beam--1 {
  top: 0;
  left: 20%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(95, 200, 255, 0.25) 30%, rgba(95, 200, 255, 0.08) 70%, transparent 100%);
  box-shadow: 0 0 15px rgba(95, 200, 255, 0.10), 0 0 40px rgba(95, 200, 255, 0.05);
  opacity: 0;
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 8s ease-in-out 4s infinite;
}

.hero-bg-beam--2 {
  top: 0;
  right: 25%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.20) 40%, rgba(99, 102, 241, 0.06) 60%, transparent 100%);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.08), 0 0 40px rgba(99, 102, 241, 0.04);
  opacity: 0;
  animation: beam-appear 3s ease 1.5s forwards, beam-shimmer 10s ease-in-out 4.5s infinite;
}

@keyframes beam-appear {
  to { opacity: 1; }
}

@keyframes beam-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ========================================
   Floating Hero Screenshot Effect
   ======================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-screenshot-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow:
    0 24px 60px rgba(3, 12, 23, 0.28),
    0 0 80px rgba(56, 189, 248, 0.12);
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(1px);
}

/* ========================================
   Scroll-Triggered Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.320, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.320, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ========================================
   Logo Carousel (Infinite Scroll)
   ======================================== */
.logo-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 20px;
  animation: scroll-infinite 30s linear infinite;
  will-change: transform;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

.logo-track > * {
  flex-shrink: 0;
  min-width: auto;
}

/* ========================================
   Page Hero Background Effects (subpages)
   ======================================== */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

/* -- Shared grid pattern for all page heroes -- */
.page-hero .hero-bg-grid {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: hero-grid-in 1.5s ease 0.3s forwards;
}

/* -- Shared glow base for page heroes -- */
.page-hero .hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0;
  animation: glow-appear 2s ease 0.5s forwards;
}

/* -- Shared beam base for page heroes -- */
.page-hero .hero-bg-beam {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 2px;
  height: 100%;
  opacity: 0;
}

/* ---- Hubs / Plattform: Cyan + Indigo (samma som start men dot-grid) ---- */
.page-hero--hubs .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--hubs .hero-bg-glow--1 {
  width: 700px; height: 700px;
  top: -20%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,148,128,0.30) 0%, rgba(0,148,128,0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--hubs .hero-bg-glow--2 {
  width: 500px; height: 500px;
  top: 30%; left: -5%;
  background: radial-gradient(circle, rgba(0,101,107,0.25) 0%, rgba(0,101,107,0.06) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--hubs .hero-bg-beam--1,
.page-hero--hubs .hero-bg-beam--2 {
  display: none;
}

/* ---- Offentlig sektor: Emerald / Green ---- */
.page-hero--offentlig .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--offentlig .hero-bg-glow--1 {
  width: 750px; height: 750px;
  top: -25%; left: 45%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,148,128,0.30) 0%, rgba(0,148,128,0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 11s ease-in-out 2.5s infinite;
}

.page-hero--offentlig .hero-bg-glow--2 {
  width: 550px; height: 550px;
  top: 20%; right: -8%;
  background: radial-gradient(circle, rgba(62,137,190,0.22) 0%, rgba(62,137,190,0.06) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.9s forwards, glow-float-3 13s ease-in-out 2.9s infinite;
}

.page-hero--offentlig .hero-bg-beam--1 {
  top: 0; left: 25%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,148,128,0.22) 30%, rgba(0,148,128,0.06) 70%, transparent 100%);
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 9s ease-in-out 4s infinite;
}

.page-hero--offentlig .hero-bg-beam--2 {
  top: 0; right: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,148,128,0.14) 40%, rgba(62,137,190,0.06) 60%, transparent 100%);
  animation: beam-appear 3s ease 1.6s forwards, beam-shimmer 11s ease-in-out 4.6s infinite;
}

/* ---- Alternativ till M365: Amber / Orange ---- */
.page-hero--m365 .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--m365 .hero-bg-glow--1 {
  width: 800px; height: 800px;
  top: -25%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--m365 .hero-bg-glow--2 {
  width: 600px; height: 600px;
  top: 25%; left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--m365 .hero-bg-beam--1,
.page-hero--m365 .hero-bg-beam--2 {
  display: none;
}

/* ---- Om ITSL: Purple / Violet ---- */
.page-hero--om .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--om .hero-bg-glow--1 {
  width: 800px; height: 800px;
  top: -25%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--om .hero-bg-glow--2 {
  width: 600px; height: 600px;
  top: 25%; left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--om .hero-bg-beam--1 {
  top: 0; left: 20%;
  background: linear-gradient(180deg, transparent 0%, rgba(95, 200, 255, 0.25) 30%, rgba(95, 200, 255, 0.08) 70%, transparent 100%);
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 8s ease-in-out 4s infinite;
}

.page-hero--om .hero-bg-beam--2 {
  top: 0; right: 25%;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.20) 40%, rgba(99, 102, 241, 0.06) 60%, transparent 100%);
  animation: beam-appear 3s ease 1.5s forwards, beam-shimmer 10s ease-in-out 4.5s infinite;
}

/* ---- Kontakt: Rose / Pink ---- */
.page-hero--kontakt .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--kontakt .hero-bg-glow--1 {
  width: 800px; height: 800px;
  top: -25%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--kontakt .hero-bg-glow--2 {
  width: 600px; height: 600px;
  top: 25%; left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--kontakt .hero-bg-beam--1 {
  top: 0; left: 20%;
  background: linear-gradient(180deg, transparent 0%, rgba(95, 200, 255, 0.25) 30%, rgba(95, 200, 255, 0.08) 70%, transparent 100%);
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 8s ease-in-out 4s infinite;
}

.page-hero--kontakt .hero-bg-beam--2 {
  top: 0; right: 25%;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.20) 40%, rgba(99, 102, 241, 0.06) 60%, transparent 100%);
  animation: beam-appear 3s ease 1.5s forwards, beam-shimmer 10s ease-in-out 4.5s infinite;
}

/* Hero trust badges with icons (duplicated at end for parser compatibility) */
.hero-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 101, 107, 0.15);
  border: 1px solid rgba(0, 200, 210, 0.2);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}

.hero-trust-badge:hover {
  background: rgba(0, 101, 107, 0.25);
  border-color: rgba(0, 200, 210, 0.35);
}

.hero-trust-badge__icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .hero-trust-badges {
    gap: 10px;
  }
  .hero-trust-badge {
    padding: 8px 14px 8px 10px;
    font-size: 0.84rem;
  }
}

/* ========================================
   Demo Wizard — Multi-step booking flow
   ======================================== */
.demo-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}

.demo-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

.demo-progress__step span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s;
}

.demo-progress__step.is-active span {
  color: var(--text);
  font-weight: 600;
}

.demo-progress__step.is-done span {
  color: var(--accent);
}

.demo-progress__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--card);
  border: 2px solid rgba(255,255,255,0.1);
  color: var(--muted);
  transition: all 0.3s;
}

.demo-progress__step.is-active .demo-progress__dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 148, 127, 0.4);
}

.demo-progress__step.is-done .demo-progress__dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.demo-progress__line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 8px;
  margin-bottom: 28px;
}

.demo-wizard {
  position: relative;
}

.demo-step {
  display: none;
  animation: demoFadeIn 0.4s ease;
}

.demo-step.is-active {
  display: block;
}

@keyframes demoFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-aside-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.demo-aside-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}

.demo-aside-info__item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.form-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-2);
  transition: all 0.2s;
}

.form-checkbox:hover {
  border-color: rgba(0, 200, 210, 0.2);
  background: rgba(0, 101, 107, 0.1);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.form-checkbox input[type="checkbox"]:checked + span {
  color: var(--text);
  font-weight: 600;
}

.required {
  color: var(--brand-rosa);
}

/* Confirmation screen */
.demo-confirmation {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}

.demo-confirmation__icon {
  margin-bottom: 24px;
}

.demo-confirmation__icon svg {
  animation: confirmPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes confirmPop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.demo-confirmation__lead {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.demo-confirmation__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 16px;
}

.demo-confirmation__card {
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.demo-confirmation__card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.demo-confirmation__url {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(0, 148, 127, 0.1);
  border: 1px solid rgba(0, 200, 210, 0.2);
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 14px;
  word-break: break-all;
}

.demo-confirmation__url svg {
  flex-shrink: 0;
  color: var(--accent);
}

.demo-confirmation__card p {
  font-size: 0.9rem;
  color: var(--text-2);
}

.demo-confirmation__steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-confirmation__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
}

.demo-confirmation__steps li svg {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .demo-progress__step span { display: none; }
  .form-checkbox-grid { grid-template-columns: 1fr; }
  .demo-confirmation__details { grid-template-columns: 1fr; }
}

/* ========================================
   Boka Demo — Global Modal
   ======================================== */
.demo-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,9,18,0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.demo-modal-overlay.is-open {
  opacity: 1; pointer-events: auto;
}

.demo-modal {
  position: relative;
  width: 94%; max-width: 520px;
  background: linear-gradient(165deg, #0f2035 0%, #0a1625 100%);
  border: 1px solid rgba(0,200,210,0.15);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 60px rgba(0,200,210,0.08);
  padding: 40px 36px 36px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto; max-height: 92vh;
}
.demo-modal-overlay.is-open .demo-modal {
  transform: translateY(0) scale(1);
}

.demo-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; cursor: pointer; color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
}
.demo-modal__close:hover { background: rgba(255,255,255,0.1); color: #fff; }

.demo-modal__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-2, #00c8d2);
  margin-bottom: 12px;
}
.demo-modal__badge svg { opacity: 0.7; }

.demo-modal h2 {
  font-size: 1.55rem; font-weight: 800; line-height: 1.2;
  margin: 0 0 8px; color: var(--text, #f7fbff);
}

.demo-modal__sub {
  font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.5;
  margin: 0 0 28px;
}

.demo-modal__form { display: flex; flex-direction: column; gap: 16px; }

.demo-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.demo-modal__field { display: flex; flex-direction: column; gap: 5px; }
.demo-modal__field label {
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.7);
}
.demo-modal__field label .req { color: var(--brand-rosa, #e94b61); }

.demo-modal__field input,
.demo-modal__field select,
.demo-modal__field textarea {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: var(--text, #f7fbff);
  font-size: 0.88rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.demo-modal__field input::placeholder,
.demo-modal__field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.demo-modal__field input:focus,
.demo-modal__field select:focus,
.demo-modal__field textarea:focus {
  border-color: rgba(0,200,210,0.5);
  box-shadow: 0 0 0 3px rgba(0,200,210,0.1);
}
.demo-modal__field select { cursor: pointer; appearance: none;
  background-image: 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='M3 4.5L6 7.5L9 4.5' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.demo-modal__field select option { background: #0a1625; color: #f7fbff; }

.demo-modal__field textarea { resize: vertical; min-height: 72px; }

.demo-modal__field.is-error input,
.demo-modal__field.is-error select {
  border-color: var(--brand-rosa, #e94b61);
  box-shadow: 0 0 0 3px rgba(233,75,97,0.12);
}

.demo-modal__submit {
  width: 100%; padding: 14px;
  background: var(--brand-rosa, #e94b61);
  border: none; border-radius: 12px;
  color: #fff; font-size: 0.95rem; font-weight: 700; font-family: inherit;
  cursor: pointer; margin-top: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.demo-modal__submit:hover {
  background: #d4394e;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(233,75,97,0.3);
}
.demo-modal__submit:active { transform: translateY(0); }
.demo-modal__submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}

.demo-modal__trust {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
  margin-top: 4px; justify-content: center;
}
.demo-modal__trust svg { opacity: 0.5; min-width: 14px; }

/* Success state inside modal */
.demo-modal__success {
  display: none; text-align: center; padding: 20px 0;
}
.demo-modal__success.is-visible { display: block; }
.demo-modal__success svg { color: var(--accent, #00947f); margin-bottom: 16px; }
.demo-modal__success h3 { font-size: 1.3rem; margin: 0 0 8px; }
.demo-modal__success p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 560px) {
  .demo-modal { padding: 28px 20px 24px; }
  .demo-modal h2 { font-size: 1.3rem; }
  .demo-modal__row { grid-template-columns: 1fr; }
}

/* Wizard modal — progress bar */
.demo-modal--wizard { max-width: 560px; }
.demo-modal__progress {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-bottom: 28px;
}
.demo-modal__progress-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.demo-modal__progress-step.is-active { color: rgba(255,255,255,0.9); }
.demo-modal__progress-step.is-done { color: var(--accent, #00947f); }
.demo-modal__progress-dot {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.75rem; font-weight: 700;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35);
  transition: all 0.3s;
}
.demo-modal__progress-step.is-active .demo-modal__progress-dot {
  background: rgba(0,200,210,0.15);
  border-color: rgba(0,200,210,0.5);
  color: #00c8d2;
}
.demo-modal__progress-step.is-done .demo-modal__progress-dot {
  background: var(--accent, #00947f);
  border-color: var(--accent, #00947f);
  color: #fff;
}
.demo-modal__progress-line {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 8px;
  flex-shrink: 0;
}

/* Wizard steps */
.dm-step { display: none; }
.dm-step.is-active { display: block; animation: dmFadeIn 0.3s ease; }
@keyframes dmFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Checkbox grid */
.dm-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dm-checkbox {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, background 0.2s;
}
.dm-checkbox:hover {
  border-color: rgba(0,200,210,0.3);
  background: rgba(0,200,210,0.05);
}
.dm-checkbox input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent, #00947f);
  cursor: pointer;
}
.dm-checkbox input[type="checkbox"]:checked + span {
  color: rgba(255,255,255,0.95);
}

/* Actions row (back + submit) */
.demo-modal__actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 4px;
}
.demo-modal__back {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.demo-modal__back:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
.demo-modal__actions .demo-modal__submit { flex: 1; }

@media (max-width: 560px) {
  .demo-modal__progress-step span:not(.demo-modal__progress-dot) { display: none; }
  .demo-modal__progress-line { width: 24px; }
  .dm-checkbox-grid { grid-template-columns: 1fr; }
  .demo-modal__actions { flex-direction: column-reverse; }
  .demo-modal__actions .demo-modal__submit { width: 100%; }
  .demo-modal__back { width: 100%; text-align: center; }
}

/* ========================================
   Kontakt Page — Offices
   ======================================== */
.koffices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.koffice-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.koffice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25), 0 0 40px rgba(0,200,210,0.06);
}

.koffice-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.koffice-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.koffice-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.koffice-card__body {
  padding: 24px 28px 28px;
}
.koffice-card__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.koffice-card__body address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.koffice-card__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.koffice-card__line a {
  color: var(--accent-2);
  text-decoration: none;
}
.koffice-card__line a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .koffices__grid { grid-template-columns: 1fr; }
}

/* ========================================
   Kontakt Page — Contact Form
   ======================================== */
.kontakt-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.kontakt-form-info {
  padding-top: 8px;
}
.kontakt-form-info h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1.3;
}
.kontakt-form-info p {
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.7;
}

.kontakt-form-info__items {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kontakt-form-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.kontakt-form-info__item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.kontakt-form-info__item a:hover {
  text-decoration: underline;
}

.kontakt-form-panel {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.kontakt-form { display: flex; flex-direction: column; gap: 16px; }
.kontakt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kontakt-form__field { display: flex; flex-direction: column; gap: 6px; }
.kontakt-form__field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.kontakt-form__field label .req { color: #e94b61; }
.kontakt-form__field input,
.kontakt-form__field select,
.kontakt-form__field textarea {
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ink);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kontakt-form__field input:focus,
.kontakt-form__field select:focus,
.kontakt-form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,148,127,0.1);
}
.kontakt-form__field textarea {
  resize: vertical;
  min-height: 100px;
}
.kontakt-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2347566b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.kontakt-form__field.is-error input,
.kontakt-form__field.is-error select,
.kontakt-form__field.is-error textarea {
  border-color: #e94b61;
  box-shadow: 0 0 0 3px rgba(233,75,97,0.1);
}

.kontakt-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  align-self: flex-start;
}
.kontakt-form__submit:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.kontakt-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.kontakt-form__success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}
.kontakt-form__success svg { margin: 0 auto 16px; }
.kontakt-form__success h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.kontakt-form__success p {
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Contact card enhancements */
.contact-card__logo { margin-bottom: 12px; }
.contact-card__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0;
}
.contact-card .list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-card__offices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card__office {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .kontakt-form-layout { grid-template-columns: 1fr; gap: 32px; }
  .kontakt-form__row { grid-template-columns: 1fr; }
}

/* ========================================
   Feature Map — compact overview grid
   ======================================== */
.fmap__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.fmap__head h2 { margin-top: 12px; }
.fmap__head p { color: rgba(255,255,255,0.6); margin-top: 12px; }

.fmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.fmap__col { display: flex; flex-direction: column; gap: 10px; }

.fmap__cat {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0 0 10px; margin-bottom: 4px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.fmap__col--cyan .fmap__cat { color: #00c8d2; border-color: rgba(0,200,210,0.25); }
.fmap__col--indigo .fmap__cat { color: #818cf8; border-color: rgba(129,140,248,0.25); }
.fmap__col--emerald .fmap__cat { color: #34d399; border-color: rgba(52,211,153,0.25); }
.fmap__cat svg { opacity: 0.7; }

.fmap__card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  /* scroll-reveal */
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.fmap__card.is-visible { opacity: 1; transform: translateY(0); }

.fmap__card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}
.fmap__col--cyan .fmap__card:hover { border-color: rgba(0,200,210,0.35); box-shadow: 0 4px 20px rgba(0,200,210,0.1); }
.fmap__col--indigo .fmap__card:hover { border-color: rgba(129,140,248,0.35); box-shadow: 0 4px 20px rgba(129,140,248,0.1); }
.fmap__col--emerald .fmap__card:hover { border-color: rgba(52,211,153,0.35); box-shadow: 0 4px 20px rgba(52,211,153,0.1); }

.fmap__icon {
  width: 28px; height: 28px; min-width: 28px;
  stroke-width: 1.5;
}
.fmap__col--cyan .fmap__icon { color: #00c8d2; }
.fmap__col--indigo .fmap__icon { color: #818cf8; }
.fmap__col--emerald .fmap__icon { color: #34d399; }

.fmap__card div { flex: 1; min-width: 0; }
.fmap__card strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text); }
.fmap__card span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; line-height: 1.3; }

.fmap__arrow {
  width: 16px; height: 16px; min-width: 16px;
  opacity: 0.3; transition: opacity 0.2s, transform 0.2s;
}
.fmap__card:hover .fmap__arrow { opacity: 0.7; transform: translateX(2px); }

@media (max-width: 900px) {
  .fmap { grid-template-columns: 1fr; gap: 32px; }
}

/* ========================================
   Respect prefers-reduced-motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }

  .hero-screenshot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }

  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 {
    transition-delay: 0;
  }

  .logo-carousel:hover .logo-track {
    animation-play-state: running;
  }

  .logo-track {
    animation: none;
  }
}
