/*
 * DHD Cloud — Hosting Plans Stylesheet
 * Custom theme: Clean Tech Light (White, Slate & Blue/Cyan gradients)
 * Strictly follows the UI/UX design mockup
 */

:root {
    --h-bg-color: #f8fafc;
    --h-surface-color: #ffffff;
    --h-border-color: #e2e8f0;
    --h-text-color: #0f172a;
    --h-text-muted: #64748b;
    --h-primary-blue: #2563eb;
    --h-btn-gradient: linear-gradient(135deg, #00d2ff 0%, #3b82f6 50%, #4f46e5 100%);
    --h-btn-hover-gradient: linear-gradient(135deg, #00c0f0 0%, #2563eb 50%, #4338ca 100%);
    --h-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --h-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --h-card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.h-page-wrapper {
    background-color: var(--h-bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 10% 40%, rgba(6, 182, 212, 0.03) 0%, transparent 40%);
    color: var(--h-text-color);
    font-family: var(--h-font-sans);
    padding: 60px 0 80px;
    font-size: 15px;
}

.h-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER SECTION */
.h-header {
    text-align: center;
    margin-bottom: 48px;
}

.h-header__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--h-text-color);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.h-header__desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
    color: var(--h-text-muted);
}

/* BILLING SWITCH TOGGLE */
.h-billing-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.h-billing-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--h-text-color);
}

.h-billing-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.h-billing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.h-billing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}

.h-billing-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.h-billing-switch input:checked + .h-billing-slider {
    background-color: var(--h-primary-blue);
}

.h-billing-switch input:checked + .h-billing-slider:before {
    transform: translateX(24px);
}

.h-billing-discount {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    background-color: #dbeafe;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.2px;
}

/* PRICING GRID */
.h-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 992px) {
    .h-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .h-pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* CARD COMPONENT */
.h-card {
    background: var(--h-surface-color);
    border: 1px solid var(--h-border-color);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--h-card-shadow);
}

.h-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--h-card-shadow-hover);
    border-color: #cbd5e1;
}

/* Featured / Highlighted Card */
.h-card--featured {
    border-color: var(--h-primary-blue);
    border-width: 2px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(37, 99, 235, 0.05);
}

.h-card__popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 4px 16px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

.h-card--featured:hover {
    border-color: #1d4ed8;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 0 10px 10px -5px rgba(37, 99, 235, 0.1);
}

.h-card__name {
    font-size: 18px;
    font-weight: 800;
    color: var(--h-text-color);
    text-align: center;
    margin-bottom: 8px;
}

.h-card__price-box {
    text-align: center;
    margin-bottom: 20px;
}

.h-card__price {
    font-size: 26px;
    font-weight: 800;
    color: var(--h-text-color);
    line-height: 1.2;
}

.h-card__period {
    font-size: 12px;
    color: var(--h-text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.h-card__btn {
    width: 100%;
    background: var(--h-btn-gradient);
    color: #ffffff !important;
    border: none;
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 12px;
}

.h-card__btn:hover {
    background: var(--h-btn-hover-gradient);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.h-card__link {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--h-primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
    margin-bottom: 24px;
}

.h-card__link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Card specs list styling */
.h-card__specs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--h-border-color);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.h-card__spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--h-text-muted);
}

.h-card__spec-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.h-card__spec-val {
    font-weight: 700;
    color: var(--h-text-color);
}

/* SPECS TOOLTIPS */
.h-tooltip-trigger {
    color: var(--h-text-light);
    cursor: help;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.h-tooltip-trigger svg {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.h-tooltip-trigger:hover svg {
    opacity: 1;
}

.h-tooltip-text {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0f172a;
    color: #ffffff;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.h-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.h-tooltip-trigger:hover .h-tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.h-compare-link-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.h-compare-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--h-primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.h-compare-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* 2-COLUMN SECTION */
.h-split-layout {
    display: grid;
    grid-template-columns: 58% 38%;
    gap: 4%;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .h-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.h-split-left {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.h-section-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--h-text-color);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* Benefits Grid */
.h-benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 576px) {
    .h-benefits-list {
        grid-template-columns: 1fr;
    }
}

.h-benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.h-benefit__icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h-primary-blue);
    flex-shrink: 0;
}

.h-benefit__content {
    flex-grow: 1;
}

.h-benefit__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--h-text-color);
    margin-bottom: 4px;
}

.h-benefit__desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--h-text-muted);
}

/* FAQ Custom Accordion */
.h-faq {
    margin-top: 16px;
}

.h-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.h-faq-item {
    background: var(--h-surface-color);
    border: 1px solid var(--h-border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.h-faq-item--active {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}

.h-faq-header {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--h-text-color);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.h-faq-header:hover {
    color: var(--h-primary-blue);
}

.h-faq-chevron {
    width: 16px;
    height: 16px;
    color: var(--h-text-muted);
    transition: transform 0.2s ease;
}

.h-faq-item--active .h-faq-chevron {
    transform: rotate(180deg);
    color: var(--h-primary-blue);
}

.h-faq-body {
    padding: 0 20px 16px;
    color: var(--h-text-muted);
    font-size: 13px;
    line-height: 1.6;
    display: none;
}

.h-faq-item--active .h-faq-body {
    display: block;
}

/* RIGHT COLUMN COMPONENT */
.h-split-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Trust Card */
.h-trust-card {
    background: var(--h-surface-color);
    border: 1px solid var(--h-border-color);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: var(--h-card-shadow);
}

.h-trust-title {
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    color: var(--h-text-color);
    margin-bottom: 24px;
}

.h-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    align-items: center;
    justify-items: center;
}

.h-trust-logo {
    max-height: 32px;
    max-width: 120px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.h-trust-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Contact / Dark Widget Card */
.h-info-card {
    background: #0f172a;
    border-radius: 16px;
    padding: 36px 28px;
    color: #e2e8f0;
}

.h-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-bottom: 30px;
}

.h-info-col__title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.h-info-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h-info-link {
    font-size: 12px;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.h-info-link:hover {
    color: #ffffff;
}

.h-info-address {
    font-size: 12px;
    line-height: 1.6;
    color: #cbd5e1;
}

.h-info-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

/* Styled partner/tech badges */
.h-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    width: 100%;
}
.h-trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.h-trust-badge i {
    font-size: 18px;
}
.cpanel-badge {
    color: #ff6c2c;
    border-color: rgba(255, 108, 44, 0.2);
}
.cpanel-badge:hover {
    background: rgba(255, 108, 44, 0.05);
}
.cloudlinux-badge {
    color: #4385f4;
    border-color: rgba(67, 133, 244, 0.2);
}
.cloudlinux-badge:hover {
    background: rgba(67, 133, 244, 0.05);
}
.litespeed-badge {
    color: #ffb100;
    border-color: rgba(255, 177, 0, 0.2);
}
.litespeed-badge:hover {
    background: rgba(255, 177, 0, 0.05);
}
.imunify-badge {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}
.imunify-badge:hover {
    background: rgba(16, 185, 129, 0.05);
}

/* Support Channel Banner styling inside info card */
.h-info-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.12) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.h-info-banner__badge {
    background: var(--h-primary-blue);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    width: max-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.h-info-banner__title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}
.h-info-banner__desc {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.4;
}
.h-info-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 8px;
    width: max-content;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.2s ease;
}
.h-info-banner__btn:hover {
    background: var(--h-primary-blue);
    color: #ffffff;
    transform: translateX(2px);
}

@media (max-width: 576px) {
    .h-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Unified Support Banner Card */
.h-support-banner-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
}

/* Glowing radial effect */
.h-support-banner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.h-banner-badge {
    align-self: flex-start;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    z-index: 2;
}

.h-banner-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
    z-index: 2;
}

.h-banner-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 28px;
    line-height: 1.6;
    z-index: 2;
}

.h-banner-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
    z-index: 2;
}

.h-banner-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.h-banner-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 15px;
    transition: all 0.3s ease;
}

.h-banner-contact-item:hover .h-banner-contact-icon {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #ffffff;
    transform: scale(1.05);
}

.h-banner-contact-info {
    display: flex;
    flex-direction: column;
}

.h-banner-contact-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.h-banner-contact-value {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 600;
}

.h-banner-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.h-banner-cta:hover {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.h-banner-cta i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.h-banner-cta:hover i {
    transform: translateX(4px);
}

.h-banner-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 28px;
    font-size: 11px;
    color: #475569;
    text-align: center;
    z-index: 2;
}

/* Comparison Page Layout & Styling */
.h-compare-section {
    padding: 20px 0;
}

.h-compare-table {
    border-spacing: 0;
}

.h-compare-table th, 
.h-compare-table td {
    transition: background-color 0.2s ease;
}

.h-compare-table tbody tr:hover td {
    background-color: rgba(59, 130, 246, 0.01);
}

.h-compare-table tbody tr:hover td.h-compare-row-title {
    background-color: rgba(59, 130, 246, 0.03) !important;
}

/* Style for featured (Business) columns */
.h-compare-column--featured {
    background: rgba(59, 130, 246, 0.02);
}

/* Buy Button Animations */
.h-compare-buy-btn {
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.h-compare-buy-btn:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(29, 78, 216, 0.3);
}

.h-compare-buy-btn:active {
    transform: translateY(0);
}

/* Custom Scrollbar for responsive wrapper */
.h-compare-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.h-compare-table-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.h-compare-table-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.h-compare-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .h-compare-column-title,
    .h-compare-row-title {
        position: sticky;
        left: 0;
        z-index: 5;
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    }
}


