﻿/* ========================================
   Cloud Server Page - Dark Modern Theme
   ======================================== */

/* Page Container */
.server-page {
  background: linear-gradient(135deg, #13131f 0%, #1a1a2e 50%, #16162a 100%);
  min-height: 100vh;
}

/* Hot Product Banner */
.server-hot-banner {
  max-width: 900px;
  margin: 40px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.server-hot-card {
  background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(249,115,22,0.1));
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.server-hot-tag {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.server-hot-info {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.server-hot-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.server-hot-chip {
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 12px;
}

.server-hot-price {
  font-size: 28px;
  font-weight: 700;
  color: #f97316;
}

.server-hot-price small {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 400;
}

.server-hot-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.server-hot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239,68,68,0.3);
}


.server-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: #94a3b8;
  font-size: 13px;
}

.server-feature svg {
  width: 14px;
  height: 14px;
  color: #10b981;
}

/* Features Section */
.server-features-section {
  padding: 80px 20px;
  background: rgba(0,0,0,0.2);
}

.server-features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.server-section-title {
  text-align: center;
  margin-bottom: 48px;
}

.server-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.server-section-title p {
  color: #64748b;
  font-size: 16px;
}

.server-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.server-feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.server-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.3);
}

.server-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(99,102,241,0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-feature-icon svg {
  width: 32px;
  height: 32px;
  color: #8b5cf6;
}

.server-feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.server-feature-card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

/* Comparison Section */
.server-compare-section {
  padding: 80px 20px;
}

.server-compare-container {
  max-width: 1000px;
  margin: 0 auto;
}

.server-compare-table {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
}

.server-compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(139,92,246,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.server-compare-header > div {
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: #f1f5f9;
}

.server-compare-header > div:first-child {
  text-align: left;
  color: #94a3b8;
}

.server-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.server-compare-row:last-child {
  border-bottom: none;
}

.server-compare-row > div {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
}

.server-compare-row > div:first-child {
  justify-content: flex-start;
  color: #cbd5e1;
}

.server-compare-row .good {
  color: #10b981;
}

.server-compare-row .bad {
  color: #ef4444;
}

/* Tech Stack Section */
.server-tech-section {
  padding: 80px 20px;
  background: rgba(0,0,0,0.2);
}

.server-tech-container {
  max-width: 1200px;
  margin: 0 auto;
}

.server-tech-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.server-tech-tab {
  padding: 12px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.server-tech-tab:hover {
  background: rgba(139,92,246,0.1);
  color: #c4b5fd;
}

.server-tech-tab.active {
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(99,102,241,0.2));
  border-color: rgba(139,92,246,0.5);
  color: #f1f5f9;
}

.server-tech-content {
  display: none;
}

.server-tech-content.active {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.server-tech-info {
  flex: 1;
  min-width: 300px;
}

.server-tech-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.server-tech-info p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.server-tech-partners {
  flex: 1;
  min-width: 300px;
}

.server-tech-partners h4 {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.server-tech-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.server-tech-logo {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.server-tech-logo:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.server-tech-logo img {
  max-width: 40px;
  max-height: 40px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.2s ease;
}

.server-tech-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .server-hero {
    padding: 80px 16px 60px;
  }

  .server-hero h1 {
    font-size: 32px;
  }

  .server-hero p {
    font-size: 15px;
  }

  .server-hot-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .server-hot-info {
    text-align: center;
  }

  .server-hot-specs {
    justify-content: center;
  }

  .server-grid {
    grid-template-columns: 1fr;
  }


  .server-buy-btn {
    width: 100%;
    justify-content: center;
  }

  .server-compare-header,
  .server-compare-row {
    grid-template-columns: 1fr;
  }

  .server-compare-header > div,
  .server-compare-row > div {
    text-align: center !important;
    justify-content: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .server-compare-header > div:first-child,
  .server-compare-row > div:first-child {
    background: rgba(139,92,246,0.05);
  }
}
