/* ===== Переменные и глобальные стили ===== */
:root {
  --bg-dark: #0a0a0f;
  --bg-darker: #050507;
  --glass-bg: rgba(20, 20, 30, 0.4);
  --glass-border: rgba(255, 140, 0, 0.2);
  --orange: #f97316;
  --orange-dark: #e05e00;
  --orange-glow: rgba(249, 115, 22, 0.5);
  --text-light: #f0f0f0;
  --text-dim: #b0b0b0;
  --border-radius: 24px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Фоновые эффекты */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc0IiBudW1PY3RhdmVzPSIzIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNmKSIgb3BhY2l0eT0iMC4wNCIgLz48L3N2Zz4=');
  pointer-events: none;
  opacity: 0.3;
  z-index: 1;
}

.gradient-bg {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(249,115,22,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(249,115,22,0.1) 0%, transparent 50%);
  z-index: 0;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ===== Типография ===== */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--orange);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--orange-glow);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--orange-glow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  box-shadow: 0 0 15px var(--orange-glow);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--bg-dark);
}

/* ===== Glass-эффект ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 20px;
  z-index: 100;
  margin-top: 20px;
  border-radius: 60px;
  padding: 10px 30px;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--orange-glow));
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  color: var(--text-dim);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
  transition: width 0.3s;
}

.nav-list a:hover {
  color: var(--text-light);
}

.nav-list a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--orange);
  font-size: 2.5rem;
  cursor: pointer;
}

/* ===== Hero секция ===== */
.hero {
  padding: 100px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.glitch {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  position: relative;
  color: white;
  text-shadow: 0.05em 0 0 var(--orange), -0.05em -0.025em 0 rgba(255,0,0,0.7);
  animation: glitch-shake 0.3s infinite alternate;
}

.glitch .thin {
  font-weight: 400;
  font-size: 2rem;
  display: block;
  color: var(--text-dim);
  text-shadow: none;
}

@keyframes glitch-shake {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 0); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

.hero-text {
  color: var(--text-dim);
  margin: 30px 0;
  font-size: 1.1rem;
}

.floating {
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--orange-glow));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.hero-caption {
  margin-top: 20px;
  color: var(--text-dim);
  font-style: italic;
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 0 20px 20px 0;
}

/* ===== Статистика ===== */
.stats {
  padding: 80px 0;
  background: rgba(0,0,0,0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.stat-card:hover {
  border-color: var(--orange);
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--orange-glow);
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 15px;
  text-shadow: 0 0 20px var(--orange-glow);
}

.stat-label {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===== Преимущества ===== */
.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  border-color: var(--orange);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  border: 1px solid var(--orange);
}

.feature-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--orange));
}

.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-dim);
  line-height: 1.8;
}

/* ===== Отзывы ===== */
.testimonials {
  padding: 80px 0;
  background: rgba(0,0,0,0.3);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid transparent;
}

.testimonial-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 30px var(--orange-glow);
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  color: var(--orange);
  font-weight: 600;
  text-align: right;
}

.testimonial-img {
  width: 100%;
  border-radius: 15px;
  border: 1px solid var(--orange);
}

/* ===== Доступ ===== */
.access {
  padding: 80px 0;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.access-content {
  padding: 50px;
}

.access-intro {
  color: var(--text-dim);
  margin: 20px 0 30px;
}

.access-steps {
  list-style: none;
  margin: 30px 0;
}

.access-steps li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--bg-dark);
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 0 15px var(--orange-glow);
}

.glow {
  filter: drop-shadow(0 0 30px var(--orange-glow));
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% { filter: drop-shadow(0 0 20px var(--orange-glow)); }
  50% { filter: drop-shadow(0 0 50px var(--orange)); }
  100% { filter: drop-shadow(0 0 20px var(--orange-glow)); }
}

/* ===== Контакты ===== */
.contact {
  padding: 80px 0;
  background: rgba(0,0,0,0.2);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-group.full-width {
  flex: 0 0 100%;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 500;
}

input, textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-light);
  font-family: inherit;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 20px var(--orange-glow);
}

.agree {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agree input {
  width: auto;
}

.terms-link {
  color: var(--orange);
  text-decoration: underline;
}

/* ===== Подвал ===== */
.footer {
  padding: 30px 0;
  text-align: center;
  color: var(--text-dim);
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
}

/* ===== Адаптивность ===== */
@media (max-width: 992px) {
  .hero-grid, .access-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .glitch {
    font-size: 2.2rem;
  }
  .glitch .thin {
    font-size: 1.5rem;
  }
}