/**
 * ==============================================
 * VPS HOSTING - PREMIUM STYLES (ORANGE THEME)
 * ==============================================
 * 
 * Enhanced styling for VPS Hosting page
 * Features: Animated backgrounds, gradient text, modern hero section
 * Theme Color: Orange (#ff9800)
 * 
 * @version 1.0.0
 * @author Abissnet Development Team
 */

/* ==========================================
   HERO SECTION - ENHANCED
   ========================================== */

.vpshosting-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 6rem 2rem 4rem;
}

/* Animated Background */
.vpshosting-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.3;
}

.vps-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ff9800 20%,
    #f68732 50%,
    #ff9800 80%,
    transparent 100%
  );
  animation: vpsLinePulse 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.vps-line:nth-child(1) {
  top: 20%;
  left: -100%;
}

.vps-line:nth-child(2) {
  top: 40%;
  left: -100%;
}

.vps-line:nth-child(3) {
  top: 60%;
  left: -100%;
}

.vps-line:nth-child(4) {
  top: 80%;
  left: -100%;
}

@keyframes vpsLinePulse {
  0% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Hero Inner Container */
.vpshosting-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.vpshosting-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 50px;
  color: #f68732;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.6s ease-out;
}

/* Hero Title */
.vpshosting-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-family: var(--font-primary);
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, #f68732 0%, #f68732 50%, #f68732 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Hero Subtitle */
.vpshosting-hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Stats Section */
.vpshosting-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 152, 0, 0.1);
  border-color: rgba(255, 152, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 152, 0, 0.2);
}

.stat-number {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #f68732;
  margin-bottom: 0.5rem;
  line-height: 1;
  font-family: "Orbitron", sans-serif;
}

.stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Actions */
.vpshosting-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-hero.primary {
  background: linear-gradient(135deg, #f68732 0%, #f68732 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
}

.btn-hero.primary:hover {
  background: linear-gradient(135deg, #f68732 0%, #f68732 100%);
  box-shadow: 0 6px 30px rgba(255, 152, 0, 0.6);
  transform: translateY(-2px);
}

.btn-hero.primary svg {
  transition: transform 0.3s ease;
}

.btn-hero.primary:hover svg {
  transform: translateX(5px);
}

.btn-hero.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-hero.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   PACKAGE CARDS
   ========================================== */

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.package-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 152, 0, 0.25);
  border-color: #f68732;
}

.package-card:hover::before {
  opacity: 1;
}

.package-card.special {
  border-color: #f68732;
  background: linear-gradient(to bottom, #fff7ed 0%, white 20%);
}

.package-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f68732, #f68732);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.package-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-family: "Orbitron", sans-serif;
  position: relative;
  z-index: 2;
}

.package-speed {
  font-size: 1.125rem;
  color: #f68732;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.package-details {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.package-details p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.package-price {
  margin-top: 1.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #f68732;
  font-family: "Orbitron", sans-serif;
}

.price-currency {
  font-size: 1rem;
  color: #6b7280;
  margin-left: 0.5rem;
}

.package-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #f68732, #f68732);
  color: white;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.package-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* ==========================================
   CTA BOX
   ========================================== */

.cta-box {
  background: linear-gradient(135deg, #f68732, #f68732);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 4rem auto 0;
  box-shadow: 0 8px 40px rgba(255, 152, 0, 0.3);
}

.cta-box h3 {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  font-family: "Orbitron", sans-serif;
}

.cta-box p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: #f68732;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   PACKAGES SUBTITLE
   ========================================== */

.packages-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 4rem 0 2rem;
  font-family: "Orbitron", sans-serif;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f68732 0%, #f68732 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #f68732 0%, #f68732 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(255, 152, 0, 0.6);
}

.back-to-top svg {
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* ==========================================
   CONTENT SECTIONS - MATCHING STYLE
   ========================================== */

.stream-section.soft {
  background: #f3f4f6 !important;
  padding: 5rem 2rem;
}

.stream-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.stream-h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a1a !important;
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: "Orbitron", sans-serif;
}

.stream-section-inner > p {
  font-size: 1.125rem;
  color: #4b5563 !important;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  background: white !important;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 152, 0, 0.25);
  border-color: #f68732;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a !important;
  font-family: "Orbitron", sans-serif;
  position: relative;
  z-index: 2;
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280 !important;
  margin: 0;
  position: relative;
  z-index: 2;
}

.packages-section {
  background: #ffffff !important;
  padding: 5rem 2rem;
}

.packages-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a1a !important;
  text-align: center;
  margin-bottom: 3rem;
  font-family: "Orbitron", sans-serif;
}

/* Comparison Table */
.comparison-table {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 2rem auto;
  max-width: 1000px;
  border: 1px solid #e5e7eb;
}

.comparison-table thead {
  background: linear-gradient(135deg, #f68732, #f68732 );
}

.comparison-table th {
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: white !important;
  text-align: center;
}

.comparison-table td {
  padding: 1.5rem;
  font-size: 1rem;
  color: #1a1a1a !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 152, 0, 0.05);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody th {
  text-align: left;
  font-weight: 600;
  color: #374151 !important;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
  .vpshosting-hero {
    min-height: 500px;
    padding: 4rem 1.5rem;
  }

  .vpshosting-hero-title {
    font-size: 2rem;
  }

  .vpshosting-hero-subtitle {
    font-size: 1rem;
  }

  .vpshosting-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .vpshosting-hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .package-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .stream-section.soft,
  .packages-section {
    padding: 3rem 1.5rem;
  }

  .stream-h3,
  .packages-title {
    font-size: 2rem;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-box h3 {
    font-size: 1.5rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.875rem;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 1rem;
  }

  .vpshosting-stats {
    grid-template-columns: 1fr;
  }

  .price-amount {
    font-size: 2rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  .vps-line,
  .hero-badge,
  .vpshosting-hero-title,
  .vpshosting-hero-subtitle,
  .vpshosting-stats,
  .vpshosting-hero-actions {
    animation: none;
  }

  .btn-hero:hover,
  .stat-item:hover,
  .package-card:hover,
  .feature-item:hover,
  .back-to-top:hover {
    transform: none;
  }

  .gradient-text {
    animation: none;
    background: #f68732;
    -webkit-text-fill-color: #f68732;
  }
}
