/* =========================================================
   DriverNode.de – Shared Stylesheet
   ========================================================= */

:root {
  --navy:        #101b33;
  --navy-2:      #172a52;
  --blue:        #2452e0;
  --blue-light:  #4f7cff;
  --purple:      #7e14ff;
  --purple-2:    #863bff;
  --green:       #16a34a;
  --amber:       #f59e0b;
  --red:         #dc2626;
  --gray-50:     #f8f9fc;
  --gray-100:    #eef1f7;
  --gray-200:    #e3e7ef;
  --gray-400:    #99a1b3;
  --gray-600:    #5b6478;
  --gray-800:    #26304a;
  --text:        #1b2338;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 10px 30px -10px rgba(16, 27, 51, 0.15);
  --shadow-lg:   0 25px 60px -15px rgba(16, 27, 51, 0.25);
  --maxw:        1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-live    { background: #e9f8ef; color: var(--green); }
.badge-dev     { background: #fef4e6; color: var(--amber); }
.badge-planned { background: #eef1f7; color: var(--gray-600); }
.badge-new     { background: #f1eaff; color: var(--purple); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(126, 20, 255, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgba(126, 20, 255, 0.55); }
.btn-outline {
  background: #fff;
  border-color: var(--gray-200);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -0.01em; }
.brand span em { font-style: normal; color: var(--purple); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-links a.active { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 999px;
  padding: 9px 12px; font-size: 16px; line-height: 1;
  transition: border-color .15s ease, transform .15s ease;
}
.lang-switch-btn:hover { border-color: var(--blue); }
.lang-switch-btn svg { width: 12px; height: 12px; color: var(--gray-600); }
.lang-switch-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px;
  display: none; flex-direction: column; min-width: 170px; z-index: 200;
}
.lang-switch.open .lang-switch-menu { display: flex; }
.lang-switch-menu button {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; text-align: left;
  padding: 9px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--gray-800);
}
.lang-switch-menu button:hover { background: var(--gray-100); }
.lang-switch-menu button.active { background: #f1eaff; color: var(--purple); }
.lang-switch-menu .flag { font-size: 16px; }
@media (max-width: 900px) {
  .lang-switch-menu { right: auto; left: 0; }
}
.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { width: 100%; padding: 14px 16px; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 15% 0%, #1c2e5c 0%, var(--navy) 45%, #0c1226 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 90px;
}
.hero::before {
  content: '';
  position: absolute; inset: -20% -10% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(126,20,255,0.45), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: '';
  position: absolute; left: -12%; bottom: -30%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(36,82,224,0.4), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 46px; color: #fff; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, #8fb0ff, #d6b3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: #c4cbe0; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; color: #fff; }
.hero-stats div span { font-size: 13px; color: #9aa4c4; }

.hero-shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}
.hero-shot img { width: 100%; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-shot { transform: none; }
}

/* Page header (non-home hero, smaller) */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, #21275a 55%, #341a63 100%);
  color: #fff;
  padding: 74px 0 68px;
}
.page-hero .eyebrow { color: #b9c3ff; }
.page-hero h1 { color: #fff; font-size: 38px; }
.page-hero p { color: #c4cbe0; font-size: 17px; max-width: 640px; margin-top: 16px; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 32px; color: var(--navy); margin-bottom: 14px; }
.section-head p { color: var(--gray-600); font-size: 16.5px; }
.bg-tint { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: #fff; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; font-size: 21px;
  margin-bottom: 18px;
}
.card h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--gray-600); }
.card .badge { margin-bottom: 14px; }

/* ---------- Feature rows (image + text alternating) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-200);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .fr-media { order: 2; }
.feature-row.reverse .fr-text { order: 1; }
.fr-text .eyebrow { margin-bottom: 10px; }
.fr-text h3 { font-size: 26px; color: var(--navy); margin-bottom: 16px; }
.fr-text p { color: var(--gray-600); font-size: 15.5px; margin-bottom: 18px; }
.fr-text ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.fr-text ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--gray-800); align-items: flex-start; }
.fr-text ul li svg { flex-shrink: 0; margin-top: 2px; color: var(--green); width: 18px; height: 18px; }

.shot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  background: #fff;
}
.shot-frame .bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--gray-100); }
.shot-frame .bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-400); }
.shot-frame img { width: 100%; }
.shot-caption { text-align: center; font-size: 13px; color: var(--gray-400); margin-top: 12px; }

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .fr-media, .feature-row.reverse .fr-text { order: initial; }
}

/* ---------- Timeline / Roadmap ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue);
}
.tl-item.done::before { border-color: var(--green); background: var(--green); }
.tl-item.active::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 5px rgba(245,158,11,0.18); }
.tl-item h4 { font-size: 17px; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-item p { color: var(--gray-600); font-size: 14.5px; margin-bottom: 10px; }
.tl-item ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-item ul li {
  font-size: 12.5px; font-weight: 600; color: var(--gray-600);
  background: var(--gray-100); padding: 4px 10px; border-radius: 999px;
}

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }
.stat-strip div { padding: 26px 22px; text-align: center; border-right: 1px solid var(--gray-200); background: #fff; }
.stat-strip div:last-child { border-right: none; }
.stat-strip strong { display: block; font-size: 26px; color: var(--navy); }
.stat-strip span { font-size: 13px; color: var(--gray-600); }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } .stat-strip div:nth-child(2) { border-right: none; } }

/* ---------- Quote / callout ---------- */
.callout {
  border-left: 4px solid var(--purple);
  background: #f8f6ff;
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15.5px;
  color: var(--gray-800);
}
.callout strong { color: var(--navy); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 60%, var(--purple) 130%);
  border-radius: 24px;
  padding: 56px 60px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h3 { font-size: 26px; margin-bottom: 8px; }
.cta-banner p { color: #d9defb; font-size: 15px; }

/* ---------- Timeline logo strip / partner note ---------- */
.origin-box {
  display: flex; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 30px; margin-top: 20px;
}
.origin-box .tag { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--purple)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size: 22px;}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b6bedb; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand span { color: #fff; }
.footer-brand .logo-badge { padding: 7px 13px; }
.footer-brand .logo-badge img { height: 17px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #9aa4c4; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; color: #b6bedb; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: #7c85a8; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip div { border-right: none; border-bottom: 1px solid var(--gray-200); }
}

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--gray-50);
  transition: border-color .15s ease, background .15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; display: none; }
.form-status.success { background: #e9f8ef; color: var(--green); display: block; }
.form-status.error { background: #fdecec; color: var(--red); display: block; }

.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info-card h3 { font-size: 19px; margin-bottom: 10px; }
.contact-info-card p { color: #b6bedb; font-size: 14.5px; margin-bottom: 22px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info-item .ci-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.contact-info-item strong { display: block; font-size: 14.5px; color: #fff; }
.contact-info-item span, .contact-info-item a { font-size: 13.5px; color: #b6bedb; }

/* ---------- Phone screenshot showcase ---------- */
.phone-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: start;
}
.phone-frame {
  background: var(--navy);
  border-radius: 26px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(16,27,51,0.15);
}
.phone-frame .phone-screen { border-radius: 18px; overflow: hidden; background: #000; }
.phone-frame img { width: 100%; display: block; }
.phone-caption { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-top: 14px; }
.phone-caption span { display: block; font-weight: 400; font-size: 12.5px; color: var(--gray-600); margin-top: 2px; }

@media (max-width: 980px) { .phone-strip { grid-template-columns: repeat(3, 1fr); } .phone-strip > div:nth-child(n+4) { display: none; } }
@media (max-width: 640px) {
  .phone-strip { grid-template-columns: repeat(2, 1fr); }
  .phone-strip > div:nth-child(n+3) { display: none; }
}

/* ---------- Loading screen ---------- */
.load-screen {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
  animation: dnForceHideLoad 0.01s linear 2.5s forwards;
}
.load-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes dnLoadPulse { 0%, 100% { opacity: .7; transform: scale(.95); } 50% { opacity: 1; transform: scale(1); } }
@keyframes dnForceHideLoad { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Logo on dark backgrounds: the source PNG has an opaque white background,
   so instead of inverting colors (which produced a solid white block),
   we present it on its own white badge/card. */
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.45);
}
.logo-badge img { display: block; }
.load-screen .logo-badge { padding: 24px 32px; animation: dnLoadPulse 1.4s ease-in-out infinite; }
.load-screen .logo-badge img { height: 56px; }

/* ---------- Intro presentation (home page) ---------- */
.intro-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: radial-gradient(120% 120% at 20% 0%, #24316b 0%, var(--navy) 45%, #0c1226 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity .6s cubic-bezier(.4,0,.2,1), visibility .6s cubic-bezier(.4,0,.2,1);
  animation: dnForceHideIntro 0.01s linear 32s forwards;
}
.intro-overlay.intro-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes dnForceHideIntro { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Ambient floating orbs */
.intro-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; }
.intro-orb-1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(126,20,255,.55), transparent 70%); top: -14%; left: -10%; animation: dnOrbFloat1 15s ease-in-out infinite; }
.intro-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(36,82,224,.5), transparent 70%); bottom: -16%; right: -8%; animation: dnOrbFloat2 18s ease-in-out infinite; }
.intro-orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(143,176,255,.4), transparent 70%); top: 38%; right: 10%; animation: dnOrbFloat3 12s ease-in-out infinite; }
@keyframes dnOrbFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,50px) scale(1.18); } }
@keyframes dnOrbFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,-35px) scale(1.12); } }
@keyframes dnOrbFloat3 { 0%,100% { transform: translate(0,0) scale(1); opacity: .55; } 50% { transform: translate(-35px,30px) scale(1.25); opacity: 1; } }

/* Circuit / node pattern echoing the DriverNode logo */
.intro-circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; pointer-events: none; }
.intro-circuit line { stroke: rgba(143,176,255,.35); stroke-width: 1.4; }
.intro-circuit circle { fill: #9db4ff; animation: dnNodePulse 2.6s ease-in-out infinite; }
.intro-circuit .n2 { animation-delay: .35s; }
.intro-circuit .n3 { animation-delay: .7s; }
.intro-circuit .n4 { animation-delay: 1.05s; }
.intro-circuit .n5 { animation-delay: 1.4s; }
.intro-circuit .n6 { animation-delay: 1.75s; }
@keyframes dnNodePulse { 0%, 100% { opacity: .35; r: 2.6; } 50% { opacity: 1; r: 4.6; } }

.intro-counter {
  position: absolute; top: 34px; left: 36px; z-index: 2;
  color: rgba(255,255,255,.5); font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}
.intro-counter b { color: #fff; }

.intro-skip {
  position: absolute; top: 28px; right: 28px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.intro-skip:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,.5); transform: translateX(3px); }
.intro-skip svg { transition: transform .2s ease; }
.intro-skip:hover svg { transform: translateX(3px); }

.intro-slides { position: relative; z-index: 2; width: 100%; max-width: 560px; padding: 0 32px; height: 320px; perspective: 1000px; }
.intro-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  opacity: 0; transform: scale(.9);
  filter: blur(10px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1), filter .7s ease;
  pointer-events: none;
}
.intro-slide.active { opacity: 1; transform: scale(1); filter: blur(0); pointer-events: auto; }

.intro-slide .logo-badge,
.intro-slide .intro-icon {
  opacity: 0; transform: scale(.4) translateY(14px) rotate(-8deg);
  transition: opacity .6s cubic-bezier(.34,1.56,.64,1) .1s, transform .6s cubic-bezier(.34,1.56,.64,1) .1s;
}
.intro-slide.active .logo-badge,
.intro-slide.active .intro-icon { opacity: 1; transform: scale(1) translateY(0) rotate(0); }

.intro-slide h2, .intro-slide p { opacity: 0; transform: translateY(16px); transition: opacity .55s ease .24s, transform .55s ease .24s; }
.intro-slide p { transition-delay: .36s; }
.intro-slide.active h2, .intro-slide.active p { opacity: 1; transform: translateY(0); }

.intro-slide .intro-icon {
  width: 68px; height: 68px; border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 22px;
  animation: dnIconGlow 2.4s ease-in-out infinite;
}
@keyframes dnIconGlow {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(126,20,255,.5); }
  50% { box-shadow: 0 18px 46px -6px rgba(126,20,255,.85); }
}
.intro-slide .logo-badge { padding: 22px 30px; margin-bottom: 28px; }
.intro-slide .logo-badge img { height: 48px; }
.intro-slide h2 {
  font-size: 29px; margin-bottom: 12px; font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, #c9d4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro-slide p { font-size: 15.5px; color: #c4cbe0; max-width: 420px; }

.intro-progress { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; justify-content: center; gap: 8px; width: min(320px, 68%); }
.intro-dot {
  flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.18);
  cursor: pointer; overflow: hidden; position: relative;
}
.intro-dot::after {
  content: ''; position: absolute; inset: 0; width: 0%; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-light), #fff);
}
.intro-dot.done::after { width: 100%; }
.intro-dot.active::after { animation: dnFillBar 5s linear forwards; }
@keyframes dnFillBar { from { width: 0%; } to { width: 100%; } }

@media (max-width: 560px) {
  .intro-skip { top: 18px; right: 18px; padding: 8px 14px; font-size: 12.5px; }
  .intro-counter { top: 22px; left: 22px; }
  .intro-slide h2 { font-size: 23px; }
  .intro-slides { height: 340px; }
  .intro-orb-1, .intro-orb-2 { width: 300px; height: 300px; }
}

/* ---------- Language grid ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 10px; }
.lang-chip {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px;
  padding: 16px 10px; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.lang-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lang-chip .flag { font-size: 26px; display: block; margin-bottom: 8px; }
.lang-chip strong { font-size: 13px; color: var(--navy); font-weight: 700; display: block; }
.lang-chip span { font-size: 11px; color: var(--gray-600); }
@media (max-width: 760px) { .lang-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .lang-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Legal / prose content ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 21px; color: var(--navy); margin: 40px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; color: var(--navy); margin: 22px 0 8px; }
.legal p { color: var(--gray-800); font-size: 15px; margin-bottom: 12px; }
.legal address { font-style: normal; color: var(--gray-800); font-size: 15px; line-height: 1.7; }
.legal a { color: var(--blue); font-weight: 600; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal ul li { color: var(--gray-800); font-size: 15px; margin-bottom: 6px; }

/* ---------- Utility ---------- */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; }
