/**
 * LPG Network - Landing Page Styles
 * Игровой прокси - тёмная тема с золотыми акцентами
 * Все переменные встроены (без внешних зависимостей)
 */

/* ============================================
   CSS ПЕРЕМЕННЫЕ (встроены)
   ============================================ */
:root {
  /* Цвета */
  --bg-primary: #060606;
  --bg-secondary: #0a0a0a;
  --bg-panel: rgba(20, 20, 20, 0.8);
  --bg-card: rgba(30, 30, 30, 0.6);
  
  /* Текст */
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --text-dark: #1a1a1a;
  
  /* Золото */
  --gold-main: #ffb43c;
  --gold-light: #ffc850;
  --gold-dark: #b87810;
  
  /* Градиенты */
  --gradient-gold: linear-gradient(135deg, #ffb43c 0%, #ffc850 100%);
  --gradient-gold-button: linear-gradient(135deg, #ffb43c 0%, #ffa726 100%);
  --gradient-dark: linear-gradient(180deg, rgba(6,6,6,0.95) 0%, rgba(6,6,6,0.85) 100%);
  
  /* Обводки */
  --stroke-primary: rgba(255, 255, 255, 0.08);
  --stroke-secondary: rgba(255, 180, 60, 0.3);
  --stroke-strong: rgba(255, 255, 255, 0.15);
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 16px rgba(255, 180, 60, 0.2);
  
  /* Радиусы */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Переходы */
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.3s ease;
  
  /* Акценты */
  --accent-green: #4ade80;
  --accent-blue: #3b82f6;
  --accent-red: #f87171;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  
  /* Защита от копирования */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}

/* Разрешить выделение в input и textarea */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  cursor: text;
}

/* Разрешить кликабельные элементы */
a, button, .btn {
  cursor: pointer;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      rgba(6, 6, 6, 0.28) 0%,
      rgba(6, 6, 6, 0.85) 25%,
      rgba(6, 6, 6, 0.85) 75%,
      rgba(6, 6, 6, 0.95) 100%
    ) center top / cover no-repeat,
    radial-gradient(
      900px 400px at 50% 0%,
      rgba(255, 180, 60, 0.15),
      transparent 60%
    );
  animation: gradientShift 15s ease infinite;
}

/* Анимация фона */
@keyframes gradientShift {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ============================================
   BACKGROUND PARTICLES
   ============================================ */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 60, 0.3) 0%, transparent 70%);
  animation: float-particle 20s infinite ease-in-out;
  opacity: 0;
}

.bg-particle:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.bg-particle:nth-child(2) {
  width: 60px;
  height: 60px;
  left: 80%;
  top: 60%;
  animation-delay: 5s;
  animation-duration: 30s;
}

.bg-particle:nth-child(3) {
  width: 100px;
  height: 100px;
  left: 60%;
  top: 80%;
  animation-delay: 10s;
  animation-duration: 28s;
}

.bg-particle:nth-child(4) {
  width: 40px;
  height: 40px;
  left: 30%;
  top: 40%;
  animation-delay: 15s;
  animation-duration: 22s;
}

.bg-particle:nth-child(5) {
  width: 70px;
  height: 70px;
  left: 90%;
  top: 10%;
  animation-delay: 8s;
  animation-duration: 26s;
}

.bg-particle:nth-child(6) {
  width: 50px;
  height: 50px;
  left: 20%;
  top: 70%;
  animation-delay: 12s;
  animation-duration: 24s;
}

@keyframes float-particle {
  0%, 100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.8);
  }
  25% {
    opacity: 0.5;
    transform: translate(20px, -30px) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-20px, -60px) scale(1.2);
  }
  75% {
    opacity: 0.5;
    transform: translate(20px, -30px) scale(1);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: linear-gradient(rgba(12, 12, 12, 0.92), rgba(12, 12, 12, 0.55));
  border-bottom: 1px solid var(--stroke-primary);
}

.header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 180, 60, 0),
    rgba(119, 87, 36, 0.9),
    rgba(255, 180, 60, 0)
  );
  pointer-events: none;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-main);
}

.header__icon {
  width: 36px;
  height: 36px;
  color: var(--gold-main);
  filter: drop-shadow(rgba(255, 200, 60, 0.4) 0px 0px 8px);
}

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

.header__link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.header__link:hover {
  color: var(--text-primary);
  background: rgba(255, 180, 60, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.hero__container {
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero__highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero__trial {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  background: var(--gradient-gold-button);
  color: var(--text-dark);
  border: 1px solid rgb(156, 92, 18);
  box-shadow:
    rgb(122, 70, 12) 0px 3px 0px,
    rgba(255, 200, 60, 0.35) 0px 0px 10px;
  animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow:
      rgb(122, 70, 12) 0px 3px 0px,
      rgba(255, 200, 60, 0.35) 0px 0px 10px;
  }
  50% {
    box-shadow:
      rgb(122, 70, 12) 0px 3px 0px,
      rgba(255, 200, 60, 0.6) 0px 0px 20px;
  }
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    rgb(122, 70, 12) 0px 4px 0px,
    rgba(255, 200, 60, 0.5) 0px 0px 14px;
}

.btn--outline {
  background: transparent;
  color: var(--gold-main);
  border: 1px solid var(--stroke-strong);
  position: relative;
  overflow: hidden;
}

.btn--outline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 60, 0.2), transparent);
  transition: left 0.5s;
}

.btn--outline:hover::after {
  left: 100%;
}

.btn--outline:hover {
  background: rgba(255, 180, 60, 0.1);
  border-color: var(--gold-main);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 80px 0;
}

.section__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 60px;
}

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

.feature {
  background: var(--bg-panel);
  border: 1px solid var(--stroke-primary);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.feature.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature:hover {
  border-color: var(--stroke-secondary);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md), 0 0 30px rgba(255, 180, 60, 0.15);
}

.feature__icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(rgba(255, 200, 60, 0.3) 0px 0px 12px);
}

.feature__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold-main);
}

.feature__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.2);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-panel);
  border: 1px solid var(--stroke-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.7;
    transform: scaleX(0.95);
  }
}

.pricing-card:hover {
  border-color: var(--stroke-secondary);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md), 0 0 40px rgba(255, 180, 60, 0.2);
}

.pricing-card--popular {
  border-color: var(--stroke-secondary);
  box-shadow: var(--shadow-gold);
}

.pricing-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-gold-button);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-card__price {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold-main);
  text-shadow: rgba(255, 200, 60, 0.6) 0px 0px 12px;
  margin-bottom: 24px;
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card__feature:last-child {
  border-bottom: none;
}

.pricing-card__feature i {
  color: var(--accent-green);
  font-size: 16px;
}

.pricing-card__btn {
  width: 100%;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta__container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--stroke-primary);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: var(--shadow-lg);
}

.cta__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta__text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--stroke-primary);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-main);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold-main);
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .section__title {
    font-size: 28px;
  }

  .header__nav {
    display: none;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Анимация для hero секции */
.hero {
  animation: fadeInUp 0.8s ease-out;
}

.hero__title {
  animation: fadeIn 1s ease-out 0.2s both;
}

.hero__subtitle {
  animation: fadeIn 1s ease-out 0.4s both;
}

.hero__buttons {
  animation: fadeIn 1s ease-out 0.6s both;
}

/* Анимация для иконок */
.feature__icon {
  animation: float 3s ease-in-out infinite;
}

/* Задержка анимации для карточек */
.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }
.feature:nth-child(4) { animation-delay: 0.4s; }
.feature:nth-child(5) { animation-delay: 0.5s; }
.feature:nth-child(6) { animation-delay: 0.6s; }

.pricing-card:nth-child(1) { animation-delay: 0.2s; }
.pricing-card:nth-child(2) { animation-delay: 0.4s; }
.pricing-card:nth-child(3) { animation-delay: 0.6s; }
