:root {
  --bg: #07090d;
  --bg-elevated: #0c1016;
  --surface: #111820;
  --surface-hover: #161e28;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f6f9;
  --muted: #9aa4b2;
  --muted-2: #6e7886;
  --cyan: #00c4ef;
  --cyan-2: #3ad7f7;
  --cyan-dim: rgba(0, 196, 239, 0.14);
  --cyan-glow: rgba(0, 196, 239, 0.35);
  --success: #34d399;
  --danger: #fb7185;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --header-h: 76px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 100;
  background: var(--cyan);
  color: #041018;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(0, 196, 239, 0.16), transparent 55%),
    radial-gradient(700px 380px at -10% 20%, rgba(0, 140, 200, 0.1), transparent 50%),
    linear-gradient(180deg, #07090d 0%, #080b11 100%);
}

.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 72%);
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 13, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  height: 46px;
  width: auto;
  mix-blend-mode: screen;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.socials {
  display: flex;
  gap: 0.4rem;
}

.socials a,
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.socials a:hover,
.icon-btn:hover,
.socials a:focus-visible,
.icon-btn:focus-visible {
  color: var(--cyan);
  border-color: rgba(0, 196, 239, 0.4);
  background: var(--cyan-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--cyan-2), var(--cyan));
  color: #041018;
  box-shadow: 0 8px 24px var(--cyan-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px var(--cyan-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

.menu-toggle {
  display: none;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 196, 239, 0.28);
  background: var(--cyan-dim);
  color: var(--cyan-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1rem 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.hero p.lead {
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-visual {
  position: relative;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3340;
}

.dot:nth-child(1) { background: #ff6b81; }
.dot:nth-child(2) { background: #fbbf24; }
.dot:nth-child(3) { background: #34d399; }

.panel-label {
  margin-left: 0.4rem;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.panel-body {
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mini-card {
  padding: 0.95rem;
  border-radius: 14px;
  background: rgba(8, 12, 18, 0.7);
  border: 1px solid var(--line);
}

.mini-card span {
  display: block;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.mini-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.15rem;
  font-family: var(--display);
}

.mini-card em {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
}

.chart {
  grid-column: 1 / -1;
  height: 92px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 196, 239, 0.18), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.04) 18px 19px);
  position: relative;
  overflow: hidden;
}

.chart svg {
  position: absolute;
  inset: 8px 8px 0;
  width: calc(100% - 16px);
  height: calc(100% - 8px);
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section h2 {
  margin: 0.4rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 196, 239, 0.35);
  background: var(--surface-hover);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cyan-dim);
  color: var(--cyan);
  margin-bottom: 0.9rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: var(--display);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-copy h2 {
  margin-top: 0;
}

.split-copy p {
  color: var(--muted);
}

.media-card {
  min-height: 280px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(400px 180px at 20% 20%, rgba(0, 196, 239, 0.18), transparent 60%),
    linear-gradient(160deg, #121a24, #0b1017);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.chip {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(7, 10, 14, 0.55);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
}

.chip small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
}

.cta-band {
  padding: 3.5rem 0;
}

.cta-card {
  border-radius: 24px;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(0, 196, 239, 0.22);
  background:
    radial-gradient(600px 220px at 100% 0%, rgba(0, 196, 239, 0.16), transparent 55%),
    linear-gradient(180deg, #101821, #0c1219);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-card h2 {
  margin: 0 0 0.5rem;
  white-space: pre-line;
}

.cta-card p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
}

.contact-aside {
  padding: 1.6rem;
}

.contact-aside h2 {
  margin-top: 0;
}

.contact-aside p {
  color: var(--muted);
}

.form {
  padding: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.field label {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #0b1016;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}

.form-status {
  min-height: 1.4rem;
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  background: #080b10;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand img {
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
}

.footer-copy {
  color: var(--muted-2);
  font-size: 0.88rem;
}

.footer-copy strong {
  color: var(--muted);
  font-weight: 650;
  display: block;
  margin-bottom: 0.15rem;
}

.apps-hero {
  padding: 3.5rem 0 1rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 4.5rem;
}

.app-card {
  padding: 1.5rem;
  text-align: center;
}

.app-card h3 {
  margin: 0.3rem 0 0.5rem;
  font-family: var(--display);
}

.app-card p {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  transition: opacity 0.2s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (max-width: 820px) {
  .nav,
  .header-actions .socials,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0.75rem;
    left: 0.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #101820;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 60;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 1rem;
  }

  .nav .mobile-cta {
    display: flex;
    margin-top: 0.4rem;
  }
}

@media (min-width: 821px) {
  .nav .mobile-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .features,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .brand img {
    height: 40px;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
