/* Extracted from cloudpanel.php style block 1 */
/* ── CloudPanel Hero Section (adapted from DirectAdmin) ── */
.cp-hero {
  position: relative;
  overflow: hidden;
  background: #070F1C;
  padding: 0;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.cp-hero__bg {
  position: absolute; inset: 0;
  background-image: url(https://underhost.com/blog/wp-content/uploads/2024/12/tablet-showing-internet-connection-on-screen-2023-11-27-05-04-17-utc-scaled.jpg);
  background-size: cover;
  background-position: center 30%;
  opacity: .18;
}

.cp-hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(7,15,28,.97) 0%,
    rgba(13,31,64,.92) 40%,
    rgba(15,107,255,.18) 100%);
}

/* Grid lines decoration */
.cp-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,107,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,107,255,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Glowing orb */
.cp-hero__orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,107,255,.25) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}

.cp-hero .container { 
  position: relative; 
  z-index: 2; 
  padding: 90px 20px 80px; 
}

.cp-hero__eyebrow {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  padding: 6px 16px;
  background: rgba(15,107,255,.15);
  border: 1px solid rgba(15,107,255,.40);
  border-radius: 50px;
  color: #4D95FF;
  font-size: 12px; 
  font-weight: 700;
  letter-spacing: 1px; 
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cp-hero__eyebrow span.dot {
  width: 6px; 
  height: 6px;
  border-radius: 50%;
  background: #0F6BFF;
  box-shadow: 0 0 8px #0F6BFF;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink { 
  0%,100%{ opacity:1 } 
  50%{ opacity:.3 } 
}

.cp-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -1.5px;
}

.cp-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #0F6BFF, #00C2FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cp-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.cp-hero__sub strong { 
  color: #fff; 
  font-weight: 700; 
}

.cp-hero__actions {
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.cp-btn-primary {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: linear-gradient(90deg, #0A52CC, #0F6BFF);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 24px rgba(15,107,255,.40);
  transition: all .3s ease;
}

.cp-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,107,255,.55);
  color: #fff !important;
}

.cp-btn-outline {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,.85) !important;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.28);
  transition: all .3s ease;
}

.cp-btn-outline:hover {
  border-color: rgba(255,255,255,.6);
  color: #fff !important;
  background: rgba(255,255,255,.06);
}

/* Trust strip */
.cp-trust-strip {
  display: flex; 
  align-items: center; 
  gap: 28px;
  margin-top: 48px; 
  flex-wrap: wrap;
  justify-content: center;
}

.cp-trust-strip__item {
  display: flex; 
  align-items: center; 
  gap: 8px;
  font-size: 13px; 
  color: rgba(255,255,255,.75); 
  font-weight: 600;
}

.cp-trust-strip__item i { 
  color: #0F6BFF; 
  font-size: 14px; 
}

.cp-trust-strip__sep {
  width: 4px; 
  height: 4px; 
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cp-hero__title {
    font-size: 36px;
  }
  .cp-hero__sub, .cp-hero p {
    font-size: 15px;
  }
  .cp-trust-strip {
    gap: 15px;
  }
}

/* Extracted from cloudpanel.php style block 2 */
/* ============================================================
   NAMESPACE: uh-cpv2__  — zero generic class names
   ============================================================ */

:root {
  --uh-cpv2-bg:       #080c14;
  --uh-cpv2-surface:  #0d1321;
  --uh-cpv2-surface2: #111827;
  --uh-cpv2-border:   rgba(99,179,237,0.13);
  --uh-cpv2-accent:   #3b9eff;
  --uh-cpv2-accent2:  #00d4aa;
  --uh-cpv2-text:     #e8edf5;
  --uh-cpv2-muted:    #7a8ba3;
}

/* ── SECTION ── */
.uh-cpv2__section {
  position: relative;
  padding: 100px 0 120px;
  overflow: visible;
  background: var(--uh-cpv2-bg);
  font-family: 'DM Sans', sans-serif;
  color: var(--uh-cpv2-text);
}
.uh-cpv2__section *,
.uh-cpv2__section *::before,
.uh-cpv2__section *::after { box-sizing: border-box; }

.uh-cpv2__section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,158,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,158,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.uh-cpv2__section::after {
  content: '';
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 420px;
  background: radial-gradient(ellipse, rgba(59,158,255,0.11) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.uh-cpv2__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ── HEADER ── */
.uh-cpv2__hd {
  text-align: center;
  margin-bottom: 72px;
}

.uh-cpv2__hd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,158,255,0.1);
  border: 1px solid rgba(59,158,255,0.25);
  color: var(--uh-cpv2-accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.uh-cpv2__hd-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--uh-cpv2-accent);
  flex-shrink: 0;
  animation: uh-cpv2-blink 2s ease-in-out infinite;
}
@keyframes uh-cpv2-blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(.7); }
}

.uh-cpv2__hd-title {
  font-family: 'Syne', sans-serif !important;
  font-size: clamp(34px,5vw,56px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  color: var(--uh-cpv2-text) !important;
  margin: 0 0 20px !important;
}
.uh-cpv2__hd-title-em {
  font-style: normal;
  background: linear-gradient(135deg, var(--uh-cpv2-accent), var(--uh-cpv2-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.uh-cpv2__hd-sub {
  font-size: 17px;
  color: var(--uh-cpv2-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

.uh-cpv2__hd-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, var(--uh-cpv2-accent), #2a7fd4) !important;
  color: #fff !important;
  font-family: 'Syne', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 0 30px rgba(59,158,255,0.25) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.uh-cpv2__hd-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 50px rgba(59,158,255,0.4) !important;
  color: #fff !important;
  text-decoration: none !important;
}
.uh-cpv2__hd-cta svg { width:14px; height:14px; flex-shrink:0; }

/* ── GRIDS ── */
.uh-cpv2__row-a {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.uh-cpv2__row-b {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
@media (max-width:900px) {
  .uh-cpv2__row-a { grid-template-columns:1fr 1fr; }
  .uh-cpv2__row-b { grid-template-columns:1fr 1fr; }
}
@media (max-width:580px) {
  .uh-cpv2__row-a { grid-template-columns:1fr; }
  .uh-cpv2__row-b { grid-template-columns:1fr; }
}

/* ── CARD ── */
.uh-cpv2__card {
  background: var(--uh-cpv2-surface);
  border: 1px solid var(--uh-cpv2-border);
  border-radius: 16px;
  overflow: visible; /* allow expanded image to escape */
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.uh-cpv2__card:hover {
  border-color: rgba(59,158,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(59,158,255,0.08);
}

/* ── IMAGE ZONE ── */
.uh-cpv2__card-imgzone {
  position: relative;
  overflow: hidden;
  background: var(--uh-cpv2-surface2);
  border-radius: 16px 16px 0 0;
  cursor: zoom-in;
}
.uh-cpv2__card-imgzone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--uh-cpv2-surface) 100%);
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.3s ease;
}
.uh-cpv2__card-imgzone img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease, filter 0.3s ease;
  filter: brightness(0.88) saturate(0.8);
}
.uh-cpv2__card:hover .uh-cpv2__card-imgzone img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1);
}

/* Zoom hint badge */
.uh-cpv2__card-zoomhint {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(8,12,20,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
  color: var(--uh-cpv2-accent);
  pointer-events: none;
}
.uh-cpv2__card-imgzone:hover .uh-cpv2__card-zoomhint {
  opacity: 1;
  transform: scale(1);
}
.uh-cpv2__card-zoomhint svg { width:15px; height:15px; }

/* ── CARD BODY ── */
.uh-cpv2__card-body {
  padding: 22px 24px 26px;
}
.uh-cpv2__card-idx {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--uh-cpv2-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.65;
}
.uh-cpv2__card-name {
  font-family: 'Syne', sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--uh-cpv2-text) !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
}
.uh-cpv2__card-desc {
  font-size: 14px;
  color: var(--uh-cpv2-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── SCRIM + FLYING IMAGE ── */

/*
  Both scrim and flyimg are appended to <body> by JS at runtime
  so they are never trapped inside a transformed ancestor.
  They use position:fixed with coords calculated from viewport.
*/

.uh-cpv2__scrim {
  position: fixed !important;
  top: 0 !important; left: 0 !important;
  width: 100vw !important; height: 100vh !important;
  z-index: 999900 !important;
  background: rgba(4,8,18,0.84) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin: 0 !important; padding: 0 !important;
}
.uh-cpv2__scrim--on {
  opacity: 1 !important;
  pointer-events: all !important;
}

.uh-cpv2__flyimg {
  position: fixed !important;
  z-index: 999901 !important;
  border-radius: 10px;
  overflow: hidden;
  cursor: default;
  margin: 0 !important; padding: 0 !important;
  /* transitions applied via JS after first paint */
}
.uh-cpv2__flyimg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: inherit;
}

/* X button — always in corner of the flyimg */
.uh-cpv2__flyimg-xbtn {
  position: absolute !important;
  top: 14px !important; right: 14px !important;
  width: 38px !important; height: 38px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
  background: rgba(6,10,20,0.82) !important;
  backdrop-filter: blur(10px) !important;
  color: #fff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  z-index: 2 !important;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s, border-color 0.15s !important;
}
.uh-cpv2__flyimg-xbtn--visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}
.uh-cpv2__flyimg-xbtn:hover {
  background: rgba(59,158,255,0.35) !important;
  border-color: rgba(59,158,255,0.7) !important;
}
.uh-cpv2__flyimg-xbtn svg { width:14px; height:14px; pointer-events:none; display:block; }

/* ── SCROLL REVEAL ── */
.uh-cpv2__sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.uh-cpv2__sr--on {
  opacity: 1;
  transform: none;
}

/* Extracted from cloudpanel.php style block 3 */
/* ============================================================
   NAMESPACE: uh-apps__  (UnderHost Supported Applications)
   All classes prefixed uh-apps__ — zero conflict with theme
   ============================================================ */

.uh-apps__section {
  position: relative;
  background: #ffffff;
  padding: 96px 0 112px;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

.uh-apps__section *,
.uh-apps__section *::before,
.uh-apps__section *::after {
  box-sizing: border-box;
}

/* Subtle top rule accent */
.uh-apps__section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 3px;
  background: linear-gradient(90deg, #3b9eff, #00d4aa);
  border-radius: 0 0 4px 4px;
}

/* Faint dot grid — light version */
.uh-apps__section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59,158,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.uh-apps__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ── HEADER ── */
.uh-apps__hd {
  text-align: center;
  margin-bottom: 64px;
}

.uh-apps__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3b9eff;
  background: rgba(59,158,255,0.07);
  border: 1px solid rgba(59,158,255,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.uh-apps__eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #3b9eff;
  animation: uh-apps-dot 2.2s ease-in-out infinite;
}

@keyframes uh-apps-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.3; transform:scale(0.65); }
}

.uh-apps__hd-title {
  font-family: 'Syne', sans-serif !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  color: #0d1321 !important;
  margin: 0 0 18px !important;
}

.uh-apps__hd-title-em {
  font-style: normal;
  background: linear-gradient(135deg, #3b9eff, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.uh-apps__hd-sub {
  font-size: 17px;
  color: #5a6a80;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ── APP GRID ── */
.uh-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 960px) {
  .uh-apps__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .uh-apps__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ── APP CARD ── */
.uh-apps__card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 18px;
  padding: 32px 22px 28px;
  text-align: center;
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
  cursor: default;
}

/* Hover glow top border */
.uh-apps__card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, #3b9eff, #00d4aa);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.28s ease, left 0.28s ease, right 0.28s ease;
}

.uh-apps__card:hover {
  border-color: rgba(59,158,255,0.28);
  transform: translateY(-5px);
  box-shadow:
    0 12px 40px rgba(59,158,255,0.09),
    0 2px 8px rgba(0,0,0,0.06);
}

.uh-apps__card:hover::before {
  opacity: 1;
  left: 10%; right: 10%;
}

/* Logo area */
.uh-apps__card-logozone {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.uh-apps__card-logo {
  max-height: 52px;
  max-width: 110px;
  width: auto;
  display: block;
  transition: transform 0.28s ease, filter 0.28s ease;
  filter: grayscale(15%);
}

.uh-apps__card:hover .uh-apps__card-logo {
  transform: scale(1.08);
  filter: grayscale(0%);
}

/* Card text */
.uh-apps__card-name {
  font-family: 'Syne', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0d1321 !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
}

.uh-apps__card-desc {
  font-size: 13.5px;
  color: #6b7c93;
  line-height: 1.6;
  margin: 0;
}

/* ── BOTTOM STRIP — "and more" ── */
.uh-apps__morebelt {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.uh-apps__morebelt-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #8a9ab0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.uh-apps__morebelt-divider {
  width: 1px; height: 18px;
  background: #dde4ef;
}

.uh-apps__morebelt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.uh-apps__morebelt-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #5a6a80;
  background: #f3f6fb;
  border: 1px solid #e4eaf4;
  border-radius: 100px;
  padding: 4px 12px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.uh-apps__morebelt-tag:hover {
  background: rgba(59,158,255,0.07);
  border-color: rgba(59,158,255,0.25);
  color: #3b9eff;
}

/* ── SCROLL REVEAL ── */
.uh-apps__sr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.uh-apps__sr--on {
  opacity: 1;
  transform: none;
}

/* Extracted from cloudpanel.php style block 4 */
.clickable-image {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.02);
}

.modal-content {
    border-radius: 8px;
    overflow: hidden;
}

.modal-body img {
    max-height: 90vh;
    width: auto;
    margin: 0 auto;
    display: block;
}

.theme-cloudpanel {
    --color-primary: #0066cc;
    --color-primary-rgb: 0, 102, 204;
    --gradient-primary: linear-gradient(135deg, #004d99, #0066cc, #4da6ff);
    --gradient-horizontal: linear-gradient(90deg, #004d99, #0066cc, #4da6ff);
}

