:root {
  --bg-main: #03143b;
  --bg-deep: #02102d;
  --bg-soft: #07204d;
  --surface: rgba(7, 26, 68, 0.82);
  --surface-strong: rgba(7, 24, 61, 0.95);
  --surface-light: rgba(255, 255, 255, 0.05);

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(53, 237, 212, 0.34);

  --text-main: #f5f8ff;
  --text-soft: rgba(245, 248, 255, 0.76);
  --text-dim: rgba(245, 248, 255, 0.5);

  --orange: #ff5a1f;
  --orange-strong: #ff6f2f;
  --cyan: #19f0cf;
  --cyan-soft: #53ffd8;
  --navy-card: #07215a;

  --shadow-sm: 0 16px 36px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 24px 54px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 38px 82px rgba(0, 0, 0, 0.42);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-xl: 44px;

  --container: 1240px;
  --header-height: 86px;
  --transition: 0.34s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 10%, rgba(25, 240, 207, 0.1), transparent 20%),
    radial-gradient(circle at 90% 18%, rgba(255, 90, 31, 0.1), transparent 20%),
    linear-gradient(180deg, #03143b 0%, #021230 46%, #03122b 100%);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

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

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

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.82;
}

.glow-a {
  width: 24rem;
  height: 24rem;
  left: -7rem;
  top: -6rem;
  background: rgba(25, 240, 207, 0.13);
}

.glow-b {
  width: 18rem;
  height: 18rem;
  right: -2rem;
  top: 26%;
  background: rgba(255, 90, 31, 0.12);
}

.glow-c {
  width: 22rem;
  height: 22rem;
  left: 45%;
  bottom: -8rem;
  background: rgba(25, 240, 207, 0.08);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 82%);
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.75) 0.9px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(255, 255, 255, 0.75) 0.9px,
      transparent 1px
    ),
    radial-gradient(
      circle at 36% 82%,
      rgba(255, 255, 255, 0.75) 0.9px,
      transparent 1px
    );
  background-size: 240px 240px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: linear-gradient(
    180deg,
    rgba(2, 13, 35, 0.96),
    rgba(2, 13, 35, 0.74)
  );
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff7441);
  box-shadow: 0 18px 36px rgba(255, 90, 31, 0.24);
}

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

.brand-text strong {
  font-weight: 800;
}

.brand-text small {
  color: var(--text-dim);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--text-soft);
  font-weight: 600;
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active-link {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 52px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.eyebrow-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eyebrow {
  min-height: 36px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.solid {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff7d46);
}

.hero-copy h1 {
  margin: 20px 0 18px;
  max-width: 10ch;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 58px;
  padding: 14px 24px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff7a45);
  box-shadow: 0 18px 36px rgba(255, 90, 31, 0.22);
}

.btn-secondary {
  color: var(--text-main);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.btn-wide {
  min-width: 260px;
}

.hero-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(7, 26, 68, 0.82);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--cyan-soft);
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-stack {
  position: relative;
  min-height: 760px;
}

.device-card,
.floating-panel {
  position: absolute;
  box-shadow: var(--shadow-md);
}

.device-card {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.96);
  transition: transform 0.22s ease;
}

.device-card img {
  aspect-ratio: 9 / 18.6;
  object-fit: cover;
}

.device-main {
  width: 40%;
  left: 30%;
  top: 7%;
  transform: rotate(-3deg);
}

.device-left {
  width: 28%;
  left: 2%;
  bottom: 8%;
  transform: rotate(-8deg);
}

.device-right {
  width: 28%;
  right: 2%;
  top: 30%;
  transform: rotate(8deg);
}

.device-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: rgba(4, 14, 37, 0.96);
  z-index: 2;
}

.floating-panel {
  width: 33%;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.92);
  backdrop-filter: blur(12px);
}

.panel-a {
  left: 0;
  top: 18%;
}

.panel-b {
  right: 0;
  bottom: 12%;
}

.floating-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan-soft);
  font-weight: 800;
}

.floating-panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
  font-size: 0.94rem;
}

.section {
  padding: 96px 0;
}

.intro-band {
  padding-top: 24px;
}

.band-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at left center,
      rgba(25, 240, 207, 0.12),
      transparent 32%
    ),
    linear-gradient(180deg, rgba(7, 24, 61, 0.92), rgba(6, 20, 51, 0.98));
  box-shadow: var(--shadow-md);
}

.band-card h2 {
  margin: 0;
  max-width: 18ch;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-head {
  margin-bottom: 38px;
}

.section-tag {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 12px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.feature-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.88);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 240, 207, 0.32);
  box-shadow: var(--shadow-md);
}

.feature-index {
  width: 48px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), #ff7641);
}

.feature-card h3 {
  margin: 14px 0 12px;
  font-size: 1.16rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.76;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 40px;
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 102px;
}

.workflow-copy h2 {
  margin: 0 0 18px;
  max-width: 13ch;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.workflow-list {
  display: grid;
  gap: 16px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.86);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.workflow-step:hover,
.workflow-step.active-step {
  transform: translateY(-2px);
  border-color: rgba(25, 240, 207, 0.32);
  box-shadow: var(--shadow-md);
  background: rgba(8, 27, 69, 0.98);
}

.workflow-step > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff7641);
  font-weight: 900;
  color: #fff;
}

.workflow-step h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
}

.workflow-step p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.preview-shell {
  padding: 28px;
  border-radius: 38px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.92);
  box-shadow: var(--shadow-lg);
}

.preview-device {
  position: relative;
  width: min(380px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.96);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease;
}

.preview-device img {
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.preview-caption {
  margin-top: 22px;
}

.preview-caption small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.preview-caption h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.preview-caption p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.84;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.mosaic-card {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.9);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}

.mosaic-large {
  grid-row: span 2;
}

.mosaic-copy h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
}

.mosaic-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.78;
}

.mosaic-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.slider-shell {
  padding: 28px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.9);
  box-shadow: var(--shadow-lg);
}

.slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.slider-copy small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.slider-copy h3 {
  margin: 0;
  font-size: 1.48rem;
}

.slider-buttons {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--orange), #ff7641);
  transition: var(--transition);
}

.slider-btn:hover {
  transform: translateY(-2px);
}

.slider-window {
  overflow: hidden;
  border-radius: 28px;
}

.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.slider-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 8px;
}

.slider-slide img {
  width: min(390px, 100%);
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.slider-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: var(--transition);
}

.slider-dots button.active-dot {
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

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

.review-card {
  padding: 28px 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.9);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover,
.featured-review {
  transform: translateY(-4px);
  border-color: rgba(25, 240, 207, 0.32);
  box-shadow: var(--shadow-md);
  background: rgba(8, 27, 69, 0.98);
}

.review-stars {
  color: var(--cyan-soft);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.review-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.84;
}

.review-meta {
  margin-top: 22px;
  display: grid;
  gap: 4px;
}

.review-meta span {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.download-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 38px;
  border-radius: 38px;
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at left center,
      rgba(25, 240, 207, 0.12),
      transparent 34%
    ),
    rgba(7, 24, 61, 0.94);
  box-shadow: var(--shadow-lg);
}

.download-copy h2 {
  margin: 0 0 14px;
  max-width: 13ch;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.download-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.82;
  max-width: 62ch;
}

.download-actions {
  display: grid;
  gap: 14px;
}

.site-footer {
  padding: 30px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 13, 35, 0.84);
  backdrop-filter: blur(12px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 0.82rem;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-soft);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.privacy-main {
  padding: 26px 0 84px;
}

.privacy-grid {
  display: grid;
  gap: 18px;
}

.privacy-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(7, 24, 61, 0.92);
  box-shadow: var(--shadow-sm);
}

.privacy-card h2 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.privacy-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.84;
}

.privacy-card a {
  color: var(--cyan-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1220px) {
  .hero-grid,
  .workflow-grid,
  .download-box {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .feature-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

  .mosaic-large {
    grid-row: auto;
  }

  .workflow-copy {
    position: relative;
    top: auto;
  }

  .hero-stack {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .device-card,
  .floating-panel {
    position: relative;
    width: 100%;
    inset: auto;
    transform: none !important;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(2, 13, 35, 0.98);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-section {
    min-height: auto;
    padding-top: 28px;
  }

  .section {
    padding: 74px 0;
  }

  .hero-copy h1,
  .band-card h2,
  .section-head h2,
  .workflow-copy h2,
  .download-copy h2 {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 4.1rem);
  }

  .band-card,
  .feature-card,
  .workflow-step,
  .preview-shell,
  .mosaic-card,
  .slider-shell,
  .review-card,
  .download-box,
  .privacy-card {
    border-radius: 24px;
  }

  .slider-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .privacy-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
