* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0078D4;
  --primary-dark: #106EBE;
  --secondary: #005A9E;
  --accent: #00A4EF;
  --dark: #212121;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --gray: #757575;
  --border: #E0E0E0;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 120, 212, 0.2);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  background-attachment: fixed;
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Навигация */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary);
}

.navbar .container {
  padding: 15px 20px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero секция */
.hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #0078D4 0%, #106EBE 50%, #005A9E 100%);
  border-radius: 20px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-icon {
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.badge-icon {
  font-size: 18px;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Секции */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-lead {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
}

.about-section {
  margin-bottom: 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.large-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 25px;
}

.large-text strong {
  color: var(--primary);
  font-weight: 600;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  color: var(--gray);
  font-size: 16px;
}

.mockup-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow);
  overflow: hidden;
}

.mockup-header {
  background: var(--light);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
}

.mockup-title {
  font-weight: 600;
  color: var(--dark);
}

.mockup-content {
  padding: 20px;
}

.activation-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background 0.3s;
}

.activation-item:hover {
  background: var(--light);
}

.activation-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
}

.activation-info {
  flex: 1;
}

.activation-status {
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}

.activation-type {
  font-size: 12px;
  color: var(--gray);
}

.features-section {
  margin-bottom: 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

.usage-section {
  margin-bottom: 100px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.usage-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px var(--shadow-hover);
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-content p {
  color: var(--gray);
  line-height: 1.6;
}

.download-section {
  margin-bottom: 100px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.download-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px var(--shadow);
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-hover);
}

.download-card.featured {
  border: 2px solid var(--primary);
}

.download-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.platform-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.download-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.download-card p {
  color: var(--gray);
  margin-bottom: 25px;
}

.version-info {
  display: flex;
  justify-content: space-around;
  padding: 15px;
  background: var(--light);
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 14px;
  color: var(--gray);
}

.download-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px var(--shadow-hover);
}

.download-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.download-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
}

.info-item {
  color: var(--gray);
  font-size: 14px;
}

.info-item strong {
  color: var(--dark);
  margin-right: 8px;
}

.faq-section {
  margin-bottom: 100px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--shadow-hover);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--gray);
  line-height: 1.6;
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
  margin-top: 80px;
}

.footer-content p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.screenshots-section {
  margin-bottom: 100px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.screenshot-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
}

.screenshot-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.screenshot-item:hover .screenshot-img {
  transform: scale(1.05);
}

/* Модальное окно для скриншотов */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  margin-top: 50px;
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2001;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-caption {
  text-align: center;
  color: #fff;
  padding: 20px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .usage-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
}
