/* === v2-additions.css === */
/* НАЗНАЧЕНИЕ: Дополнительные стили для v2 версии сайта */

/* Early Bird Badge */
.hero-badge-early {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--ai-green);
  color: var(--ai-green);
}

.early-bird-label {
  color: var(--ai-green);
  font-weight: 600;
}

/* Guarantee Badge */
.guarantee-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 2px solid var(--ai-green);
  border-radius: 12px;
  padding: 1rem 0.5rem 1rem 1rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guarantee-badge .emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

.guarantee-badge p {
  margin: 0;
  font-size: 1rem;
}

@media (min-width: 769px) {
  .guarantee-badge p {
    white-space: nowrap;
  }
}

/* Venue Content Layout */
.venue-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.venue-video {
  margin: 0 auto;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.venue-video-player {
  width: 100%;
  height: auto;
  display: block;
}

.venue-text {
  flex: 1;
}

/* Desktop: video left, text right */
@media (min-width: 769px) {
  .venue-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .venue-video {
    flex-shrink: 0;
    margin: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .venue-video {
    max-width: 300px;
  }
}

/* Partners Ticker */
.partners-ticker {
  background: var(--ai-gray);
  padding: 2rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.ticker-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 12s linear infinite;
  will-change: transform;
}

.ticker-item {
  flex-shrink: 0;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partner logos - цветные изображения */
.ticker-item img.partner-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ticker-item img.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Убираем старые стили для SVG заглушек */
.ticker-item svg.partner-logo {
  display: none;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .ticker-track {
    animation-duration: 10s;
  }

  .ticker-item {
    padding: 0 2rem;
  }

  .partner-logo {
    height: 40px;
    max-width: 150px;
  }
}

/* Program Detailed Blocks */
.program-detailed-block {
  margin-bottom: 2rem;
}

.program-block-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.block-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 12px;
  flex-shrink: 0;
}

.block-duration {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-header {
  margin-bottom: 1.5rem;
  width: 100%;
}

.testimonial-author {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.author-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid var(--ai-blue);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info {
  text-align: center;
}

.author-info strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: block;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  color: var(--text-primary);
  text-align: left;
}

/* Speaker Enhanced */
.speaker-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.speaker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--ai-blue);
  color: var(--ai-blue);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.speaker-badge img {
  height: 20px;
  width: auto;
}

.expert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ai-blue);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.expert-link:hover {
  color: var(--ai-purple);
  transform: translateX(5px);
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--ai-blue);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--ai-blue);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ai-blue);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-muted);
}

.faq-answer a {
  color: var(--ai-blue);
  text-decoration: underline;
}

/* Music Player Button */
.music-toggle {
  position: fixed;
  bottom: 100px;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.music-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.music-toggle .music-icon {
  font-size: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.music-toggle.playing .music-icon {
  animation: bounce 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

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

@media (max-width: 768px) {
  .music-toggle {
    width: 45px;
    height: 45px;
    bottom: 65px;
    right: 1rem;
  }

  .music-toggle .music-icon {
    font-size: 1.1rem;
  }
}

/* Venue Photos - фото конференц-зала (без подписей, внутри venue-text) */
.venue-photos {
  margin: 0;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.photo-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.photo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
  border-color: var(--ai-blue);
}

.photo-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .photo-item img {
    height: 120px;
  }
}

/* Venue Gallery - пространство коворкинга (с подписями) */
.venue-gallery {
  margin: 3rem 0;
}

.gallery-grid-simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  border-color: var(--ai-blue);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

@media (max-width: 768px) {
  .gallery-grid-simple {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item img {
    height: 200px;
  }

  .gallery-caption {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
}
