/* /styles-home.css */
/* v2.1.0 — Стили только для index.html */

/* Герой */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-surface));
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-subtitle strong {
  color: var(--accent);
}

.cta-button {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  margin-bottom: 1.5rem;
}

.user-summary {
  background: var(--bg-surface-alt);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.stat-row:last-child {
  margin-bottom: 0;
}

/* Почему Morphe? */
.why-section {
  padding: 4rem 0;
  background: var(--bg-surface);
}

.why-section h2 span {
  color: var(--accent);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--shadow);
}

.why-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.why-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Автор */
.author-section {
  padding: 4rem 0;
  background: var(--bg-surface-alt);
}

.author-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
}

.author-text h2 span {
  color: var(--accent);
}

/* Финальный CTA */
.final-cta {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: white;
}

.final-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.final-cta .cta-button {
  background: white;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.final-cta .cta-button:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

/* Аналитика */
.dashboard-section {
  padding: 3rem 0;
}

.dashboard-section h2 span {
  color: var(--accent);
}

#analyticsSummary h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

#analyticsSummary p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}
/* Контейнер для SVG */
.hero-svg-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  padding: 1rem;
}

.hero-svg-container img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: transform 0.4s ease;
}

/* Анимация при наведении */
.hero-svg-container:hover img {
  transform: scale(1.03);
}

/* Градиентная маска (опционально) */
Theme Mana.hero-svg-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at top right,
    transparent 0%,
    rgba(139, 92, 246, 0.1) 50%,
    rgba(124, 62, 237, 0.2) 100%
  );
  pointer-events: none;
  border-radius: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-svg-container {
    max-width: 300px;
    padding: 0.5rem;
  }

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

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
    margin-bottom: 2rem;
  }
}