/* Desktop Landing Page Styles */

.env-website #app {
  max-width: 1200px;
  padding: 0 20px 40px;
}

.website-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-bottom: 40px;
}

.website-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.website-logo svg {
  filter: drop-shadow(0 0 10px rgba(26,140,255,0.4));
}

.website-logo span {
  font-family: 'Belgrano', serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--primary) !important;
  font-weight: normal;
  text-decoration: none !important;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: hsla(210, 100%, 100%, 0.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, hsla(210, 100%, 60%, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-main) 0%, hsl(210, 100%, 40%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-btn {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 30px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--text-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  background: var(--primary-glow);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity, filter;
  background: white;
  z-index: 1;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 15px 40px hsla(210, 100%, 55%, 0.15);
  transform: scale(1.05);
  z-index: 2;
}

/* Эффект фокуса при наведении на сетку тарифов */
.pricing-grid:hover .pricing-card {
  opacity: 0.6;
  transform: scale(0.92);
  filter: grayscale(0.4) blur(1px);
}

/* Выделение карточки, на которую наведен курсор */
.pricing-grid:hover .pricing-card:hover {
  opacity: 1;
  transform: scale(1.1) !important;
  filter: grayscale(0) blur(0);
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0, 122, 255, 0.25);
}

.pricing-badge {
  position: absolute;
  top: 25px;
  right: -50px;
  width: 200px;
  text-align: center;
  background: var(--primary);
  color: white;
  padding: 8px 0;
  transform: rotate(45deg);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.pricing-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "\2714";
  color: var(--success);
  font-weight: bold;
}

.website-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .env-website #app { padding: 0 15px 20px; }
  .website-navbar { flex-direction: column; gap: 15px; padding: 20px 0; align-items: center; }
  .website-logo { text-decoration: none !important; margin-bottom: 10px; }
  .hero-section { padding: 40px 15px; margin-bottom: 40px; text-align: center; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 30px; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 12px; }
  .hero-btn { width: 100%; text-align: center; }
  .section-title { font-size: 2rem; margin-bottom: 30px; }
  
  .features-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .pricing-card { padding: 30px 20px; }
  .pricing-card.popular { transform: none; box-shadow: 0 5px 20px hsla(210, 100%, 55%, 0.15); }

  /* Dashboard Mobile Adaptation */
  .dashboard-layout { flex-direction: column !important; min-height: auto !important; }
  .dashboard-sidebar { width: 100% !important; border-right: none !important; border-bottom: 1px solid var(--border); padding: 15px !important; flex-direction: column !important; }
  .dashboard-nav-container { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; margin-bottom: 15px; border-top: none !important; }
  .dashboard-nav-container button { white-space: nowrap; flex: 0 0 auto; }
  .dashboard-main { padding: 15px !important; height: auto !important; overflow-y: visible !important; }
  .dashboard-sidebar-bottom { margin-top: 0 !important; border-top: none !important; padding-top: 0 !important; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
}

/* Dashboard Desktop Classes */
.dashboard-layout { display: flex; min-height: 100vh; }
.dashboard-sidebar { width: 250px; padding: 20px; border-right: 1px solid var(--border); display: flex; flex-direction: column; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dashboard-main { flex: 1; padding: 40px; overflow-y: auto; height: 100vh; }
.dashboard-nav-container { display: flex; flex-direction: column; }
.dashboard-sidebar-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }


@media (max-width: 400px) {
  .pricing-badge { top: 15px; right: -60px; font-size: 0.75rem; padding: 6px 0; width: 220px; }
  .hero-title { font-size: 1.8rem; }
}

.btn-luxury {
  background: linear-gradient(135deg, #6e21cc 0%, #44107a 100%);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(110, 33, 204, 0.3);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(110, 33, 204, 0.45);
  filter: brightness(1.1);
}

.btn-luxury:active {
  transform: translateY(0);
}
