/* style.css */
:root {
  --bg-dark: #0b0f1f;
  --bg-card: #13182b;
  --primary: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #60a5fa;
  --text-light: #f0f4ff;
  --text-dim: #a0b3d9;
  --gradient-1: linear-gradient(135deg, #1e3a8a, #3b82f6);
  --gradient-2: linear-gradient(145deg, #0f172a, #1e293b);
  --shadow: 0 20px 35px -10px rgba(0, 20, 50, 0.7);
  --border-radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Header */
.header {
  background-color: rgba(11, 15, 31, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  padding: 18px 0;
}

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

.logo a {
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.logo-thin {
  font-weight: 400;
  color: var(--text-dim);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-list a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 16px;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 10px 20px -8px #1e3a8a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -8px #1e3a8a;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(59, 130, 246, 0.5);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--text-light);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
}

.gradient-text {
  background: linear-gradient(145deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 35px;
  max-width: 550px;
}

.hero-cta {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 50px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

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

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(145deg, #ffffff, #a0b3d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  font-size: 18px;
  color: var(--text-dim);
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--gradient-2);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

.feature-card {
  background: rgba(19, 24, 43, 0.7);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--border-radius);
  padding: 35px 25px;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

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

/* How it works */
.how-it-works {
  padding: 100px 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
}

.step.reverse {
  flex-direction: row-reverse;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
  box-shadow: 0 10px 25px #1e3a8a;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.step-content p {
  color: var(--text-dim);
  font-size: 17px;
}

.step-image {
  flex: 1;
}

.step-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--gradient-2);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

.testimonial-card {
  background: rgba(19, 24, 43, 0.8);
  border-radius: var(--border-radius);
  padding: 35px 25px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(5px);
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-light);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: white;
}

.author-title {
  font-size: 14px;
  color: var(--text-dim);
}

/* Pricing */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  transform: scale(1.05);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary-light);
  color: white;
  padding: 8px 40px;
  transform: rotate(45deg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
}

.price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dim);
}

.billing-note {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.btn-block {
  display: block;
  text-align: center;
}

/* SEO дополнительный контент */
.seo-content {
  padding: 60px 0;
  background: var(--bg-card);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.seo-content h2 {
  font-size: 32px;
  margin-bottom: 30px;
  background: linear-gradient(145deg, #ffffff, #a0b3d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.seo-content p {
  margin-bottom: 20px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: #0a0e1c;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
}

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

.footer-logo {
  font-size: 26px;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.footer-logo span {
  font-weight: 400;
  color: var(--text-dim);
  background: none;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-light);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
  }
  .hero-description {
      margin-left: auto;
      margin-right: auto;
  }
  .hero-cta {
      justify-content: center;
  }
  .hero-stats {
      justify-content: center;
  }
  .step, .step.reverse {
      flex-direction: column;
      text-align: center;
  }
  .step-number {
      margin-bottom: 20px;
  }
  .pricing-card.popular {
      transform: scale(1);
  }
  .footer-container {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
      display: none;
  }
  .mobile-menu-toggle {
      display: block;
  }
  .header-container .btn-primary {
      display: none;
  }
  .features-grid {
      grid-template-columns: 1fr;
  }
  .testimonials-grid {
      grid-template-columns: 1fr;
  }
  .pricing-grid {
      grid-template-columns: 1fr;
  }
  .footer-container {
      grid-template-columns: 1fr;
      gap: 30px;
  }
}