/* ==========================================================================
   Unity Solutions - Hosting Landing Page
   Custom CSS (loaded after Bootstrap 5)
   ========================================================================== */

:root {
  --uh-primary: #D12333;
  --uh-primary-hover: #A81B29;
  --uh-primary-tint: #FBE8EA;
  --uh-text: #1E293B;
  --uh-text-muted: #64748B;
  --uh-white: #FFFFFF;
  --uh-bg-alt: #F8F9FB;
  --uh-border: #E5E7EB;
  --uh-success: #22C55E;
  --uh-dark: #14161A;
  --uh-font-heading: 'Plus Jakarta Sans', sans-serif;
  --uh-font-body: 'Inter', sans-serif;
}

body.unity-hosting-page {
  font-family: var(--uh-font-body);
  color: var(--uh-text);
  background: var(--uh-white);
  overflow-x: hidden;
}

.unity-hosting-page a {
  text-decoration: none;
}

.unity-hosting-page ul {
  margin: 0;
}

/* ---------- Shared section rhythm ---------- */
.uh-section {
  padding: 120px 0;
}
.uh-bg-white { background: var(--uh-white); }
.uh-bg-alt { background: var(--uh-bg-alt); }

.uh-heading-block { max-width: 700px; margin-bottom: 24px; }
.uh-eyebrow {
  display: inline-block;
  background: var(--uh-primary-tint);
  color: var(--uh-primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.uh-h1 {
  font-family: var(--uh-font-heading);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  max-width: 560px;
  margin-bottom: 20px;
}
.uh-h2 {
  font-family: var(--uh-font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.uh-h3 {
  font-family: var(--uh-font-heading);
  font-weight: 700;
  font-size: 22px;
  margin: 20px 0 12px;
}
.uh-h3-sm { font-family: var(--uh-font-heading); font-weight: 700; font-size: 18px; margin: 16px 0 8px; }
.uh-h4 { font-family: var(--uh-font-heading); font-weight: 700; font-size: 16px; margin: 12px 0 6px; }
.uh-h4-tight { font-family: var(--uh-font-heading); font-weight: 700; font-size: 16px; margin: 0 0 4px; }

.uh-lead { font-size: 18px; line-height: 1.6; color: var(--uh-text-muted); max-width: 520px; margin-bottom: 36px; }
.uh-body-muted { color: var(--uh-text-muted); line-height: 1.6; }
.uh-text-sm { font-size: 14px; }
.uh-text-xs { font-size: 13px; }
.uh-tagline { font-style: italic; font-size: 14px; color: var(--uh-text-muted); margin-bottom: 20px; }
.uh-divider { border: none; border-top: 1px solid var(--uh-border); margin: 0 0 20px; }

/* ---------- Buttons ---------- */
.uh-btn-primary {
  background: var(--uh-primary);
  color: var(--uh-white) !important;
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all 0.25s ease;
}
.uh-btn-primary:hover {
  background: var(--uh-primary-hover);
  color: var(--uh-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(209, 35, 51, 0.25);
}
.uh-btn-outline {
  background: transparent;
  color: var(--uh-primary) !important;
  border: 1.5px solid var(--uh-primary);
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
}
.uh-btn-outline:hover {
  background: var(--uh-primary-tint);
  color: var(--uh-primary);
}
.uh-btn-white {
  background: var(--uh-white);
  color: var(--uh-primary) !important;
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  border: none;
  transition: all 0.25s ease;
}
.uh-btn-white:hover { background: var(--uh-bg-alt); color: var(--uh-primary); }
.uh-btn-outline-white {
  background: transparent;
  color: var(--uh-white) !important;
  border: 1.5px solid var(--uh-white);
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.uh-btn-outline-white:hover { background: rgba(255,255,255,0.1); color: var(--uh-white); }

/* ---------- Header ---------- */
.uh-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.98);
  transition: all 0.3s ease;
}
.uh-header.uh-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--uh-border);
}
.uh-navbar { padding: 20px 0; transition: padding 0.3s ease; }
.uh-header.uh-scrolled .uh-navbar { padding: 12px 0; }
.uh-logo-text { font-family: var(--uh-font-heading); font-weight: 800; font-size: 20px; color: var(--uh-text); }
.uh-nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--uh-text) !important;
  margin: 0 16px;
  position: relative;
  padding: 6px 0 !important;
}
.uh-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--uh-primary);
  transition: width 0.25s ease;
}
.uh-nav-link:hover { color: var(--uh-primary) !important; }
.uh-nav-link:hover::after { width: 100%; }
.uh-toggler { border: none; }
.uh-toggler-bar { display: block; width: 22px; height: 2px; background: var(--uh-text); margin: 5px 0; }

/* ---------- Hero ---------- */
.uh-hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FBE8EA 45%, #FFFFFF 100%);
  overflow: hidden;
}
.uh-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
}
.uh-hero-blob-1 { width: 320px; height: 320px; background: var(--uh-primary-tint); top: -80px; right: -60px; }
.uh-hero-blob-2 { width: 280px; height: 280px; background: var(--uh-primary-tint); bottom: -60px; left: -60px; }
.uh-hero .container { position: relative; z-index: 1; }

.uh-badge {
  display: inline-block;
  background: var(--uh-primary-tint);
  color: var(--uh-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.uh-btn-row { margin-bottom: 32px; }
.uh-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 0;
}
.uh-trust-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.uh-check { color: var(--uh-success); font-weight: 700; }
.uh-check-sm { color: var(--uh-success); font-weight: 700; margin-right: 4px; }

.uh-hero-art { position: relative; max-width: 420px; margin: 0 auto; }
.uh-server-illustration svg { width: 100%; height: auto; }
.uh-float-card {
  position: absolute;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  animation: uh-float 4s ease-in-out infinite;
}
.uh-float-1 { top: 5%; right: -5%; animation-delay: 0s; }
.uh-float-2 { bottom: 30%; left: -10%; animation-delay: 1s; }
.uh-float-3 { bottom: 0%; right: 5%; animation-delay: 2s; }
@keyframes uh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- About / Service cards ---------- */
.uh-service-card {
  background: var(--uh-bg-alt);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}
.uh-service-card:hover {
  background: var(--uh-white);
  box-shadow: 0 20px 40px rgba(209,35,51,0.10);
  transform: translateY(-4px);
}
.uh-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--uh-primary-tint);
  color: var(--uh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}
.uh-icon-circle-sm { width: 48px; height: 48px; font-size: 20px; }
.uh-icon-circle-lg { width: 64px; height: 64px; font-size: 28px; margin-bottom: 16px; }

.uh-callout {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  background: var(--uh-primary-tint);
  border-left: 4px solid var(--uh-primary);
  border-radius: 12px;
  padding: 32px 40px;
}
.uh-callout p { margin: 0; font-style: italic; font-size: 16px; }

/* ---------- Pricing ---------- */
.uh-price-card {
  background: var(--uh-white);
  border: 1px solid var(--uh-border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
}
.uh-price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,0.08); }
.uh-price-card-featured {
  border: 2px solid var(--uh-primary);
  box-shadow: 0 24px 48px rgba(209,35,51,0.18);
}
.uh-price-card-featured:hover { transform: none; }
.uh-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--uh-primary);
  color: var(--uh-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 20px;
}
.uh-check-list { list-style: none; padding: 0; margin: 0 0 8px; }
.uh-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; padding: 6px 0; }

@media (min-width: 992px) {
  .uh-price-card-featured { transform: scale(1.05); margin-top: -16px; }
}

/* ---------- Feature cards ---------- */
.uh-feature-card {
  background: var(--uh-bg-alt);
  border: 1px solid var(--uh-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}
.uh-feature-card:hover {
  background: var(--uh-white);
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(209,35,51,0.12);
  transform: translateY(-6px);
}
.uh-feature-card:hover .uh-icon-circle-sm {
  background: var(--uh-primary);
  color: var(--uh-white);
}

/* ---------- Why choose us (value cards) ---------- */
.uh-value-card { padding: 0; }
.uh-mini-divider { display: block; width: 32px; height: 3px; background: var(--uh-primary); margin-bottom: 16px; }
.uh-flat-icon { font-size: 28px; color: var(--uh-primary); margin-bottom: 8px; }

/* ---------- Technology grid ---------- */
.uh-tech-card {
  background: var(--uh-white);
  border-radius: 12px;
  padding: 28px 16px;
  transition: all 0.3s ease;
}
.uh-tech-card:hover { background: var(--uh-bg-alt); transform: scale(1.03); }
.uh-tech-glyph { font-size: 32px; color: var(--uh-text-muted); margin-bottom: 8px; transition: color 0.3s ease; }
.uh-tech-card:hover .uh-tech-glyph { color: var(--uh-primary); }

/* ---------- Security ---------- */
.uh-security-panel {
  background: var(--uh-primary-tint);
  border-radius: 24px;
  padding: 48px;
  max-width: 320px;
  margin: 0 auto;
}
.uh-shield-svg { width: 100%; height: auto; }
.uh-security-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--uh-border);
}
.uh-security-row-last { border-bottom: none; }
.uh-security-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--uh-primary-tint);
  color: var(--uh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ---------- FAQ ---------- */
.uh-faq-wrap { max-width: 800px; }
.uh-accordion .uh-accordion-item {
  border: 1px solid var(--uh-border);
  border-radius: 12px !important;
  margin-bottom: 16px;
  overflow: hidden;
}
.uh-accordion-button {
  font-weight: 700;
  font-size: 16px;
  color: var(--uh-text);
  padding: 20px 24px;
  box-shadow: none !important;
}
.uh-accordion-button:not(.collapsed) {
  color: var(--uh-primary);
  background: var(--uh-white);
}
.uh-accordion-button:focus { box-shadow: none; }
.uh-accordion-button::after { filter: none; }
.uh-accordion-body { font-size: 15px; color: var(--uh-text-muted); padding: 0 24px 20px; }

/* ---------- Final CTA ---------- */
.uh-final-cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(120deg, #D12333 0%, #A81B29 60%, #7A121F 100%);
  overflow: hidden;
}
.uh-final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}
.uh-final-cta-inner { max-width: 640px; position: relative; z-index: 1; }
.uh-text-white { color: var(--uh-white); }
.uh-text-white-70 { color: rgba(255,255,255,0.85); font-size: 18px; }

/* ---------- Contact ---------- */
.uh-contact-card {
  max-width: 720px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}
.uh-contact-email {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--uh-primary) !important;
  margin-top: 8px;
}
.uh-contact-email:hover { color: var(--uh-primary-hover) !important; }

/* ---------- Footer ---------- */
.uh-footer { background: var(--uh-dark); padding: 64px 0 32px; }
.uh-footer-logo { font-family: var(--uh-font-heading); font-weight: 800; font-size: 20px; color: var(--uh-white); margin-bottom: 16px; }
.uh-footer-desc { color: rgba(255,255,255,0.65); font-size: 14px; }
.uh-footer-heading { color: var(--uh-white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; margin-bottom: 16px; }
.uh-footer-links li { margin-bottom: 12px; }
.uh-footer-links a { color: rgba(255,255,255,0.65); font-size: 15px; transition: color 0.2s ease; }
.uh-footer-links a:hover { color: var(--uh-primary); }
.uh-footer-divider { border-color: rgba(255,255,255,0.1); margin: 40px 0 24px; }
.uh-footer-copy { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ---------- Scroll reveal ---------- */
.uh-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.uh-reveal.uh-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .uh-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .uh-float-card { animation: none !important; }
}

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

/* Tablet */
@media (max-width: 1024px) and (min-width: 768px) {
  .uh-section { padding: 80px 0; }
  .uh-hero { padding: 120px 0 80px; }
  .uh-h1 { font-size: 40px; }
  .uh-h2 { font-size: 32px; }
}

/* Mobile */
@media (max-width: 767px) {
  .uh-section { padding: 56px 0; }
  .uh-hero { padding: 100px 0 60px; text-align: center; }
  .uh-h1 { font-size: 34px; max-width: 100%; }
  .uh-h2 { font-size: 28px; }
  .uh-lead { max-width: 100%; margin-left: auto; margin-right: auto; }
  .uh-btn-row { justify-content: center; }
  .uh-trust-row { justify-content: center; }
  .uh-hero-art { max-width: 260px; margin-top: 40px; }
  .uh-float-3 { display: none; } /* keep only 2 floating cards on mobile for cleanliness */
  .uh-price-card-featured { transform: none; margin-top: 0; }
  .uh-security-panel { padding: 32px; max-width: 220px; }
  .uh-contact-card { padding: 32px 24px; }
  .uh-contact-email { font-size: 18px; }
  .uh-callout { padding: 24px 28px; }
}
