/* ==========================================================================
   DEDICATED CLOUD HOSTING PAGE STYLES (GLOBAL CLOUD & SAUDI VPS)
   ========================================================================== */

.modern_hosting_page_wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.hosting_hero_section {
  position: relative;
  padding: 42px 0 50px;
  overflow: hidden;
  text-align: center;
}

.hosting_hero_content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hosting_hero_section .about_hero_meta_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto 24px;
  text-align: center;
}

.hosting_hero_ambient_glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 950px;
  height: 550px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 245, 212, 0.16) 0%,
    rgba(168, 85, 247, 0.12) 45%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

.hosting_hero_h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin: 0 auto 20px;
  text-align: center;
}

.hosting_hero_h1 .about_hero_gradient_sub {
  display: block;
  text-align: center;
  margin-top: 10px;
}

.hosting_hero_lead {
  font-size: 17.5px;
  line-height: 1.9;
  color: #f1edfb;
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

.hosting_hero_lead strong {
  color: #00f5d4;
  font-weight: 800;
}

.hosting_hero_pills_strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px auto 0;
  max-width: 940px;
  text-align: center;
}

.h_pill_item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.h_pill_icon {
  font-size: 15px;
}

/* Category Tabs Navigation */
.hosting_categories_section {
  position: relative;
  padding: 50px 0 80px;
}

.hosting_tabs_nav_wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.hosting_tabs_nav {
  display: inline-flex;
  gap: 12px;
  background: rgba(18, 10, 42, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 100px;
  padding: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.hosting_tab_btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid transparent;
  color: #b5aacf;
  cursor: pointer;
  text-align: right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.hosting_tab_btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.hosting_tab_btn.is_active {
  background: linear-gradient(
    135deg,
    rgba(26, 15, 60, 0.95),
    rgba(14, 7, 36, 0.98)
  );
  border-color: #00f5d4;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 245, 212, 0.25);
}

.hosting_tab_btn[data-target="saudi-sovereign-plans"].is_active {
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.tab_icon {
  font-size: 24px;
}

.tab_text_wrap {
  display: flex;
  flex-direction: column;
}

.tab_title {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
}

.tab_sub {
  font-size: 12px;
  color: #9d90b8;
}

.hosting_tab_btn.is_active .tab_sub {
  color: #00f5d4;
}

.hosting_tab_btn[data-target="saudi-sovereign-plans"].is_active .tab_sub {
  color: #34d399;
}

/* Tab Panes */
.hosting_tab_pane {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hosting_tab_pane.is_active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease;
}

.pane_intro_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(18, 10, 42, 0.75);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 20px;
  padding: 24px 30px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.pane_intro_bar.saudi_accent_bar {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(18, 10, 42, 0.85) 100%
  );
}

.pane_intro_text h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.pane_intro_text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #d1c8e9;
  margin: 0;
  max-width: 650px;
}

.saudi_flag_badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 3px 10px;
  border-radius: 100px;
}

.saudi_compliance_tag {
  font-size: 12px;
  color: #fbbf24;
  font-weight: 700;
}

.saudi_tier_card {
  border-color: rgba(16, 185, 129, 0.25) !important;
}

.saudi_tier_card:hover {
  border-color: #10b981 !important;
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.2) !important;
}

.emerald_pill {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
}

/* Comparison Matrix Table */
.hosting_comparison_section {
  position: relative;
  padding: 80px 0;
  background: radial-gradient(
    ellipse at center,
    rgba(14, 7, 37, 0.75) 0%,
    transparent 70%
  );
}

.comparison_table_wrapper {
  max-width: 980px;
  margin: 40px auto 0;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hosting_matrix_table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 14.5px;
  background: rgba(18, 10, 42, 0.85);
}

.hosting_matrix_table th {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(26, 15, 60, 0.95);
  border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}

.hosting_matrix_table th:nth-child(2) {
  color: #00f5d4;
}

.hosting_matrix_table th:nth-child(3) {
  color: #34d399;
}

.hosting_matrix_table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2daf5;
  line-height: 1.6;
}

.hosting_matrix_table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.hosting_matrix_table td strong {
  color: #ffffff;
}

/* Responsive Rules for Hosting Page */
@media (max-width: 991px) {
  .hosting_hero_section {
    padding: 28px 0 36px;
  }
  .hosting_tabs_nav {
    flex-direction: column;
    border-radius: 20px;
    width: 100%;
  }
  .hosting_tab_btn {
    border-radius: 14px;
    width: 100%;
    justify-content: flex-start;
  }
  .pane_intro_bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Light Mode Adapters for Hosting */
html[data-theme="light"] .hosting_matrix_table {
  background: #ffffff;
  border-color: rgba(81, 28, 129, 0.15);
}
html[data-theme="light"] .hosting_matrix_table th {
  background: #f8fafc;
  color: #0f172a;
  border-bottom-color: rgba(81, 28, 129, 0.15);
}
html[data-theme="light"] .hosting_matrix_table td {
  color: #334155;
  border-bottom-color: rgba(81, 28, 129, 0.08);
}
html[data-theme="light"] .hosting_matrix_table tr:hover td {
  background: rgba(81, 28, 129, 0.03);
}
html[data-theme="light"] .hosting_matrix_table td strong {
  color: #0f172a;
}
html[data-theme="light"] .hosting_tabs_nav {
  background: #ffffff;
  border-color: rgba(81, 28, 129, 0.15);
}
html[data-theme="light"] .hosting_tab_btn {
  color: #475569;
}
html[data-theme="light"] .hosting_tab_btn.is_active {
  background: #511c81;
  color: #ffffff;
}


/* ===== Auto light-mode adaptation ===== */
html[data-theme="light"] .hosting_hero_h1{color:#0f172a !important;}
html[data-theme="light"] .hosting_hero_lead{color:#475569 !important;}
html[data-theme="light"] .hosting_hero_lead strong{color:#0284c7 !important;}
html[data-theme="light"] .h_pill_item{background:rgba(81, 28, 129,0.06) !important;color:#0f172a !important;border-color:rgba(81, 28, 129,0.2) !important;}
html[data-theme="light"] .hosting_tabs_nav{background:#ffffff !important;border-color:rgba(81, 28, 129,0.2) !important;box-shadow:0 12px 35px rgba(81, 28, 129,0.08) !important;}
html[data-theme="light"] .tab_title{color:#0f172a !important;}
html[data-theme="light"] .tab_sub{color:#475569 !important;}
html[data-theme="light"] .hosting_tab_btn[data-target="saudi-sovereign-plans"].is_active .tab_sub{color:#047857 !important;}
html[data-theme="light"] .pane_intro_bar{background:#ffffff !important;border-color:rgba(81, 28, 129,0.2) !important;}
html[data-theme="light"] .pane_intro_text h3{color:#0f172a !important;}
html[data-theme="light"] .pane_intro_text p{color:#475569 !important;}
html[data-theme="light"] .saudi_compliance_tag{color:#b45309 !important;}
html[data-theme="light"] .hosting_comparison_section{background:#ffffff !important;}
html[data-theme="light"] .comparison_table_wrapper{border-color:rgba(81, 28, 129,0.2) !important;}
html[data-theme="light"] .hosting_matrix_table{background:#ffffff !important;}
html[data-theme="light"] .hosting_matrix_table th{background:#ffffff !important;color:#0f172a !important;}
html[data-theme="light"] .hosting_matrix_table th:nth-child(2){color:#0284c7 !important;}
html[data-theme="light"] .hosting_matrix_table th:nth-child(3){color:#047857 !important;}
html[data-theme="light"] .hosting_matrix_table td{color:#475569 !important;}
html[data-theme="light"] .hosting_matrix_table tr:hover td{background:rgba(81, 28, 129,0.06) !important;}
html[data-theme="light"] .hosting_matrix_table td strong{color:#0f172a !important;}

/* Light mode: active hosting tab keeps light text on the filled background */
html[data-theme="light"] .hosting_tab_btn.is_active .tab_title { color: #ffffff !important; }
html[data-theme="light"] .hosting_tab_btn.is_active .tab_sub { color: #e9d5ff !important; }

/* ===== Light mode: cyan / sky-blue accents -> brand #511c81 ===== */
html[data-theme="light"] .hosting_hero_ambient_glow{background:radial-gradient(
    ellipse at center,
    rgba(81, 28, 129, 0.16) 0%,
    rgba(168, 85, 247, 0.12) 45%,
    transparent 70%
  ) !important;}
html[data-theme="light"] .hosting_hero_lead strong{color:#511c81 !important;}
html[data-theme="light"] .hosting_tab_btn.is_active{border-color:#511c81 !important;box-shadow:0 8px 24px rgba(81, 28, 129, 0.25) !important;}
html[data-theme="light"] .hosting_tab_btn.is_active .tab_sub{color:#511c81 !important;}
html[data-theme="light"] .hosting_matrix_table th:nth-child(2){color:#511c81 !important;}
html[data-theme="light"] .hosting_hero_lead strong{color:#511c81 !important;}
html[data-theme="light"] .hosting_matrix_table th:nth-child(2){color:#511c81 !important;}

/* ---- Round 4: hosting page polish ---- */
/* yearly label: neutral text (no accent colour) */
.billing_label.active,
html[data-theme="light"] .billing_label.active,
html[data-theme="dark"] .billing_label.active { color: var(--txt-head) !important; }
/* active tab icon/border */
.hosting_tab_btn.is_active .tab_icon,
.hosting_tab_btn.is_active .tab_icon svg { color: #ffffff !important; }
html[data-theme="light"] .hosting_tab_btn.is_active { border-color: transparent !important; }
/* hero pills: icons in brand colour (light) */
html[data-theme="light"] .h_pill_item svg,
html[data-theme="light"] .h_pill_icon,
html[data-theme="light"] .h_pill_icon svg { color: #511c81 !important; stroke: #511c81; }
html[data-theme="light"] .h_pill_item svg[fill]:not([fill="none"]) { fill: #511c81; }
html[data-theme="light"] .hosting_hero_section .hero_verified_badge,
html[data-theme="light"] .hosting_hero_section .inner_hero_badge {
  color: #511c81 !important;
  background: rgba(81, 28, 129, 0.07) !important;
  border-color: rgba(81, 28, 129, 0.25) !important;
}
/* less empty space above the plans section */
.hosting_hero_section { padding-bottom: 24px !important; }
.hosting_categories_section { padding-top: 24px !important; }
@media (max-width: 768px) { .hosting_hero_section { padding-bottom: 16px !important; } .hosting_categories_section { padding-top: 16px !important; } }
html[data-theme="light"] .h_pill_item svg *[stroke]:not([stroke="none"]) { stroke: #511c81 !important; }
html[data-theme="light"] .h_pill_item svg *[fill]:not([fill="none"]) { fill: #511c81 !important; }
html[data-theme="light"] .h_pill_item svg { color: #511c81 !important; }
html[data-theme="light"] .tier_badge_pill,
html[data-theme="light"] .tier_currency,
html[data-theme="light"] .feat_check { color: #c4b5fd !important; }
html[data-theme="light"] .hosting_tab_btn.is_active .tab_sub { color: #e9d5ff !important; }
html[data-theme="light"] .hosting_tab_btn.is_active .tab_title { color: #ffffff !important; }

/* ==========================================================================
   LIGHT MODE - pricing cards
   Regular plans are real light cards (they used to keep the translucent dark fill, which turned into a muddy
   grey on the light page); the featured plan stays a deep brand-purple card with its gold accents.
   ========================================================================== */
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) {
  background: #ffffff !important;
  border-color: rgba(81, 28, 129, 0.16) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier):hover {
  border-color: rgba(81, 28, 129, 0.45) !important;
  box-shadow: 0 18px 44px rgba(81, 28, 129, 0.12) !important;
}
html[data-theme="light"] .pricing_tier_card.saudi_tier_card:not(.is_featured_tier) { border-color: rgba(16, 185, 129, 0.35) !important; }
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_card_header { border-bottom-color: rgba(15, 23, 42, 0.08) !important; }
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_name,
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_amount,
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_feat_item strong { color: #0f172a !important; }
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_desc,
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_feat_item { color: #475569 !important; }
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_period { color: #64748b !important; }
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_currency,
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .feat_check { color: #511c81 !important; }
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_badge_pill {
  background: rgba(81, 28, 129, 0.08) !important;
  border-color: rgba(81, 28, 129, 0.28) !important;
  color: #511c81 !important;
}
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_saving_tag { color: #047857 !important; }

/* featured plan: opaque deep-purple surface, light text, gold accents */
html[data-theme="light"] .pricing_tier_card.is_featured_tier {
  background: linear-gradient(145deg, #2c1260 0%, #170a38 100%) !important;
  box-shadow: 0 20px 50px rgba(81, 28, 129, 0.28) !important;
}
html[data-theme="light"] .pricing_tier_card.is_featured_tier .tier_currency { color: #c4b5fd !important; }
html[data-theme="light"] .pricing_tier_card.is_featured_tier .tier_badge_pill:not(.gold_pill) {
  background: rgba(196, 181, 253, 0.12) !important;
  border-color: rgba(196, 181, 253, 0.4) !important;
  color: #c4b5fd !important;
}
html[data-theme="light"] .pricing_tier_card.is_featured_tier .feat_check { color: #fbbf24 !important; }

/* order buttons: readable in both states (the old hover put purple text on a purple-tinted fill) */
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_order_btn {
  background: #ffffff !important;
  border: 1.5px solid rgba(81, 28, 129, 0.45) !important;
  color: #511c81 !important;
}
html[data-theme="light"] .pricing_tier_card:not(.is_featured_tier) .tier_order_btn:hover {
  background: #511c81 !important;
  border-color: #511c81 !important;
  color: #ffffff !important;
}
html[data-theme="light"] .tier_order_btn.featured_btn,
html[data-theme="light"] .tier_order_btn.featured_btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  border-color: transparent !important;
  color: #0b051e !important;
}
html[data-theme="light"] .tier_order_btn.featured_btn:hover { box-shadow: 0 10px 26px rgba(251, 191, 36, 0.45) !important; }

/* active "Saudi servers" tab: its sub-line was dark green on the purple fill */
html[data-theme="light"] .hosting_tab_btn[data-target="saudi-sovereign-plans"].is_active .tab_sub { color: #e9d5ff !important; }
