:root {
  --bg: #030b1d;
  --bg-2: #08142e;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.72);
  --soft: rgba(245, 247, 255, 0.52);
  --accent: #1f7cff;
  --accent-2: #5fa0ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 36px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
p {
  font-size: 16px;
  line-height: 1.6;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  position: relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(65, 111, 206, 0.33), transparent 28%),
    radial-gradient(circle at 85% 82%, rgba(110, 83, 212, 0.28), transparent 22%),
    linear-gradient(90deg, #1b3566 0%, #08142e 34%, #030b1d 60%, #17264b 100%);
  min-height: 100vh;
  overflow-x: hidden;
  animation: pageFade 0.6s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 25%, rgba(31, 124, 255, 0.08), transparent 24%),
    radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.03), transparent 18%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  width: 280px;
  height: 280px;
  top: -90px;
  left: -80px;
  background: #3b82f6;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.42;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  bottom: -100px;
  right: -70px;
  background: #8b5cf6;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

#header,
main {
  position: relative;
  z-index: 2;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.nav {
  position: relative;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(184, 188, 204, 0.48);

  font-size: 18px;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
  color: rgba(240, 242, 250, 0.48) !important;
}
.nav-links a{
  color: var(--text);color: rgba(184, 188, 204, 0.48) !important;
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #2683ff, #1f7cff);
  color: white;
  box-shadow: 0 14px 28px rgba(31, 124, 255, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}

/* Typography */
.eyebrow,
.section-label {
  color: var(--accent-2);
  font-size: 14px;
  font-style: italic;
}

.eyebrow {
  margin-bottom: 14px;
}

.section-label {
  margin-bottom: 8px;
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 600;
  max-width: 470px;
}

h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 760px;
}

.section-desc {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 800px;
}

/* Hero */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: start;
  padding: 32px 0;
}

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

.home-hero p {
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 1.35;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--soft);
  font-size: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
}

.hero-device {
  width: 100%;
  max-width: 280px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 8px;
  overflow: hidden;
}

.hero-device-screen {
  min-height: 340px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 88%, rgba(116, 92, 219, 0.25), transparent 22%),
    radial-gradient(circle at 18% 10%, rgba(85, 132, 231, 0.28), transparent 26%),
    linear-gradient(90deg, #1b3566 0%, #08142e 34%, #030b1d 60%, #17264b 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* ВОТ ГЛАВНЫЙ FIX */
.hero-device-screen img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.hero-device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-size: 9px;
}
/* Sections */
section {
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom:32px;
  max-width: 800px;
}

.section-mini-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 10px;
  max-width: 640px;
}

/* Cards */
.feature-card,
.stat-card,
.price-card,
.cta-box,
.cycle-box,
.screen-shot {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.feature-card,
.stat-card,
.price-card,
.screen-shot {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.stat-card:hover,
.price-card:hover,
.screen-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Cards content */
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(31, 124, 255, 0.12);
  border: 1px solid rgba(31, 124, 255, 0.22);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 14px;
}

.feature-card h3,
.price-card h3,
.stat-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.feature-card p,
.price-card p,
.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Cycle */
.cycle-box {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
}

.cycle-title {
  position: absolute;
  top: 16px;
  left: 20px;
  margin: 0;

  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 600;

  color: rgba(6, 17, 61, 0.32);

  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.cycle-row {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 10px;
  margin: 44px 0 18px;
}

.cycle-row .dot {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f4f6fb;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
}

.cycle-row .connector {
  height: 2px;
  background: rgba(255, 255, 255, 0.84);
  flex: 1;
}

.cycle-note {
  position: relative;
  z-index: 2;

  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  max-width: 640px;
  margin: 0;
}

/* Screens */
.screens-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.screen-shot {
  overflow: hidden;
  border-radius: 18px;
}

.screen-shot-frame {
  min-height: 255px;

  overflow: hidden;
  border-radius: 28px;
  line-height: 0;
  background:
    radial-gradient(circle at 85% 88%, rgba(116, 92, 219, 0.25), transparent 22%),
    radial-gradient(circle at 18% 10%, rgba(85, 132, 231, 0.28), transparent 26%),
    linear-gradient(90deg, #1b3566 0%, #08142e 34%, #030b1d 60%, #17264b 100%);

}
.screen-shot-frame img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}
.screen-shot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-size: 9px;
}

/* Pricing */
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 10px 0 32px;
}

.price strong {
  font-size: 32px;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.price span {
  color: var(--muted);
  font-size: 16px;
}

.price-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.featured {
  background: linear-gradient(180deg, rgba(106, 120, 255, 0.12), rgba(255,255,255,0.05));
}

/* CTA */
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 20px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-actions .btn {
  width: auto;
  min-width: unset;
  white-space: nowrap;
}
/* Footer */
footer {
  padding: 30px 0 40px;
  color: var(--soft);
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 16px;
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Review cycle animation */
.cycle-row-animate .dot {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  box-shadow: 0 0 0 rgba(31, 124, 255, 0);
}

.cycle-row-animate .connector {
  transform: scaleX(0);
  transform-origin: left center;
  background: rgba(255, 255, 255, 0.28);
}

.cycle-row-animate.is-visible .dot:nth-child(1) {
  animation: cycleGlowDot 0.7s ease forwards;
  animation-delay: 0.08s;
}

.cycle-row-animate.is-visible .connector:nth-child(2) {
  animation: cycleConnector 0.45s ease forwards;
  animation-delay: 0.22s;
}

.cycle-row-animate.is-visible .dot:nth-child(3) {
  animation: cycleGlowDot 0.7s ease forwards;
  animation-delay: 0.36s;
}

.cycle-row-animate.is-visible .connector:nth-child(4) {
  animation: cycleConnector 0.45s ease forwards;
  animation-delay: 0.50s;
}

.cycle-row-animate.is-visible .dot:nth-child(5) {
  animation: cycleGlowDot 0.7s ease forwards;
  animation-delay: 0.64s;
}

.cycle-row-animate.is-visible .connector:nth-child(6) {
  animation: cycleConnector 0.45s ease forwards;
  animation-delay: 0.78s;
}

.cycle-row-animate.is-visible .dot:nth-child(7) {
  animation: cycleGlowDot 0.7s ease forwards;
  animation-delay: 0.92s;
}

.cycle-row-animate.is-visible .connector:nth-child(8) {
  animation: cycleConnector 0.45s ease forwards;
  animation-delay: 1.06s;
}

.cycle-row-animate.is-visible .dot:nth-child(9) {
  animation: cycleGlowDot 0.7s ease forwards;
  animation-delay: 1.20s;
}

@keyframes cycleGlowDot {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
    box-shadow: 0 0 0 rgba(31, 124, 255, 0);
  }
  55% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    box-shadow:
      0 0 0 10px rgba(31, 124, 255, 0.10),
      0 0 24px rgba(31, 124, 255, 0.28);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    box-shadow:
      0 0 0 0 rgba(31, 124, 255, 0),
      0 0 0 rgba(31, 124, 255, 0);
  }
}

@keyframes cycleConnector {
  0% {
    transform: scaleX(0);
    background: rgba(255, 255, 255, 0.18);
  }
  100% {
    transform: scaleX(1);
    background: rgba(255, 255, 255, 0.84);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .home-hero,
  .grid-3,
  .pricing,
  .screens-track,
  .cta-box {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .home-hero {
    display: grid;
    gap: 24px;
  }

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

  .hero-visual {
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .cycle-row {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .cycle-row .connector {
    min-width: 28px;
  }

  .screens-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 6px;
  }

  .screen-shot {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}
.glass-box,
.faq-item,
.contact-box,
.quick-card,
.feature-card,
.stat-card,
.price-card,
.screen-preview,
.cta-box,
.cycle-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.glass-box:hover,
.quick-card:hover,
.faq-entry:hover,
.feature-card:hover,
.stat-card:hover,
.price-card:hover,
.screen-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.glass-box,
.quick-card,
.faq-entry,
.contact-box,
.feature-card,
.stat-card,
.price-card,
.screen-preview {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Generic grids */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

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

/* Help / Contact / Legal */
.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.steps li {
  margin-bottom: 10px;
}

.contact-box {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-email {
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
}

.legal-text {
  margin-top: 20px;
}

.legal-text h3 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 500;
}

.legal-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* FAQ accordion */
.faq-accordion {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.faq-entry {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.faq-entry summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

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

.faq-entry summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  font-size: 24px;
  font-weight: 400;
}

.faq-entry[open] summary::after {
  content: "–";
}

.faq-entry p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.faq-entry a {
  color: var(--text);
}