:root {
  color-scheme: dark;
  --bg: #0a0e14;
  --bg-elevated: #121820;
  --border: rgba(148, 163, 184, 0.12);
  --text: #e8eaed;
  --muted: #94a3b8;
  --accent: #60a5fa;
  --accent-soft: #93c5fd;
  --fire: #f97316;
  --fire-glow: rgba(249, 115, 22, 0.22);
  --radius: 16px;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  line-height: 1.55;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image: url("/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.55) 0%, rgba(10, 14, 20, 0.82) 100%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 130, 246, 0.1), transparent 55%);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(920px, 100% - 2.5rem);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.brand-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-icons img {
  border-radius: 7px;
  object-fit: cover;
}

.brand-icons__free {
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}

.brand-icons__pro {
  box-shadow: 0 4px 14px rgba(255, 77, 77, 0.28);
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.lang-switch button {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.15s,
    background 0.15s;
}

.lang-switch button:hover {
  color: var(--text);
}

.lang-switch button.is-active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.45);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 0.5rem;
}

.hero-icons {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1rem, 4vw, 1.75rem);
  margin-bottom: 1.25rem;
}

.hero-icon-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.hero-icon-tile img {
  width: clamp(80px, 18vw, 96px);
  height: clamp(80px, 18vw, 96px);
  border-radius: 22px;
  object-fit: cover;
}

.hero-icon-tile--free img {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(59, 130, 246, 0.28),
    0 24px 64px rgba(59, 130, 246, 0.12);
}

.hero-icon-tile--pro img {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(255, 77, 77, 0.28),
    0 24px 64px rgba(255, 77, 77, 0.12);
}

.hero-icon-tile figcaption {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-icon-tile--free figcaption {
  color: #5ecbff;
}

.hero-icon-tile--pro figcaption {
  color: #ff6b6b;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, #f8fafc 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  margin: 0 auto 1.5rem;
  font-size: clamp(0.72rem, 1.1vw + 0.62rem, 1.125rem);
  color: var(--muted);
  max-width: 100%;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(147, 197, 253, 0.35);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.55);
}

.btn-primary--soon {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.5), rgba(51, 65, 85, 0.6));
  border-color: var(--border);
  box-shadow: none;
  cursor: default;
}

.btn-primary--soon:hover {
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  color: var(--text);
  background: rgba(18, 24, 32, 0.6);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(30, 40, 55, 0.8);
}

.section {
  margin-bottom: 3rem;
}

.section-title {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.section-lead {
  margin: -0.5rem auto 1.5rem;
  max-width: 42ch;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.download-section {
  padding: 2rem 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(160deg, rgba(22, 28, 38, 0.95), rgba(12, 16, 24, 0.85));
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.download-section .section-title {
  margin-bottom: 0.5rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto 1rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.35rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(10, 14, 20, 0.5);
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.download-card--active {
  color: var(--text);
  border-color: rgba(96, 165, 250, 0.4);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.6));
}

.download-card--active:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
}

.download-card--soon {
  color: var(--muted);
  opacity: 0.75;
  cursor: not-allowed;
}

.download-card--soon .download-card__hint {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.download-card__label {
  font-weight: 650;
  font-size: 1rem;
  color: inherit;
}

.download-card__hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.download-all {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-soft);
  text-decoration: none;
}

.download-all:hover {
  text-decoration: underline;
}

.pricing-section {
  padding: 2rem 1.5rem 2.25rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(160deg, rgba(18, 24, 34, 0.92), rgba(10, 14, 20, 0.88));
  border: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pricing-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 14, 20, 0.55);
}

.pricing-card--pro {
  border-color: rgba(255, 77, 77, 0.35);
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.55), rgba(10, 14, 20, 0.75));
  box-shadow: 0 12px 40px rgba(255, 77, 77, 0.08);
}

.pricing-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-card__icon {
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.pricing-card__icon--pro {
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.25);
}

.pricing-card__tier {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.pricing-card--free .pricing-card__tier {
  color: #5ecbff;
}

.pricing-card--pro .pricing-card__tier {
  color: #ff6b6b;
}

.pricing-card__price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: #f1f5f9;
}

.pricing-card__features {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pricing-card__cta {
  align-self: flex-start;
  text-decoration: none;
}

.pricing-card__cta--secondary {
  font-size: 0.85rem;
  padding: 0.6rem 1.1rem;
}

.btn-secondary {
  color: var(--text);
  background: rgba(30, 40, 55, 0.85);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.35);
}

.pricing-card__note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #e8eaed;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.contact-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent-soft);
}

.contact-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.55);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.32), rgba(37, 99, 235, 0.18));
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}

.contact-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.site-footer-meta span {
  color: var(--muted);
}

@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .shell {
    padding-top: 1rem;
  }

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

  .btn {
    width: 100%;
  }

  .download-section {
    padding: 1.5rem 1rem;
  }
}
