﻿:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-tint: #edf4ff;
  --text: #152033;
  --text-soft: #5f6c81;
  --line: rgba(21, 101, 192, 0.12);
  --line-strong: rgba(21, 101, 192, 0.2);
  --accent: #1565c0;
  --accent-strong: #0f4fa0;
  --accent-soft: rgba(21, 101, 192, 0.1);
  --accent-hero: #7fc0ff;
  --success: #1f8f5f;
  --warning: #d88a1c;
  --shadow-sm: 0 10px 24px rgba(16, 34, 63, 0.08);
  --shadow-lg: 0 24px 56px rgba(10, 24, 48, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(21, 101, 192, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 28%, #eef2f7 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 245, 247, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.scrolled {
  background: rgba(244, 245, 247, 0.94);
  border-color: rgba(21, 101, 192, 0.08);
  box-shadow: 0 12px 30px rgba(12, 25, 44, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  width: auto;
  height: 56px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav__links a,
.footer__nav a,
.footer__contact a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav__links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible,
.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--accent);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav__langs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(21, 101, 192, 0.12);
}

.nav__langs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  opacity: 0.55;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav__langs button:hover,
.nav__langs button:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav__langs button.active {
  opacity: 1;
  border-color: rgba(21, 101, 192, 0.45);
}

.nav__langs img {
  width: 22px;
  height: 16px;
  border-radius: 999px;
}

.nav__toggle {
  display: none;
  flex-shrink: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--accent);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #3487ec 100%);
  box-shadow: 0 16px 30px rgba(21, 101, 192, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 20px 34px rgba(21, 101, 192, 0.34);
}

.btn--outline {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.74);
  border: 2px solid rgba(21, 101, 192, 0.24);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(21, 101, 192, 0.08);
}

main section {
  padding: 88px 0;
}

.section__header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section__title {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 2.3vw, 2.7rem);
  line-height: 1.12;
}

.section__subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 0;
}

.hero__bg {
  display: none;
}

.hero__banner {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 24px;
}

.hero__banner img {
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
}

.hero__overlay {
  padding: 40px 0 10px;
  text-align: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(21, 101, 192, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__badge--alpha {
  border-color: rgba(216, 138, 28, 0.22);
  background: rgba(216, 138, 28, 0.1);
  color: #9b5f10;
}

.hero__badge--trial {
  border-color: rgba(31, 143, 95, 0.2);
  background: rgba(31, 143, 95, 0.09);
  color: var(--success);
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__tagline {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--text);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero__desc {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.9vw, 1.15rem);
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__scroll-hint {
  display: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.features {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(237, 244, 255, 0.72));
}

.features__grid,
.about__grid {
  display: grid;
  gap: 22px;
}

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

.feature-card,
.about__panel,
.store-card,
.buy__soon,
.trial__card {
  border-radius: var(--radius);
}

.feature-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.feature-card h3,
.about__panel h3,
.trial__main h3,
.feature-photo__text h3,
.store-card h4 {
  margin: 0 0 8px;
  line-height: 1.2;
}

.feature-card p,
.about__panel p,
.trial__copy,
.feature-photo__text p,
.store-card p,
.buy__soon,
.faq__a p,
.footer__text,
.trial__note {
  margin: 0;
  color: var(--text-soft);
}

.feature-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  margin: 28px 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.feature-photo--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.feature-photo__img {
  min-height: 300px;
  background: linear-gradient(135deg, #0a1a30, #184373);
}

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

.feature-photo__img--fallback {
  background:
    radial-gradient(circle at top right, rgba(127, 192, 255, 0.22), transparent 24%),
    linear-gradient(145deg, #0b1628 0%, #12345c 100%);
}

.feature-photo__text {
  padding: 34px;
  align-self: center;
}

.feature-photo__eyebrow,
.trial__eyebrow,
.footer__label {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trial {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(21, 101, 192, 0.06));
}

.trial__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  padding: 32px;
}

.trial__main h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.trial__copy {
  margin-bottom: 20px;
}

.trial__meta {
  display: grid;
  gap: 14px;
}

.trial__meta-item {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(21, 101, 192, 0.06);
  border: 1px solid rgba(21, 101, 192, 0.1);
}

.trial__meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trial__meta-value {
  display: block;
  font-weight: 700;
}

.trial__note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.92rem;
}

.buy__soon {
  padding: 38px 28px;
  text-align: center;
  border: 1px dashed rgba(21, 101, 192, 0.24);
}

.about {
  background: rgba(255, 255, 255, 0.62);
}

.about__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about__panel {
  padding: 26px;
}

.faq {
  background: linear-gradient(180deg, rgba(237, 244, 255, 0.6), rgba(255, 255, 255, 0.2));
}

.faq__list {
  max-width: 860px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.faq__item {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
}

.faq__item:last-child {
  border-bottom: 0;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq__q::after {
  content: "+";
  flex-shrink: 0;
  margin-left: 18px;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.faq__item.open .faq__q::after {
  content: "-";
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq__a p {
  padding: 0 26px 24px;
}

.footer {
  padding: 42px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(160deg, #091220 0%, #0f2746 100%);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(220px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.footer__logo {
  width: auto;
  height: 38px;
  margin-bottom: 14px;
}

.footer__nav {
  display: grid;
  gap: 10px;
}

.footer__nav a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer__label {
  color: rgba(255, 255, 255, 0.56);
}

.footer__bottom {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
}

@media (max-width: 960px) {
  .features__grid,
  .about__grid,
  .trial__card,
  .footer__inner,
  .feature-photo,
  .feature-photo--reverse {
    grid-template-columns: 1fr;
  }

  .feature-photo__img {
    min-height: 240px;
  }

  .footer__contact {
    justify-items: start;
  }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: block;
    margin-left: auto;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(244, 245, 247, 0.98);
    border-bottom: 1px solid rgba(21, 101, 192, 0.08);
    box-shadow: 0 18px 40px rgba(11, 23, 42, 0.12);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(21, 101, 192, 0.08);
  }

  .nav__links a::after {
    display: none;
  }

  .nav__langs {
    margin: 12px 0 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(21, 101, 192, 0.08);
  }

  .hero {
    padding-top: 98px;
  }

  .hero__overlay {
    padding-top: 30px;
  }
}

@media (max-width: 640px) {
  main section {
    padding: 72px 0;
  }

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

  .hero {
    padding: 98px 0 0;
  }

  .hero__tagline {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    min-height: 50px;
  }

  .feature-card,
  .about__panel,
  .trial__card,
  .feature-photo__text,
  .buy__soon {
    padding: 22px;
  }

  .faq__q {
    padding: 18px 18px 18px 20px;
  }

  .faq__a p {
    padding: 0 20px 20px;
  }

  .footer__inner {
    text-align: center;
  }

  .footer__brand,
  .footer__contact {
    justify-items: center;
  }
}
