/* =========================================================
   HUBNRO Cloud Services: Hosting & Proxy Styling
   ========================================================= */

.hcs-page {
    padding: 24px 0 60px;
}

.hcs-hero {
    background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(147,51,234,0.06) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .hcs-hero {
    background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(147,51,234,0.04) 100%);
    border-color: rgba(0,0,0,0.08);
}

.hcs-hero-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hcs-hero-desc {
    color: var(--text-secondary, #8e9bb0);
    max-width: 650px;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hcs-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 12px;
}

[data-theme="light"] .hcs-tabs {
    border-color: rgba(0,0,0,0.08);
}

.hcs-tab-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary, #8e9bb0);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hcs-tab-btn:hover {
    color: var(--text-primary, #fff);
    background: rgba(255,255,255,0.04);
}

.hcs-tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

/* Plan Card Grid */
.hcs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.hcs-card {
    background: var(--bg-card, rgba(17,24,39,0.7));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .hcs-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.hcs-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.hcs-card.featured {
    border-color: rgba(59,130,246,0.6);
    background: linear-gradient(180deg, rgba(30,58,138,0.2) 0%, rgba(17,24,39,0.7) 100%);
}

.hcs-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(37,99,235,0.15);
    color: #3b82f6;
    border: 1px solid rgba(37,99,235,0.3);
}

.hcs-card-header {
    margin-bottom: 20px;
}

.hcs-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hcs-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 12px;
}

.hcs-price-num {
    font-size: 26px;
    font-weight: 800;
    color: #3b82f6;
}

.hcs-price-unit {
    font-size: 13px;
    color: var(--text-secondary, #8e9bb0);
}

.hcs-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hcs-spec-item {
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary, #cbd5e1);
}

[data-theme="light"] .hcs-spec-item {
    color: #4b5563;
}

.hcs-spec-item i {
    width: 16px;
    color: #10b981;
}

.hcs-order-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.hcs-order-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37,99,235,0.35);
}

/* Order Form Styling */
.hcs-order-box {
    background: var(--bg-card, rgba(17,24,39,0.7));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    max-width: 800px;
    margin: 0 auto;
}

[data-theme="light"] .hcs-order-box {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.hcs-form-group {
    margin-bottom: 20px;
}

.hcs-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary, #fff);
}

[data-theme="light"] .hcs-label {
    color: #1f2937;
}

.hcs-input, .hcs-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

[data-theme="light"] .hcs-input, [data-theme="light"] .hcs-select {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.hcs-input:focus, .hcs-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.hcs-cycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.hcs-cycle-chip {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: var(--text-primary, #fff);
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

[data-theme="light"] .hcs-cycle-chip {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #1f2937;
}

.hcs-cycle-chip.selected {
    background: rgba(37,99,235,0.15);
    border-color: #3b82f6;
    color: #3b82f6;
    font-weight: 700;
}

.hcs-summary-box {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 20px;
    margin-top: 24px;
}

[data-theme="light"] .hcs-summary-box {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.hcs-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13.5px;
    color: var(--text-secondary, #8e9bb0);
}

.hcs-summary-total {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 12px;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

[data-theme="light"] .hcs-summary-total {
    border-color: #e5e7eb;
    color: #111827;
}

/* Management Tables */
.hcs-table-card {
    background: var(--bg-card, rgba(17,24,39,0.7));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px;
    overflow-x: auto;
}

[data-theme="light"] .hcs-table-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.hcs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.hcs-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #8e9bb0);
    padding: 8px 16px;
    font-weight: 700;
}

.hcs-table td {
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    font-size: 13.5px;
    vertical-align: middle;
}

[data-theme="light"] .hcs-table td {
    background: #f9fafb;
}

.hcs-table tr td:first-child { border-radius: 12px 0 0 12px; }
.hcs-table tr td:last-child { border-radius: 0 12px 12px 0; }
