/* =============================================
   RADIATION PROTECTION VR — DESIGN SYSTEM
   MediTrain VR CI · 2025
   ============================================= */

:root {
  /* MediTrain CI palette */
  --accent: #0073CF;
  /* MediTrain blue */
  --accent-light: #3399E8;
  --accent-glow: rgba(0, 115, 207, 0.30);
  --danger: #E83030;
  --warning: #FF9F0A;
  --success: #28C940;
  --new: #6E40C9;
  /* purple for "new" badges */

  --bg: #050C18;
  --bg-2: #071425;
  --bg-3: #0A1A30;
  --bg-card: rgba(8, 18, 36, 0.88);
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 115, 207, 0.28);

  --text: #E4EEF8;
  --text-muted: #7A96B4;
  --text-dim: #3E5870;

  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 28px rgba(0, 0, 0, 0.35);
  --glow-shadow: 0 0 48px rgba(0, 115, 207, 0.18);
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4 {
  font-family: 'Syne', 'Inter', sans-serif;
  line-height: 1.1;
  color: #fff;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #4DB8FF 55%, #A0DAFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  margin-bottom: 16px;
  background: rgba(0, 115, 207, 0.07);
}

.section-label-new {
  color: #A78BFA;
  border-color: rgba(110, 64, 201, 0.4);
  background: rgba(110, 64, 201, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #005BA3);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 115, 207, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 115, 207, 0.55);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: none;
  padding: 14px 20px;
}

.btn-ghost:hover {
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-accent);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 115, 207, 0.06);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--accent), #005BA3);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 115, 207, 0.45);
}

/* === LANGUAGE TOGGLE === */
.lang-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 12px;
  display: flex;
  gap: 4px;
  align-items: center;
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--border-accent);
  color: var(--text);
}

.lang-toggle .lang-de,
.lang-toggle .lang-en {
  transition: color var(--transition);
}

.lang-toggle .lang-de.active,
.lang-toggle .lang-en.active {
  color: var(--accent);
}

.lang-sep {
  color: var(--text-dim);
}

.lang-toggle-mobile {
  font-size: 0.78rem;
  padding: 4px 10px;
}

/* === NAVIGATION === */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}

.nav-header.scrolled {
  background: rgba(5, 12, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* --- Logo text-based --- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(0, 115, 207, 0.5));
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.nav-logo-primary {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  font-family: 'Syne', sans-serif;
}

.nav-logo-primary strong {
  color: var(--accent);
  font-weight: 800;
}

.nav-logo-by {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* --- Nav links row --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

/* --- Right controls (lang toggle + CTA + burger) --- */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* --- Burger: hidden on wide screens, shown on ≤900px --- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5, 12, 24, 0.93) 0%, rgba(5, 12, 24, 0.75) 50%, rgba(5, 12, 24, 0.4) 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 80, 180, 0.22) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: glowPulse1 8s ease-in-out infinite alternate;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 115, 207, 0.12) 0%, transparent 70%);
  bottom: 100px;
  left: -50px;
  animation: glowPulse2 10s ease-in-out infinite alternate;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 115, 207, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 115, 207, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes glowPulse1 {
  from {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }

  to {
    transform: scale(1.3) translate(30px, -20px);
    opacity: 0.9;
  }
}

@keyframes glowPulse2 {
  from {
    transform: scale(1);
    opacity: 0.4;
  }

  to {
    transform: scale(1.2) translate(-20px, 30px);
    opacity: 0.75;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding-top: 60px;
  padding-bottom: 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(0, 115, 207, 0.1);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 8px var(--accent);
  }

  50% {
    box-shadow: 0 0 16px var(--accent), 0 0 28px var(--accent);
  }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 36px;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(8, 18, 36, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  max-width: 560px;
}

.stat {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

/* Keeps number + % on the same line as a block unit */
.stat-val {
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num {
  display: inline;
  font-size: 2.4rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: var(--accent);
  line-height: 1;
}

.stat-suf {
  display: inline;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 16px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* === WHY / CHALLENGE === */
.why-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-text h2 {
  margin-bottom: 4px;
}

.why-text p {
  font-size: 1rem;
  line-height: 1.78;
}

.why-text em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.why-text .btn-outline {
  align-self: flex-start;
  margin-top: 8px;
}

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow-shadow);
}

.photo-card .photo-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.photo-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 12, 24, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* === BENEFITS === */
.benefits-section {
  padding: 100px 0;
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
  backdrop-filter: blur(10px);
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  border-color: var(--border-accent);
  background: rgba(0, 115, 207, 0.05);
  transform: translateY(-4px);
  box-shadow: var(--glow-shadow);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 115, 207, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.benefit-icon i[data-lucide] {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.benefit-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* === SCENARIO === */
.scenario-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scenario-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.scenario-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scenario-content h2 {
  margin-bottom: 4px;
}

.scenario-content>p {
  font-size: 1rem;
  line-height: 1.78;
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scenario-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(0, 115, 207, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: border-color var(--transition);
}

.scenario-list li:hover {
  border-color: var(--border-accent);
}

.list-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 115, 207, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.list-icon i[data-lucide] {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.scenario-list strong {
  color: #fff;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 4px;
}

.scenario-list p {
  font-size: 0.85rem;
  margin: 0;
}

.screenshot-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 10px;
}

.screenshot-main {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--glow-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.screenshot-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex: 1;
}

.screenshot-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5, 12, 24, 0.75);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
}

.screenshot-thumbs {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screenshot-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  flex: 1;
}

.screenshot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === AR SECTION === */
.ar-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.ar-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(110, 64, 201, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.ar-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.ar-feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ar-feature-card:hover {
  border-color: rgba(110, 64, 201, 0.4);
  box-shadow: 0 0 40px rgba(110, 64, 201, 0.12);
}

.ar-icon {
  width: 44px;
  height: 44px;
  background: rgba(110, 64, 201, 0.1);
  border: 1px solid rgba(110, 64, 201, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #9d6fef;
  flex-shrink: 0;
}

.ar-icon i[data-lucide] {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.ar-feature-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.ar-feature-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.ar-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ar-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.ar-img-card:hover {
  border-color: rgba(110, 64, 201, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(110, 64, 201, 0.15);
}

.ar-img-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ar-img-card span {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-3);
}

/* === SCIENCE === */
.science-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.science-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 60px;
  position: relative;
}

.science-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-accent) 10%, var(--border-accent) 90%, transparent);
  pointer-events: none;
}

.timeline-item {
  display: flex;
  gap: 32px;
  padding: 0 0 40px 0;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 115, 207, 0.2);
}

.timeline-content {
  flex: 1;
  padding-top: 10px;
}

.timeline-content h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.timeline-content p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.science-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fact-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 115, 207, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.fact-icon i[data-lucide] {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.fact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.fact-card p {
  font-size: 0.87rem;
  line-height: 1.65;
}

/* === PARTNERS === */
.partners-section {
  padding: 100px 0;
  background: var(--bg);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.partner-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-shadow);
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 80px;
}

.partner-logo {
  width: 100%;
  max-width: 200px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Logos that have a dark background — show on white tile instead */
.partner-logo--dark {
  filter: none;
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
}

.partner-card p {
  font-size: 0.87rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}

.partner-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.gallery-img:hover {
  border-color: var(--border-accent);
  transform: scale(1.02);
}

.gallery-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* === PRICING === */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(0, 80, 180, 0.12);
  box-shadow: 0 0 60px rgba(0, 115, 207, 0.15), var(--shadow);
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.plan-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #005BA3);
  padding: 4px 14px;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 4px;
}

.plan-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.price-currency {
  font-size: 1.6rem;
  margin-top: 8px;
  color: var(--text-muted);
}

.plan-period {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.plan-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.plan-features li {
  font-size: 0.87rem;
  color: var(--text);
}

.plan-btn {
  margin-top: 8px;
}

/* === CONTACT === */
.contact-section {
  padding: 100px 0;
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h2 {
  margin-bottom: 0;
}

.contact-info>p {
  font-size: 1rem;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.c-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 115, 207, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.c-icon i[data-lucide] {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item span {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--accent);
}

.meditrain-badge {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(0, 115, 207, 0.06);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.meditrain-badge-logo {
  height: 22px;
  width: auto;
  opacity: 0.9;
}

.meditrain-badge p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 115, 207, 0.14);
}

.form-group select option {
  background: var(--bg-2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(40, 201, 64, 0.08);
  border: 1px solid rgba(40, 201, 64, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success[hidden],
.form-error[hidden] {
  display: none !important;
}

.form-success i[data-lucide] {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #f87171;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-error i[data-lucide] {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.btn-spinner {
  display: flex;
  align-items: center;
}

.spin-icon {
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === FOOTER === */
.site-footer {
  background: #020810;
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.8;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-brand p a {
  color: var(--text-muted);
}

.footer-brand p a:hover {
  color: var(--accent);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.87rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.footer-legal a {
  color: var(--text-dim);
}

.footer-legal a:hover {
  color: var(--text-muted);
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.ar-feature-card {
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}

.ar-feature-card.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {

  .benefits-grid,
  .ar-grid,
  .science-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid,
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ar-screenshots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  /* Show burger button */
  .burger {
    display: flex;
  }

  /* Hide nav links inline; show as dropdown when open */
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 12, 24, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    list-style: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    white-space: normal;
  }

  .nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
  }


  .why-grid,
  .scenario-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .photo-card .photo-main {
    height: 280px;
  }

  .benefits-grid,
  .ar-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid,
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .ar-screenshots {
    grid-template-columns: 1fr;
  }

  .science-facts {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .science-timeline::before {
    left: 26px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-stats {
    padding: 18px 20px;
  }
}

@media (max-width: 480px) {

  .gallery-strip,
  .partners-grid,
  .ar-screenshots {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-num {
    font-size: 1.9rem;
  }
}

/* ─── VISUALLY HIDDEN SEO CONTENT ──────────────────────────────
   Standard accessible "sr-only" pattern: readable by crawlers and
   screen readers, invisible to sighted users.
   DO NOT use display:none or visibility:hidden — Google ignores those.
   ─────────────────────────────────────────────────────────────── */
.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}