﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #090909;
  --surface: #141414;
  --surface-2: #1d1d1d;
  --text: #f8fafc;
  --muted: #a1a1aa;
  --stroke: #333333;
  --brand: #a60505;
  --brand-light: #d91a1a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 14%, rgba(217, 26, 26, 0.1), transparent 40%),
    linear-gradient(180deg, #070707 0%, #0b0b0b 42%, #070707 100%);
  min-height: 100vh;
}

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

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

.page-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.8);
}

.page-nav__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-nav__logo img {
  height: 24px;
  width: auto;
}

.page-nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.page-nav__links a {
  color: rgba(248, 250, 252, 0.9);
}

.page-nav__links a:hover {
  color: #ffd6d6;
}

.page-main {
  padding: 168px 0 70px;
}

.panel {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.94), rgba(13, 13, 13, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.lead {
  margin: 16px 0 0;
  color: #e2e8f0;
  font-size: 18px;
  max-width: 56ch;
}

.copy {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.copy p {
  margin: 0 0 14px;
}

.grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface-2);
  border-radius: 14px;
  padding: 14px;
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-light);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.kv {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.kv div {
  display: grid;
  gap: 2px;
}

.kv dt {
  color: #fda4a4;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kv dd {
  margin: 0;
  color: #e2e8f0;
  font-size: 14px;
}

.page-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 13px;
}

.page-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-footer__links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.page-footer__links a {
  color: #e2e8f0;
}

.page-footer__links a:hover {
  color: #ffd6d6;
}

.page-lang {
  margin-bottom: 10px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.page-lang label {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.72);
}

.page-lang select {
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(38, 38, 38, 0.95);
  color: #f8fafc;
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
}

.plans-panel {
  overflow: visible;
}

.plans-kicker {
  margin: 0 0 10px;
  color: rgba(255, 184, 184, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 700;
}

.plans-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
}

.plan-card {
  position: relative;
  border-radius: 20px;
  padding: 24px 22px 22px;
  border: 1px solid #d8dee7;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.28);
}

.plan-card h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: #0f0f0f;
}

.plan-card--pro {
  border-color: rgba(166, 5, 5, 0.62);
  background: linear-gradient(180deg, #fff6f6 0%, #ffffff 100%);
  box-shadow: 0 24px 38px rgba(115, 2, 2, 0.24);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.plan-price {
  margin: 14px 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 0.95;
  color: #0f0f0f;
}

.plan-card--pro .plan-price {
  color: var(--brand);
}

.plan-currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
}

.plan-price-note {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 15px;
}

.plan-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.4;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.plans-checkout-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(166, 5, 5, 0.32);
  border-radius: 12px;
  background: rgba(166, 5, 5, 0.12);
  color: #fbe7e7;
  font-size: 14px;
  line-height: 1.45;
}

.plans-actions {
  margin-top: 16px;
}

@media (max-width: 860px) {
  .page-nav__inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-nav__links {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 13px;
  }

  .page-main {
    padding-top: 142px;
  }

  .lead {
    font-size: 16px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .page-main {
    padding-top: 132px;
  }
}
