:root {
  --bg: #0b0d12;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.065);
  --surface-light: rgba(255, 255, 255, 0.085);
  --text: #f2f4f8;
  --muted: #b8bfce;
  --accent: #2dd4ff;
  --accent-strong: #2563eb;
  --accent-2: #7dd3fc;
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-2: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 58px rgba(0, 0, 0, 0.42);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

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

:focus-visible {
  outline: 2px solid rgba(45, 212, 255, 0.65);
  outline-offset: 3px;
}

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

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.orb-one {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(45, 212, 255, 0.22), transparent 70%);
  top: -160px;
  left: -120px;
}

.orb-two {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 60% 40%, rgba(37, 99, 235, 0.18), transparent 70%);
  bottom: -200px;
  right: -160px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 13, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-text {
  font-size: 18px;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.nav-link:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}

.lang-btn.active {
  background: linear-gradient(135deg, rgba(45, 212, 255, 0.95), rgba(37, 99, 235, 0.92));
  color: #061018;
  font-weight: 600;
}

.lang-select select {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #061018;
  box-shadow: 0 18px 36px rgba(45, 212, 255, 0.16);
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  margin: 16px 0;
  letter-spacing: -0.4px;
}

.headline-sub {
  display: block;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 12px;
  color: rgba(242, 244, 248, 0.82);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-route {
  margin: 28px 0 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 212, 255, 0.28);
  background: linear-gradient(135deg, rgba(45, 212, 255, 0.14), rgba(37, 99, 235, 0.10));
}

.hero-route-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(242, 244, 248, 0.95);
}

.hero-route-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-route-btn {
  width: 100%;
}

.hero-route-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(6, 16, 24, 0.42);
}

.hero-route-secondary:hover {
  border-color: rgba(45, 212, 255, 0.46);
}

.hero-route-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(242, 244, 248, 0.76);
}

.hero-route + .hero-actions {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 20px;
}

.hero-meta {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at 15% 10%, rgba(45, 212, 255, 0.10), transparent 52%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.badge {
  background: rgba(45, 212, 255, 0.14);
  color: rgba(45, 212, 255, 0.92);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(45, 212, 255, 0.22);
  display: inline-flex;
  align-items: center;
}

.badge-link:hover {
  border-color: rgba(45, 212, 255, 0.40);
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.metric-value {
  font-size: 18px;
  font-weight: 600;
  margin: 4px 0 0;
}

.card-chart {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  height: 120px;
  margin-bottom: 18px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, rgba(45, 212, 255, 0.9), transparent);
  height: var(--height);
  border-radius: 10px 10px 4px 4px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill-link:hover {
  border-color: rgba(45, 212, 255, 0.30);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section.contrast {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section-heading {
  margin-bottom: 32px;
}

.section-lead {
  margin: 14px 0 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.7;
}

.section-cta,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

#contact .section-cta {
  margin-top: 30px;
  margin-bottom: 42px;
}

#contact .section-lead {
  margin-top: 18px;
  max-width: 64ch;
}

#contact .section-cta .btn-primary {
  box-shadow: 0 22px 44px rgba(45, 212, 255, 0.22);
}

#contact .contact-grid {
  gap: 22px;
}

#contact .contact-grid > div {
  padding: 24px;
}

.muted {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent-2);
}

h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin: 12px 0 0;
}

.card-grid,
.feature-grid,
.resource-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card,
.feature,
.resource-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--stroke);
  min-height: 160px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.step-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 170px;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(45, 212, 255, 0.10), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-num {
  width: fit-content;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12px;
  color: rgba(45, 212, 255, 0.92);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 255, 0.26);
  background: rgba(45, 212, 255, 0.10);
}

.step-card h3 {
  margin: 16px 0 10px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.module-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.module-tabs {
  display: grid;
  gap: 10px;
}

.module-tab {
  text-align: left;
  width: 100%;
  border-radius: 16px;
  padding: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(242, 244, 248, 0.86);
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  font-family: inherit;
}

.module-tab:hover {
  border-color: rgba(45, 212, 255, 0.28);
  transform: translateY(-1px);
}

.module-tab.active {
  background: linear-gradient(135deg, rgba(45, 212, 255, 0.16), rgba(37, 99, 235, 0.12));
  border-color: rgba(45, 212, 255, 0.30);
}

.module-panels {
  min-width: 0;
}

.module-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
}

.module-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: center;
}

.module-copy h3 {
  margin: 0 0 10px;
}

.module-copy ul.list {
  margin-top: 16px;
}

.module-media {
  min-width: 0;
  display: grid;
  place-items: center;
}

.media-shot {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.console-preview {
  width: 100%;
  background: radial-gradient(circle at 15% 10%, rgba(45, 212, 255, 0.10), transparent 52%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.console-preview .card-header h4 {
  margin: 0;
  font-size: 16px;
}

.tg-preview {
  width: 100%;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.tg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tg-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 255, 0.22);
  background: rgba(45, 212, 255, 0.10);
  color: rgba(45, 212, 255, 0.92);
}

.tg-title {
  color: rgba(242, 244, 248, 0.86);
  font-weight: 650;
}

.tg-messages {
  display: grid;
  gap: 12px;
}

.tg-msg {
  background: rgba(11, 13, 18, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 12px 14px;
}

.tg-msg-title {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.tg-msg-body {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.tg-msg-accent {
  border-color: rgba(45, 212, 255, 0.26);
  background: rgba(45, 212, 255, 0.10);
}

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

.persona-card,
.pack-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--stroke);
  min-height: 170px;
}

.persona-card p,
.pack-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.persona-card strong {
  color: var(--text);
  font-weight: 750;
}

.adv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: center;
}

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

.adv-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  padding: 18px 18px;
}

.adv-item h3 {
  margin: 0;
  font-size: 16px;
}

.adv-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.adv-media {
  display: grid;
  place-items: center;
  min-width: 0;
}

.media-illustration {
  width: min(420px, 100%);
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.35));
  opacity: 0.96;
}

.card p,
.feature p,
.resource-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.split-col {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--stroke);
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.list li {
  position: relative;
  padding-left: 20px;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.timeline {
  margin-top: 40px;
  display: grid;
  gap: 18px;
}

.timeline-step {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
}

.timeline-step span {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.notice {
  margin-top: 24px;
  background: rgba(45, 212, 255, 0.10);
  border: 1px solid rgba(45, 212, 255, 0.26);
  padding: 20px;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.notice h4 {
  margin: 0 0 8px;
}

.kit-form {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--stroke);
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-size: 14px;
  color: var(--muted);
}

input,
select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: var(--surface-light);
  color: var(--text);
  font-size: 14px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
}

.callout {
  margin-top: 24px;
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
}

.contact-grid div {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--stroke);
}

.link-btn {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.link-btn:hover {
  border-color: rgba(45, 212, 255, 0.35);
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text);
}

.footer-note {
  font-size: 12px;
}

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

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

  .module-layout {
    grid-template-columns: 1fr;
  }

  .module-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .module-tabs::-webkit-scrollbar {
    display: none;
  }

  .module-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .module-panel-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav {
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .logo-text {
    font-size: 16px;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
  }

  .lang-switch {
    width: 100%;
    max-width: 240px;
    justify-content: space-between;
  }

  .lang-select {
    display: none;
  }

  .hero {
    padding: 74px 16px 52px;
    gap: 24px;
  }

  .hero-content h1 {
    font-size: clamp(30px, 9.2vw, 40px);
    margin: 12px 0;
  }

  .headline-sub {
    font-size: 16px;
    margin-top: 10px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-route {
    margin: 20px 0 12px;
    padding: 14px;
  }

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

  .hero-route-note {
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin: 22px 0 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 20px;
    border-radius: 20px;
  }

  .card-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 56px 16px;
  }

  h2 {
    font-size: clamp(24px, 7.5vw, 32px);
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-lead {
    max-width: none;
  }

  .card,
  .feature,
  .resource-card,
  .step-card,
  .persona-card,
  .pack-card,
  .split-col,
  .module-panel,
  .console-preview,
  .tg-preview {
    padding: 20px;
  }

  .card,
  .feature,
  .resource-card,
  .step-card,
  .persona-card,
  .pack-card {
    min-height: auto;
  }

  .module-panel-grid {
    gap: 16px;
  }

  .module-tab {
    min-height: 44px;
    padding: 12px 14px;
  }

  .section-cta .btn {
    width: 100%;
  }

  #contact .section-cta {
    margin-top: 22px;
    margin-bottom: 28px;
  }

  #contact .contact-grid {
    gap: 14px;
  }

  #contact .contact-grid > div {
    padding: 20px;
  }

  .link-btn {
    min-height: 44px;
    padding: 11px 16px;
  }

  .site-footer {
    padding: 32px 16px calc(44px + env(safe-area-inset-bottom));
  }

  .bg-grid {
    background-size: 34px 34px;
    opacity: 0.12;
  }
}

@media (min-width: 761px) {
  .lang-select {
    display: block;
  }
}

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