:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-soft: #ffffff;
  --bg-grad-start: #e0e7ff;
  --card: #ffffff;
  --card-strong: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b1220;
    --bg-soft: #0f172a;
    --bg-grad-start: #1e293b;
    --card: #111827;
    --card-strong: #1f2937;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #3b82f6;
    --accent-strong: #2563eb;
    --border: rgba(148, 163, 184, 0.2);
    --shadow: 0 30px 60px rgba(2, 6, 23, 0.6);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, var(--bg-grad-start), var(--bg) 60%);
  color: var(--text);
  line-height: 1.6;
}

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

.hidden {
  display: none;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.name {
  font-size: 1.1rem;
}

.links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

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

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.hero {
  padding: 40px 0 70px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 10px 0 12px;
  line-height: 1.1;
}

.hero-content p {
  color: var(--muted);
  max-width: 520px;
}

.tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.section {
  padding: 50px 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 10px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
}

.video-frame {
  width: min(960px, 100%);
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  padding-top: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.slideshow {
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slideshow-inner {
  position: relative;
}

.slideshow-slide {
  display: none;
}

.slideshow-slide.is-active {
  display: block;
}

.slideshow-slide img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.slideshow-slide figcaption {
  padding: 12px 16px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.slideshow-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 0 4px;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  opacity: 0.7;
}

.slideshow-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.gallery-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item figcaption {
  padding: 12px 16px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.gallery-item-wide {
  grid-column: span 2;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.field span {
  font-size: 0.9rem;
}

.field input,
.field textarea {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 20px;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.downloads-grid .download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.os {
  font-weight: 600;
  font-size: 1.05rem;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 24px;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow);
}

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.launch-card {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.18);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.85rem;
  width: fit-content;
}

.price {
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  font-weight: 700;
}

.price-sub {
  color: var(--muted);
}

.strike {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 600;
}

.pricing-details {
  display: grid;
  gap: 12px;
}

.detail-title {
  font-weight: 600;
}

.detail-body {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-item-wide {
    grid-column: span 1;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 20px 0 60px;
  }

  .downloads-grid .download-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
