* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #090a0f;
  color: #e7ecff;
  font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 20px;
}

/* темный градиентный фон */
.bg-glow {
  position: fixed;
  top: -30%;
  left: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at 70% 70%, rgba(90, 170, 205, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* навигация */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  background: rgba(7, 10, 14, 0.96);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #f7f9ff;
  text-decoration: none;
}

.logo span {
  color: #7fd1ff;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(127, 209, 255, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #d8dde8;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: #8fc9ff;
}

.btn-discord {
  background: #1f3f5c;
  padding: 10px 24px;
  border-radius: 40px;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(35, 75, 115, 0.28);
  transition: all 0.25s ease;
  border: 1px solid rgba(120, 170, 220, 0.18);
}

.btn-discord:hover {
  background: #35618c;
  box-shadow: 0 6px 26px rgba(42, 97, 149, 0.36);
  transform: scale(1.02);
}

/* hero */
.hero {
  padding: 100px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.05;
  background: linear-gradient(145deg, #f2f5ff 15%, #a6b7d9 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  color: #c6d1e4;
  max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.btn-primary {
  display: inline-block;
  padding: 18px 48px;
  background: linear-gradient(145deg, #27436b, #131a25);
  color: white;
  font-weight: 600;
  font-size: 18px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(20, 40, 80, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid rgba(110, 140, 185, 0.2);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(30, 50, 95, 0.45);
  background: linear-gradient(145deg, #39609a, #1f2c44);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 60px 0 70px;
}

.feature-card {
  background: rgba(18, 24, 36, 0.82);
  backdrop-filter: blur(6px);
  padding: 28px 18px;
  border-radius: 28px;
  border: 1px solid rgba(180, 200, 240, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.feature-card:hover {
  border-color: rgba(125, 165, 220, 0.35);
  background: rgba(22, 28, 42, 0.92);
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #b8d0ff;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-card p {
  color: #9aafdf;
  font-size: 15px;
  font-weight: 300;
}

/* pricing */
.pricing-section {
  padding: 40px 0 80px;
}

.pricing-section h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 48px;
  color: #e6edff;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.plan-card {
  background: rgba(12, 16, 24, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(160, 180, 220, 0.08);
  border-radius: 32px;
  padding: 30px 22px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 170, 220, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: rgba(16, 20, 32, 0.98);
}

.plan-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(110, 150, 190, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-card:hover::after {
  opacity: 1;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #e6ebff;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 34px;
  font-weight: 700;
  color: #a3b8ff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: #9aa8c1;
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 28px;
}

.plan-features li {
  color: #ccd4e9;
  font-weight: 300;
  font-size: 15px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-features li::before {
  content: '✦';
  color: #7ba6d6;
  margin-right: 12px;
  font-size: 14px;
}

.btn-buy {
  display: block;
  width: 100%;
  padding: 14px 0;
  text-align: center;
  background: rgba(46, 60, 82, 0.18);
  border: 1px solid rgba(128, 156, 190, 0.18);
  color: #eef2ff;
  font-weight: 600;
  border-radius: 60px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  font-size: 16px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.btn-buy:hover {
  background: rgba(72, 96, 130, 0.26);
  color: white;
  border-color: rgba(150, 185, 225, 0.28);
  box-shadow: 0 4px 20px rgba(18, 38, 72, 0.3);
}

/* footer */
footer {
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #b9c4dc;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.3px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

footer a {
  color: #9ab9e0;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #c4d5ff;
}

/* адаптив */
@media (max-width: 700px) {
  .hero h1 {
    font-size: 38px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a:not(.btn-discord) {
    display: none;
  }
  .btn-discord {
    padding: 8px 18px;
    font-size: 14px;
  }
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 30px;
  }
}
