*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1a2236;
  --surface: #161d2f;
  --border: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #06b6d4;
  --gradient: linear-gradient(135deg, #3b82f6, #06b6d4);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--text);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.logo__img {
  width: 36px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--text);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.15), transparent),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(6, 182, 212, 0.1), transparent);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 48px;
}

.stat__value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.stat__label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Screenshots */
.screenshots {
  width: 100%;
}

.screenshots__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

.screenshots__tab {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

.screenshots__tab:hover {
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.3);
}

.screenshots__tab--active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.screenshots__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 80px rgba(59, 130, 246, 0.1);
  background: var(--bg-card);
}

.screenshots__img {
  display: none;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.screenshots__img--active {
  display: block;
}

.screenshots-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.screenshots-showcase__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.screenshots-showcase__item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.screenshots-showcase__item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshots-showcase__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-card);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__desc {
  font-size: 17px;
  color: var(--text-muted);
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.advantage-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.advantage-card__icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.advantage-card__vs {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #f87171;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-item:hover {
  background: var(--surface);
  border-color: rgba(59, 130, 246, 0.2);
}

.feature-item__num {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Download */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.download-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.download-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.download-card--featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), var(--bg-card));
}

.download-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.download-card__icon {
  margin-bottom: 20px;
}

.download-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.download-card__size {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.download-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.review-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.review-card__stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-card__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.review-card__role {
  font-size: 12px;
  color: var(--text-muted);
}

.reviews-summary {
  text-align: center;
}

.reviews-summary__score {
  font-size: 48px;
  font-weight: 800;
  display: block;
}

.reviews-summary__stars {
  color: #fbbf24;
  font-size: 24px;
  letter-spacing: 4px;
}

.reviews-summary__count {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.3);
}

.faq-item__question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__question:hover {
  color: var(--primary);
}

.faq-item__answer {
  padding: 0 24px 20px;
}

.faq-item__answer p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* CTA */
.cta {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(59, 130, 246, 0.12), transparent);
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta__desc {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .advantages-grid,
  .features-grid,
  .download-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .section {
    padding: 64px 0;
  }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
