/* ========================================
   Nano Banana Page Styles (БЭМ)
   Изолированные стили для страницы нейросети
   ======================================== */

/* Основной контейнер */
.nano-banana {
  background: #1a1a1a;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  padding: 80px 0;
}
.breadcrumbs {
    justify-content: center;
}

/* ========================================
   Hero Section
   ======================================== */
.nano-banana__hero {
  text-align: center;
  padding: 60px 0 80px;
  position: relative;
}
.nano-banana__hero-badge {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.nano-banana__badge {
  display: inline-block;
  padding: 8px 20px;
  background: #313131;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid #464646;
}
.nano-banana__badge--new {
  background: rgba(255, 252, 13, 0.1);
  border: 1px solid #fffc0d;
  color: #fffc0d;
}
.nano-banana__title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -2px;
}
.nano-banana__subtitle {
  font-size: 28px;
  font-weight: 600;
  color: #fffc0d;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.nano-banana__description {
  font-size: 18px;
  color: #e5e5e5;
  max-width: 800px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.nano-banana__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
/* Кнопки */
.nano-banana__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.nano-banana__btn--primary {
  background: #e30613;
  color: #fff;
  border-color: #e30613;
}
.nano-banana__btn--primary:hover {
  background: #c00510;
  border-color: #c00510;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 6, 19, 0.3);
}
.nano-banana__btn--secondary {
  background: transparent;
  color: #fff;
  border-color: #464646;
}
.nano-banana__btn--secondary:hover {
  background: #313131;
  border-color: #fffc0d;
  transform: translateY(-2px);
}
.nano-banana__btn--large {
  padding: 20px 40px;
  font-size: 18px;
}
.nano-banana__btn svg {
  flex-shrink: 0;
}
/* Статистика в Hero */
.nano-banana__hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid #313131;
}
.nano-banana__stat {
  text-align: center;
}
.nano-banana__stat-value {
  font-size: 48px;
  font-weight: 800;
  color: #fffc0d;
  line-height: 1;
  margin-bottom: 12px;
}
.nano-banana__stat-label {
  font-size: 14px;
  color: #e5e5e5;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* ========================================
   Section Titles
   ======================================== */
.nano-banana__section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 64px;
  letter-spacing: -1px;
  color: #fff;
}
.nano-banana__section-title--left {
  text-align: left;
}
/* ========================================
   Features Section
   ======================================== */
.nano-banana__features {
  padding: 80px 0;
}
.nano-banana__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.nano-banana__feature {
  background: #313131;
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid #464646;
  transition: all 0.3s ease;
}
.nano-banana__feature:hover {
  border-color: #fffc0d;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 252, 13, 0.1);
}
.nano-banana__feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 252, 13, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
}
.nano-banana__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}
.nano-banana__feature-text {
  font-size: 15px;
  color: #e5e5e5;
  line-height: 1.6;
  margin: 0;
}
/* ========================================
   Tech Specs Section
   ======================================== */
.nano-banana__specs {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(49, 49, 49, 0.2) 100%);
}
.nano-banana__specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.nano-banana__spec-card {
  background: #313131;
  padding: 48px 40px;
  border-radius: 20px;
  border: 2px solid #464646;
  transition: all 0.3s ease;
}
.nano-banana__spec-card:hover {
  border-color: #fffc0d;
  transform: translateY(-4px);
}
.nano-banana__spec-card--pro {
  border-color: #e30613;
  background: linear-gradient(135deg, #313131 0%, rgba(227, 6, 19, 0.05) 100%);
}
.nano-banana__spec-card--pro:hover {
  border-color: #e30613;
  box-shadow: 0 12px 32px rgba(227, 6, 19, 0.2);
}
.nano-banana__spec-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #464646;
}
.nano-banana__spec-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.nano-banana__spec-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 252, 13, 0.1);
  border: 1px solid #fffc0d;
  color: #fffc0d;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.nano-banana__spec-badge--pro {
  background: rgba(227, 6, 19, 0.1);
  border-color: #e30613;
  color: #e30613;
}
.nano-banana__spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nano-banana__spec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  font-size: 15px;
  color: #e5e5e5;
}
.nano-banana__spec-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
/* ========================================
   Use Cases Section
   ======================================== */
.nano-banana__usecases {
  padding: 80px 0;
}
.nano-banana__usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.nano-banana__usecase {
  background: transparent;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #313131;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.nano-banana__usecase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fffc0d 0%, #e30613 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nano-banana__usecase:hover {
  background: rgba(49, 49, 49, 0.5);
  border-color: #fffc0d;
}
.nano-banana__usecase:hover::before {
  opacity: 1;
}
.nano-banana__usecase-number {
  font-size: 14px;
  font-weight: 700;
  color: #fffc0d;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.nano-banana__usecase-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.nano-banana__usecase-text {
  font-size: 15px;
  color: #e5e5e5;
  line-height: 1.6;
  margin: 0;
}
/* ========================================
   Safety Section
   ======================================== */
.nano-banana__safety {
  padding: 80px 0;
  background: rgba(49, 49, 49, 0.3);
}
.nano-banana__safety-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.nano-banana__safety-description {
  font-size: 18px;
  color: #e5e5e5;
  margin: -40px 0 48px;
  text-align: left;
}
.nano-banana__safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 32px;
}
.nano-banana__safety-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: #313131;
  border-radius: 16px;
  border: 1px solid #464646;
  transition: all 0.3s ease;
}
.nano-banana__safety-item:hover {
  border-color: #fffc0d;
  transform: translateX(8px);
}
.nano-banana__safety-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 252, 13, 0.1);
  border-radius: 12px;
}
.nano-banana__safety-info {
  flex: 1;
}
.nano-banana__safety-subtitle {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.nano-banana__safety-text {
  font-size: 15px;
  color: #e5e5e5;
  line-height: 1.6;
  margin: 0;
}
/* ========================================
   Final CTA Section
   ======================================== */
.nano-banana__final-cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.05) 0%, rgba(255, 252, 13, 0.05) 100%);
}
.nano-banana__final-cta-content {
  max-width: 800px;
  margin: 0 auto;
}
.nano-banana__final-cta-title {
  font-size: 56px;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
  color: #fff;
}
.nano-banana__final-cta-text {
  font-size: 20px;
  color: #e5e5e5;
  margin: 0 0 48px;
  line-height: 1.7;
}
.nano-banana__final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}


/* ========================================
   Responsive Design
   ======================================== */
/* Tablets (до 1024px) */
@media (max-width: 1024px) {
  .nano-banana__title {
    font-size: 56px;
  }
  .nano-banana__subtitle {
    font-size: 24px;
  }
  .nano-banana__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .nano-banana__usecases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .nano-banana__hero-stats {
    gap: 32px;
  }
  .nano-banana__stat-value {
    font-size: 40px;
  }
}
/* Mobile (до 768px) */
@media (max-width: 768px) {
  .nano-banana {
    padding: 40px 0;
  }
  .nano-banana__hero {
    padding: 40px 0 60px;
  }
  .nano-banana__title {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .nano-banana__subtitle {
    font-size: 20px;
  }
  .nano-banana__description {
    font-size: 16px;
    padding: 0 20px;
  }
  .nano-banana__cta {
    flex-direction: column;
    padding: 0 20px;
  }
  .nano-banana__btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }
  .nano-banana__btn--large {
    padding: 18px 32px;
    font-size: 16px;
  }
  .nano-banana__hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }
  .nano-banana__stat-value {
    font-size: 36px;
  }
  .nano-banana__stat-label {
    font-size: 13px;
  }
  .nano-banana__section-title {
    font-size: 32px;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  .nano-banana__features,
  .nano-banana__specs,
  .nano-banana__usecases {
    padding: 60px 0;
  }
  .nano-banana__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nano-banana__feature {
    padding: 32px 24px;
  }
  .nano-banana__feature-icon {
    width: 56px;
    height: 56px;
  }
  .nano-banana__feature-title {
    font-size: 20px;
  }
  .nano-banana__feature-text {
    font-size: 14px;
  }
  .nano-banana__specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nano-banana__spec-card {
    padding: 32px 24px;
  }
  .nano-banana__spec-title {
    font-size: 24px;
  }
  .nano-banana__usecases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nano-banana__usecase {
    padding: 24px;
  }
  .nano-banana__usecase-title {
    font-size: 18px;
  }
  .nano-banana__usecase-text {
    font-size: 14px;
  }
  .nano-banana__safety {
    padding: 60px 0;
  }
  .nano-banana__safety-content {
    padding: 0 20px;
  }
  .nano-banana__safety-description {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .nano-banana__safety-list {
    gap: 20px;
  }
  .nano-banana__safety-item {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .nano-banana__safety-icon {
    width: 48px;
    height: 48px;
  }
  .nano-banana__safety-subtitle {
    font-size: 18px;
  }
  .nano-banana__safety-text {
    font-size: 14px;
  }
  .nano-banana__final-cta {
    padding: 60px 20px;
  }
  .nano-banana__final-cta-title {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .nano-banana__final-cta-text {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .nano-banana__final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .nano-banana__final-cta-buttons .nano-banana__btn {
    width: 100%;
  }
}
/* Small Mobile (до 480px) */
@media (max-width: 480px) {
  .nano-banana__title {
    font-size: 32px;
  }
  .nano-banana__subtitle {
    font-size: 18px;
  }
  .nano-banana__description {
    font-size: 15px;
  }
  .nano-banana__hero-badge {
    flex-direction: column;
    gap: 8px;
  }
  .nano-banana__badge {
    padding: 6px 16px;
    font-size: 13px;
  }
  .nano-banana__section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }
  .nano-banana__final-cta-title {
    font-size: 28px;
  }
  .nano-banana__final-cta-text {
    font-size: 15px;
  }
}
/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nano-banana__hero,
.nano-banana__features,
.nano-banana__specs,
.nano-banana__usecases,
.nano-banana__safety,
.nano-banana__final-cta {
  animation: fadeInUp 0.6s ease-out;
}
/* ========================================
   Print Styles
   ======================================== */
@media print {
  .nano-banana__btn {
    border: 2px solid #000;
    color: #000;
    background: #fff;
  }
  .nano-banana__feature,
  .nano-banana__spec-card,
  .nano-banana__usecase,
  .nano-banana__safety-item {
    page-break-inside: avoid;
  }
}
/* ========================================
   Accessibility Enhancements
   ======================================== */
/* Улучшенный фокус для клавиатурной навигации */
.nano-banana__btn:focus,
.nano-banana__feature:focus {
  outline: 3px solid #fffc0d;
  outline-offset: 4px;
}
/* Поддержка prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .nano-banana__btn,
  .nano-banana__feature,
  .nano-banana__spec-card,
  .nano-banana__usecase,
  .nano-banana__safety-item {
    transition: none;
  }
  .nano-banana__hero,
  .nano-banana__features,
  .nano-banana__specs,
  .nano-banana__usecases,
  .nano-banana__safety,
  .nano-banana__final-cta {
    animation: none;
  }
}
/* Высококонтрастный режим */
@media (prefers-contrast: high) {
  .nano-banana__btn--primary {
    border: 3px solid #fff;
  }
  .nano-banana__feature,
  .nano-banana__spec-card,
  .nano-banana__usecase {
    border-width: 2px;
  }
}
/* ========================================
   Dark Mode Support (если нужно)
   ======================================== */
@media (prefers-color-scheme: dark) {
  /* Стили уже оптимизированы для темной темы */
  .nano-banana {
    background: #1a1a1a;
  }
}
/* ========================================
   Утилиты для особых случаев
   ======================================== */
/* Если нужно встроить страницу в iframe */
.nano-banana--embedded {
  padding: 40px 0;
}
.nano-banana--embedded .nano-banana__hero {
  padding-top: 20px;
}
/* Компактная версия для узких пространств */
.nano-banana--compact .nano-banana__features-grid,
.nano-banana--compact .nano-banana__usecases-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}
.nano-banana--compact .nano-banana__section-title {
  font-size: 36px;
  margin-bottom: 32px;
}
/* ========================================
   Loading States (опционально)
   ======================================== */
.nano-banana__btn--loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.nano-banana__btn--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ========================================
   Hover Effects для Desktop
   ======================================== */
@media (hover: hover) and (pointer: fine) {
  .nano-banana__btn {
    position: relative;
    overflow: hidden;
  }
  .nano-banana__btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  .nano-banana__btn:hover::before {
    width: 300px;
    height: 300px;
  }
  .nano-banana__btn span,
  .nano-banana__btn svg {
    position: relative;
    z-index: 1;
  }
}
/* ========================================
   Grid Fallback для старых браузеров
   ======================================== */
@supports not (display: grid) {
  .nano-banana__features-grid,
  .nano-banana__usecases-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -16px;
  }
  .nano-banana__feature,
  .nano-banana__usecase {
    flex: 0 0 calc(33.333% - 32px);
    margin: 16px;
  }
  @media (max-width: 768px) {
    .nano-banana__feature,
    .nano-banana__usecase {
      flex: 0 0 calc(100% - 32px);
    }
  }
}
/* ========================================
   Selection Styling
   ======================================== */
.nano-banana ::selection {
  background: #fffc0d;
  color: #1a1a1a;
}
.nano-banana ::-moz-selection {
  background: #fffc0d;
  color: #1a1a1a;
}
/* ========================================
   Scrollbar Styling (Webkit)
   ======================================== */
.nano-banana::-webkit-scrollbar {
  width: 12px;
}
.nano-banana::-webkit-scrollbar-track {
  background: #1a1a1a;
}
.nano-banana::-webkit-scrollbar-thumb {
  background: #464646;
  border-radius: 6px;
  border: 3px solid #1a1a1a;
}
.nano-banana::-webkit-scrollbar-thumb:hover {
  background: #fffc0d;
}