:root {
  --bg-dark: #0d0c14;
  --bg-card: rgba(22, 20, 34, 0.85);
  --bg-card-hover: rgba(30, 27, 46, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(147, 51, 234, 0.4);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #9333ea;
  --primary-hover: #a855f7;
  --accent: #f59e0b;
  --cyan: #06b6d4;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(13, 12, 20, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 20px;
}

.logo-badge {
  font-size: 24px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover, .nav a.active {
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #8b5cf6);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid var(--border-glow);
  color: #c084fc;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Hero */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(147, 51, 234, 0.18) 0%, transparent 60%);
}

.hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff, #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section */
.section {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Tariffs */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.tariff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.tariff-card:hover {
  transform: translateY(-4px);
}

.tariff-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.15) 0%, var(--bg-card) 100%);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.tariff-card.lifetime {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, var(--bg-card) 100%);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.tariff-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tariff-duration {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.tariff-price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.tariff-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.tariff-features li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payments-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 30px auto 0;
  line-height: 1.6;
}

/* Legal pages */
.legal-content {
  padding: 60px 20px;
  max-width: 860px;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 36px 0 16px;
  color: #e5e7eb;
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-box {
  background: rgba(147, 51, 234, 0.08);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0 32px;
}

.requisites-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 36px;
}

.requisites-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.requisites-table td:first-child {
  width: 35%;
  color: var(--text-muted);
}

.requisites-table a, .legal-content a {
  color: var(--cyan);
  text-decoration: none;
}

.requisites-table a:hover, .legal-content a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
  background: #09080e;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text-main);
}
