:root {
  --background: #030711;
  --foreground: #f8fafc;
  --primary: #06b6d4;
  --primary-foreground: #000000;
  --secondary: #1e293b;
  --secondary-foreground: #e2e8f0;
  --accent: #0f172a;
  --accent-foreground: #f8fafc;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --border: #1e293b;
  --input: #0b1418;
  --success: #2fa66a;
  --success-foreground: #07210f;
  --destructive: #e15757;
  --destructive-foreground: #2b0b0b;
  --warning: #f2c94c;
  --warning-foreground: #2b1f00;
  --card: #0c1418;
  --card-foreground: #dbeaf0;
  --sidebar: #061016;
  --sidebar-foreground: #9fcad1;
  --sidebar-primary: #06343a;
  --sidebar-primary-foreground: #bff3f1;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-family-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover,
a:focus-visible {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
.btn,
.nav-links a,
.lang-switch {
  outline: none;
}

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top 0.2s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.1;
}

h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 40px);
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-content p,
.split-layout p,
.feature-card p,
.z-card p {
  max-width: 65ch;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section,
section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background: #020408;
}

.section--muted {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.center {
  text-align: center;
}

.narrow {
  max-width: 800px;
}

.lead {
  font-size: 18px;
  color: var(--secondary-foreground);
}

.muted {
  color: var(--muted-foreground);
  font-size: 14px;
  margin-bottom: 0;
}

.glowing-text {
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.tag--danger {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  gap: 10px;
  border: 1px solid transparent;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -15px rgba(6, 182, 212, 0.7);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -15px rgba(6, 182, 212, 0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-link {
  color: var(--primary);
  background: none;
  border: none;
  padding: 0;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-link--danger {
  color: #ef4444;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 17, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.share-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.share-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.share-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.share-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  margin-left: 5px;
}

.share-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.share-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.share-links a:hover img,
.share-links a:focus-visible img {
  opacity: 1;
  filter: brightness(1.2);
}

.share-links img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.nav {
  padding: 20px 0;
}

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

.logo {
  font-size: 20px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 360px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted-foreground);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--foreground);
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-foreground);
}

.lang-switch img {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.nav-toggle img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 40px -10px rgba(0, 0, 0, 0.5);
  min-height: 320px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.25), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.2), transparent 40%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
}

.image-placeholder--hero {
  background:
    radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.35), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.3), transparent 45%),
    linear-gradient(135deg, rgba(6, 15, 28, 0.95), rgba(2, 6, 23, 1));
}

.image-placeholder--break {
  background:
    radial-gradient(circle at 15% 70%, rgba(239, 68, 68, 0.25), transparent 50%),
    linear-gradient(145deg, rgba(10, 14, 22, 0.95), rgba(2, 6, 23, 1));
}

.image-placeholder--grow {
  background:
    radial-gradient(circle at 70% 40%, rgba(34, 197, 94, 0.25), transparent 55%),
    linear-gradient(150deg, rgba(8, 20, 28, 0.95), rgba(2, 6, 23, 1));
}

.image-placeholder--road {
  background:
    radial-gradient(circle at 50% 20%, rgba(6, 182, 212, 0.2), transparent 45%),
    linear-gradient(160deg, rgba(8, 16, 24, 0.95), rgba(2, 6, 23, 1));
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: #06b6d4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon img {
  width: 20px;
  height: 20px;
}

.risk-banner {
  background: linear-gradient(
    180deg,
    rgba(239, 68, 68, 0.05) 0%,
    rgba(239, 68, 68, 0.02) 100%
  );
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.risk-icon {
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.risk-icon img {
  width: 24px;
  height: 24px;
}

.timeline {
  position: relative;
  padding-left: 48px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    rgba(6, 182, 212, 0.1) 100%
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 64px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -48px;
  top: 0;
  width: 32px;
  height: 32px;
  background: #030711;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.cta {
  padding-bottom: 120px;
}

.z-layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 80px;
  margin-top: 48px;
}

.z-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  max-width: 520px;
}

.z-card--left {
  justify-self: start;
}

.z-card--right {
  justify-self: end;
}

.z-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--primary);
  color: var(--primary-foreground);
  margin-bottom: 16px;
}

.z-card p {
  margin-bottom: 0;
  color: var(--muted-foreground);
  max-width: 54ch;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  margin-top: 32px;
}

.two-column p {
  max-width: 60ch;
}

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 12px;
}

.video-block {
  margin: 56px 0;
  padding: 32px 36px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.video-frame {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.center-highlight {
  margin-top: 32px;
  text-align: center;
  font-weight: 600;
  color: var(--foreground);
}

.section-logo {
  display: block;
  width: 100%;
  max-width: 170px;
  margin: 0 auto 24px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 48px;
  flex-wrap: wrap;
}

.partners {
  display: flex;
  gap: 48px;
  opacity: 0.7;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: white;
}

.partner-mark {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.partner-mark--digiter {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.partner-mark--kanavana {
  background:
    radial-gradient(circle at 25% 25%, #10b981, transparent 55%),
    radial-gradient(circle at 75% 25%, #059669, transparent 55%),
    radial-gradient(circle at 25% 75%, #047857, transparent 55%),
    radial-gradient(circle at 75% 75%, #065f46, transparent 55%);
}

.footnote {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted-foreground);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: #020408;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.footer-brand img {
  width: 180px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted-foreground);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--foreground);
}

.footer-meta {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted-foreground);
}

@media (max-width: 1024px) {
  .split-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .split-layout .image-wrapper {
    order: -1;
  }

  .z-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .z-path {
    display: none;
  }

  .z-card {
    max-width: none;
    width: 100%;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-divider {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .section,
  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .risk-banner {
    padding: 40px 24px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 12px;
  }

  h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .image-wrapper,
  .image-placeholder {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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