/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #0b0f19;
  --card-bg: rgba(22, 27, 38, 0.7);
  --border-color: rgba(255, 255, 255, 0.06);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --primary: #6366f1; /* Indigo */
  --secondary: #3b82f6; /* Blue */
  --accent: #8b5cf6; /* Violet */
  --glow-color: rgba(99, 102, 241, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 45%);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(11, 15, 25, 0.8);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  gap: 8px;
}

.logo span {
  font-size: 20px;
  background: none;
  -webkit-text-fill-color: var(--text-main);
}

.nav-wrapper {
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  gap: 32px;
  margin-right: 32px;
}

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

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

/* Language Switcher */
.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 3px;
  border-radius: 8px;
  margin-right: 24px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Multi-language Visibility */
body.ru .lang-en {
  display: none !important;
}

body.en .lang-ru {
  display: none !important;
}

.header-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px var(--glow-color);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.6; }
}

.hero h1 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  background: linear-gradient(to right, #ffffff, #e2e8f0, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px auto;
  font-weight: 400;
}

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

.btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px var(--glow-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

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

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

/* Carousel Wrapper */
.carousel-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  aspect-ratio: 860/725;
}

.carousel-container {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* CSS Animation for Logo Ring */
.css-animation-container {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 860/725;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}
.css-animation-container img {
  position: absolute !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
  left: 0;
  top: 0;
  border-radius: 0;
}
.ring-outer {
  animation: spin-clockwise 24s linear infinite;
}
.ring-inner {
  animation: spin-counter 24s linear infinite;
}
.center-logo {
  z-index: 10;
}

@keyframes spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spin-counter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Carousel Controls */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(4px);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  transition: var(--transition);
  z-index: 10;
}

.carousel-prev:hover, .carousel-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Carousel Indicators */
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* Placeholder for video inside carousel */
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: var(--text-muted);
  padding: 40px;
  text-align: center;
}

.video-placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--primary);
  animation: float 3s ease-in-out infinite;
}

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

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(99, 102, 241, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.8) 0%, rgba(15, 20, 30, 0.9) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
}

.pricing-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a5b4fc;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-term {
  color: #34d399; /* Green */
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 32px;
}

.pricing-features {
  text-align: left;
  list-style: none;
  margin-bottom: 40px;
  display: inline-block;
}

.pricing-features li {
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: #34d399;
  font-weight: bold;
}

.pricing-btn {
  display: block;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.pricing-guarantee {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Footer */
footer {
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--border-color);
  background-color: rgba(11, 15, 25, 0.9);
  color: var(--text-muted);
  font-size: 14px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Responsive design */
@media (max-width: 992px) {
  .nav-wrapper {
    margin-right: 0;
  }
  nav {
    display: none; /* Hide standard nav links on mobile/tablets */
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero p {
    font-size: 17px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .pricing-card {
    padding: 32px 24px;
  }
}
