:root {
  --bg-base: #f5f7ff;
  --bg-alt: #f0f3ff;
  --text-primary: #111827;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --accent: #22d3ee;
  --white: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 45px -20px rgba(79, 70, 229, 0.4);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f8fbff;
  color: var(--text-primary);
  line-height: 1.6;
}

body.theme-dark {
  --text-primary: #e9ecff;
  --text-secondary: #c5cff9;
  --text-muted: #8ea0d6;
  --surface-primary: rgba(23, 28, 51, 0.92);
  --surface-secondary: rgba(17, 22, 42, 0.95);
  --surface-glass: rgba(29, 36, 67, 0.74);
  --accent-glow-top: rgba(93, 64, 255, 0.35);
  --accent-glow-bottom: rgba(13, 189, 255, 0.25);
  --white: rgba(20, 26, 46, 0.92);
  --border: rgba(74, 86, 130, 0.45);
  --shadow: 0 28px 65px -40px rgba(7, 10, 26, 0.75);
  background: radial-gradient(circle at top right, rgba(93, 64, 255, 0.16), transparent 55%),
    radial-gradient(circle at 18% 20%, rgba(13, 189, 255, 0.22), transparent 0% 60%),
    linear-gradient(180deg, #0c1126 0%, #060815 100%);
  color: var(--text-primary);
}

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

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

section {
  padding: 96px 0;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1180px;
    padding: 0 4rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1420px;
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  .site-header .container,
  .footer .container {
    max-width: 1420px;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 780px;
  line-height: 1.6;
}

.features .section-header {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.features .section-title {
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  color: var(--text-primary);
  font-weight: 700;
}

.features .section-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text-primary);
}

.features .section-subtitle strong {
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

body.theme-dark .site-header {
  background: rgba(10, 14, 28, 0.85);
  border-bottom: 1px solid rgba(93, 64, 255, 0.35);
  box-shadow: 0 12px 40px -28px rgba(8, 12, 32, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.18));
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.nav a {
  padding: 8px 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(79, 70, 229, 0.3);
  background: rgba(79, 70, 229, 0.08);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  border-color: rgba(79, 70, 229, 0.5);
  background: rgba(79, 70, 229, 0.15);
}

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-toggle__icon {
  font-size: 1rem;
}

body.theme-dark .theme-toggle {
  background: linear-gradient(135deg, rgba(93, 64, 255, 0.3), rgba(13, 189, 255, 0.26));
  border-color: rgba(129, 140, 248, 0.65);
  color: #f0f4ff;
  box-shadow: 0 8px 20px -12px rgba(93, 64, 255, 0.75);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: var(--white);
  box-shadow: var(--shadow);
}

body.theme-dark .btn-primary {
  background: linear-gradient(135deg, rgba(93, 64, 255, 0.95), rgba(13, 189, 255, 0.8));
  box-shadow: 0 18px 40px -20px rgba(93, 64, 255, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #6d28d9);
}

body.theme-dark .btn-primary:hover {
  background: linear-gradient(135deg, rgba(73, 44, 225, 0.95), rgba(12, 164, 255, 0.78));
}

.btn-secondary {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(79, 70, 229, 0.18);
}

body.theme-dark .btn-secondary {
  background: rgba(93, 64, 255, 0.15);
  color: #8da2ff;
}

body.theme-dark .btn-secondary:hover {
  background: rgba(93, 64, 255, 0.26);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: var(--primary);
}

.btn-ghost:hover {
  background: rgba(79, 70, 229, 0.12);
}

body.theme-dark .btn-ghost {
  border-color: rgba(129, 140, 248, 0.45);
  color: #c7d2ff;
}

body.theme-dark .btn-ghost:hover {
  background: rgba(93, 64, 255, 0.18);
}

.btn-ghost:hover {
  border-color: rgba(79, 70, 229, 0.45);
  background: rgba(79, 70, 229, 0.08);
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 140px 0 120px;
  background: #ffffff;
}

body.theme-dark .hero {
  background: linear-gradient(180deg, rgba(14, 19, 40, 0.93) 0%, rgba(5, 9, 24, 0.96) 100%);
  position: relative;
  overflow: hidden;
}

body.theme-dark .hero::before {
  content: '';
  position: absolute;
  inset: -180px -240px 40%;
  background: radial-gradient(circle at top left, rgba(93, 64, 255, 0.35), transparent 60%);
  z-index: 0;
}

body.theme-dark .hero::after {
  content: '';
  position: absolute;
  inset: 45% -200px -160px;
  background: radial-gradient(circle at bottom right, rgba(13, 189, 255, 0.28), transparent 65%);
  z-index: 0;
}

body.theme-dark .hero-inner,
body.theme-dark .hero-card {
  position: relative;
  z-index: 1;
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy h1 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-copy p {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.hero-legal-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 24px;
}

.hero-legal-text a {
  text-decoration: underline;
  color: var(--text-secondary);
}

.hero-legal-text a:hover {
  color: var(--primary);
}

body.theme-dark .hero-badge {
  background: rgba(129, 140, 248, 0.22);
  color: #c7d2ff;
  box-shadow: 0 8px 22px -14px rgba(93, 64, 255, 0.6);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  justify-items: center;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-device {
  width: min(460px, 100%);
  border-radius: var(--radius-lg);
  padding: 32px 32px 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 32px 65px -42px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(22px);
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
}

.hero-device::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 90deg, rgba(79, 70, 229, 0.12), transparent 45%, rgba(34, 211, 238, 0.16), transparent 75%);
  animation: heroGlow 12s linear infinite;
  z-index: 0;
}

body.theme-dark .hero-device {
  background: linear-gradient(160deg, rgba(26, 32, 60, 0.92), rgba(17, 22, 44, 0.85));
  border: 1px solid rgba(93, 64, 255, 0.28);
  box-shadow:
    0 38px 70px -40px rgba(4, 7, 20, 0.9),
    0 0 0 1px rgba(93, 64, 255, 0.35) inset;
}

.hero-device__status,
.hero-device__footer {
  position: relative;
  z-index: 1;
}

.hero-device__status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
  animation: heroPulse 2.6s ease-out infinite;
}

body.theme-dark .hero-status-dot {
  background: #f87171;
}

.hero-device__screen {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.82));
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 0 30px rgba(15, 23, 42, 0.65);
}

.hero-window {
  background: linear-gradient(145deg, rgba(12, 19, 35, 0.92), rgba(15, 23, 42, 0.88));
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  box-shadow: 0 18px 42px -32px rgba(8, 13, 30, 0.9);
}

.hero-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.8);
}

.hero-window__title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-window__meta {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  color: rgba(148, 197, 253, 0.8);
}

.hero-window__lights {
  display: flex;
  gap: 6px;
}

.hero-window__lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.2);
}

.hero-window__lights span:nth-child(1) {
  background: #f87171;
}

.hero-window__lights span:nth-child(2) {
  background: #facc15;
}

.hero-window__lights span:nth-child(3) {
  background: #34d399;
}

.hero-window__body {
  position: relative;
  padding: 26px 28px 32px;
  min-height: 220px;
  overflow: hidden;
}

.hero-window__lines {
  display: grid;
  gap: 12px;
}

.hero-window__lines span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.55), rgba(34, 211, 238, 0.3));
  filter: blur(0.2px);
}

.hero-window__lines span:nth-child(even) {
  width: 72%;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.6), rgba(226, 232, 240, 0.25));
}

.hero-selection {
  position: absolute;
  inset: 28px 32px auto;
  height: 44%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 12px 24px -14px rgba(59, 130, 246, 0.6),
    0 0 0 1px rgba(148, 197, 253, 0.45);
}

.hero-selection__outline {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(148, 197, 253, 0.65);
  border-radius: inherit;
  box-shadow: inset 0 0 15px rgba(34, 211, 238, 0.2);
}

.hero-selection__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0) 0%, rgba(34, 211, 238, 0.22) 45%, rgba(59, 130, 246, 0.28) 50%, rgba(34, 211, 238, 0.18) 55%, rgba(34, 211, 238, 0));
  animation: heroScan 3.6s ease-in-out infinite;
}

.hero-device__footer {
  display: grid;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-device__footer p {
  margin: 0;
}

.hero-shortcut {
  display: flex;
  gap: 8px;
}

.hero-shortcut span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.26);
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow:
    0 6px 14px -10px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

body.theme-dark .hero-shortcut span {
  background: rgba(93, 64, 255, 0.16);
  border-color: rgba(93, 64, 255, 0.32);
  color: rgba(224, 231, 255, 0.88);
}

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

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

@keyframes heroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.32);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@keyframes heroScan {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

kbd {
  display: inline-block;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 45px -35px rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

body.theme-dark .feature-card {
  background: linear-gradient(155deg, rgba(24, 30, 57, 0.95), rgba(16, 22, 43, 0.88));
  border: 1px solid rgba(93, 64, 255, 0.18);
  box-shadow: 0 26px 55px -38px rgba(6, 9, 26, 0.85);
  backdrop-filter: blur(18px);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.feature-card--ai,
.feature-card--history {
  text-align: left;
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.feature-card--ai {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(230, 244, 255, 0.92));
  border: none;
  box-shadow: 0 34px 70px -44px rgba(15, 23, 42, 0.5);
  padding: clamp(32px, 4.5vw, 52px);
}

body.theme-dark .feature-card--ai {
  background: linear-gradient(140deg, rgba(29, 36, 67, 0.94), rgba(19, 26, 51, 0.88));
  border: 1px solid rgba(93, 64, 255, 0.24);
  box-shadow: 0 42px 86px -48px rgba(4, 7, 20, 0.9);
}

.feature-ai-copy {
  display: grid;
  gap: 14px;
}

.feature-card--ai h3 {
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  margin: 0;
}

.feature-card--ai p {
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
}

body.theme-dark .feature-card--ai p {
  color: var(--text-muted);
}

.feature-ai-note {
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  color: var(--text-muted);
}

body.theme-dark .feature-ai-note {
  color: rgba(148, 163, 255, 0.78);
}

.feature-ai-visual,
.feature-history-visual,
.feature-qr-visual {
  position: relative;
  border-radius: clamp(10px, 1.4vw, 16px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 32px 64px -42px rgba(15, 23, 42, 0.55);
  width: clamp(260px, 32vw, 360px);
  padding: clamp(16px, 2vw, 24px);
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 24% 20%, rgba(99, 102, 241, 0.28), transparent 58%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  margin: 0 auto;
}

.feature-history-visual {
  background: radial-gradient(circle at 22% 18%, rgba(79, 70, 229, 0.35), transparent 52%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.65));
}

body.theme-dark .feature-ai-visual,
body.theme-dark .feature-history-visual,
body.theme-dark .feature-qr-visual {
  background: radial-gradient(circle at 26% 22%, rgba(99, 102, 241, 0.35), transparent 60%),
    linear-gradient(165deg, rgba(17, 24, 52, 0.92), rgba(10, 14, 32, 0.82));
  box-shadow: 0 40px 82px -46px rgba(3, 6, 18, 0.85);
}

.feature-ai-image,
.feature-history-image,
.feature-qr-image {
  width: 100%;
  height: 100%;
  border-radius: clamp(8px, 1.2vw, 12px);
  border: 1px solid rgba(248, 250, 252, 0.25);
  box-shadow: 0 24px 52px -40px rgba(2, 6, 23, 0.8);
  object-fit: contain;
  background: var(--white);
}


@media (max-width: 900px) {

  .feature-card--ai,
  .feature-card--history {
    grid-template-columns: 1fr;
  }

  .feature-ai-visual,
  .feature-history-visual,
  .feature-qr-visual {
    order: -1;
    width: min(360px, 100%);
    margin: 0 auto;
  }
}

.feature-card--history {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92));
  border: none;
  box-shadow: 0 40px 80px -45px rgba(15, 23, 42, 0.45);
  padding: clamp(32px, 5vw, 56px);
  text-align: left;
}

body.theme-dark .feature-card--history {
  background: linear-gradient(140deg, rgba(26, 33, 62, 0.94), rgba(18, 24, 46, 0.9));
  border: 1px solid rgba(93, 64, 255, 0.24);
  box-shadow: 0 42px 90px -48px rgba(5, 9, 24, 0.85);
}

.feature-card--history h3 {
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.feature-card--history p {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
}

body.theme-dark .feature-card--history p {
  color: var(--text-muted);
}

.feature-history-copy {
  display: grid;
  gap: 14px;
}

.feature-history-visual {
  position: relative;
  background: radial-gradient(circle at 22% 18%, rgba(79, 70, 229, 0.35), transparent 52%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.65));
  border-radius: clamp(10px, 1.5vw, 16px);
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 38px 76px -46px rgba(15, 23, 42, 0.6);
  width: clamp(260px, 32vw, 360px);
}

body.theme-dark .feature-history-visual {
  background: radial-gradient(circle at 24% 18%, rgba(93, 64, 255, 0.25), transparent 58%),
    linear-gradient(165deg, rgba(17, 24, 52, 0.95), rgba(9, 13, 32, 0.88));
  box-shadow: 0 48px 90px -52px rgba(3, 6, 20, 0.88);
}

.feature-card--additive {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 3.4vw, 52px);
  text-align: left;
  align-items: stretch;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.97), rgba(232, 242, 255, 0.92));
  border: none;
  box-shadow: 0 44px 96px -52px rgba(15, 23, 42, 0.48);
  padding: clamp(32px, 4.8vw, 56px);
}

body.theme-dark .feature-card--additive {
  background: linear-gradient(150deg, rgba(29, 36, 67, 0.95), rgba(17, 23, 46, 0.9));
  border: 1px solid rgba(129, 140, 248, 0.32);
  box-shadow: 0 52px 110px -56px rgba(4, 7, 20, 0.88);
}

.feature-additive-copy {
  display: grid;
  gap: 16px;
}

.feature-additive-note {
  font-size: clamp(0.96rem, 1.9vw, 1.07rem);
  color: var(--text-muted);
}

body.theme-dark .feature-additive-note {
  color: rgba(191, 201, 255, 0.78);
}

.feature-additive-callout {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: clamp(20px, 2.6vw, 30px);
  display: grid;
  gap: 14px;
  box-shadow: 0 28px 70px -46px rgba(15, 23, 42, 0.55);
}

body.theme-dark .feature-additive-callout {
  background: rgba(17, 24, 52, 0.85);
  border-color: rgba(129, 140, 248, 0.32);
  box-shadow: 0 36px 86px -48px rgba(3, 6, 18, 0.88);
}

.feature-additive-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(79, 70, 229, 0.88);
}

body.theme-dark .feature-additive-label {
  color: rgba(165, 180, 252, 0.8);
}

.feature-additive-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
}

.feature-additive-list li {
  line-height: 1.5;
}

body.theme-dark .feature-additive-list {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .feature-card--history {
    grid-template-columns: 1fr;
  }

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

  .feature-additive-callout {
    order: -1;
  }

  .feature-history-visual {
    order: -1;
  }
}

@media (max-width: 540px) {
  .feature-history-visual {
    padding: 18px;
    width: 100%;
  }
}

.feature-card--qr {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  text-align: left;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 243, 255, 0.92));
  border: none;
  box-shadow: 0 32px 70px -42px rgba(15, 23, 42, 0.48);
  padding: clamp(32px, 4.5vw, 52px);
}

body.theme-dark .feature-card--qr {
  background: linear-gradient(140deg, rgba(28, 34, 62, 0.94), rgba(18, 24, 48, 0.88));
  border: 1px solid rgba(93, 64, 255, 0.24);
  box-shadow: 0 40px 86px -46px rgba(4, 7, 20, 0.85);
}

.feature-qr-copy {
  display: grid;
  gap: 14px;
}

.feature-card--qr h3 {
  font-size: clamp(1.65rem, 2.9vw, 2rem);
  margin: 0;
}

.feature-card--qr p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.feature-qr-note {
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  color: var(--text-muted);
}

body.theme-dark .feature-card--qr p {
  color: var(--text-muted);
}

body.theme-dark .feature-qr-note {
  color: rgba(148, 163, 255, 0.78);
}

.feature-qr-visual {
  background: radial-gradient(circle at 26% 22%, rgba(34, 211, 238, 0.25), transparent 58%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
}

body.theme-dark .feature-qr-visual {
  background: radial-gradient(circle at 26% 22%, rgba(13, 189, 255, 0.35), transparent 60%),
    linear-gradient(165deg, rgba(17, 24, 52, 0.92), rgba(10, 14, 32, 0.82));
}

.feature-qr-image {
  border-radius: clamp(8px, 1.2vw, 14px);
  background: white;
  padding: clamp(12px, 1.6vw, 18px);
  box-shadow:
    0 12px 28px -18px rgba(79, 70, 229, 0.45),
    0 18px 40px -30px rgba(15, 23, 42, 0.7);
}

body.theme-dark .feature-qr-image {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
  box-shadow:
    0 14px 32px -20px rgba(99, 102, 241, 0.5),
    0 20px 42px -30px rgba(8, 12, 32, 0.65);
}

@media (max-width: 900px) {
  .feature-card--qr {
    grid-template-columns: 1fr;
  }

  .feature-qr-visual {
    order: -1;
    width: min(360px, 100%);
    margin: 0 auto;
  }
}

.testimonials {
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
}

body.theme-dark .testimonials {
  background: linear-gradient(180deg, rgba(19, 28, 46, 0.95) 0%, rgba(8, 15, 35, 0.95) 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(209, 213, 219, 0.5);
  box-shadow: 0 24px 55px -45px rgba(15, 23, 42, 0.6);
}

body.theme-dark .testimonial-card {
  background: linear-gradient(150deg, rgba(24, 31, 56, 0.94), rgba(16, 22, 43, 0.85));
  border: 1px solid rgba(93, 64, 255, 0.22);
  box-shadow: 0 28px 60px -40px rgba(5, 9, 24, 0.9);
  backdrop-filter: blur(20px);
}

.testimonial-card blockquote {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: var(--text-primary);
}

.testimonial-card .name {
  display: block;
  font-weight: 600;
}

.testimonial-card .role {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.1);
}

.how-it-works {
  background: var(--white);
}

body.theme-dark .how-it-works {
  background: linear-gradient(180deg, rgba(18, 24, 46, 0.94) 0%, rgba(12, 16, 34, 0.9) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 96px 30px 30px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 20px 50px -40px rgba(15, 23, 42, 0.5);
  position: relative;
  overflow: hidden;
}

body.theme-dark .step-card {
  background: linear-gradient(160deg, rgba(25, 31, 58, 0.94), rgba(17, 23, 44, 0.86));
  border: 1px solid rgba(93, 64, 255, 0.26);
  box-shadow: 0 24px 55px -35px rgba(4, 7, 20, 0.85);
  backdrop-filter: blur(18px);
}

.step-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(79, 70, 229, 0.16);
  color: var(--primary);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  position: absolute;
  top: 28px;
  left: 30px;
}

.step-number--hero {
  width: 92px;
  height: 92px;
  font-size: 2rem;
  border-radius: 28px;
  background: rgba(79, 70, 229, 0.22);
  top: 22px;
  left: calc(30px - 20px);
}

.step-visual {
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(34, 211, 238, 0.08));
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 18px 42px -32px rgba(15, 23, 42, 0.45);
  width: clamp(260px, 32vw, 360px);
  aspect-ratio: 16 / 10;
}

body.theme-dark .step-visual {
  background: linear-gradient(135deg, rgba(93, 64, 255, 0.22), rgba(13, 189, 255, 0.24));
  box-shadow: 0 24px 54px -30px rgba(4, 7, 20, 0.85);
}

.step-visual img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-md) - 6px);
  box-shadow: 0 16px 36px -26px rgba(15, 23, 42, 0.55);
  object-fit: cover;
  background: var(--white);
}

.triangle {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid white;
  margin-left: 6px;
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.beyond-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-secondary);
}

body.theme-dark .beyond-card {
  background: linear-gradient(155deg, rgba(23, 29, 54, 0.94), rgba(16, 22, 43, 0.88));
  border: 1px solid rgba(93, 64, 255, 0.22);
  color: var(--text-secondary);
}

.cta {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(34, 211, 238, 0.12));
  padding: 88px 0;
}

body.theme-dark .cta {
  background: linear-gradient(135deg, rgba(93, 64, 255, 0.26), rgba(13, 189, 255, 0.3));
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.cta-inner h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0;
}

.cta-inner p {
  color: var(--text-secondary);
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.faq {
  background: var(--white);
}

body.theme-dark .faq {
  background: linear-gradient(180deg, rgba(17, 23, 46, 0.94) 0%, rgba(9, 13, 28, 0.95) 100%);
}

.faq-list {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.88);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.theme-dark .faq-item {
  background: linear-gradient(155deg, rgba(22, 28, 52, 0.92), rgba(16, 22, 43, 0.86));
  border: 1px solid rgba(93, 64, 255, 0.25);
  box-shadow: 0 26px 55px -38px rgba(5, 8, 22, 0.85);
}

.faq-item.open {
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 24px 55px -45px rgba(15, 23, 42, 0.6);
}

body.theme-dark .faq-item.open {
  border-color: rgba(129, 140, 248, 0.55);
  box-shadow: 0 30px 60px -40px rgba(5, 9, 22, 0.85);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
}

.faq-answer {
  padding: 0 26px 22px;
  color: var(--text-secondary);
  display: none;
}

.faq-language-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.faq-language-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.faq-language-list code {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

body.theme-dark .faq-language-list code {
  background: rgba(93, 64, 255, 0.18);
  border-color: rgba(93, 64, 255, 0.4);
  color: rgba(224, 231, 255, 0.9);
}

body.theme-dark .faq-answer {
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .toggle-icon {
  transform: rotate(45deg);
}

.toggle-icon {
  transition: transform 0.3s ease;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--primary);
}

.legal-page {
  background: linear-gradient(180deg, #f8fbff 0%, #eef3ff 100%);
}

body.theme-dark.legal-page {
  background: radial-gradient(circle at top right, rgba(93, 64, 255, 0.22), transparent 58%),
    linear-gradient(180deg, #070b1c 0%, #040712 100%);
}

.legal-main section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.legal-hero {
  background: radial-gradient(circle at 14% 18%, rgba(79, 70, 229, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(248, 250, 255, 0.92), rgba(232, 240, 255, 0.92));
  text-align: left;
}

body.theme-dark .legal-hero {
  background: radial-gradient(circle at 16% 22%, rgba(99, 102, 241, 0.28), transparent 60%),
    linear-gradient(185deg, rgba(17, 24, 46, 0.94), rgba(10, 15, 32, 0.92));
}

.legal-hero__inner {
  max-width: 780px;
  display: grid;
  gap: 18px;
}

.legal-kicker {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(79, 70, 229, 0.8);
}

body.theme-dark .legal-kicker {
  color: rgba(165, 180, 252, 0.78);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
}

.legal-intro {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-secondary);
}

body.theme-dark .legal-intro {
  color: var(--text-muted);
}

.legal-updated {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(71, 85, 105, 0.9);
}

body.theme-dark .legal-updated {
  color: rgba(148, 163, 255, 0.78);
}

.legal-section {
  background: var(--white);
}

body.theme-dark .legal-section {
  background: rgba(17, 22, 42, 0.92);
}

.legal-section--alt {
  background: rgba(237, 242, 255, 0.75);
}

body.theme-dark .legal-section--alt {
  background: rgba(13, 18, 36, 0.82);
}

.legal-section__body {
  max-width: 900px;
  display: grid;
  gap: 18px;
}

.legal-section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.legal-section p {
  margin: 0;
  color: var(--text-secondary);
}

body.theme-dark .legal-section p {
  color: var(--text-muted);
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
}

.legal-section li {
  line-height: 1.6;
}

body.theme-dark .legal-section ul {
  color: var(--text-muted);
}

.legal-section--contact {
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.12), rgba(34, 211, 238, 0.08));
}

body.theme-dark .legal-section--contact {
  background: linear-gradient(155deg, rgba(93, 64, 255, 0.18), rgba(13, 189, 255, 0.14));
}

.legal-section--contact .legal-section__body {
  text-align: left;
}

@media (max-width: 720px) {
  .legal-hero__inner {
    text-align: left;
  }
}

.footer {
  background: #f0f3ff;
  color: #374151;
  padding: 48px 0;
  border-top: 1px solid rgba(79, 70, 229, 0.1);
}

body.theme-dark .footer {
  background: linear-gradient(180deg, rgba(9, 12, 28, 0.98) 0%, rgba(5, 8, 20, 0.94) 100%);
  color: rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 1px 0 rgba(129, 140, 248, 0.14);
  border-top: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(8, 12, 32, 0.3));
}

.footer-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.footer-tagline {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

body.theme-dark .footer-tagline {
  color: rgba(226, 232, 240, 0.65);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #475569;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #4f46e5;
}

body.theme-dark .footer-links a {
  color: rgba(226, 232, 240, 0.85);
}

body.theme-dark .footer-links a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-meta {
  font-size: 0.86rem;
  color: #64748b;
  display: grid;
  gap: 6px;
}

body.theme-dark .footer-meta {
  color: rgba(226, 232, 240, 0.6);
}

.footer-small {
  margin: 0;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    margin: 0 auto;
  }

  .header-actions .btn-ghost {
    display: none;
  }
}

@media (min-width: 768px) {
  .hero-copy p {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-list {
    justify-items: start;
  }

  .hero-copy p {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .hero-copy h1 {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    padding: 16px 0;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

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

  .btn {
    width: 100%;
  }

  .video-frame {
    padding: 40px 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}