:root {
  --color-bg: #0b1a28;
  --color-bg-elevated: #073151;
  --color-surface: rgba(15, 73, 105, 0.62);
  --color-surface-solid: rgba(7, 49, 81, 0.9);
  --color-primary: #09a0de;
  --color-primary-blue: #0a77de;
  --color-primary-bright: #05c4e0;
  --color-success: #0cc2b3;
  --color-text: #f4f8fb;
  --color-text-secondary: #b8cad6;
  --color-text-muted: #6b899d;
  --color-purple: #8c6be8;
  --color-orange: #e0ac75;
  --color-danger: #e66c74;
  --color-border: rgba(110, 208, 223, 0.18);
  --shadow: 0 18px 42px rgba(0, 10, 22, 0.28);
  --shadow-soft: 0 8px 24px rgba(0, 10, 22, 0.18);
  --gradient-brand: linear-gradient(135deg, #0a77de 0%, #05c4e0 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  font: 16px/1.45 Inter, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(5, 196, 224, 0.045), transparent 320px),
    linear-gradient(145deg, #0b1a28 0%, #092338 48%, #06131f 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(110, 208, 223, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 208, 223, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

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

button,
.button,
.cta-link {
  font: 700 14px/1.2 Inter, "Segoe UI", Arial, sans-serif;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary-bright);
  outline-offset: 3px;
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.site-header,
.site-nav,
.site-actions,
.hero,
.hero-actions,
.message-strip,
.two-column,
.pricing-line,
.pricing-actions,
.site-footer {
  display: flex;
  gap: 16px;
}

.glass-panel,
.site-header,
.login-menu,
.message-strip,
.statement-block,
.pricing-line,
.faq-line details,
.hero-proof {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 12;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  padding: 12px 14px;
  background: rgba(7, 49, 81, 0.78);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 142px;
}

.brand img {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.site-nav,
.site-footer nav,
.text-link {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.site-nav {
  align-items: center;
}

.site-nav a,
.text-link {
  transition: color 0.16s ease;
}

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

.site-actions {
  align-items: center;
}

.hidden {
  display: none !important;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(110, 208, 223, 0.16);
  border-radius: 8px;
  background: rgba(11, 26, 40, 0.56);
}

.lang-button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.lang-button.active {
  background: rgba(9, 160, 222, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(110, 208, 223, 0.22);
}

.button,
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.button-primary,
.cta-link {
  background:
    linear-gradient(135deg, rgba(10, 119, 222, 0.96), rgba(5, 196, 224, 0.88));
  color: #fff;
  box-shadow: 0 10px 24px rgba(5, 196, 224, 0.14);
}

.button-secondary {
  border-color: var(--color-border);
  background: rgba(11, 26, 40, 0.48);
  color: var(--color-text);
}

.login-dropdown {
  position: relative;
}

.login-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.login-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  padding: 16px;
  background: rgba(7, 49, 81, 0.96);
}

.login-form,
.login-session {
  display: grid;
  gap: 12px;
}

.login-form label {
  display: grid;
  gap: 6px;
}

.login-form span,
.login-form small,
.login-session small,
.login-menu-status {
  color: var(--color-text-secondary);
  font-size: 12px;
}

.login-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(11, 26, 40, 0.74);
  color: var(--color-text);
  font: 14px/1.2 Inter, "Segoe UI", Arial, sans-serif;
}

.login-form input::placeholder {
  color: var(--color-text-muted);
}

.login-submit {
  width: 100%;
}

.login-menu-status.is-error {
  color: var(--color-danger);
}

.login-menu-status.is-success {
  color: var(--color-success);
}

.login-session p {
  font-size: 16px;
  font-weight: 700;
}

.login-session-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero {
  align-items: stretch;
  margin-bottom: 18px;
}

.hero-copy {
  flex: 1 1 44%;
  min-width: 0;
  padding: 28px 0 22px;
}

.eyebrow,
.strip-label,
.panel-kicker {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 10px;
  max-width: 680px;
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.55rem, 4.7vw, 4.7rem);
  font-weight: 720;
  line-height: 1;
}

.hero-lead {
  margin-top: 18px;
  max-width: 30ch;
  color: var(--color-text);
  font-size: clamp(1.1rem, 1.55vw, 1.42rem);
  font-weight: 650;
}

.hero-sub {
  margin-top: 10px;
  max-width: 58ch;
  color: var(--color-text-secondary);
  font-size: 16px;
}

.hero-actions {
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-proof {
  flex: 1 1 52%;
  min-width: 420px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.8fr);
  padding: 10px;
  background: rgba(15, 73, 105, 0.52);
}

.proof-video {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 8px;
  background: #06131f;
  box-shadow: inset 0 0 0 1px rgba(244, 248, 251, 0.04);
}

.proof-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.82);
}

.proof-video::after,
.video-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(11, 26, 40, 0.1), rgba(11, 26, 40, 0.54)),
    linear-gradient(90deg, rgba(5, 196, 224, 0.07), transparent 42%);
}

.court-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(244, 248, 251, 0.28);
  transform: skewY(-7deg);
}

.court-line-top {
  top: 32%;
}

.court-line-mid {
  top: 56%;
}

.track-dot {
  position: absolute;
  left: 64%;
  top: 28%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-primary-bright);
  box-shadow: 0 0 16px rgba(5, 196, 224, 0.44);
}

.track-path {
  position: absolute;
  left: 34%;
  top: 35%;
  width: 34%;
  height: 24%;
  border-top: 2px solid rgba(5, 196, 224, 0.82);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.event-tag {
  position: absolute;
  z-index: 1;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.event-serve {
  left: 18px;
  bottom: 18px;
  background: rgba(12, 194, 179, 0.74);
}

.event-attack {
  right: 18px;
  top: 18px;
  background: rgba(140, 107, 232, 0.76);
}

.proof-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

.proof-sidebar h2 {
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.16;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.metric-list div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(11, 26, 40, 0.52);
}

.metric-list dt {
  color: var(--color-text-secondary);
  font-size: 13px;
}

.metric-list dd {
  margin: 0;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
}

.metric-list span {
  color: var(--color-text);
}

.video-band {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.2fr;
  gap: 14px;
  margin-bottom: 18px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-soft);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04) brightness(0.86);
}

.video-frame span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(11, 26, 40, 0.72);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
}

.video-frame-lycurgus .lycurgus-base {
  position: absolute;
  inset: 0;
  filter: blur(5px) saturate(1.08) contrast(1.08) brightness(0.72);
  transform: scale(1.06);
}

.video-frame-lycurgus .lycurgus-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.message-strip,
.pricing-line {
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.message-strip > div {
  flex: 1 1 0;
}

.message-strip p {
  margin-top: 8px;
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.2;
}

.two-column {
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.statement-block {
  flex: 1 1 320px;
  padding: 24px;
}

.statement-block h2,
.pricing-copy h2 {
  margin-top: 10px;
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 650;
  line-height: 1.12;
}

.pricing-line {
  flex-wrap: wrap;
}

.pricing-copy {
  flex: 1 1 420px;
}

.pricing-actions {
  flex-wrap: wrap;
  align-items: center;
}

.faq-line {
  display: grid;
  gap: 12px;
}

.faq-line details {
  padding: 18px 20px;
}

.faq-line summary {
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
}

.faq-line summary::-webkit-details-marker {
  display: none;
}

.faq-line p {
  margin-top: 10px;
  color: var(--color-text-secondary);
}

.site-footer {
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding: 18px 4px 0;
  border-top: 1px solid var(--color-border);
}

.site-footer p {
  color: var(--color-text-secondary);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .hero,
  .site-header,
  .site-nav,
  .site-actions,
  .message-strip,
  .site-footer,
  .pricing-line {
    flex-wrap: wrap;
  }

  .hero-proof {
    min-width: 100%;
  }

  .video-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 12px;
  }

  .site-header {
    position: static;
  }

  .brand img {
    width: 132px;
  }

  .site-actions {
    width: 100%;
  }

  .login-dropdown {
    position: static;
  }

  .login-menu {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .hero-copy {
    padding-top: 12px;
  }

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

  .proof-video {
    min-height: 300px;
  }

  .message-strip p {
    font-size: 18px;
  }

  .video-frame {
    min-height: 230px;
  }
}
