/* ===== HOSTING PAGE — Additional Styles ===== */

/* Hero Layout */
.hosting-hero {
  min-height: auto;
  padding-top: 6rem;
  padding-bottom: var(--space-12);
}

.hosting-hero .container {
  display: block;
}

.hosting-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
}

/* Stats Row */
.hosting-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.hosting-stat__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
}

.hosting-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* Terminal */
.hosting-terminal {
  background: #1a1d23;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #22252c;
  border-bottom: 1px solid #2e3139;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3d46;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: #6b7280;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.terminal-body {
  padding: var(--space-5) var(--space-6);
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #c9d1d9;
}

.t-dim { color: #6b7280; }
.t-cmd { color: #7ee787; }
.t-flag { color: #79c0ff; }

/* ===== PLAN CARDS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.plan-card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.plan-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan-card--popular {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-md);
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-4);
  background: var(--color-primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.plan-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
}

.plan-card__price span {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text-muted);
}

.plan-card__period {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-bottom: var(--space-5);
}

.plan-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.plan-card__features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-success);
}

/* Description for service cards on this page */
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hosting-hero-grid {
    grid-template-columns: 1fr;
  }
  .hosting-terminal {
    max-width: 500px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .hosting-hero {
    padding-top: 5rem;
  }
  .hosting-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FROSTED GLASS (в стиле карточек главной) ===== */
.plan-card {
  background: rgba(247, 247, 249, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .plan-card {
    background: rgba(247, 247, 249, 0.94);
  }
}
