:root {
  color-scheme: dark;
  --bg: #0f1318;
  --bg-elevated: #141a21;
  --bg-raised: #18202a;
  --bg-panel: rgba(20, 26, 33, 0.78);
  --bg-panel-solid: #171d26;
  --bg-accent: #1d2733;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #f6f8fb;
  --text-muted: #9aa7b8;
  --text-soft: #c8d1dc;
  --primary: #7aa7ff;
  --primary-strong: #4f7cff;
  --primary-soft: rgba(122, 167, 255, 0.14);
  --secondary: #89d2ff;
  --secondary-soft: rgba(137, 210, 255, 0.14);
  --success: #3ddc97;
  --warning: #f7b955;
  --danger: #ff6b7a;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
  --container: 1200px;
  --container-narrow: 980px;
  --gutter: clamp(20px, 3vw, 32px);
  --section-space: clamp(64px, 8vw, 120px);
  --panel-blur: 18px;
  --gradient-hero: radial-gradient(circle at 20% 20%, rgba(122, 167, 255, 0.28), transparent 34%), radial-gradient(circle at 80% 10%, rgba(137, 210, 255, 0.18), transparent 28%), linear-gradient(180deg, #121821 0%, #0f1318 100%);
  --gradient-card: linear-gradient(180deg, rgba(26, 35, 46, 0.96) 0%, rgba(18, 24, 31, 0.96) 100%);
  --gradient-accent: linear-gradient(135deg, #7aa7ff 0%, #89d2ff 50%, #93f0d0 100%);
  --gradient-line: linear-gradient(90deg, rgba(122, 167, 255, 0), rgba(122, 167, 255, 0.65), rgba(137, 210, 255, 0));
  --font-display: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --letter-tight: -0.04em;
  --letter-normal: 0.01em;
  --letter-wide: 0.08em;
  --nav-height: 82px;
  --focus-ring: 0 0 0 4px rgba(122, 167, 255, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--gradient-hero);
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: var(--letter-normal);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  opacity: 0.45;
  z-index: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-color: rgba(122, 167, 255, 0.72);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--container-narrow), calc(100% - var(--gutter) * 2));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(var(--panel-blur));
  background: rgba(15, 19, 24, 0.68);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: var(--letter-tight);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--gradient-accent);
  box-shadow: 0 10px 24px rgba(122, 167, 255, 0.28);
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 11px;
  background: rgba(15, 19, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 1rem;
}

.brand-tag {
  font-size: 0.79rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  padding: 10px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gradient-line);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-switch button {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.lang-switch button:hover {
  transform: translateY(-1px);
}

.btn,
button.btn,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
  letter-spacing: var(--letter-normal);
  white-space: nowrap;
}

.btn:hover,
button.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--gradient-accent);
  color: #09111a;
  box-shadow: 0 16px 36px rgba(122, 167, 255, 0.22);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero,
.page-hero {
  position: relative;
  padding: clamp(72px, 10vw, 132px) 0 var(--section-space);
}

.hero-grid,
.page-hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.84rem;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(61, 220, 151, 0.12);
}

h1,
h2,
h3,
h4,
.section-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: var(--letter-tight);
  line-height: 1.04;
}

h1,
.hero-title {
  font-size: clamp(3rem, 6vw, 5.7rem);
  max-width: 12ch;
}

h2,
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.lead {
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  color: var(--text-soft);
  max-width: 62ch;
}

.hero-copy,
.page-hero-copy {
  display: grid;
  gap: 20px;
}

.hero-actions,
.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-proof,
.inline-proof,
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.proof-chip,
.stat-chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
}

.hero-panel,
.surface-card,
.feature-card,
.metric-card,
.case-card,
.product-card,
.contact-card,
.info-card,
.quote-card,
.timeline-card,
.form-card,
.panel,
.floating-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 167, 255, 0.36), transparent 68%);
  filter: blur(8px);
}

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

.metric-grid,
.product-grid,
.case-grid,
.contact-grid,
.about-grid,
.benefit-grid,
.feature-grid,
.stats-grid,
.timeline-grid {
  display: grid;
  gap: 18px;
}

.metric-grid,
.feature-grid,
.product-grid,
.case-grid,
.stats-grid,
.benefit-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.metric-card {
  grid-column: span 4;
  padding: 22px;
}

.metric-value {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: var(--letter-tight);
}

.metric-label,
.card-meta,
.muted {
  color: var(--text-muted);
}

.feature-card,
.product-card,
.case-card,
.contact-card,
.info-card,
.quote-card,
.timeline-card,
.form-card,
.surface-card {
  padding: clamp(22px, 3vw, 30px);
}

.feature-card,
.product-card,
.case-card,
.info-card {
  grid-column: span 4;
  display: grid;
  gap: 14px;
}

.product-card {
  min-height: 100%;
}

.card-icon,
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: rgba(122, 167, 255, 0.14);
  color: var(--secondary);
  border: 1px solid rgba(122, 167, 255, 0.22);
}

.card-list,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.card-list li,
.clean-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
}

.card-list li::before,
.clean-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
  box-shadow: 0 0 0 4px rgba(122, 167, 255, 0.12);
}

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section--tight {
  padding: clamp(36px, 5vw, 72px) 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 40px);
  max-width: 70ch;
}

.section-rule {
  width: 100%;
  height: 1px;
  background: var(--gradient-line);
  margin: 0 0 22px;
  opacity: 0.8;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.stats-grid .stat-card {
  grid-column: span 3;
}

.stat-card,
.progress-card,
.summary-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 700;
}

.timeline-card {
  position: relative;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(148, 163, 184, 0.18);
}

.timeline-item {
  position: relative;
  padding-left: 42px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(122, 167, 255, 0.12);
}

.quote-card {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(24, 32, 42, 0.98), rgba(18, 23, 30, 0.98));
}

.quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 12, 16, 0.42);
  color: var(--text);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(154, 167, 184, 0.72);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(122, 167, 255, 0.72);
  box-shadow: var(--focus-ring);
  background: rgba(8, 12, 16, 0.58);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.notice,
.helper {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero-aside,
.page-aside {
  display: grid;
  gap: 16px;
}

.grid--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(137, 210, 255, 0.12);
  border: 1px solid rgba(137, 210, 255, 0.18);
  color: var(--secondary);
  font-size: 0.84rem;
}

.footer {
  position: relative;
  margin-top: var(--section-space);
  padding: clamp(28px, 4vw, 44px) 0 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(10, 14, 18, 0.82);
  backdrop-filter: blur(var(--panel-blur));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer h3,
.footer h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer p,
.footer a,
.footer li {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

.badge--soft {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.glow-edge {
  position: relative;
}

.glow-edge::after {
  content: "";
  position: absolute;
  inset: auto 8% -1px;
  height: 1px;
  background: var(--gradient-line);
}

.is-hidden {
  display: none !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .feature-card,
  .product-card,
  .case-card,
  .info-card,
  .stats-grid .stat-card {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }

  .header-actions {
    margin-left: auto;
  }

  .grid--two,
  .grid--three,
  .metric-grid,
  .feature-grid,
  .product-grid,
  .case-grid,
  .contact-grid,
  .about-grid,
  .benefit-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .feature-card,
  .product-card,
  .case-card,
  .info-card,
  .stats-grid .stat-card {
    grid-column: auto;
  }

  h1,
  .hero-title {
    max-width: 14ch;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
    --section-space: 56px;
    --nav-height: 74px;
  }

  .header-inner {
    gap: 14px;
  }

  .brand-tag {
    display: none;
  }

  .lang-switch button,
  .btn {
    min-height: 46px;
    padding-inline: 18px;
  }

  .hero,
  .page-hero {
    padding-top: 56px;
  }

  .hero-actions,
  .page-hero-actions,
  .header-actions {
    width: 100%;
  }

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

  .nav a {
    padding-bottom: 8px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}