/* =========================================================
   Hosterbyte Store Orderform - Light Soft Modern Theme (Full-Width Fluid Grid)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-hover-border: #10b981;
    --hb-green-primary: #059669;
    --hb-green-light: #10b981;
    --hb-green-tint: #ecfdf5;
    --hb-green-glow: rgba(16, 185, 129, 0.2);
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --font-stack: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Override narrow WHMCS parent container to allow full-width expansion */
#main-body > .container,
#main-body .container,
.main-content > .container,
body .container {
    max-width: 96% !important;
    width: 96% !important;
}

.hb-order-container {
    background-color: var(--bg-light);
    font-family: var(--font-stack);
    color: var(--text-body);
    padding: 45px 35px;
    min-height: 100vh;
    border-radius: 24px;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.hb-order-header { 
    text-align: center; 
    margin-bottom: 25px; 
}

.hb-order-header h1 { 
    font-size: 2.3rem; 
    font-weight: 800; 
    margin-bottom: 10px; 
    color: var(--text-heading);
    letter-spacing: -0.025em;
}

.hb-order-tagline { 
    font-size: 1.05rem; 
    color: var(--text-muted); 
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Global Toggle Button Wrapper */
.hb-global-toggle-wrapper {
    text-align: center;
    margin-bottom: 35px;
}

.hb-global-toggle-btn {
    background: #ffffff;
    border: 1.5px solid var(--hb-green-primary);
    color: var(--hb-green-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 7px 20px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.hb-global-toggle-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
    transform: translateY(-2px);
}

/* Fluid 4-Columns Desktop Grid */
.hb-comparison-grid.hb-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    align-items: stretch;
}

.hb-product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 35px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04);
}

.hb-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--hb-green-light);
    box-shadow: 0 18px 30px -8px rgba(16, 185, 129, 0.16);
}

.hb-product-card.hb-featured { 
    border: 2px solid var(--hb-green-primary); 
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 130px);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.18);
}

.hb-badge {
    position: absolute; 
    top: -13px; 
    left: 50%; 
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%); 
    color: #ffffff; 
    font-size: 0.72rem; 
    font-weight: 800;
    padding: 5px 16px; 
    border-radius: 9999px; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.hb-product-info {
    text-align: center;
    margin-bottom: 15px;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hb-product-info h3 { 
    font-size: 1.35rem; 
    font-weight: 800; 
    margin-bottom: 4px; 
    text-align: center;
    color: var(--text-heading);
    letter-spacing: -0.015em;
}

.hb-product-tagline { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    text-align: center;
    line-height: 1.3;
}

.hb-product-price {
    font-size: 1.55rem; 
    font-weight: 800; 
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9; 
    padding-bottom: 18px;
    display: flex; 
    align-items: baseline; 
    justify-content: center;
    color: var(--hb-green-primary);
}

.hb-currency { 
    font-size: 0.95rem; 
    color: var(--hb-green-primary); 
    margin-right: 3px; 
    font-weight: 700; 
}

.hb-amount { 
    font-size: 1.75rem; 
    font-weight: 800;
    color: var(--hb-green-primary); 
    letter-spacing: -0.02em;
}

.hb-cycle { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin-left: 3px; 
    font-weight: 500;
}

.hb-product-features { 
    flex-grow: 1; 
    margin-bottom: 24px; 
}

.hb-product-features ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.hb-product-features li { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 11px; 
    font-size: 0.9rem; 
    line-height: 1.4;
    color: var(--text-body);
}

.hb-icon-check { 
    color: var(--hb-green-primary); 
    background-color: var(--hb-green-tint);
    border-radius: 50%;
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 10px; 
    flex-shrink: 0; 
    margin-top: 2px;
}

.hb-feature-text {
    font-weight: 500;
}

.hb-extra-features-wrapper {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}

.btn-order {
    display: block; 
    width: 100%; 
    padding: 13px 20px; 
    text-align: center;
    border: 2px solid var(--hb-green-primary); 
    color: var(--hb-green-primary);
    background-color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700; 
    text-decoration: none; 
    border-radius: 12px; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-order:hover, 
.hb-product-card.hb-featured .btn-order {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%); 
    color: #ffffff; 
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

.hb-order-footer-note {
    text-align: center;
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-style: italic;
}

/* Responsive Grids */
@media (max-width: 1280px) { 
    .hb-comparison-grid.hb-grid-4 { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

@media (max-width: 640px) { 
    .hb-comparison-grid.hb-grid-4 { 
        grid-template-columns: 1fr; 
    } 
}
