/* ============================================================
   HytHost — VPS Hosting + Dedicated Servers
   Full-dark premium DNA matching partners.css / server-colocation.css.
   Loaded conditionally on /vps-hosting.php and /dedicated-servers.php
   via includes/head.tpl. Created 2026-06-06.
   ============================================================ */

/* ========== HERO ========== */
.vps-hero {
    position: relative;
    padding: 90px 0 100px;
    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;
}
.vps-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;
}
.vps-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.vps-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;
}
.vps-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;
}
.vps-hero h1 .accent {
    background: linear-gradient(120deg, #d4baff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.vps-hero-lead {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin: 0 0 32px;
    line-height: 1.55;
}
.vps-hero-lead strong {
    color: #fff;
    font-weight: 700;
}
.vps-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.vps-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;
}
.vps-hero-cta:hover {
    background: #8a4cf5;
    transform: translateY(-1px);
    color: #fff !important;
    text-decoration: none !important;
    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);
}
.vps-hero-cta:focus,
.vps-hero-cta:active {
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}
.vps-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.vps-hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}
.vps-hero-cta-secondary:focus,
.vps-hero-cta-secondary:active {
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}

/* ========== TRUST STRIP ========== */
.vps-trust {
    background: #0a0f1c;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.vps-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 36px;
}
.vps-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.vps-trust-list i {
    color: #59f58c;
    font-size: 1.05rem;
}

/* ========== SHARED SECTION HEAD (dark) ========== */
.vps-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.vps-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b794ff;
    margin-bottom: 14px;
}
.vps-section-head h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.vps-section-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0;
}

/* ========== PLAN CARDS (dark) ========== */
.vps-plans-section {
    background: #0c1220;
    padding: 78px 0 88px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vps-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.vps-plan-card {
    position: relative;
    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: 16px;
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    overflow: hidden;
}
.vps-plan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, transparent 70%, rgba(124, 58, 237, 0.08) 100%);
    pointer-events: none;
}
.vps-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 20px 40px -18px rgba(124, 58, 237, 0.45);
}
.vps-plan-card-popular,
.vps-plan-card-recommended {
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 16px 36px -16px rgba(124, 58, 237, 0.45);
}
.vps-plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(120deg, #7c3aed, #b48aff);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px -4px rgba(124, 58, 237, 0.6);
}
.vps-plan-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.vps-plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}
.vps-plan-price {
    display: inline-flex;
    align-items: baseline;
    color: #fff;
    line-height: 1;
}
.vps-plan-price-value {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.vps-plan-price-cycle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 4px;
    font-weight: 600;
}
.vps-plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex: 1;
    position: relative;
    z-index: 1;
}
.vps-plan-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    line-height: 1.4;
}
.vps-plan-specs li strong {
    color: #fff;
    font-weight: 700;
}
.vps-plan-specs i {
    color: #b794ff;
    width: 18px;
    font-size: 0.95rem;
    text-align: center;
    flex-shrink: 0;
}
.vps-plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 6px 16px -8px rgba(124, 58, 237, 0.6);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    z-index: 1;
}
.vps-plan-cta:hover {
    background: #8a4cf5;
    transform: translateY(-1px);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 12px 24px -10px rgba(124, 58, 237, 0.8);
}
.vps-plan-cta:focus,
.vps-plan-cta:active {
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}
.vps-plan-cta i {
    transition: transform 0.18s ease;
}
.vps-plan-cta:hover i {
    transform: translateX(2px);
}
.vps-plans-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.02rem;
}
.vps-plans-empty a {
    color: #b794ff;
    font-weight: 600;
}

/* ========== USE CASES (dark) ========== */
.vps-usecases {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(89, 245, 140, 0.06), transparent 60%),
        linear-gradient(180deg, #14182a, #0c1220);
    padding: 78px 0 88px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vps-usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.vps-usecase {
    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: 14px;
    padding: 26px 22px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    position: relative;
    overflow: hidden;
}
.vps-usecase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, transparent 75%, rgba(124, 58, 237, 0.05) 100%);
    pointer-events: none;
}
.vps-usecase:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}
.vps-usecase-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.18);
    color: #b794ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.vps-usecase h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.005em;
    position: relative;
    z-index: 1;
}
.vps-usecase p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

/* ========== WHY HYTHOST (dark, subtle accent) ========== */
.vps-why {
    background: #0c1220;
    padding: 78px 0 88px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vps-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.vps-why-item {
    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: 14px;
    padding: 26px 22px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.vps-why-item:hover {
    border-color: rgba(89, 245, 140, 0.35);
    transform: translateY(-2px);
}
.vps-why-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(89, 245, 140, 0.14);
    color: #7ed554;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}
.vps-why-item h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.005em;
}
.vps-why-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    line-height: 1.55;
}

/* ========== ORDER FLOW (dark) ========== */
.vps-flow {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.08), transparent 60%),
        linear-gradient(180deg, #14182a, #0c1220);
    padding: 78px 0 88px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vps-flow-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.vps-flow-step {
    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: 14px;
    padding: 28px 24px;
    position: relative;
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.vps-flow-step:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.45);
}
.vps-flow-num {
    font-size: 1.85rem;
    font-weight: 800;
    background: linear-gradient(120deg, #d4baff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.vps-flow-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.vps-flow-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    line-height: 1.55;
}
.vps-flow-cta {
    text-align: center;
}

/* ========== FAQ ACCORDION (dark, native <details>) ========== */
.vps-faq {
    background: #0c1220;
    padding: 78px 0 96px;
}
.vps-faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.vps-faq-item {
    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: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.vps-faq-item[open] {
    border-color: rgba(124, 58, 237, 0.4);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(255, 255, 255, 0.02));
}
.vps-faq-q {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    line-height: 1.4;
}
.vps-faq-q::-webkit-details-marker {
    display: none;
}
.vps-faq-q:hover {
    background: rgba(255, 255, 255, 0.02);
}
.vps-faq-chevron {
    color: #b794ff;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.vps-faq-item[open] .vps-faq-chevron {
    transform: rotate(180deg);
}
.vps-faq-a {
    padding: 0 22px 18px;
}
.vps-faq-a p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ========== RESPONSIVE TWEAKS ========== */
@media (max-width: 768px) {
    .vps-hero {
        padding: 64px 0 70px;
    }
    .vps-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .vps-hero-cta,
    .vps-hero-cta-secondary {
        justify-content: center;
    }
    .vps-trust-list {
        gap: 14px 22px;
    }
    .vps-trust-list li {
        font-size: 0.86rem;
    }
    .vps-plans-section,
    .vps-usecases,
    .vps-why,
    .vps-flow,
    .vps-faq {
        padding: 56px 0 64px;
    }
    .vps-section-head {
        margin-bottom: 36px;
    }
    .vps-plans-grid,
    .vps-usecases-grid,
    .vps-why-grid,
    .vps-flow-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vps-plan-card {
        padding: 22px 20px 20px;
    }
    .vps-plan-price-value {
        font-size: 1.4rem;
    }
}
