
/* Datacenter Card Styles - Using theme variables */
.datacenter-card {
    background: var(--surface-primary);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-primary);
    margin-bottom: var(--space-3xl);
    transition: var(--transition-base);
}

.datacenter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.datacenter-header {
    padding: var(--space-2xl) var(--space-3xl);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.datacenter-flag {
    width: 70px;
    height: 50px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.datacenter-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.datacenter-title {
    flex: 1;
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-inverse);
    margin: 0;
}

.datacenter-badge {
    background: rgba(255,255,255,0.15);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-inverse);
    border: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.datacenter-body {
    padding: var(--space-3xl);
}

.facility-card {
    background: var(--surface-secondary);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    height: 100%;
    border: 1px solid var(--border-secondary);
    transition: var(--transition-base);
}

.facility-card:hover {
    background: var(--surface-primary);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-md);
}

.facility-full {
    width: 100%;
}

.facility-logo {
    background: var(--surface-primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    display: inline-block;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-secondary);
}

.facility-logo img {
    max-width: 150px;
    max-height: 50px;
}

.facility-card h4 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: var(--space-lg) 0 var(--space-md);
}

.facility-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.facility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.facility-tag {
    background: rgba(var(--color-primary-rgb), 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

.transit-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* UnderHost Icon Divider - Datacenter Theme */
.uh-divider--datacenter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.uh-divider--datacenter .uh-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-primary), 
        var(--color-secondary), 
        var(--color-primary), 
        transparent
    );
    background-size: 200% 100%;
    animation: dividerFlow 3s ease infinite;
    margin: 0 var(--space-xl);
}

.uh-divider--datacenter .uh-divider-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.5);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.uh-divider--datacenter .uh-divider-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
}

.uh-divider--datacenter .uh-divider-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
    transition: var(--transition-transform);
}

.uh-divider--datacenter .uh-divider-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 50px rgba(var(--color-primary-rgb), 0.8);
}

.uh-divider--datacenter .uh-divider-icon:hover img {
    transform: scale(1.1);
}

@keyframes dividerFlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .transit-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: var(--space-lg);
    }
    
    .datacenter-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .datacenter-title {
        font-size: var(--font-size-5xl);
    }
}

@media (max-width: 768px) {
    .uh-divider--datacenter .uh-divider-icon {
        width: 50px;
        height: 50px;
    }
    
    .uh-divider--datacenter .uh-divider-icon img {
        width: 28px;
        height: 28px;
    }
    
    .uh-divider--datacenter .uh-divider-line {
        margin: 0 var(--space-lg);
    }
    
    .transit-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .uh-divider--datacenter .uh-divider-icon {
        width: 40px;
        height: 40px;
    }
    
    .uh-divider--datacenter .uh-divider-icon img {
        width: 22px;
        height: 22px;
    }
}
/* ================================
   THEME 25: Datacenter Pro (Teal/Aqua)
   ================================ */

body.theme-datacenter {
  /* Primary Colors - Teal/Aqua */
  --color-primary: #00C7C7;
  --color-primary-light: #4FD9D9;
  --color-primary-dark: #009999;
  --color-primary-darker: #006B6B;
  
  /* Secondary Colors - Deep Ocean Blue */
  --color-secondary: #006B9E;
  --color-secondary-light: #3A8DB8;
  --color-secondary-dark: #004D73;
  --color-secondary-darker: #003A55;
  
  /* Accent Colors - Electric Blue */
  --color-accent: #4AB7FF;
  --color-accent-light: #7FC9FF;
  --color-accent-dark: #1A8CD8;
  
  /* RGB Values - Primary */
  --color-primary-rgb: 0, 199, 199;
  --color-primary-light-rgb: 79, 217, 217;
  --color-primary-dark-rgb: 0, 153, 153;
  --color-primary-darker-rgb: 0, 107, 107;
  
  /* RGB Values - Secondary */
  --color-secondary-rgb: 0, 107, 158;
  --color-secondary-light-rgb: 58, 141, 184;
  --color-secondary-dark-rgb: 0, 77, 115;
  --color-secondary-darker-rgb: 0, 58, 85;
  
  /* RGB Values - Accent */
  --color-accent-rgb: 74, 183, 255;
  --color-accent-light-rgb: 127, 201, 255;
  --color-accent-dark-rgb: 26, 140, 216;
  
  /* Borders - Using primary with opacity */
  --border-primary: rgba(0, 199, 199, 0.25);
  --border-secondary: rgba(0, 107, 158, 0.2);
  --border-accent: rgba(74, 183, 255, 0.3);
  
  /* Gradients */
  --gradient-horizontal: linear-gradient(90deg, 
    #00C7C7, 
    #009999, 
    #006B9E, 
    #4AB7FF
  );
  
  --gradient-primary: linear-gradient(135deg, 
    #006B6B, 
    #00C7C7, 
    #009999, 
    #4AB7FF
  );
  
  --gradient-card-header: linear-gradient(145deg, 
    #003A55, 
    #006B9E, 
    #00C7C7
  );
  
  --gradient-overlay: linear-gradient(135deg, 
    rgba(0, 58, 85, 0.95), 
    rgba(0, 107, 107, 0.85), 
    rgba(0, 199, 199, 0.6)
  );
  
  --gradient-cta: linear-gradient(135deg, 
    #00C7C7, 
    #009999, 
    #006B9E
  );
  
  --gradient-datacenter: linear-gradient(145deg, 
    #003A55,
    #006B9E,
    #00C7C7,
    #4AB7FF
  );
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 199, 199, 0.15);
  --shadow-md: 0 10px 20px rgba(0, 199, 199, 0.25);
  --shadow-lg: 0 15px 30px rgba(0, 107, 158, 0.3);
  --shadow-xl: 0 20px 40px rgba(0, 199, 199, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 199, 199, 0.4);
  --shadow-card: 0 30px 50px -15px rgba(0, 199, 199, 0.3);
  
  /* Status Colors - Override for theme */
  --status-info: var(--color-primary);
  --status-info-rgb: var(--color-primary-rgb);
  --status-info-light: rgba(var(--color-primary-rgb), 0.1);
}

/* ================================
   Theme-Specific Overrides
   ================================ */

/* Speed Badge - Datacenter Theme */
body.theme-datacenter .speed-badge {
  background: rgba(var(--color-primary-rgb), 0.12);
  border-color: rgba(var(--color-primary-rgb), 0.3);
  color: var(--color-primary);
}

/* Speed Meter Fill */
body.theme-datacenter .speed-meter-fill {
  background: var(--gradient-horizontal);
}

/* Speed Top Bar */
body.theme-datacenter .speedtop {
  background: var(--gradient-horizontal);
}

/* Plan Price */
body.theme-datacenter .planprice {
  color: var(--color-primary) !important;
  text-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.3);
}

/* Plan Box Hover */
body.theme-datacenter .planbox:hover {
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(var(--color-primary-rgb), 0.15);
}

/* Dedicated Plan Hover */
body.theme-datacenter .dedicated-plan:hover {
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(var(--color-primary-rgb), 0.1);
}

/* Spec Item Icons */
body.theme-datacenter .spec-item i {
  color: var(--color-primary);
}

/* Feature Icons */
body.theme-datacenter .feature-icon-speed i,
body.theme-datacenter .included-feature-icon i,
body.theme-datacenter .migration-feature-icon i {
  color: var(--color-primary);
}

body.theme-datacenter .feature-item:hover .feature-icon-speed,
body.theme-datacenter .included-feature:hover .included-feature-icon,
body.theme-datacenter .migration-feature:hover .migration-feature-icon {
  background: var(--gradient-primary);
}

/* Buttons */
body.theme-datacenter .btn-speed {
  background: var(--gradient-cta);
  box-shadow: 0 10px 20px rgba(var(--color-primary-rgb), 0.3);
}

body.theme-datacenter .btn-speed:hover {
  box-shadow: 0 15px 30px rgba(var(--color-primary-rgb), 0.4);
}

body.theme-datacenter .btn-location {
  color: var(--color-primary) !important;
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
}

body.theme-datacenter .btn-location:hover {
  background: var(--color-primary);
  color: white !important;
  box-shadow: 0 8px 18px rgba(var(--color-primary-rgb), 0.3);
}

body.theme-datacenter .btn-explore {
  border: 2px solid var(--color-primary);
  color: var(--color-primary) !important;
}

body.theme-datacenter .btn-explore:hover {
  background: var(--color-primary);
  color: white !important;
}

/* Migration Section */
body.theme-datacenter .migration-badge,
body.theme-datacenter .migration-free-badge,
body.theme-datacenter .migration-btn {
  background: var(--gradient-primary) !important;
}

/* Features Badge */
body.theme-datacenter .features-badge {
  color: var(--color-primary);
  border-color: rgba(var(--color-primary-rgb), 0.4);
}

/* Features Button */
body.theme-datacenter .features-btn {
  background: var(--gradient-cta) !important;
}

/* Why Badge */
body.theme-datacenter .why-badge {
  color: var(--color-primary);
  border-color: rgba(var(--color-primary-rgb), 0.4);
}

/* Why Title Span */
body.theme-datacenter .why-title span {
  color: var(--color-primary);
}

/* FAQ Section */
body.theme-datacenter .faq-dot {
  background: var(--color-primary) !important;
  box-shadow: 0 0 10px var(--color-primary) !important;
}

body.theme-datacenter .faq-divider-line {
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent) !important;
}

body.theme-datacenter .faq-badge {
  background: linear-gradient(90deg, 
    rgba(var(--color-primary-rgb), 0.1), 
    rgba(var(--color-primary-rgb), 0.15)
  ) !important;
  color: var(--color-primary) !important;
  border-color: rgba(var(--color-primary-rgb), 0.2) !important;
}

body.theme-datacenter .faq-title span {
  color: var(--color-primary) !important;
}

body.theme-datacenter .faq-highlighted {
  background: rgba(var(--color-primary-rgb), 0.04) !important;
  border-left-color: var(--color-primary) !important;
}

body.theme-datacenter .faq-contact-btn {
  background: var(--color-primary) !important;
  box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.2) !important;
}

body.theme-datacenter .faq-contact-btn:hover {
  background: var(--color-primary-dark) !important;
}

/* List Hover Effects */
body.theme-datacenter li:hover strong,
body.theme-datacenter li:hover i {
  color: var(--color-primary) !important;
}

/* OS Badge Paid */
body.theme-datacenter .os-badge.paid {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  border-color: rgba(var(--color-primary-rgb), 0.2);
}

/* Price Tag */
body.theme-datacenter .price-tag {
  color: var(--color-primary);
}

/* Trust Badge Icons */
body.theme-datacenter .trust-item i {
  color: var(--color-primary);
}

/* Benefit Icon (in support section) */
body.theme-datacenter .benefit-icon {
  background: var(--gradient-primary);
}

/* Location Badge */
body.theme-datacenter .location-badge {
  background: var(--gradient-primary) !important;
}

/* Stat Value */
body.theme-datacenter .stat-value {
  color: var(--color-primary);
}

/* Feature Tag Hover */
body.theme-datacenter .feature-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

body.theme-datacenter .feature-tag::before {
  color: var(--color-primary);
}

/* ================================
   Datacenter-Specific Elements
   ================================ */

/* Datacenter Card Header */
body.theme-datacenter .datacenter-header {
  background: var(--gradient-card-header);
}

/* Facility Tags */
body.theme-datacenter .facility-tag {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

/* Facility Card Hover */
body.theme-datacenter .facility-card:hover {
  border-color: var(--border-primary);
}

/* Transit Item Hover */
body.theme-datacenter .transit-item {
  transition: var(--transition-base);
}

body.theme-datacenter .transit-item:hover {
  border-color: var(--color-primary) !important;
  box-shadow: var(--shadow-md);
}

body.theme-datacenter .transit-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Network Map Container */
body.theme-datacenter .network-map-container {
  background: var(--gradient-card-header);
}

/* Feature List Icons */
body.theme-datacenter .feature-list .fa-circle {
  color: var(--color-primary);
}

/* Divider Icon Background */
body.theme-datacenter .uh-divider-icon {
  background: var(--gradient-primary);
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.5);
}

/* ================================
   Card Header Override
   ================================ */

body.theme-datacenter .card-header {
  background: var(--gradient-card-header);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

/* ================================
   Gradient Animation for Theme
   ================================ */

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================================
   Responsive Theme Adjustments
   ================================ */

@media (max-width: 768px) {
  body.theme-datacenter .speed-badge {
    font-size: var(--font-size-xs);
  }
  
  body.theme-datacenter .btn-speed {
    background: var(--gradient-cta);
  }
}

@media (max-width: 480px) {
  body.theme-datacenter .datacenter-badge {
    font-size: 10px;
  }
}
