/* ============================================================
   HytHost — Server Colocation — facility status, datasheet, personas, FAQ accordion, checklist
   Loaded conditionally on /server-colocation.php via includes/head.tpl.
   Extracted from server-colocation.tpl on 2026-05-16.
   ============================================================ */

/* ========== Shared "partners-*" style DNA (kept verbatim, scoped to page) ========== */
.partners-hero {
    position: relative;
    padding: 90px 0 110px;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(124,58,237,0.22), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(89,245,140,0.18), transparent 55%),
        linear-gradient(180deg, #0c1220 0%, #14182a 100%);
    overflow: hidden;
}
.partners-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><circle cx='2' cy='2' r='1' fill='white' opacity='0.25'/><circle cx='60' cy='30' r='0.8' fill='white' opacity='0.2'/><circle cx='100' cy='80' r='1.1' fill='white' opacity='0.3'/><circle cx='30' cy='90' r='0.9' fill='white' opacity='0.18'/></svg>");
    opacity: 0.6;
    pointer-events: none;
}
.partners-hero-inner { position: relative; z-index: 2; }
.partners-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(89, 245, 140, 0.12);
    border: 1px solid rgba(89, 245, 140, 0.35);
    color: #b6f5cc;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.partners-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 18px;
    color: #fff;
    letter-spacing: -0.02em;
}
.partners-hero h1 .accent {
    background: linear-gradient(120deg, #d4baff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.partners-hero p.lead {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 0 36px;
    line-height: 1.55;
}
.partners-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 8px 24px -10px rgba(124, 58, 237, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.35);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    letter-spacing: 0.01em;
}
.partners-hero-cta:hover,
.partners-hero-cta:focus,
.partners-hero-cta:active {
    text-decoration: none !important;
    color: #fff !important;
    outline: none;
}
.partners-hero-cta:hover {
    background: #8a4cf5;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 14px 30px -10px rgba(124, 58, 237, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.4);
}
.partners-hero-cta:active { transform: translateY(0); }
.partners-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-left: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    letter-spacing: 0.01em;
}
.partners-hero-cta-secondary .arrow-icon {
    display: inline-block;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.partners-hero-cta-secondary:hover,
.partners-hero-cta-secondary:focus { text-decoration: none !important; }
.partners-hero-cta-secondary:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}
.partners-hero-cta-secondary:hover .arrow-icon { transform: translateY(3px); }
.partners-hero-cta-secondary:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.partners-section { padding: 80px 0; }
.partners-section-title {
    text-align: center;
    margin-bottom: 12px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}
.partners-section-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
}

.partners-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.partners-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, transparent 70%, rgba(124, 58, 237, 0.06) 100%);
    pointer-events: none;
}
.partners-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 20px 50px -20px rgba(124, 58, 237, 0.5);
}
.partners-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.partners-card-icon.purple { background: rgba(124, 58, 237, 0.18); color: #b794ff; }
.partners-card-icon.green  { background: rgba(89, 245, 140, 0.18); color: #7ed554; }
.partners-card-icon.blue   { background: rgba(96, 156, 255, 0.18); color: #609cff; }
.partners-card-icon.amber  { background: rgba(220, 180, 110, 0.18); color: #f0b860; }
.partners-card-icon.cyan   { background: rgba(78, 213, 213, 0.18); color: #4ed5d5; }
.partners-card-icon.orange { background: rgba(255, 140, 66, 0.18); color: #ff9d4d; }
.partners-card h4 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}
.partners-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

/* Final CTA */
.partners-cta-section {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.25), transparent 70%),
        linear-gradient(180deg, #14182a, #0c1220);
    padding: 90px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.partners-cta-section h2 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 14px;
}
.partners-cta-section p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1.08rem;
}

/* Process steps */
.partners-steps { counter-reset: step; }
.partners-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.partners-step:last-child { border-bottom: 0; }
.partners-step-num {
    counter-increment: step;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.12);
    color: #b794ff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.partners-step-num::before { content: counter(step); }
.partners-step h5 { color: #fff; margin: 0 0 6px; font-weight: 700; font-size: 1.1rem; }
.partners-step p { color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.55; }

/* ========== Page-specific additions ========== */

/* Hero — split layout overrides */
.coloc-hero-text { max-width: 600px; }
.coloc-hero-meta-line {
    margin-top: 22px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}
.coloc-hero-meta-line a { color: #b794ff; text-decoration: none; }

/* Facility status card (hero right column) */
.coloc-facility-card {
    background: linear-gradient(180deg, rgba(20, 24, 42, 0.85), rgba(12, 18, 32, 0.92));
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 16px;
    padding: 22px 24px;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 40px -20px rgba(124, 58, 237, 0.5);
    position: relative;
    overflow: hidden;
}
.coloc-facility-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.coloc-facility-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    margin-bottom: 14px;
}
.coloc-facility-title {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.coloc-facility-tag {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}
.coloc-facility-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}
.coloc-facility-row .label {
    color: rgba(255, 255, 255, 0.58);
    min-width: 100px;
    font-size: 0.85rem;
}
.coloc-facility-row .value { color: #fff; }
.coloc-facility-row .value strong { color: #7ed554; font-weight: 700; }
.coloc-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #59f58c;
    box-shadow: 0 0 0 0 rgba(89, 245, 140, 0.7);
    animation: colocPulse 1.8s infinite;
    flex-shrink: 0;
}
@keyframes colocPulse {
    0% { box-shadow: 0 0 0 0 rgba(89, 245, 140, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(89, 245, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(89, 245, 140, 0); }
}
/* Datasheet card (specs) */
.coloc-datasheet {
    background: linear-gradient(180deg, rgba(20, 24, 42, 0.7), rgba(14, 18, 32, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 40px 44px;
    position: relative;
    overflow: hidden;
}
.coloc-datasheet::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(124, 58, 237, 0.1), transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(89, 245, 140, 0.06), transparent 50%);
    pointer-events: none;
}
.coloc-datasheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}
.coloc-datasheet-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 12px;
}
.coloc-datasheet-header h3 i {
    color: #b794ff;
    font-size: 1.2rem;
}
.coloc-datasheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
    position: relative;
    z-index: 1;
}
.coloc-datasheet-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
    align-items: start;
}
.coloc-datasheet-row:last-child,
.coloc-datasheet-row.no-border { border-bottom: 0; }
.coloc-datasheet-key {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1.5;
    padding-top: 2px;
}
.coloc-datasheet-value {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.55;
}
.coloc-datasheet-value strong { color: #fff; font-weight: 700; }
@media (max-width: 991px) {
    .coloc-datasheet { padding: 32px 26px; }
    .coloc-datasheet-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 575px) {
    .coloc-datasheet-row { grid-template-columns: 1fr; gap: 4px; }
    .coloc-datasheet-key { padding-top: 0; }
}

/* FAQ accordion */
.coloc-faq-wrap { max-width: 820px; margin: 0 auto; }
.coloc-faq {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.coloc-faq[open] {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 14px 36px -22px rgba(124, 58, 237, 0.55);
}
.coloc-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.18s ease;
}
.coloc-faq summary::-webkit-details-marker { display: none; }
.coloc-faq summary:hover { background: rgba(255, 255, 255, 0.02); }
.coloc-faq summary .coloc-faq-chevron {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.14);
    color: #b794ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: transform 0.25s ease, background 0.25s ease;
}
.coloc-faq[open] summary .coloc-faq-chevron {
    transform: rotate(180deg);
    background: rgba(124, 58, 237, 0.28);
}
.coloc-faq-body {
    padding: 0 24px 22px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    font-size: 0.95rem;
}
.coloc-faq-body strong { color: #fff; }

/* Checklist (before you ship) */
.coloc-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.coloc-checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.coloc-checklist li:last-child { border-bottom: 0; }
.coloc-checklist li i {
    flex-shrink: 0;
    color: #7ed554;
    margin-top: 4px;
    font-size: 0.95rem;
}
.coloc-checklist li strong { color: #fff; }

/* Hero responsive adjustments */
@media (max-width: 991px) {
    .partners-hero { padding: 70px 0 80px; }
    .coloc-hero-text { max-width: 100%; }
    .coloc-facility-card { margin-top: 40px; }
}
