/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---- Focus Visible ---- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1f45;
  background: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   MASTER ROOT (Design System)
========================= */
:root {
  --color-bg: #FFFFFF;
  --color-bg-soft: #F7F8FB;
  --color-bg-card: #FFFFFF;
  --color-surface: #F0F2F6;
  --color-dark: #0B1133;
  --color-gray: #5A6178;
  --color-gray-light: rgba(0, 0, 0, 0.05);
  --color-mus: #E30613;
  --color-team: #F4B223;
  --color-apv: #0095D9;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-primary: #0B1133;
  --color-primary-dark: #070c24;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.10);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --chart-gradient: conic-gradient(var(--color-mus) 2deg 43deg, transparent 43deg 47deg,
      var(--color-mus) 47deg 88deg, transparent 88deg 92deg,
      var(--color-team) 92deg 133deg, transparent 133deg 137deg,
      var(--color-team) 137deg 178deg, transparent 178deg 182deg,
      #22c55e 182deg 223deg, transparent 223deg 227deg,
      #22c55e 227deg 268deg, transparent 268deg 272deg,
      var(--color-apv) 272deg 313deg, transparent 313deg 317deg,
      var(--color-apv) 317deg 358deg, transparent 358deg 2deg);

  /* Layout & Spacing */
  --container-max: 1440px;

  /* Min/Max skærmbredder: 320px (20rem) til 1440px (90rem) */

  /*
   * Små afstande holdes faste (typisk for padding i knapper/cards).
   * Clamp giver ikke mening her, da variationen blot ville være 1-2px.
   */
  --space-xs: 0.5rem;   /* 8px  */
  --space-sm: 0.75rem;  /* 12px */

  /*
   * Mellemstore afstande.
   * Vokser stille og roligt for at give rum.
   */
  --space-md: clamp(0.75rem, calc(0.61rem + 0.71vw), 1rem);     /* 12px -> 16px */
  --space-lg: clamp(1rem, calc(0.71rem + 1.43vw), 1.5rem);      /* 16px -> 24px (Dit grid gap) */

  /*
   * Store afstande.
   * Perfekte til luft mellem elementer i et grid eller kolonne.
   */
  --space-xl: clamp(1.5rem, calc(1.14rem + 1.79vw), 2.5rem);    /* 24px -> 40px */
  --space-2xl: clamp(2rem, calc(1.36rem + 3.21vw), 3.75rem);    /* 32px -> 60px */
  --space-3xl: clamp(2.5rem, calc(1.61rem + 4.46vw), 5rem);     /* 40px -> 80px */

  /*
   * Section Spacing
   */
  /* Vertikal (Y) Luft mellem store sektioner: Vokser fra 40px til 60px */
  --space-section-y: clamp(2.5rem, calc(2.07rem + 2.14vw), 3.75rem);

  /* Horisontal (X) Safe zone / Margin: Vokser fra 20px (mobil) til 64px (Din grid margin) */
  --space-section-x: clamp(1.25rem, calc(0.46rem + 3.93vw), 4rem);
}

/* =========================
   Typography (Headings & Text)
========================= */
h1,
h2,
h3,
h4 {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(32px, 6vw, 62px);
}

h2 {
  font-size: clamp(26px, 4vw, 44px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 26px);
}

p {
  color: var(--color-gray);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

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

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

/* =========================
   Layout & Utility
========================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-section-x);
}

section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  section {
    padding: 80px 0;
  }
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0B1133, #1a2555, #0B1133);
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.4s ease;
  will-change: opacity;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 17, 51, 0.4);
  background: linear-gradient(135deg, #0B1133, #152050);
}

.btn-primary:hover::before {
  opacity: 0.6;
  animation: ctaGlow 2s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.7;
  }
}

.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid rgba(0, 0, 0, 0.13);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow-sm);
  color: #0B1133;
}

.btn-white {
  background: #fff;
  color: #0a0e27;
  font-weight: 700;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.btn-white::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(0, 149, 217, 0.3));
  z-index: -1;
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.4s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.3);
}

.btn-white:hover::before {
  opacity: 0.7;
}

/* =========================
   Navigation
========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow var(--transition), padding var(--transition);
  transform: translateY(0);
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

.nav.scrolled {
  box-shadow: none;
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}


.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 480px) {
  .nav-logo-img {
    height: 52px;
  }
}


/* Nav links */
.nav-links {
  display: none;
  list-style: none;
  gap: 8px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #5A6178;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: #0B1133;
  background: rgba(0, 0, 0, 0.04);
}

.nav-links a.active {
  font-weight: 600;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-login {
  display: inline-flex;
  background: transparent;
  color: #5A6178;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-login::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.04) 50%, transparent 100%);
  animation: shimmer 4s ease-in-out infinite;
}

@media (min-width: 520px) {
  .btn-login {
    display: inline-flex;
  }
}

.btn-login:hover {
  color: #0B1133;
  border-color: rgba(0, 0, 0, 0.25);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

@media (min-width: 900px) {
  .nav-hamburger {
    display: none;
  }
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0B1133;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.98);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: #0B1133;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

/* =========================
   Hero Section
========================= */
.hero {
  padding-top: 130px;
  padding-bottom: 40px;
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 160px;
    padding-bottom: 60px;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 70% 60%, rgba(0, 170, 239, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(41, 82, 204, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

@media (min-width: 700px) {
  .hero-inner {
    flex-direction: column;
    gap: 56px;
  }
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }
}

.hero-text {
  max-width: 700px;
  text-align: center;
  position: relative;
}

.hero-text::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -60px;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(41, 82, 204, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 900px) {
  .hero-text {
    text-align: left;
    max-width: none;
  }
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(18px);
  clip-path: inset(0 0 40% 0);
  animation: wordReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.14s);
}

@keyframes wordReveal {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(18px);
    clip-path: inset(0 0 40% 0);
  }
  60% {
    opacity: 1;
    filter: blur(0px);
    clip-path: inset(0 0 0% 0);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
    clip-path: inset(0 0 0% 0);
  }
}


.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-mus), var(--color-apv));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hr-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(11, 17, 51, 0.04);
  border: 1.5px solid rgba(11, 17, 51, 0.1);
  border-radius: 50px;
  padding: 10px 28px 10px 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.hr-tool-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hr-tool-icon {
  flex-shrink: 0;
  color: var(--color-dark);
}

.hr-tool-label {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

/* Subtle ring rotation animation */
@keyframes hrRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hr-ring {
  transform-origin: 21px 21px;
  animation: hrRingSpin 20s linear infinite;
}

/* Elements highlight in sequence: MUS → APV → TEAM */
@keyframes hrElemHighlight {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  10%, 23% { opacity: 0.85; transform: scale(1.05); }
  33% { opacity: 0.5; transform: scale(1); }
}

.hr-elem {
  transform-origin: center;
  transform-box: fill-box;
  animation: hrElemHighlight 6s ease-in-out infinite;
}

.hr-elem-1 { animation-delay: 0s; }
.hr-elem-2 { animation-delay: -2s; }
.hr-elem-3 { animation-delay: -4s; }

.hero-subtitle-product {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  color: var(--color-gray);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

@media (min-width: 900px) {
  .hero-subtitle-product {
    justify-content: flex-start;
  }
}

.product-tags {
  display: flex;
  gap: 8px;
}

.product-tags em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-dark);
  background: rgba(0, 0, 0, 0.03);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  letter-spacing: 0.06em;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-tags em:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);
}

/* Product tags – all dark navy */
.product-tags em:nth-child(1),
.product-tags em.team,
.product-tags em.apv {
  border-color: rgba(11, 17, 51, 0.15);
  background: rgba(11, 17, 51, 0.04);
}

@keyframes shimmerSlide {

  0%,
  100% {
    left: -100%;
  }

  20%,
  40% {
    left: 100%;
  }
}

.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-actions .btn {
  padding: 15px 32px;
  font-size: 16px;
  justify-content: center;
}

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1000px;
  display: block;
  width: 100%;
  max-width: 980px;
}

/* Mobile iPad – compact version */
@media (max-width: 699px) {
  .hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-visual .ipad-device {
    max-width: 100%;
    margin: 0 auto;
    padding: 5px;
    border-radius: 16px;
    transform: none;
    border-width: 1px;
  }

  .hero-visual .ipad-device::before {
    border-radius: 16px;
  }

  .hero-visual .ipad-device:hover {
    transform: none;
  }

  .hero-visual .ipad-screen {
    border-radius: 6px;
  }

  .hero-visual .ipad-camera {
    width: 4px;
    height: 4px;
    margin-bottom: 5px;
  }

  .hero-visual .ipad-status-bar {
    padding: 4px 10px;
  }

  .hero-visual .ipad-logo {
    height: 12px;
  }

  .hero-visual .ipad-status-label {
    font-size: 7px;
    padding: 1px 4px;
  }

  .hero-visual .ipad-home-bar {
    padding: 4px 0 1px;
  }

  .hero-visual .ipad-home-bar::after {
    width: 40px;
    height: 2.5px;
  }

  .hero-visual .ipad-btn {
    display: none;
  }

  .hero-visual .hero-dashboard {
    height: auto;
  }

  .hero-visual .dashboard-content--screenshot {
    height: 200px;
    border-radius: 0;
  }

  .hero-visual .dashboard-iframe {
    width: 960px;
    height: 1200px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-60px) translateY(-145px) scale(0.38);
    transform-origin: top left;
  }
}

.hero-animate-in {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: heroSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes heroSlideIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---- iPad Pro Device Frame ---- */
.ipad-device {
  position: relative;
  /* Aluminium gradient – dark Space Gray */
  background: linear-gradient(
    165deg,
    #3a3a42 0%,
    #2e2e35 15%,
    #242428 35%,
    #1c1c20 55%,
    #151518 75%,
    #101013 100%
  );
  border-radius: 24px;
  padding: 5px;
  max-width: 960px;
  margin: 0 auto 0 -90px;
  box-shadow:
    /* Multi-layer realistic shadow */
    0 0.5px 1px rgba(0, 0, 0, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.16),
    0 32px 72px rgba(0, 0, 0, 0.22),
    /* Top edge highlight – polished chrome catch */
    inset 0 2px 1px rgba(255, 255, 255, 1),
    /* Secondary top glow */
    inset 0 4px 3px rgba(220, 230, 250, 0.3),
    /* Bottom edge shadow */
    inset 0 -1.5px 1px rgba(0, 0, 0, 0.5),
    /* Left edge metallic shine */
    inset 2px 0 1px rgba(255, 255, 255, 0.7),
    /* Right edge subtle light */
    inset -2px 0 1px rgba(255, 255, 255, 0.35);
  /* Sort ydre kant på iPad */
  border: 1.5px solid #000;
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
}

.ipad-device:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

/* Physical buttons */
.ipad-btn {
  position: absolute;
  background: linear-gradient(180deg, #4a4a50, #35353a);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  border-radius: 2px;
}

.ipad-btn--power {
  top: 18px;
  right: -2.5px;
  width: 2.5px;
  height: 26px;
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.3);
}

.ipad-btn--vol-up {
  top: 18px;
  left: -2.5px;
  width: 2.5px;
  height: 20px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.3);
}

.ipad-btn--vol-down {
  top: 46px;
  left: -2.5px;
  width: 2.5px;
  height: 20px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.3);
}

/* Front camera – realistic multi-ring lens */
.ipad-camera {
  width: 7px;
  height: 7px;
  background: radial-gradient(
    circle at 40% 35%,
    rgba(90, 100, 160, 0.3) 0%,
    #111115 30%,
    #0a0a0e 55%,
    #050508 100%
  );
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1.5px #0e0e12,
    0 0 0 2.5px rgba(255, 255, 255, 0.06),
    inset 0 0 1px rgba(120, 140, 220, 0.12);
}

/* Screen inset – black bezel around display */
.ipad-screen {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

/* IQN branded status bar inside iPad */
.ipad-status-bar {
  background: #0B1133;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ipad-logo {
  height: 18px;
  width: auto;
  opacity: 0.9;
}

.ipad-status-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Home indicator bar */
.ipad-home-bar {
  display: flex;
  justify-content: center;
  padding: 8px 0 2px;
}

.ipad-home-bar::after {
  content: '';
  width: 68px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

/* Glass reflection overlay – premium shine */
.ipad-device::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 24px;
  pointer-events: none;
  z-index: 3;
  background:
    /* Top-left bright reflection streak */
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.1) 10%,
      rgba(255, 255, 255, 0.02) 22%,
      transparent 38%,
      transparent 62%,
      rgba(255, 255, 255, 0.02) 80%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    /* Horizontal shine band across top – metallic glint */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.05) 4%,
      transparent 10%,
      transparent 100%
    );
}

/* Soft glow behind device */
.ipad-device::after {
  content: '';
  position: absolute;
  top: 10%;
  left: -15%;
  right: -15%;
  bottom: -15%;
  background: radial-gradient(
    ellipse at 50% 70%,
    rgba(41, 82, 204, 0.14) 0%,
    rgba(41, 82, 204, 0.06) 40%,
    transparent 70%
  );
  z-index: -1;
  filter: blur(50px);
  pointer-events: none;
}

@media (min-width: 900px) {
  .ipad-device {
    max-width: 580px;
    margin: 0 0 0 -30px;
    padding: 6px;
    border-radius: 20px;
  }
  .ipad-device::before { border-radius: 20px; }
  .ipad-screen { border-radius: 6px; }
  .ipad-camera { margin-bottom: 8px; width: 6px; height: 6px; }
  .ipad-home-bar { padding: 6px 0 1px; }
  .ipad-home-bar::after { width: 56px; height: 3px; }
  .ipad-btn--power { top: 14px; height: 22px; }
  .ipad-btn--vol-up { top: 14px; height: 16px; }
  .ipad-btn--vol-down { top: 36px; height: 16px; }
}

@media (min-width: 1200px) {
  .ipad-device {
    max-width: 700px;
    margin: 0 0 0 -50px;
    padding: 7px;
    border-radius: 26px;
  }
  .ipad-device::before { border-radius: 26px; }
  .ipad-screen { border-radius: 10px; }
  .ipad-camera { margin-bottom: 12px; width: 8px; height: 8px; }
  .ipad-home-bar { padding: 10px 0 3px; }
  .ipad-home-bar::after { width: 72px; height: 4px; }
}

.hero-dashboard {
  overflow: hidden;
  position: relative;
}

.dashboard-content {
  padding: 28px;
}

.dashboard-content--screenshot {
  padding: 0;
  overflow: hidden;
  height: 580px;
  position: relative;
  border-radius: 12px;
}

.dashboard-iframe {
  width: 960px;
  height: 1200px;
  border: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-43px) translateY(-158px) scale(0.70);
  transform-origin: top left;
  pointer-events: none;
}

@media (min-width: 900px) {
  .dashboard-content--screenshot {
    height: 440px;
  }

  .dashboard-iframe {
    transform: translateX(-253px) translateY(-311px) scale(0.82);
  }
}

@media (min-width: 1200px) {
  .dashboard-content--screenshot {
    height: 500px;
  }

  .dashboard-iframe {
    transform: translateX(-271px) translateY(-385px) scale(1.0);
  }
}

/* ---- Dashboard Loading Animation ---- */
.dashboard-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #111638;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-loader.fade-out {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

/* Skeleton bars */
.loader-skeleton {
  position: absolute;
  top: 40px;
  left: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0.12;
}

.loader-skeleton-bar {
  height: 12px;
  width: var(--bar-w, 60%);
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.06) 100%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: loaderShimmer 1.8s ease-in-out infinite;
  animation-delay: var(--bar-delay, 0s);
}

@keyframes loaderShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Donut chart placeholder */
.loader-skeleton::after {
  content: '';
  position: absolute;
  bottom: -160px;
  right: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  animation: loaderShimmerRing 2.4s ease-in-out infinite;
}

@keyframes loaderShimmerRing {

  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.04);
  }

  50% {
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* Orbiting dots */
.loader-orbiter {
  position: relative;
  width: 100px;
  height: 100px;
  animation: loaderOrbitSpin 3s linear infinite;
}

.loader-orbiter::before {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(0, 149, 217, 0.08) 0%,
      transparent 70%);
  animation: loaderGlow 3s ease-in-out infinite;
}

@keyframes loaderGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.loader-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.loader-dot--red {
  background: #ff5f56;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(255, 95, 86, 0.6);
  animation: loaderDotPulseX 1.6s ease-in-out infinite 0s;
}

.loader-dot--yellow {
  background: #ffbd2e;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(255, 189, 46, 0.6);
  animation: loaderDotPulseY 1.6s ease-in-out infinite 0.4s;
}

.loader-dot--green {
  background: #27c93f;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(39, 201, 63, 0.6);
  animation: loaderDotPulseX 1.6s ease-in-out infinite 0.8s;
}

.loader-dot--blue {
  background: #0095D9;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(0, 149, 217, 0.6);
  animation: loaderDotPulseY 1.6s ease-in-out infinite 1.2s;
}

@keyframes loaderOrbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderDotPulseX {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translateX(-50%) scale(1.5);
    opacity: 1;
  }
}

@keyframes loaderDotPulseY {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-50%) scale(1.5);
    opacity: 1;
  }
}

/* Progress bar */
.loader-progress {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg,
      #ff5f56 0%,
      #ffbd2e 33%,
      #27c93f 66%,
      #0095D9 100%);
  animation: loaderProgressGrow 4.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderProgressGrow {
  0% {
    width: 0%;
  }

  15% {
    width: 18%;
  }

  35% {
    width: 42%;
  }

  55% {
    width: 58%;
  }

  75% {
    width: 78%;
  }

  90% {
    width: 92%;
  }

  100% {
    width: 100%;
  }
}

.loader-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

/* =========================
   Social Proof (Logos)
========================= */
.social-proof {
  background: #F0F2F6;
  padding: 48px 0 50px;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
  position: relative;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, #FFFFFF, #F0F2F6);
  pointer-events: none;
}

.social-proof::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, #F0F2F6, #F7F8FB);
  pointer-events: none;
}

.social-proof-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 600px;
  margin: 12px auto 28px;
  padding: 0 24px;
}

.social-proof-divider::before,
.social-proof-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 17, 51, 0.12), transparent);
}

.social-proof-divider span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11, 17, 51, 0.4);
  white-space: nowrap;
}

.tb-marquee-wrapper-outer {
  width: 100%;
}

/* =========================
   Logo section
========================= */

.social-proof .tb-marquee-wrapper-outer {
  --tb-animation-duration: 50s;
  --tb-logo-gap-desktop: 80px;
  --tb-logo-height-desktop: 70px;
  --tb-logo-opacity: 0.6;
  --tb-logo-height-mobile: 50px;
  --tb-logo-gap-mobile: 40px;
}

/* outer clips horizontal overflow, inner keeps vertical visible for scale */
.tb-marquee-wrapper-outer {
  overflow: hidden;
}

/* wrapper fylder hele bredden */
.tb-marquee-wrapper {
  width: 100%;
  overflow: visible;
  position: relative;

  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* track animeres */
.tb-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tb-scroll var(--tb-animation-duration) linear infinite;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
}

/* indhold */
.tb-marquee-content {
  display: flex;
  align-items: center;
  gap: var(--tb-logo-gap-desktop);
  padding-right: var(--tb-logo-gap-desktop);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tb-logo-item {
  --spot: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
}

.tb-logo-item img {
  height: var(--tb-logo-height-desktop);
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  filter: grayscale(calc(1 - var(--spot))) opacity(calc(0.35 + 0.65 * var(--spot)));
  transform: scale(calc(1 + 0.15 * var(--spot)));
  transform-origin: center center;
  will-change: filter, transform;
  transition: filter 0.4s ease-out, transform 0.4s ease-out;
}

@keyframes tb-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width:768px) {
  .tb-logo-item img {
    height: var(--tb-logo-height-mobile);
    /* Højere base-synlighed på mobil så logoer ikke forsvinder */
    filter: grayscale(calc(1 - var(--spot))) opacity(calc(0.5 + 0.5 * var(--spot)));
    transform: scale(calc(1 + 0.08 * var(--spot)));
  }

  .tb-marquee-content {
    gap: var(--tb-logo-gap-mobile);
    padding-right: var(--tb-logo-gap-mobile);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-marquee-track {
    animation: none;
  }
}

/* =========================
   Products Section
========================= */
.products {
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(0, 0, 0, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 17% 50%, rgba(41, 82, 204, 0.04) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 50% 50%, rgba(0, 170, 239, 0.04) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 83% 50%, rgba(41, 82, 204, 0.04) 0%, transparent 65%),
    linear-gradient(180deg, #F7F8FB 0%, #EEF0F5 40%, #F7F8FB 100%);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.products::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(41, 82, 204, 0.02) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 60%, rgba(0, 170, 239, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0B1133;
  margin-bottom: 16px;
  background: rgba(11, 17, 51, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(11, 17, 51, 0.15);
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 520px;
  margin: 0 auto;
}

/* =========================
   Product Circles
========================= */
.product-circles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  justify-items: center;
  position: relative;
  padding-bottom: 16px;
  scroll-margin-top: 40px;
}

@media (min-width: 600px) {
  .product-circles {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.product-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.product-circle-item[aria-expanded="true"] .product-circle {
  transform: scale(1.08);
}

.product-circle-item[aria-expanded="true"] .product-circle::before {
  animation: circleBreathHover 1.5s ease-in-out infinite;
  inset: -14px;
  padding: 14px;
}

.product-circle-item[aria-expanded="true"] .circle-bg {
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Circle name + CTA label under circle */
.circle-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.01em;
  transition: color 0.3s;
  margin-top: 20px;
}

.circle-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.circle-cta svg {
  transition: transform 0.3s;
}

.product-circle-item:hover .circle-cta {
  opacity: 1;
}

.product-circle-item:hover .circle-cta svg {
  transform: translateX(3px);
}

.product-circle-item[aria-expanded="true"] .circle-name {
  color: var(--color-primary);
}

.product-circle-item[aria-expanded="true"] .circle-cta {
  opacity: 1;
}

.product-circle-item[aria-expanded="true"] .circle-cta svg {
  transform: rotate(90deg);
}

.product-circle {
  display: block;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  position: relative;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Den farvede ring via mask-composite trick */
.product-circle::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  padding: 12px;
  background: var(--chart-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: circleBreathIdle 3s ease-in-out infinite;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Cirkel-interior */
.circle-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.circle-bg::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: var(--chart-gradient);
  filter: blur(18px);
  mask: radial-gradient(circle, transparent 30%, black 68%);
  -webkit-mask: radial-gradient(circle, transparent 30%, black 68%);
  pointer-events: none;
  animation: circleGlowPulse 3.5s ease-in-out infinite;
}

/* Centeret indhold */
.circle-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.circle-icon {
  margin-bottom: 8px;
}

.circle-label {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.circle-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray);
  opacity: 0.85;
}

/* Farver pr. produkt – alle mørkeblå */
.product-circle .circle-icon,
.product-circle .circle-label { color: #0B1133; }


/* ---- Expandable product panel ---- */
.product-expand-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  opacity: 0;
  margin-top: 0;
}

.product-expand-panel.is-open {
  opacity: 1;
  margin-top: 56px;
}

.product-expand-inner {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  background: linear-gradient(165deg, #0B1133 0%, #0f1740 40%, #131d50 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(11, 17, 51, 0.12),
    0 16px 48px rgba(11, 17, 51, 0.18),
    0 32px 80px rgba(11, 17, 51, 0.10);
  animation: panelFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  position: relative;
}

.product-expand-inner.is-active {
  display: block;
}

/* Subtle dot texture overlay */
.product-expand-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* Soft glow accent top-right */
.product-expand-inner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(41, 82, 204, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.expand-header {
  position: relative;
  z-index: 1;
  padding: 44px 48px 0;
}

.expand-header h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.expand-hook {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.5;
}

.expand-body {
  position: relative;
  z-index: 1;
  padding: 28px 48px 0;
}

.expand-body p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 14px;
}

.expand-body p:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.expand-highlights {
  position: relative;
  z-index: 1;
  margin: 32px 48px 0;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.expand-highlights-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.expand-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.expand-highlights li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}

.expand-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2952cc, #00AAEF);
  opacity: 0.8;
}

.expand-highlights li strong {
  color: #fff;
  font-weight: 600;
}

/* CTA button in expand panel */
.expand-cta {
  position: relative;
  z-index: 1;
  padding: 0 48px 44px;
  margin-top: 28px;
}

.expand-cta .btn-primary {
  background: #fff;
  color: #0B1133;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.expand-cta .btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.3);
}

.expand-cta .btn-primary::before {
  display: none;
}

.expand-cta .btn-primary svg {
  stroke: #0B1133;
}

@media (max-width: 600px) {
  .expand-header { padding: 32px 24px 0; }
  .expand-body { padding: 20px 24px 0; }
  .expand-highlights { margin: 24px 24px 0; padding: 22px 20px; }
  .expand-cta { padding: 0 24px 32px; }
  .product-expand-inner { border-radius: 18px; }
}

/* ---- Hover / focus ---- */
.product-circle:hover {
  transform: scale(1.05);
}

.product-circle:hover::before {
  animation: circleBreathHover 1.5s ease-in-out infinite;
  inset: -14px;
  padding: 14px;
}

.product-circle:hover .circle-bg {
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
}


/* ---- Keyframes ---- */
@keyframes circleBreathIdle {

  0%,
  100% {
    opacity: 0.6;
    filter: saturate(110%) brightness(100%);
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    filter: saturate(180%) brightness(130%);
    transform: scale(1.04);
  }
}

@keyframes circleBreathHover {

  0%,
  100% {
    opacity: 0.85;
    filter: saturate(160%) brightness(115%);
    transform: scale(1);
  }

  50% {
    opacity: 1;
    filter: saturate(250%) brightness(160%);
    transform: scale(1.05);
  }
}

@keyframes circleGlowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.95);
    filter: blur(18px) saturate(100%);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
    filter: blur(22px) saturate(160%);
  }
}

/* Stagger animations between the 3 circles */
.product-circle-item:nth-child(2) .product-circle::before {
  animation-delay: -1s;
}
.product-circle-item:nth-child(3) .product-circle::before {
  animation-delay: -2s;
}
.product-circle-item:nth-child(2) .circle-bg::before {
  animation-delay: -1.2s;
}
.product-circle-item:nth-child(3) .circle-bg::before {
  animation-delay: -2.4s;
}

/* ===================================
   Product Icon Animations
=================================== */

/* -- MUS: Conversation rhythm -- */
@keyframes musSpeakL {
  0%, 100% { transform: scale(1); opacity: 1; }
  15% { transform: scale(1.12); opacity: 1; }
  35% { transform: scale(1.08); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.7; }
  75% { transform: scale(0.92); opacity: 0.7; }
  90% { transform: scale(1); opacity: 1; }
}

@keyframes musSpeakR {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  10% { transform: scale(0.92); opacity: 0.7; }
  40% { transform: scale(0.92); opacity: 0.7; }
  55% { transform: scale(1.12); opacity: 1; }
  75% { transform: scale(1.08); opacity: 1; }
  90% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes musBarPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.88; }
}

@keyframes musNod {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-0.4px); }
  65% { transform: translateY(0.15px); }
}

.mus-bubble-l {
  transform-box: fill-box;
  transform-origin: center;
  animation: musSpeakL 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mus-bubble-r {
  transform-box: fill-box;
  transform-origin: center;
  animation: musSpeakR 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mus-bar { animation: musBarPulse 4.5s ease-in-out infinite; }
.mus-bar-1 { animation-delay: 0s; }
.mus-bar-2 { animation-delay: 0.25s; }
.mus-bar-3 { animation-delay: 0.5s; }
.mus-bar-4 { animation-delay: 0.75s; }
.mus-bar-5 { animation-delay: 2s; }
.mus-bar-6 { animation-delay: 2.25s; }
.mus-bar-7 { animation-delay: 2.5s; }
.mus-bar-8 { animation-delay: 2.75s; }

.mus-person-l { animation: musNod 4s ease-in-out infinite; }
.mus-person-r { animation: musNod 4s ease-in-out infinite -2s; }

/* -- TEAM: Slow orbit + heads huddle in/out -- */
@keyframes teamOrbit {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* Head nudges toward center then back out */
@keyframes teamHeadDown {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  45%, 55% { transform: translateY(2.2px); opacity: 0.95; }
}
@keyframes teamHeadLeft {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  45%, 55% { transform: translateX(-2.2px); opacity: 0.95; }
}
@keyframes teamHeadUp {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  45%, 55% { transform: translateY(-2.2px); opacity: 0.95; }
}
@keyframes teamHeadRight {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  45%, 55% { transform: translateX(2.2px); opacity: 0.95; }
}

/* Bodies compress toward center in sync */
@keyframes teamBodyDown {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  45%, 55% { transform: translateY(1.2px); opacity: 0.55; }
}
@keyframes teamBodyLeft {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  45%, 55% { transform: translateX(-1.2px); opacity: 0.55; }
}
@keyframes teamBodyUp {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  45%, 55% { transform: translateY(-1.2px); opacity: 0.55; }
}
@keyframes teamBodyRight {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  45%, 55% { transform: translateX(1.2px); opacity: 0.55; }
}

.team-huddle {
  transform-origin: 12px 12px;
  animation: teamOrbit 28s linear infinite;
}

/* Red - top: head moves down toward center */
.team-head.team-fig-1 { animation: teamHeadDown 3.6s ease-in-out infinite; }
.team-body.team-fig-1 { animation: teamBodyDown 3.6s ease-in-out infinite; }

/* Yellow - right: head moves left toward center */
.team-head.team-fig-2 { animation: teamHeadLeft 3.6s ease-in-out infinite; }
.team-body.team-fig-2 { animation: teamBodyLeft 3.6s ease-in-out infinite; }

/* Green - bottom: head moves up toward center */
.team-head.team-fig-3 { animation: teamHeadUp 3.6s ease-in-out infinite; }
.team-body.team-fig-3 { animation: teamBodyUp 3.6s ease-in-out infinite; }

/* Blue - left: head moves right toward center */
.team-head.team-fig-4 { animation: teamHeadRight 3.6s ease-in-out infinite; }
.team-body.team-fig-4 { animation: teamBodyRight 3.6s ease-in-out infinite; }

/* -- APV: Sequential scan & checkmark draw -- */
@keyframes apvScan {
  0%, 25%, 100% { opacity: 0.6; }
  10%, 15% { opacity: 0.92; }
}

@keyframes apvCheckDraw {
  0%, 55% { stroke-dashoffset: 12; opacity: 0; }
  60% { opacity: 1; }
  75%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes apvCheckPulse {
  0%, 55%, 100% { opacity: 0; }
  75%, 95% { opacity: 1; }
}

.apv-quad { animation: apvScan 6s ease-in-out infinite; }
.apv-quad-1 { animation-delay: 0s; }
.apv-quad-2 { animation-delay: 1.2s; }
.apv-quad-3 { animation-delay: 2.4s; }
.apv-quad-4 { animation-delay: 3.6s; }

.apv-check {
  stroke-dasharray: 12;
  stroke-dashoffset: 12;
  animation: apvCheckDraw 6s ease-out infinite;
}

/* =========================
   Features
========================= */
.features {
  background: linear-gradient(168deg, #FFFFFF 0%, #F7F8FB 50%, #FFFFFF 100%);
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.features::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 170, 239, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Steps grid – "Kom i gang" */
.steps-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

@media (min-width: 600px) {
  .steps-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .steps-grid-new {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.step-card {
  text-align: center;
  padding: 36px 24px 32px;
  position: relative;
  border-radius: var(--radius);
  background: var(--color-bg-card);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s ease,
              border-color 0.6s ease,
              filter 0.6s ease;
}

/* Waiting state: invisible */
.step-card.step-waiting {
  opacity: 0;
  transform: translateY(40px) scale(0.85);
  filter: blur(6px);
}

/* Spotlight state: one card highlighted */
.step-card.step-spotlight {
  opacity: 1;
  transform: translateY(-6px) scale(1.05);
  filter: blur(0);
  box-shadow: 0 20px 60px rgba(41, 82, 204, 0.2), 0 0 0 2px rgba(41, 82, 204, 0.15);
  border-color: rgba(41, 82, 204, 0.3);
  z-index: 2;
}

/* Done state: visible but normal */
.step-card.step-done {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.08);
}

.step-card.step-done:hover,
.step-card.step-spotlight:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px rgba(41, 82, 204, 0.15);
  border-color: rgba(41, 82, 204, 0.3);
}

.step-number-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a8f, #2952cc);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 4px 16px rgba(41, 82, 204, 0.3);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(41, 82, 204, 0.3); transform: scale(1); }
  50% { box-shadow: 0 6px 28px rgba(41, 82, 204, 0.5); transform: scale(1.05); }
}


.step-card-icon {
  color: var(--color-apv);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   How It Works
========================= */
.how-it-works {
  background: linear-gradient(168deg, #F7F8FB 0%, #FBFBFD 50%, #F7F8FB 100%);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(41, 82, 204, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* how-it-works section-tag inherits base dark navy styling */

.how-it-works .section-header h2 {
  color: #0B1133;
}

.how-it-works .section-header p {
  color: #5A6178;
}

/* Report tabs (product switcher) */
.report-tabs {
  display: flex;
  gap: 6px;
  margin-left: 12px;
}

.report-tab {
  padding: 7px 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.report-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.report-tab.active {
  background: rgba(41, 82, 204, 0.15);
  border-color: rgba(41, 82, 204, 0.4);
  color: #fff;
  box-shadow: 0 0 16px rgba(41, 82, 204, 0.4);
}

.report-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  animation: shimmerSlide 4s ease-in-out infinite;
}

.report-tab:nth-child(2)::after {
  animation-delay: 0.5s;
}

.report-tab:nth-child(3)::after {
  animation-delay: 1s;
}

@media (max-width: 600px) {
  .report-tabs {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    gap: 6px;
  }

  .report-tab {
    padding: 6px 18px;
    font-size: 11px;
  }
}

/* iPad Report wrapper */
.ipad-report {
  transform: none;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 8px;
}

.ipad-report:hover {
  transform: none;
}

.ipad-report .ipad-screen {
  border-radius: 6px;
}

.ipad-report .ipad-status-bar {
  padding: 6px 14px;
  justify-content: flex-start;
}

.ipad-report .ipad-logo {
  height: 16px;
}

.ipad-report-tabs {
  display: flex;
  gap: 2px;
  margin-left: auto;
  margin-right: 8px;
}

.ipad-report-tabs .report-tab {
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ipad-report-tabs .report-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.ipad-report-tabs .report-tab:hover:not(.active) {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.ipad-report .report-fullscreen-btn {
  margin-left: 0;
}

/* Report dashboard (live rapport iframe) */
.report-dashboard {
  position: relative;
  overflow: hidden;
}

.report-content {
  position: relative;
  overflow: hidden;
  height: 420px;
}

@media (min-width: 900px) {
  .report-content {
    height: 500px;
  }
}

@media (min-width: 1200px) {
  .report-content {
    height: 560px;
  }
}

@media (max-width: 640px) {
  .ipad-report {
    border-radius: 14px;
    padding: 8px;
  }

  .ipad-report .ipad-screen {
    border-radius: 4px;
  }

  .ipad-report .ipad-status-bar {
    padding: 5px 10px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .ipad-report .ipad-logo {
    height: 13px;
  }

  .ipad-report-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 2px;
  }

  .ipad-report-tabs .report-tab {
    font-size: 9px;
    padding: 2px 10px;
  }

  .ipad-report .ipad-btn {
    display: none;
  }

  .ipad-report .ipad-camera {
    display: none;
  }
}

.report-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  position: relative;
  z-index: 1;
}

.report-fullscreen-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.report-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

.report-fullscreen-btn svg {
  flex-shrink: 0;
}

/* ---- Content Gate ---- */
.report-gate {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(180deg, #0a0e2a 0%, #0B1133 50%, #0f1540 100%);
  overflow-y: auto;
  padding: 12px 10px;
  border-radius: 0;
}

.report-gate.hidden {
  display: none;
}

.gate-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 170, 239, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
  color: #00AAEF;
  box-shadow: inset 0 0 0 1px rgba(0, 170, 239, 0.15);
}



.gate-submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(41, 82, 204, 0.2);
}

.gate-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 12px;
}

.gate-divider::before,
.gate-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.10);
}

.gate-divider span {
  font-size: 0.82rem;
  color: #5A6178;
  white-space: nowrap;
}

.gate-pin-field {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 320px;
  margin: 0 auto;
}

.gate-pin-field input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  background: #F7F8FB;
  color: #0B1133;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gate-pin-field input:focus {
  outline: none;
  border-color: var(--color-apv);
  box-shadow: 0 0 0 3px rgba(0, 170, 239, 0.12);
}

.gate-unlock-btn {
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.gate-pin-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 12px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .gate-pin-field {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Gate Intro Section (fullscreen animation + CTA) ---- */
.gate-intro-section {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: #111638;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
}

.gate-intro-section .loader-skeleton {
  position: absolute;
  top: 40px;
  left: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0.15;
}

.gate-intro-cta .loader-orbiter {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  height: 460px;
  margin-top: -230px;
  margin-left: -230px;
  animation: loaderOrbitSpin 4s linear infinite;
  z-index: 10;
  pointer-events: none;
}

.gate-intro-cta .loader-dot {
  width: 14px;
  height: 14px;
  box-shadow: 0 0 16px 6px currentColor;
  opacity: 0.85;
}

.gate-intro-cta {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 36px 44px;
  background: rgba(11, 17, 51, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  max-width: 400px;
  overflow: visible;
}

.gate-intro-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.gate-intro-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.gate-intro-cta p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-bottom: 24px;
}

.gate-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gate-intro-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  animation: shimmerSlide 4s ease-in-out infinite;
}

.gate-intro-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gate-intro-btn svg {
  transition: transform 0.3s ease;
}

.gate-intro-btn:hover svg {
  transform: translateX(3px);
}

/* =========================
   Benefits Section
========================= */
.benefits-section {
  padding: 110px 0 120px;
  background: linear-gradient(175deg, #070b1e 0%, #0B1133 30%, #0f1740 65%, #0B1133 100%);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Ambient glow top-left */
.benefits-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(41, 82, 204, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Ambient glow bottom-right */
.benefits-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 149, 217, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.benefits-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0B1133;
  margin-bottom: 20px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.benefits-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.benefits-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 26px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
  z-index: 1;
}

/* Subtle inner glow on hover */
.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse at 30% 0%, rgba(41, 82, 204, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  transform: scale(1.20);
  z-index: 10;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.benefit-card:hover::before {
  opacity: 1;
}

/* Dim siblings when one card is hovered */
.benefits-grid:hover .benefit-card:not(:hover) {
  opacity: 0.45;
  filter: blur(1px);
  transform: scale(0.97);
}

.benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(41, 82, 204, 0.15) 0%, rgba(0, 149, 217, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, rgba(41, 82, 204, 0.3) 0%, rgba(0, 149, 217, 0.2) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(41, 82, 204, 0.25);
  transform: scale(1.05);
}

.benefit-icon svg {
  color: rgba(255, 255, 255, 0.75);
}

.benefit-card:hover .benefit-icon svg {
  color: #fff;
}

.benefit-content {
  position: relative;
  z-index: 1;
}

.benefit-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: all 0.4s ease;
}

.benefit-card:hover .benefit-content h3 {
  font-size: 17px;
}

.benefit-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0;
  transition: all 0.4s ease;
}

.benefit-card:hover .benefit-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
}

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

@media (max-width: 640px) {
  .benefits-section {
    padding: 80px 0 88px;
  }

  .benefits-header {
    margin-bottom: 44px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 24px 20px;
    border-radius: 16px;
    gap: 16px;
  }

  /* Disable scale/blur effects on mobile */
  .benefit-card:hover {
    transform: none;
  }

  .benefits-grid:hover .benefit-card:not(:hover) {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .benefit-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* =========================
   Stats Highlight
========================= */
.stats-highlight-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0 48px;
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 40px 48px;
  position: relative;
  z-index: 1;
}

.stats-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.stats-highlight-number {
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 900;
  color: #0B1133;
  letter-spacing: -0.03em;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: baseline;
}

.stats-highlight-number::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-mus), var(--color-team), #22c55e, var(--color-apv));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.stats-highlight-item.visible .stats-highlight-number::after {
  width: 36px;
}

.stats-highlight-plus {
  font-size: 0.55em;
  color: rgba(11, 17, 51, 0.35);
  margin-left: 2px;
}

.stats-highlight-label {
  font-size: 14px;
  font-weight: 600;
  color: #3a4060;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.stats-highlight-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, transparent, rgba(11, 17, 51, 0.10), transparent);
  align-self: center;
}

@media (max-width: 640px) {
  .stats-highlight-grid {
    grid-template-columns: 1fr;
    gap: 28px 0;
    padding: 36px 24px 40px;
  }

  .stats-highlight-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 17, 51, 0.10), transparent);
    justify-self: center;
  }
}

/* =========================
   Testimonials Slider
========================= */
.testimonials {
  background: linear-gradient(170deg, #FFFFFF 0%, #F7F8FB 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* Subtle decorative accent – top */
.testimonials::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(11, 17, 51, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.testimonials::after {
  display: none;
}

.testimonials .section-header {
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.testimonials .section-header h2 {
  color: #0B1133;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
}

/* Decorative line under heading */
.testimonials .section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #2952cc, #00AAEF);
  border-radius: 2px;
  margin: 20px auto 0;
}

.testimonials .section-header p {
  color: var(--color-gray);
}

.testimonials-slider {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid rgba(11, 17, 51, 0.08);
  border-radius: 24px;
  padding: 52px 48px 56px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 32px rgba(11, 17, 51, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Tabs */
.ts-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: #F0F2F6;
  border-radius: 14px;
  padding: 6px;
  border: 1px solid rgba(11, 17, 51, 0.06);
}

.ts-tab {
  background: none;
  border: none;
  flex: 1;
  text-align: center;
  padding: 14px 12px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ts-tab:hover {
  background: rgba(11, 17, 51, 0.04);
}

.ts-tab.active {
  background: #0B1133;
  box-shadow: 0 2px 12px rgba(11, 17, 51, 0.2);
}

.ts-tab-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(11, 17, 51, 0.45);
  transition: all 0.35s ease;
  letter-spacing: 0.01em;
}

.ts-tab.active .ts-tab-label {
  color: #fff;
  font-weight: 600;
}

.ts-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(11, 17, 51, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.ts-tab.active .ts-progress-track {
  background: rgba(255, 255, 255, 0.15);
}

.ts-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2952cc, #00AAEF);
  border-radius: 2px;
}

/* Linear progress animation of exactly 10 seconds */
.ts-tab.active .ts-progress-fill {
  animation: progressTimer 10s linear forwards;
}

@keyframes progressTimer {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Card */
.ts-card-container {
  width: 100%;
}

.ts-card {
  padding: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Class for fade transition out */
.ts-card.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.ts-logo-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.ts-logo-placeholder img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

/* Large decorative quote mark */
.ts-quote {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.7;
  font-weight: 300;
  color: var(--color-gray);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  font-style: italic;
  letter-spacing: 0.005em;
}

.ts-quote::before {
  content: '';
  display: block;
  width: 32px;
  height: 24px;
  margin: 0 auto 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24' fill='none'%3E%3Cpath d='M0 24V14.4C0 10.4 0.8 7.2 2.4 4.8C4.1 2.4 6.6 0.7 10 0L11.6 3.2C9.5 3.8 7.9 4.9 6.8 6.4C5.7 7.9 5.1 9.6 5 11.6H10V24H0ZM18 24V14.4C18 10.4 18.8 7.2 20.4 4.8C22.1 2.4 24.6 0.7 28 0L29.6 3.2C27.5 3.8 25.9 4.9 24.8 6.4C23.7 7.9 23.1 9.6 23 11.6H28V24H18Z' fill='rgba(11,17,51,0.08)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Divider line before author */
.ts-author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 24px;
  position: relative;
}

.ts-author-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: rgba(11, 17, 51, 0.12);
}

.ts-name {
  font-size: 15px;
  font-weight: 600;
  color: #0B1133;
  letter-spacing: 0.02em;
}

.ts-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-gray);
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .ts-tabs {
    flex-direction: column;
  }
  .ts-card {
    padding: 40px 24px;
  }
}

/* =========================
   Footer CTA Hero
========================= */
.footer-cta-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}

.footer-cta-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 149, 217, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.footer-cta-hero h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: clamp(28px, 5vw, 48px);
}

.footer-cta-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(16px, 1.5vw, 20px);
  margin-bottom: 44px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-actions .btn {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-outline-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-outline-white:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* =========================
   Footer (New Grid Layout)
========================= */
.new-grid-footer {
  background: linear-gradient(180deg, #101540 0%, #0d0f1a 40%, #080b18 100%);
  padding: 0 0 32px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.new-grid-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(41, 82, 204, 0.5), rgba(0, 149, 217, 0.4), transparent);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Base Top Row Flex */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  align-items: start;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav-groups {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left;
  margin-left: -4px;
  margin-bottom: 12px;
  display: block;
}

.footer-contact-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.2px;
}

.footer-contact-spacing {
  margin-top: 24px !important;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: #fff;
}

.footer-block h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-block ul li a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-block ul li a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Separator */
.footer-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin: 0;
  width: 100%;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
  letter-spacing: 0.2px;
}

.footer-social-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  letter-spacing: 0.3px;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  transform: translateY(-4px) scale(1.08);
  background: rgba(41, 82, 204, 0.35);
  border-color: rgba(41, 82, 204, 0.6);
  box-shadow: 0 8px 28px rgba(41, 82, 204, 0.3);
}

.social-icon-img {
  width: 28px;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .footer-top-row {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav-groups {
    gap: 40px;
    flex-direction: column;
  }

  .footer-cta-hero {
    padding: 72px 0 56px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-social-cta {
    flex-direction: column;
    gap: 12px;
  }
}

/* =========================
   Demo Modal
========================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg-card);
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  padding: 44px 40px 36px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0,0,0,0.04);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.3);
  font-size: 26px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: #0B1133;
  background: rgba(0, 0, 0, 0.05);
}

.modal h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0B1133;
}

.modal-subtitle {
  color: #6B7190;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1f45;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  background: #F7F8FB;
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  color: #0B1133;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder {
  color: rgba(0, 0, 0, 0.32);
}

.form-group input:focus {
  border-color: #2952cc;
  box-shadow: 0 0 0 3px rgba(41, 82, 204, 0.15);
  background: #fff;
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: #F7F8FB;
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  color: #0B1133;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230B1133' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select:focus {
  border-color: #2952cc;
  box-shadow: 0 0 0 3px rgba(41, 82, 204, 0.15);
  background-color: #fff;
}

/* ---- 2-Step Demo Form ---- */
.demo-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.demo-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #A0A8C0;
  background: #F0F2F8;
  border: 2px solid #E0E4EE;
  transition: all 0.35s ease;
}

.demo-step-dot.active {
  background: #0B1133;
  color: #fff;
  border-color: #0B1133;
  box-shadow: 0 2px 8px rgba(11, 17, 51, 0.25);
}

.demo-step-line {
  width: 56px;
  height: 2px;
  background: #E0E4EE;
  transition: background 0.35s ease;
}

.demo-step-line.complete {
  background: #0B1133;
}

.demo-step h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0B1133;
  margin-bottom: 6px;
  text-align: center;
}

.demo-step .modal-subtitle {
  text-align: center;
  margin-bottom: 24px;
}

.demo-step .gate-icon {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
}

.demo-step2-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid #D0D4E0;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #5A6178;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-back:hover {
  border-color: #0B1133;
  color: #0B1133;
  background: rgba(11, 17, 51, 0.03);
}

.demo-step2-actions .modal-submit {
  flex: 1;
}

.modal-submit {
  width: 100%;
  margin-top: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}

.modal-success svg {
  color: #2ecc71;
  margin-bottom: 16px;
}

.modal-success h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-success p {
  color: #5A6178;
  font-size: 15px;
}

@media (min-width: 700px) {
  #gateModal .modal {
    max-width: 480px;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .modal h2,
  .demo-step h2 {
    font-size: 19px;
  }

  .demo-steps-indicator {
    margin-bottom: 20px;
  }

  .demo-step-dot {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .demo-step-line {
    width: 40px;
  }

  .demo-step2-actions {
    flex-direction: column;
  }

  .demo-step2-actions .btn-back {
    width: 100%;
    justify-content: center;
    order: 2;
    border: none;
    padding: 10px;
  }

  .demo-step2-actions .modal-submit {
    order: 1;
    width: 100%;
  }

  .form-group input,
  .form-group select {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* =========================
   Scroll Animations
========================= */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

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

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

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


/* =========================
   ACCESSIBILITY: Reduced Motion
========================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   Report Fullscreen Overlay
========================= */
.report-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  background: #0B1133;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.report-overlay.active {
  opacity: 1;
  visibility: visible;
}

.report-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #0B1133;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.report-overlay-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-overlay-logo img {
  height: 22px;
  width: auto;
}

.report-overlay-badge {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
}

.report-overlay-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
}

.report-overlay-tab {
  padding: 6px 18px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.report-overlay-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.report-overlay-tab.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.report-overlay-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  animation: shimmerSlide 4s ease-in-out infinite;
}

.report-overlay-tab:nth-child(2)::after {
  animation-delay: 0.5s;
}

.report-overlay-tab:nth-child(3)::after {
  animation-delay: 1s;
}

.report-overlay-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.report-overlay-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.report-overlay-body {
  flex: 1;
  overflow: hidden;
}

.report-overlay-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

@media (max-width: 768px) {
  .report-overlay-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
  }

  .report-overlay-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .report-overlay-badge {
    display: none;
  }
}

/* =========================
   Cookie Consent Banner
========================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--color-bg-card);
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.10);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              visibility 0.3s ease;
}

.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px;
}

/* -- Kompakt visning -- */
.cookie-main {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.cookie-main.hidden { display: none; }

/* -- Udvidet visning -- */
.cookie-details { display: none; }
.cookie-details.active { display: block; }

/* -- Tekst -- */
.cookie-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cookie-desc {
  font-size: 13.5px;
  color: var(--color-gray);
  line-height: 1.6;
  max-width: 640px;
}

.cookie-link {
  color: #2952cc;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-link:hover {
  color: #1a3a8f;
}

/* -- Knapper (ligestillede) -- */
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid var(--color-dark);
  background: var(--color-dark);
  color: #fff;
  transition: transform var(--transition),
              box-shadow var(--transition),
              opacity var(--transition);
}

.cookie-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 17, 51, 0.2);
  opacity: 0.9;
}

.cookie-btn:active {
  transform: translateY(0);
}

/* -- Kategorier -- */
.cookie-categories {
  margin: 20px 0;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-category-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

.cookie-category-desc {
  font-size: 12.5px;
  color: var(--color-gray);
  line-height: 1.5;
}

/* -- Toggle switch -- */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  width: 44px;
  height: 24px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  position: relative;
  transition: background 0.25s ease;
}

.cookie-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #2952cc;
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
  transform: translateX(20px);
}

.cookie-toggle--disabled {
  cursor: default;
  opacity: 0.7;
}

.cookie-toggle--disabled .cookie-toggle-slider {
  background: #2952cc;
}

.cookie-toggle--disabled .cookie-toggle-slider::after {
  transform: translateX(20px);
}

.cookie-toggle-label {
  font-size: 11.5px;
  color: var(--color-gray);
  font-weight: 500;
  white-space: nowrap;
}

/* -- Shield-ikon -- */
.cookie-shield {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11, 17, 51, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: cookieShieldIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-shield:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(11, 17, 51, 0.4);
}

@keyframes cookieShieldIn {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* -- Responsiv -- */
@media (max-width: 767px) {
  .cookie-banner-inner {
    padding: 20px;
  }

  .cookie-main {
    flex-direction: column;
    gap: 16px;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-details {
    max-height: 70vh;
    overflow-y: auto;
  }
}

/* =========================
   Reduced Motion (Accessibility)
========================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .tb-marquee-track { animation: none; }
  .hero-title .word { opacity: 1; filter: none; transform: none; clip-path: none; animation: none; }
  .hero-animate-in { opacity: 1; transform: none; animation: none; }
}