:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: rgba(11, 25, 42, 0.82);
  --panel: rgba(12, 23, 40, 0.82);
  --panel-strong: rgba(17, 32, 54, 0.98);
  --text: #f5f7fb;
  --muted: #a5b4cd;
  --line: rgba(150, 176, 220, 0.16);
  --primary: #ff6a18;
  --primary-strong: #ff8a4c;
  --accent: #37c8ff;
  --success: #71f7b0;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(124, 92, 255, 0.2), transparent 34%),
    radial-gradient(circle at right, rgba(0, 212, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #08111f 0%, #040912 100%);
}

body.download-page {
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 106, 24, 0.18), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(55, 200, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #03070f 100%);
}

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

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

button,
a {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.45;
}

.page-shell::before {
  top: 60px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: rgba(255, 106, 24, 0.15);
}

.page-shell::after {
  top: 180px;
  right: -100px;
  width: 240px;
  height: 240px;
  background: rgba(55, 200, 255, 0.12);
}

.topbar,
.hero,
.pricing-grid,
.feature-grid,
.routing-grid,
.comparison-grid,
.footer,
.hero-actions,
.trust-points {
  display: flex;
}

.topbar {
  position: relative;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 18px 22px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  font-size: 0.95rem;
}

.ghost-link {
  color: var(--muted);
  font-weight: 600;
}

.ghost-link:hover {
  color: var(--text);
}

.language-switcher {
  position: absolute;
  top: -14px;
  right: 10px;
  display: inline-flex;
  align-items: center;
}

.language-switcher select {
  appearance: none;
  min-height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.88);
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.language-switcher select:focus {
  border-color: rgba(255, 106, 24, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 106, 24, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  align-items: flex-start;
  gap: 38px;
  padding: 20px 0 36px;
}

.hero-copy,
.hero-card,
.feature-card,
.price-card,
.comparison-item,
.faq-list details,
.footer {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-copy {
  flex: 1.18;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 106, 24, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 23, 40, 0.92) 0%, rgba(8, 17, 30, 0.88) 100%);
}

.hero-card {
  flex: 0.92;
  padding: 18px 18px 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(55, 200, 255, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 106, 24, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(14, 26, 46, 0.97) 0%, rgba(8, 17, 30, 0.94) 100%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.hero-text,
.section-text,
.feature-card p,
.price-description,
.comparison-item p,
.faq-list p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 68ch;
}

.hero-copy .promo-banner,
.hero-copy .trust-points,
.hero-copy .hero-actions {
  max-width: 68ch;
}

.promo-banner {
  margin: 0 0 6px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 106, 24, 0.28);
  border-radius: 16px;
  background: rgba(255, 106, 24, 0.08);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-actions {
  gap: 14px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgba(255, 106, 24, 0.28);
}

.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
  filter: grayscale(0.08);
}

.button.is-disabled:hover {
  transform: none;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.full-width {
  width: 100%;
}

.trust-points {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-points li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.trust-points li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 14px rgba(113, 247, 176, 0.5);
}

.plugin-shot-wrap {
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(55, 200, 255, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.34);
}

.plugin-shot-wrap::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 106, 24, 0.22);
  filter: blur(30px);
  pointer-events: none;
}

.plugin-shot {
  width: 100%;
  height: auto;
  filter: saturate(1.05) contrast(1.04);
}

.hero-card-copy {
  padding: 18px 8px 0;
}

.plugin-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-card-copy h3 {
  margin-bottom: 10px;
}

.hero-card-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-card-copy .plugin-label {
  color: #8be1ff;
}

main {
  display: grid;
  gap: 28px;
}

.download-layout {
  display: grid;
  gap: 28px;
}

.download-hero,
.download-card,
.download-support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(7, 17, 31, 0.52);
  box-shadow: var(--shadow);
}

.download-hero {
  padding: 42px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 24, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(16, 29, 49, 0.94) 0%, rgba(7, 17, 31, 0.88) 100%);
}

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 26px;
  align-items: stretch;
}

.download-card {
  padding: 24px;
}

.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(113, 247, 176, 0.2);
  border-radius: 999px;
  background: rgba(113, 247, 176, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.success-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(113, 247, 176, 0.55);
}

.download-hero-copy {
  position: relative;
  z-index: 1;
}

.download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 4px;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.download-visual {
  display: grid;
  gap: 16px;
}

.download-visual-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.download-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}

.download-summary {
  display: grid;
  gap: 14px;
}

.download-summary-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.summary-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.download-summary-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.download-summary-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.download-note {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.download-note code {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.download-info {
  margin-bottom: 10px;
}

.download-card-text {
  margin-bottom: 18px;
}

.download-package-card {
  background:
    linear-gradient(180deg, rgba(14, 25, 42, 0.96) 0%, rgba(8, 16, 29, 0.88) 100%);
}

.package-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.package-header h2 {
  margin-bottom: 0;
}

.package-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 106, 24, 0.22);
  border-radius: 999px;
  background: rgba(255, 106, 24, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.package-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.package-stats {
  display: grid;
  gap: 12px;
}

.package-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.package-stat strong {
  display: block;
  font-size: 1.15rem;
}

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

.download-support-card {
  padding: 28px;
}

.download-step-card {
  position: relative;
  padding-top: 54px;
}

.step-number {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.compact-list {
  margin-bottom: 0;
}

.features,
.pricing,
.routing,
.comparison,
.faq {
  padding: 38px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.52);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

.feature-grid,
.pricing-grid,
.routing-grid,
.comparison-grid {
  gap: 20px;
}

.feature-grid,
.routing-grid,
.comparison-grid {
  flex-wrap: wrap;
}

.feature-card,
.routing-card,
.comparison-item {
  flex: 1 1 260px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card,
.routing-card,
.price-card,
.comparison-item,
.faq-list details,
.hero-copy,
.hero-card {
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.feature-card:hover,
.routing-card:hover,
.comparison-item:hover,
.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

.routing-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.routing-steps {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 12px;
  line-height: 1.7;
}

.routing-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(55, 200, 255, 0.22);
  border-radius: 16px;
  background: rgba(55, 200, 255, 0.06);
  color: var(--muted);
  line-height: 1.7;
}

.pricing-grid {
  align-items: flex-start;
  flex-wrap: wrap;
}

.price-card {
  position: relative;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 28px 28px;
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(0) scale(1);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(23, 34, 62, 0.97) 0%, rgba(12, 23, 40, 0.95) 100%);
  border-color: rgba(255, 106, 24, 0.42);
  transform: translateY(-14px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 106, 24, 0.08);
}

.price-card:hover {
  transform: translateY(-10px) scale(1.045);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 36px 95px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(55, 200, 255, 0.08);
  z-index: 2;
}

.price-card.featured:hover {
  transform: translateY(-18px) scale(1.06);
  border-color: rgba(255, 106, 24, 0.58);
  box-shadow:
    0 42px 105px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 106, 24, 0.16);
}

.price-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(55, 200, 255, 0.08);
  filter: blur(18px);
  pointer-events: none;
}

.badge,
.plan-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.badge {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.plan-tag {
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

.price-card h3 {
  margin-bottom: 10px;
}

.price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
  line-height: 1;
}

.price-wrap {
  margin-bottom: 6px;
}

.old-price {
  margin-bottom: 4px;
  color: rgba(165, 180, 205, 0.72);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.sale-note {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.price-card .button {
  margin-top: auto;
}

.comparison-label {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 22px;
  border-radius: 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list summary::marker {
  color: var(--accent);
}

.faq-list p {
  margin: 12px 0 4px;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 22px;
  flex-wrap: wrap;
}

html[dir="rtl"] .topbar,
html[dir="rtl"] .hero,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .trust-points,
html[dir="rtl"] .feature-grid,
html[dir="rtl"] .pricing-grid,
html[dir="rtl"] .comparison-grid,
html[dir="rtl"] .footer {
  direction: rtl;
}

html[dir="rtl"] .trust-points li,
html[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 22px;
}

html[dir="rtl"] .trust-points li::before,
html[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .routing-steps {
  padding-left: 0;
  padding-right: 20px;
}

@media (max-width: 980px) {
  .hero {
    flex-direction: column;
  }

  .hero-copy,
  .hero-card {
    width: 100%;
  }

  .download-hero-grid,
  .download-support,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card:hover,
  .price-card.featured:hover {
    transform: translateY(-4px) scale(1.015);
  }

  .language-switcher {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .topbar,
  .features,
  .pricing,
  .routing,
  .comparison,
  .faq,
  .download-hero,
  .download-card,
  .hero-copy,
  .hero-card,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar,
  .footer {
    border-radius: 22px;
  }

  .topbar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher {
    width: 100%;
  }

  .package-header {
    flex-direction: column;
  }

  h1 {
    font-size: 2.35rem;
  }

  .button,
  .ghost-link,
  .language-switcher,
  .language-switcher select,
  .download-actions .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
