:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;
  --body-bg: #030304;
  --surface-bg: #111111;
  --text-color: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.75);
  --topbar-bg: rgba(3, 3, 4, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --ghost-border: rgba(255, 255, 255, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.15);
  --card-bg: rgba(255, 255, 255, 0.02);
  --footer-bg: #050505;
  --band-bg: rgba(255, 255, 255, 0.05);
  --gradient-soft: radial-gradient(circle at top right, #153859, #050912);
  --gradient-commerce: radial-gradient(circle at top left, #2c0c2c, #09030f);
  --gradient-film: radial-gradient(circle at bottom right, #0f3322, #030607);
  --orbital-border: rgba(255, 255, 255, 0.1);
  --orbit-line: rgba(255, 255, 255, 0.08);
  --core-bg: radial-gradient(circle, #0f172a, #020617);
  --core-border: rgba(255, 255, 255, 0.1);
}

:root[data-theme='light'] {
  color-scheme: light;
  --body-bg: #f5f5f7;
  --surface-bg: #ffffff;
  --text-color: #0b0b0c;
  --text-muted: rgba(11, 11, 12, 0.65);
  --topbar-bg: rgba(255, 255, 255, 0.9);
  --border-color: rgba(0, 0, 0, 0.08);
  --ghost-border: rgba(0, 0, 0, 0.2);
  --glass-bg: rgba(15, 18, 22, 0.05);
  --glass-border: rgba(15, 18, 22, 0.12);
  --card-border: rgba(0, 0, 0, 0.08);
  --card-bg: rgba(0, 0, 0, 0.02);
  --footer-bg: #f0f0f2;
  --band-bg: rgba(6, 6, 7, 0.05);
  --gradient-soft: radial-gradient(circle at top right, #dbe9ff, #fefbff);
  --gradient-commerce: radial-gradient(circle at top left, #ffe1f0, #fff6fb);
  --gradient-film: radial-gradient(circle at bottom right, #def4ea, #f5fffb);
  --orbital-border: rgba(0, 0, 0, 0.12);
  --orbit-line: rgba(0, 0, 0, 0.08);
  --core-bg: radial-gradient(circle, #ffffff, #dbe6ff);
  --core-border: rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  background-color: var(--body-bg);
  color: var(--text-color);
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: var(--topbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #64a7ff, #b3f5ff);
  display: inline-block;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.cta {
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta.primary {
  background: linear-gradient(120deg, #1f7cff, #6cffd3);
  color: #030304;
  box-shadow: 0 10px 30px rgba(32, 124, 255, 0.4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ghost-border);
  background: transparent;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

:root[data-theme='light'] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

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

.cta.ghost {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--ghost-border);
}

.cta:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 3rem;
  padding: 4rem 5vw 2rem;
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0.5rem 0;
}

.hero-subtitle {
  max-width: 460px;
  color: var(--text-muted);
}

.hero-english {
  margin: 0.5rem 0 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-color);
  opacity: 0.8;
}

.slogan-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: #0b0b0c;
  background: linear-gradient(120deg, #d4ff3b, #7bff0f);
  box-shadow: 0 12px 30px rgba(123, 255, 15, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.slogan-link span {
  position: relative;
  z-index: 1;
}

.slogan-link svg {
  width: 24px;
  height: 24px;
}

.slogan-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slogan-link:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 16px 34px rgba(123, 255, 15, 0.45);
}

.slogan-link:hover::after {
  opacity: 1;
}

.slogan-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(123, 255, 15, 0.4);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.orbital {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px dashed var(--orbital-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--orbit-line);
}

.orbit-soft {
  width: 65%;
  height: 65%;
  animation: pulse 8s linear infinite;
}

.orbit-commerce {
  width: 85%;
  height: 85%;
  animation: pulse 10s linear infinite reverse;
}

.orbit-film {
  width: 100%;
  height: 100%;
  animation: pulse 14s linear infinite;
}

.core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--core-bg);
  border: 1px solid var(--core-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero-caption {
  opacity: 0.7;
  font-size: 0.9rem;
}

.panel {
  padding: 4rem 5vw;
  border-radius: 32px;
  margin: 2rem 5vw;
  background: var(--surface-bg);
  position: relative;
}

.panel + .panel {
  margin-top: 0;
}

.gradient.soft {
  background: var(--gradient-soft);
}

.gradient.commerce {
  background: var(--gradient-commerce);
}

.gradient.film {
  background: var(--gradient-film);
}

.panel-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.feature-list li::before {
  content: '•';
  color: #6cffd3;
  margin-right: 0.5rem;
}

.panel-media {
  display: flex;
  justify-content: center;
}

.panel-linkable {
  cursor: pointer;
}

.panel-linkable::after {
  content: '';
  position: absolute;
  inset: 0;
}

.glass {
  width: 260px;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.code-lines {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: 'SFMono-Regular', Consolas, monospace;
  opacity: 0.8;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #41f1b6;
  margin-top: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
}

.product-card {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-consult {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(120deg, #1f7cff, #6cffd3);
  color: #030304;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-consult:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(32, 124, 255, 0.25);
}

.screen-wall {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.screen {
  padding: 1.2rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.statement {
  text-align: center;
  padding: 4rem 5vw;
  max-width: 760px;
  margin: 0 auto;
}

.statement-kicker {
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  opacity: 0.6;
}

.statement-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.story-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 5vw;
  text-align: left;
}

.story-block h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.story-block p + p {
  margin-top: 1rem;
  color: var(--text-muted);
}

.consult-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.consult-modal.is-active {
  opacity: 1;
  pointer-events: all;
}

.consult-modal__card {
  width: min(420px, 90vw);
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.consult-modal__card h2 {
  margin-top: 0;
}

.consult-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.consult-description {
  color: var(--text-muted);
}

.consult-body {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.consult-qr {
  text-align: center;
  display: grid;
  gap: 0.6rem;
}

.consult-qr img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.consult-form .cta {
  width: 100%;
  justify-content: center;
}

.consult-product {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.video-modal.is-active {
  opacity: 1;
  pointer-events: all;
}

.video-modal__content {
  position: relative;
  width: min(960px, 90vw);
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.video-modal video {
  width: 100%;
  display: block;
}

.video-note {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.video-preview {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.video-preview:hover {
  transform: scale(1.02);
}

.video-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
}

.play-button {
  font-size: 4rem;
  color: #fff;
  opacity: 0.8;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.video-preview:hover .play-button {
  opacity: 1;
}

.video-preview p {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
}

.cta-band {
  margin: 4rem 5vw;
  padding: 2rem 3rem;
  border-radius: 28px;
  background: var(--band-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.narrative-cta {
  background: linear-gradient(135deg, rgba(123, 255, 15, 0.15), rgba(84, 150, 255, 0.15));
  border: 1px solid var(--border-color);
}

.narrative-actions {
  flex-direction: column;
  align-items: stretch;
}

.subscribe-form {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.subscribe-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.subscribe-form input[type='email'] {
  border-radius: 999px;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--text-color);
}

.subscribe-form button {
  width: 100%;
  justify-content: center;
}

.subscribe-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.subscribe-message {
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.subscribe-message.show {
  display: block !important;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 5vw;
  background: var(--footer-bg);
  position: relative;
  overflow: hidden;
}

.footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.footer-particles canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(0.3px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

footer h5 {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer a {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-meta {
  margin-top: 2rem;
  opacity: 0.5;
  font-size: 0.85rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .panel {
    margin: 2rem 0;
    border-radius: 0;
  }
}


