:root {
  color-scheme: dark;
  --bg: #02040c;
  --panel: #070b1f;
  --panel-2: #0b1028;
  --text: #f7fbff;
  --muted: #b9c6df;
  --line: rgba(112, 134, 255, 0.26);
  --cyan: #16d9ff;
  --blue: #2377ff;
  --violet: #8d3dff;
  --success: #20e29a;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(22, 217, 255, 0.18), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(141, 61, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #02040c 0%, #06091a 54%, #02040c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(22, 217, 255, 0.16);
  background: rgba(2, 4, 12, 0.86);
  position: sticky;
  top: 0;
  z-index: 3;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 850;
}

.brand-word span,
.plaque-word span {
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon,
.plaque-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    linear-gradient(#070b1f, #070b1f) padding-box,
    linear-gradient(135deg, var(--cyan), var(--blue), var(--violet)) border-box;
  border: 2px solid transparent;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(35, 119, 255, 0.35);
}

.brand-icon span,
.plaque-icon span {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav {
  display: flex;
  gap: clamp(22px, 5vw, 72px);
  font-size: 1.05rem;
  font-weight: 700;
}

nav a {
  padding: 8px 0;
  color: var(--muted);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding: clamp(46px, 8vw, 84px) clamp(22px, 5vw, 72px) clamp(64px, 8vw, 88px);
}

.hero-copy {
  max-width: 650px;
}

.logo-plaque {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  min-height: 78px;
  margin-bottom: 34px;
  padding: 13px 22px 13px 14px;
  border: 1px solid transparent;
  border-radius: 44px;
  background:
    linear-gradient(90deg, rgba(5, 9, 25, 0.96), rgba(7, 10, 30, 0.86)) padding-box,
    linear-gradient(100deg, var(--cyan), var(--blue), var(--violet)) border-box;
  box-shadow:
    0 0 32px rgba(22, 217, 255, 0.18),
    inset 0 0 28px rgba(35, 119, 255, 0.12);
}

.plaque-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.plaque-word {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  font-weight: 850;
  line-height: 1;
}

.plaque-wave {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 10px;
}

.plaque-wave i {
  display: block;
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  box-shadow: 0 0 16px rgba(35, 119, 255, 0.5);
}

.plaque-wave i:nth-child(2) {
  height: 46px;
}

.plaque-wave i:nth-child(3) {
  height: 34px;
}

.plaque-wave i:nth-child(4) {
  height: 18px;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3rem, 7vw, 5.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(35, 119, 255, 0.22);
}

.hero-copy p {
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.4vw, 1.65rem);
  line-height: 1.46;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 58px;
  padding: 14px 24px;
  border-radius: 6px;
  border: 2px solid rgba(22, 217, 255, 0.84);
  font-size: 1.14rem;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(35, 119, 255, 0.34);
}

.button.secondary {
  color: var(--text);
  background: rgba(8, 12, 32, 0.72);
}

.app-preview {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(22, 217, 255, 0.92), rgba(35, 119, 255, 0.45), rgba(141, 61, 255, 0.92)) border-box;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 6, 18, 0.92);
}

.window-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.brand-icon.small {
  width: 23px;
  height: 23px;
  border-radius: 5px;
  font-size: 0.78rem;
  box-shadow: none;
}

.window-controls {
  display: flex;
  gap: 20px;
}

.window-controls span {
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #eaf4ff;
  border-radius: 2px;
}

.window-controls span:first-child {
  border-width: 0 0 2px;
}

.window-controls span:last-child {
  position: relative;
  border: 0;
}

.window-controls span:last-child::before,
.window-controls span:last-child::after {
  content: "";
  position: absolute;
  inset: 5px 0 auto;
  height: 2px;
  background: #eaf4ff;
}

.window-controls span:last-child::before {
  transform: rotate(45deg);
}

.window-controls span:last-child::after {
  transform: rotate(-45deg);
}

.window-body {
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 390px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: rgba(5, 9, 26, 0.9);
}

.preview-sidebar button {
  height: 43px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.preview-sidebar a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.preview-sidebar a.active {
  background: rgba(22, 217, 255, 0.12);
  color: var(--text);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.preview-sidebar p {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.preview-sidebar p span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 16px rgba(32, 226, 154, 0.65);
}

.preview-panel {
  padding: 30px clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at 80% 8%, rgba(141, 61, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(11, 16, 40, 0.98), rgba(7, 11, 31, 0.98));
}

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

.screen-heading h2 {
  margin: 0;
  font-size: 1.35rem;
}

.screen-heading span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.dictation-card {
  min-height: 166px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.dictation-card p {
  margin: 0;
  color: #e7efff;
  font-size: 1.05rem;
  line-height: 1.52;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 66px;
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 22px;
}

.waveform span {
  display: block;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(22, 217, 255, 0.5);
}

.waveform span:nth-child(2n) {
  height: 28px;
}

.waveform span:nth-child(3n) {
  height: 12px;
}

.waveform span:nth-last-child(-n + 3) {
  background: var(--success);
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

.preview-footer span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.preview-footer strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 46px clamp(22px, 5vw, 72px) 70px;
  border-top: 1px solid rgba(22, 217, 255, 0.12);
  background: rgba(3, 6, 18, 0.72);
}

.features article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 0 clamp(22px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.features article:first-child {
  padding-left: 0;
}

.features article:last-child {
  border-right: 0;
  padding-right: 0;
}

.features svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(22, 217, 255, 0.3));
}

.features h2 {
  margin: 0;
  font-size: 1.35rem;
}

.features p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 18px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

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

  .app-preview {
    max-width: 760px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .features article,
  .features article:first-child,
  .features article:last-child {
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 42px;
  }

  .logo-plaque {
    gap: 12px;
    min-height: 66px;
    padding: 10px 16px 10px 10px;
  }

  .plaque-icon {
    width: 42px;
    height: 42px;
  }

  .plaque-wave {
    display: none;
  }

  .actions,
  .button {
    width: 100%;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-footer strong {
    align-self: center;
  }

  .features article {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

  .features svg {
    width: 48px;
    height: 48px;
  }
}
