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

:root {
  --bg: #edf1f7;
  --bg-soft: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(12, 43, 99, 0.08);
  --line-strong: rgba(12, 43, 99, 0.14);
  --text: #0a1c44;
  --text-soft: #61708d;
  --primary: #1357bf;
  --primary-2: #3d8bff;
  --navy: #08265f;
  --accent: #86b8ff;
  --shadow: 0 18px 48px rgba(13, 35, 85, 0.12);
  --shadow-soft: 0 12px 28px rgba(13, 35, 85, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3fb 0%, #e9eef7 100%);
  overflow-x: hidden;
}

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

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

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

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

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}

.orb-one {
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(61, 139, 255, 0.42) 0%,
    rgba(61, 139, 255, 0) 70%
  );
  top: -120px;
  right: -60px;
}

.orb-two {
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(19, 87, 191, 0.28) 0%,
    rgba(19, 87, 191, 0) 70%
  );
  left: -100px;
  top: 520px;
  animation-delay: -6s;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 87, 191, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 87, 191, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0;
  transition: 0.3s ease;
}

.header.is-scrolled {
  background: rgba(239, 244, 251, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(8, 38, 95, 0.08);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo__badge {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--primary-2));
  box-shadow: 0 0 0 8px rgba(19, 87, 191, 0.08);
}

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

.nav a {
  color: var(--text-soft);
  font-weight: 600;
  transition: 0.2s ease;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(19, 87, 191, 0.08);
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
  border-radius: 999px;
}

.hero {
  padding: 44px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(19, 87, 191, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 16px;
  max-width: 680px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero__text,
.section-head p,
.workflow-card p,
.cta p,
.footer p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero__text {
  max-width: 620px;
  font-size: 1.07rem;
  margin: 0 0 28px;
}

.hero__buttons,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

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

.btn--primary,
.btn--small {
  background: linear-gradient(135deg, var(--navy), var(--primary));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--small {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.btn--ghost {
  border-color: rgba(19, 87, 191, 0.16);
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  backdrop-filter: blur(8px);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.stat-card {
  min-width: 155px;
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

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

.stat-card span {
  color: var(--text-soft);
  font-weight: 600;
}

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

.phone {
  position: absolute;
  width: clamp(190px, 25vw, 280px);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 70px rgba(12, 38, 93, 0.18);
  backdrop-filter: blur(12px);
  will-change: transform;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone--main {
  width: clamp(230px, 31vw, 330px);
  right: 12%;
  top: 100px;
  z-index: 3;
}

.phone--left {
  left: 2%;
  top: 290px;
  z-index: 2;
}

.phone--right {
  right: -2%;
  top: 0;
  z-index: 1;
}

.hero-strip {
  overflow: hidden;
  padding-top: 8px;
}

.ticker {
  border-top: 1px solid rgba(19, 87, 191, 0.08);
  border-bottom: 1px solid rgba(19, 87, 191, 0.08);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(8px);
}

.ticker__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 22s linear infinite;
}

.ticker__track span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(19, 87, 191, 0.08);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.section {
  padding: 110px 0;
}

.section--soft {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.26),
    rgba(255, 255, 255, 0.06)
  );
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head h2,
.cta h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.feature-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(19, 87, 191, 0.12),
    rgba(61, 139, 255, 0.2)
  );
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

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

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.screen-card {
  padding: 16px;
  border: 0;
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-align: left;
}

.screen-card img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 0.72;
  object-fit: cover;
}

.screen-card span {
  display: block;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 800;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.workflow-card {
  display: flex;
  gap: 18px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.workflow-card__num {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--primary-2));
  color: #fff;
  font-weight: 900;
}

.workflow-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.workflow-card p {
  margin: 0;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(8, 38, 95, 0.98),
    rgba(19, 87, 191, 0.96)
  );
  color: #fff;
  box-shadow: 0 28px 70px rgba(10, 28, 68, 0.22);
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  padding: 30px 0 60px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(19, 87, 191, 0.08);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 18, 48, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox__dialog {
  position: relative;
  width: min(420px, 92vw);
  z-index: 1;
  animation: popUp 0.25s ease;
}

.lightbox__dialog img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.lightbox__close {
  position: absolute;
  top: -18px;
  right: -8px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

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

.reveal--delay {
  transition-delay: 0.14s;
}

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

.tilt-card {
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.float {
  animation: floatY 6s ease-in-out infinite;
}

.float--slow {
  animation-duration: 8.5s;
}

.float--reverse {
  animation-duration: 7.2s;
  animation-direction: reverse;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -30px, 0) scale(1.06);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes popUp {
  from {
    transform: scale(0.95) translateY(12px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.privacy-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 0;
}

.privacy-hero {
  width: 100%;
}

.privacy-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 700;
}

.privacy-card {
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  max-width: 860px;
}

.privacy-card h1 {
  margin: 16px 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.privacy-date {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.privacy-content p {
  margin: 0 0 16px;
  color: var(--text-soft);
  line-height: 1.8;
}

.privacy-content a {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero__grid,
  .feature-grid,
  .workflow {
    grid-template-columns: 1fr 1fr;
  }

  .hero__grid {
    align-items: start;
  }

  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-phone-stack {
    min-height: 700px;
  }

  .phone--main {
    right: 6%;
  }

  .phone--right {
    right: 0;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 84px;
    right: 20px;
    left: 20px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    border: 1px solid rgba(19, 87, 191, 0.08);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .burger {
    display: inline-block;
  }

  .header__actions .btn--small {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__grid,
  .feature-grid,
  .screens-grid,
  .workflow,
  .cta,
  .footer__inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero__grid {
    display: flex;
  }

  .hero-phone-stack {
    min-height: 620px;
    margin-top: 10px;
  }

  .phone--main {
    width: 230px;
    right: 18%;
    top: 120px;
  }

  .phone--left {
    width: 180px;
    left: 0;
    top: 280px;
  }

  .phone--right {
    width: 180px;
    right: 0;
    top: 10px;
  }

  .section {
    padding: 82px 0;
  }
}

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

  .header {
    padding: 12px 0;
  }

  .logo {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero__text {
    font-size: 1rem;
  }

  .hero-phone-stack {
    min-height: 520px;
  }

  .phone--main {
    width: 196px;
    top: 116px;
    right: 14%;
  }

  .phone--left,
  .phone--right {
    width: 146px;
  }

  .phone--left {
    top: 252px;
  }

  .workflow-card,
  .feature-card,
  .screen-card,
  .cta {
    border-radius: 22px;
  }

  .cta {
    padding: 26px 20px;
  }

  .stats-row {
    gap: 12px;
  }

  .stat-card {
    flex: 1 1 100%;
  }
}
