.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(56, 189, 248, 0.5);
}

.price-text {
    color: #38bdf8;
    font-size: 1.5rem;
    font-weight: bold;
}

.products-section h1 { text-align:center; margin-bottom: 8px; }
.products-section > p { text-align:center; color: #94a3b8; margin-bottom: 8px; max-width: 680px; margin: 0 auto 8px; }
.vps-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; max-width: 1280px; margin: 32px auto 0; padding: 0 16px; }
.vps-card { background: rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.10); border-radius: 24px; padding: 28px; display:flex; flex-direction:column; transition:border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.vps-card:hover { border-color: rgba(56,189,248,0.4); transform: translateY(-2px); }
.vps-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.vps-card .description { font-size: 13px; color: #94a3b8; margin-bottom: 16px; line-height: 1.5; }
.vps-card .price { font-size: 28px; font-weight: 800; color: #38bdf8; margin-bottom: 20px; }
.vps-card .price span { font-size: 14px; font-weight: 400; color: #6b7280; margin-left: 4px; }
.vps-card ul { list-style: none; margin-bottom: 12px; }
.vps-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.vps-card .spec-label { color: #6b7280; }
.vps-card .spec-value { font-weight: 700; color: #e2e8f0; }

.review-stars-line { display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.star-rating-line { display: flex; gap: 1px; }
.star-rating-line .star { color: #fbbf24; font-size: 13px; }
.star-rating-line .star.empty { color: #374151; }
.review-avg-line { font-weight: 800; font-size: 13px; color: #fbbf24; }
.review-count-line { font-size: 12px; color: #6b7280; }
.review-count-line.empty { font-style: italic; }

.card-actions { display: flex; gap: 8px; }
.card-actions form { flex: 1; }
.reviews-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: #cbd5e1; padding: 12px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; white-space: nowrap; }
.reviews-btn:hover { background: rgba(56,189,248,0.12); border-color: rgba(56,189,248,0.3); color: #38bdf8; }

.review-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.review-modal-overlay.visible { display: flex; opacity: 0; animation: modalFadeIn 0.25s ease forwards; }
.review-modal-overlay.visible .review-modal { transform: scale(0.94) translateY(12px); animation: modalScaleIn 0.25s ease forwards; }
@keyframes modalFadeIn { to { opacity: 1; } }
@keyframes modalScaleIn { to { transform: scale(1) translateY(0); } }
.review-modal { background: #151515; border: 1px solid rgba(255,255,255,0.12); border-radius: 24px; padding: 28px; width: 100%; max-width: 520px; max-height: 85vh; display: flex; flex-direction: column; margin: 16px; }
.review-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-shrink: 0; }
.review-modal-header h3 { font-size: 18px; font-weight: 800; margin: 0; }
.review-modal-close { background: none; border: none; color: #6b7280; font-size: 28px; cursor: pointer; line-height: 1; padding: 0 4px; }
.review-modal-close:hover { color: #fff; }

.review-modal-body { overflow-y: auto; flex: 1; min-height: 0; }
.review-modal-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 16px 0; }
.review-modal-form h4 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: #e2e8f0; }

.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.review-item:last-child { padding-bottom: 0; border-bottom: none; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.review-author { font-weight: 700; font-size: 13px; color: #e2e8f0; }
.review-date { font-size: 11px; color: #6b7280; }
.review-item-stars { margin-bottom: 4px; }
.review-item-stars .star { color: #fbbf24; font-size: 12px; }
.review-item-stars .star.empty { color: #374151; }
.review-comment { font-size: 12px; color: #94a3b8; line-height: 1.5; margin: 0; }
.review-empty-text { font-size: 13px; color: #6b7280; text-align: center; padding: 16px; font-style: italic; }

.review-form-group { margin-bottom: 16px; }
.review-form-group label { display: block; font-size: 13px; font-weight: 700; color: #94a3b8; margin-bottom: 6px; }
.review-form-group textarea { width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; color: #e2e8f0; font-family: inherit; font-size: 13px; resize: vertical; }
.review-form-group textarea:focus { outline: none; border-color: #38bdf8; }
.review-form-error { color: #ef4444; font-size: 12px; font-weight: 600; margin-bottom: 12px; padding: 8px 12px; background: rgba(239,68,68,0.08); border-radius: 8px; }

.review-rating-select { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.review-rating-select input { display: none; }
.review-rating-select label { font-size: 28px; color: #374151; cursor: pointer; transition: color 0.15s; }
.review-rating-select label:hover,
.review-rating-select label:hover ~ label,
.review-rating-select input:checked ~ label { color: #fbbf24; }

.review-form-buttons { display: flex; gap: 10px; margin-top: 4px; }
.review-form-buttons .plan-btn { flex: 1; }
.review-cancel-btn { padding: 12px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #94a3b8; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; white-space: nowrap; }
.review-cancel-btn:hover { background: rgba(255,255,255,0.10); color: #e2e8f0; }
