/* ===== ЗАРЯ Music Production — Основные стили (Gravity UI + Яндекс) ===== */

/* Подключаем переменные Gravity UI */
@import url('https://s3.labelcore.ru/static/css/gravity-ui.css');
@import url('https://s3.labelcore.ru/static/css/gravity-ui-fonts.css');

/* ===== СБРОС ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--g-font-family-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  background: var(--g-color-base-background, #fff);
  color: var(--g-color-text-primary, #1a1a1a);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== ШАПКА В СТИЛЕ ЯНДЕКСА ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--g-color-line-generic, #e5e5e5);
}

.nav-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--g-color-text-brand, #7c3aed);
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--g-color-text-secondary, #666);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--g-color-text-primary, #1a1a1a); }

/* Кнопка в стиле Яндекс */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.1px;
}

.btn-primary {
  background: var(--g-color-base-brand, #7c3aed);
  color: #fff;
}

.btn-primary:hover {
  background: var(--g-color-base-brand-hover, #6d28d9);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.btn-secondary {
  background: var(--g-color-base-generic, #f5f5f5);
  color: var(--g-color-text-primary, #1a1a1a);
  border: 1px solid var(--g-color-line-generic, #e5e5e5);
}

.btn-secondary:hover {
  background: var(--g-color-base-generic-hover, #eee);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

.hero-badge {
  display: inline-block;
  background: #ede9fe;
  color: #7c3aed;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #1a1a1a;
  letter-spacing: -1px;
}

.hero h1 span {
  color: #7c3aed;
}

.hero p {
  font-size: 18px;
  color: #666;
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 36px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #7c3aed;
}

.hero-stat-label {
  font-size: 13px;
  color: #999;
  margin-top: 2px;
}

/* ===== СЕКЦИИ ===== */
.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

/* ===== КАРТОЧКИ ВОЗМОЖНОСТЕЙ ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  background: #fff;
}

.feature-card:hover {
  border-color: #7c3aed;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ===== ПЛОЩАДКИ ===== */
.platforms-section {
  background: #faf5ff;
  text-align: center;
}

.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.platform-tag {
  background: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #e5e5e5;
  transition: all 0.2s;
}

.platform-tag:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

/* ===== ПАРТНЁРЫ ===== */
.partners-section {
  text-align: center;
}

.partners-grid {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.partner-card {
  padding: 28px 44px;
  background: #f9f9f9;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.partner-card:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* ===== FAQ ===== */
.faq-section {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: #ccc;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: #999;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 20px 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  background: #faf5ff;
  text-align: center;
}

/* ===== ПОДВАЛ ===== */
.footer {
  padding: 40px 20px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  color: #999;
  font-size: 13px;
}

.footer-brand {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover { color: #1a1a1a; }

/* ===== ФОРМА ===== */
.input {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  font-size: 15px;
  width: 100%;
  margin-bottom: 12px;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

textarea.input {
  resize: vertical;
  min-height: 80px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }
  
  .nav-links {
    gap: 16px;
  }
  
  .hero {
    padding: 80px 20px 40px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .partners-grid {
    gap: 24px;
  }
}
