:root {
  --background: #0a1628;
  --surface: #152238;
  --surface-strong: #1b2c46;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --brand: #2196f3;
  --brand-strong: #7bc1ff;
  --brand-dark: #1565c0;
  --border: rgba(33, 150, 243, 0.35);
  --shadow: 0 16px 40px rgba(2, 8, 24, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at top right, #1a2d49 0%, var(--background) 62%);
}

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

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(10, 22, 40, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  width: 44px;
  height: 40px;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
}

.hero-slideshow {
  position: relative;
  min-height: 78vh;
  margin-top: 74px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: radial-gradient(circle at top, #17335a 0%, #0a1628 65%);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.78) 0%, rgba(10, 22, 40, 0.2) 70%);
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(1rem, 4vh, 5.5rem);
  padding-bottom: 3rem;
  padding-left: clamp(0.5rem, 1vw, 1rem);
  transform: translateX(-20px);
}

.hero-slide-copy {
  color: var(--text-secondary);
  max-width: 52ch;
  line-height: 1.6;
  margin-top: 0.9rem;
  max-width: none;
  white-space: nowrap;
}

.eyebrow {
  font-weight: 700;
  color: var(--brand-strong);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0;
  max-width: none;
  white-space: nowrap;
}

.hero-copy,
.section-copy {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 62ch;
}

.hero-copy {
  margin-top: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}

.button-primary {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--border);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.hero-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 22, 40, 0.5);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1rem;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-slider-dot.is-active {
  background: var(--brand);
}

.hero-metrics {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-metrics li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
}

.hero-metrics span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1a2d50 0%, #111d36 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.22) 0%, rgba(10, 22, 40, 0.88) 70%);
}

.section {
  padding: 4.2rem 0;
}

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

.section-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.main-parts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.main-parts-slider {
  margin-top: 1.8rem;
}

.main-parts-track {
  position: relative;
  min-height: 360px;
}

.main-part-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.main-part-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.feature-card,
.solution-item,
.pricing-card {
  background: rgba(21, 34, 56, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.1rem;
}

.main-part-card {
  background: rgba(21, 34, 56, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.1rem;
  max-width: 820px;
  margin-inline: auto;
}

.feature-image {
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-image-screen {
  object-fit: contain;
  background: #0f1f39;
  padding: 0.3rem;
}

.main-part-heading {
  margin: 0;
  font-size: 1.05rem;
}

.main-part-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.slider-controls {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(21, 34, 56, 0.72);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--brand);
}

.main-part-points {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
}

.main-part-points li {
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.feature-card h3,
.solution-item h3,
.pricing-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.feature-card p,
.solution-item p,
.pricing-card li {
  color: var(--text-secondary);
  line-height: 1.6;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.solution-list {
  display: grid;
  gap: 0.85rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.pricing-card {
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(33, 150, 243, 0.7);
  background: linear-gradient(180deg, rgba(33, 150, 243, 0.18) 0%, rgba(255, 255, 255, 0.03) 70%);
}

.badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #7bc1ff;
  color: #07213f;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.price {
  font-size: 1.6rem;
  margin: 0.75rem 0;
  font-weight: 700;
}

.price span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.section-cta {
  padding-top: 2rem;
}

.cta-panel {
  text-align: center;
  background: linear-gradient(120deg, #1d3354 0%, #152238 45%, #113362 100%);
  border: 1px solid #3a4463;
  border-radius: 16px;
  padding: 2.2rem 1.4rem;
}

.os-download-buttons {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
}

.os-icon-button {
  min-width: 132px;
  height: 56px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 22, 40, 0.5);
  color: #ffffff;
}

.os-icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.os-icon-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.site-footer {
  padding: 2rem 0;
}

.footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.2rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-link {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

@media (max-width: 980px) {
  .solution-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.legal-page {
  padding: 6.5rem 0 3rem;
  min-height: calc(100vh - 120px);
}

.legal-panel {
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.legal-panel h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.2;
}

.legal-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
}

.legal-section {
  margin-bottom: 1.75rem;
}

.legal-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.legal-section h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-section ul,
.legal-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal-steps li + li {
  margin-top: 0.65rem;
}

.legal-link {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.legal-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.legal-button:hover {
  background: var(--brand);
}

.reset-password-panel {
  max-width: 480px;
}

.reset-app-prompt {
  margin-bottom: 1.25rem;
}

.reset-app-prompt p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.reset-or-divider {
  margin: 1rem 0 0.25rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.reset-password-form {
  display: grid;
  gap: 0.65rem;
}

.reset-field-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.reset-field-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.22);
}

.reset-form-message {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.reset-form-message.is-success {
  color: #b9f6ca;
}

.reset-form-message.is-error {
  color: #ffcdd2;
}

.reset-fallback {
  margin-top: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-back {
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #0f1730;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1.4rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero-slideshow {
    min-height: 70vh;
    margin-top: 74px;
  }

  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.78) 0%, rgba(10, 22, 40, 0.55) 100%);
  }
}
