/* Concept C - Single Screen with Panel */

/* Main Screen */
.main-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.main-screen.panel-open {
  filter: blur(5px);
  transform: scale(0.95);
}

.screen-content {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 2rem;
}

/* Logo */
.logo-container {
  margin-bottom: 3rem;
}

.main-logo {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 8px 30px rgba(0, 168, 255, 0.4));
  animation: logoFloat 3s ease-in-out infinite;
}

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

/* Hero Content */
.hero-content {
  margin-bottom: 4rem;
}

.main-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -2px;
}

.main-subtitle {
  font-size: 1.5rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Ecosystem Preview */
.ecosystem-preview {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: var(--transition);
}

.preview-item:hover {
  opacity: 1;
  transform: translateY(-5px);
}

.preview-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.preview-text {
  color: var(--text-gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* CTA Container */
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.main-cta {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  padding: 1.5rem 3rem;
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 40px rgba(0, 168, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.main-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.main-cta:hover::before {
  left: 100%;
}

.main-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 168, 255, 0.4);
}

.cta-text {
  font-size: 1.3rem;
}

.cta-icon {
  font-size: 1.2rem;
  transition: var(--transition);
}

.main-cta:hover .cta-icon {
  transform: translateX(5px);
}

.cta-hint {
  color: var(--text-gray);
  font-size: 0.9rem;
  opacity: 0.8;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

/* Particles Background */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Navigation Panel */
.nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-panel.active {
  opacity: 1;
  visibility: visible;
}

.panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.panel-content {
  background: var(--dark-card);
  border-radius: 20px;
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: var(--transition);
}

.nav-panel.active .panel-content {
  transform: scale(1);
}

/* Panel Header */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h2 {
  color: var(--text-light);
  font-size: 2rem;
  margin: 0;
}

.panel-close {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-close:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
}

/* Panel Body */
.panel-body {
  padding: 2rem;
}

/* Ecosystem Options */
.ecosystem-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.option-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.option-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.option-card:hover::before {
  transform: scaleX(1);
}

.option-icon {
  margin-bottom: 1.5rem;
}

.option-icon img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 15px rgba(0, 168, 255, 0.3));
}

.option-content {
  flex-grow: 1;
}

.option-content h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.option-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.option-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.option-features span {
  background: rgba(0, 168, 255, 0.1);
  color: var(--primary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 168, 255, 0.3);
}

.option-action {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.option-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

/* Coming Soon Badge */
.coming-soon-badge {
  background: rgba(255, 167, 38, 0.1);
  color: var(--primary-orange);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 167, 38, 0.3);
  font-weight: 600;
}

.coming-soon-badge i {
  margin-right: 0.5rem;
}

/* Social Section */
.social-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.social-section h3 {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.social-category {
  text-align: center;
}

.social-category h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.telegram-bot-btn {
  background: var(--gradient-primary);
  border: none;
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-decoration: none;
}

.telegram-bot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

.instagram-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcb045);
  transform: translateY(-2px);
}

/* Panel Footer */
.panel-footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.company-info h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.company-info p {
  color: var(--text-gray);
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 999;
}

.footer.visible {
  transform: translateY(0);
}

.footer .copyright {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Сохраняем темную тему с фоном tech-bg-5 для мобильной версии */
  :root {
    --primary-blue: #00a8ff;
    --primary-purple: #8c7ae6;
    --primary-orange: #ffa726;
    --gradient-primary: linear-gradient(135deg, #00a8ff 0%, #8c7ae6 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-bg: #0f0f23;
    --dark-card: #1a1a2e;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Темный фон с изображением tech-bg-5 */
  body {
    background: var(--dark-bg);
    color: var(--text-light);
  }
  
  .main-screen {
    background-image: url('images/tech-bg-5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  
  /* Добавляем темный оверлей для лучшего контраста текста */
  .main-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.85);
    z-index: 1;
    pointer-events: none;
  }
  
  .screen-content {
    position: relative;
    z-index: 2;
  }
  
  .main-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    background: linear-gradient(135deg, #ffffff 0%, #00a8ff 50%, #8c7ae6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 168, 255, 0.5);
    font-weight: 800;
  }
  
  .main-subtitle {
    font-size: 1.2rem;
  }
  
  /* Обеспечиваем правильное отображение в мобильной версии */
  .logo-container {
    margin-bottom: 2rem;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .cta-container {
    margin-top: 2rem;
  }
  
  .ecosystem-preview {
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .preview-icon {
    font-size: 1.5rem;
  }
  
  /* Элементы для темной темы */
  .option-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
  }
  
  .option-card:hover {
    background: rgba(26, 26, 46, 0.9);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
  }
  
  .panel-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  }
  
  .panel-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .panel-header h2 {
    color: var(--text-light);
  }
  
  .panel-close {
    color: var(--text-gray);
  }
  
  .panel-close:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .option-content h3 {
    color: var(--text-light);
  }
  
  .option-content p {
    color: var(--text-gray);
  }
  
  .option-features span {
    background: rgba(0, 168, 255, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 168, 255, 0.3);
  }
  
  .main-cta {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #00a8ff 0%, #8c7ae6 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.4), 0 0 20px rgba(140, 122, 230, 0.3);
    color: #ffffff;
    font-weight: 600;
  }
  
  .main-cta:hover {
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.5), 0 0 30px rgba(140, 122, 230, 0.4);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
  }
  
  /* Элементы для темной темы */
  .coming-soon-badge {
    background: rgba(255, 167, 38, 0.1);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 167, 38, 0.3);
  }
  
  .social-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .social-section h3 {
    color: var(--text-light);
  }
  
  .social-category h4 {
    color: var(--text-light);
  }
  
  .social-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
  }
  
  .social-link:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
  }
  
  .telegram-bot-btn {
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
  }
  
  .telegram-bot-btn:hover {
    box-shadow: 0 15px 35px rgba(0, 168, 255, 0.5);
  }
  
  .panel-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .panel-header,
  .panel-body {
    padding: 1.5rem;
  }
  
  .ecosystem-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .media-channels {
    flex-direction: column;
  }
  
  .bot-modal-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .ecosystem-preview {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .option-card {
    padding: 1.5rem;
  }
  
  .panel-header h2 {
    font-size: 1.5rem;
  }
  
  .instagram-links {
    gap: 0.5rem;
  }
  
  .social-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Animation Delays */
.option-card:nth-child(1) { animation-delay: 0.1s; }
.option-card:nth-child(2) { animation-delay: 0.2s; }
.option-card:nth-child(3) { animation-delay: 0.3s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .main-logo {
    animation: none;
  }
  
  .cta-hint {
    animation: none;
  }
}

/* Loading States */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

