/* Base Styles */
:root {
  --primary: #0066ff;
  --primary-dark: #004dc3;
  --secondary: #00ccff;
  --dark: #002651;
  --light: #f0f6ff;
  --gray: #6f8ab4;
  --border: #c5d7f5;
  --radius: 0.5rem;
  --shadow-sm: 0 2px 4px rgba(0, 38, 81, 0.08);
  --shadow: 0 4px 10px rgba(0, 38, 81, 0.15);
  --shadow-lg: 0 10px 20px rgba(0, 38, 81, 0.2);
  --gradient-bg: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
  --gradient-dark: linear-gradient(135deg, #004dc3 0%, #0099ff 100%);
  --youtube: #ff0000;
  --instagram: #e1306c;
  --tiktok: #000000;
  --twitter: #1da1f2;
  --primary-color: #ff1f8f;
  --secondary-color: #2feaff;
  --accent-color: #8a3bff;
  --dark-bg: #0a1128;
  --darker-bg: #050a1c;
  --text-color: #ffffff;
  --text-secondary: #ccd7ff;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --gradient-1: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-2: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--dark-bg);
  background-image: linear-gradient(120deg, #e0eaff 0%, #f0f6ff 50%, #dce7ff 100%);
  background-size: 400% 400%;
  animation: gradient-bg 15s ease infinite;
  overflow-x: hidden;
}

@keyframes gradient-bg {
  0% {background-position: 0% 50%}
  50% {background-position: 100% 50%}
  100% {background-position: 0% 50%}
}

html {scroll-behavior: smooth;}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-color);
}

h1 {font-size: 3.5rem;}
h2 {font-size: 2.5rem;}
h3 {font-size: 1.5rem;}
p {margin-bottom: 20px; color: var(--text-secondary);}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

img {max-width: 100%; height: auto; border-radius: 10px;}
a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {color: var(--primary-color);}
ul {list-style: none;}
section {padding: 80px 0; position: relative; overflow: hidden;}
section:nth-child(odd) {background-color: var(--darker-bg);}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  text-transform: uppercase;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: var(--gradient-bg);
  color: white;
  border: none;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--gradient-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-telegram {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-telegram:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(255, 31, 143, 0.3);
}

.btn-telegram i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2 {margin-bottom: 1rem;}
.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

/* Header */
header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: rgba(5, 10, 28, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  font-weight: 700;
  gap: 10px;
}

.logo i {
  color: var(--primary-color);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  position: relative;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  background: var(--darker-bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(138, 59, 255, 0.1), transparent 60%),
              radial-gradient(circle at bottom left, rgba(255, 31, 143, 0.1), transparent 60%);
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: 15px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-10deg);
  transition: all 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.floating-card {
  position: absolute;
  background: rgba(10, 17, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
  animation: float 3s infinite ease-in-out;
}

.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0.5s;
}

.card-2 {
  bottom: 10%;
  right: -10%;
}

.floating-card i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Countdown Timer */
.countdown-container {
  background: rgba(10, 17, 40, 0.8);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.offer-text {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.countdown {
  display: flex;
  gap: 15px;
}

.countdown-item {
  flex: 1;
  background: rgba(255, 31, 143, 0.1);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(255, 31, 143, 0.3);
}

.countdown-item span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.countdown-item p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-secondary);
}

.secondary .countdown-item {
  background: rgba(47, 234, 255, 0.1);
  border: 1px solid rgba(47, 234, 255, 0.3);
}

.secondary .countdown-item span {
  color: var(--secondary-color);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: rgba(10, 17, 40, 0.8);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(10, 17, 40, 0.9);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
  margin-bottom: 15px;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: var(--gradient-1);
  z-index: 0;
  opacity: 0.3;
}

.step {
  background: rgba(10, 17, 40, 0.8);
  border-radius: 15px;
  padding: 40px 30px 30px;
  position: relative;
  z-index: 1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: -70px auto 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Counter Section */
.counter-section {
  padding: 50px 0;
  background: var(--gradient-1);
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="%230a1128" fill-opacity="0.7"/></svg>');
  background-size: cover;
  z-index: 0;
}

.counters {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.counter {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.counter i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.counter-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.counter-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonial-card {
  background: rgba(10, 17, 40, 0.8);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.7;
}

/* CTA Section */
.cta {
  background: var(--darker-bg);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(138, 59, 255, 0.2), transparent 60%);
  z-index: 0;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(10, 17, 40, 0.6);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
  color: var(--gray);
}

.form-disclaimer {
  font-size: 0.9rem;
  margin-top: 20px;
  opacity: 0.7;
}

/* Footer */
footer {
  background: var(--darker-bg);
  padding: 70px 0 20px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  gap: 10px;
}

.footer-logo i {
  color: var(--primary-color);
}

.footer-text {
  max-width: 300px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-1);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

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

.footer-bottom-links a {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav, .nav-buttons {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .feature-card, .step {
    padding: 25px 20px;
  }
  .counters {
    flex-direction: column;
    align-items: center;
  }
  .counter {
    width: 100%;
    margin-bottom: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-column {
    text-align: center;
  }
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-text, .footer-social {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section {padding: 50px 0;}
  h1 {font-size: 2rem;}
  h2 {font-size: 1.75rem;}
  
  .footer-grid {grid-template-columns: 1fr;}
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {margin-top: 15px;}
} 