/* CTA & Buttons Refinement */
.hero-cta { display: flex; flex-direction: column; gap: 15px; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 16px 40px;
    border-radius: 14px;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
}

/* Modal Form - Premium Glassmorphism */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    padding: 40px 20px;
    overflow-y: auto;
}

.modal.active { display: block; }

.modal-content {
    background: #0a0a0c;
    border: 1px solid var(--border);
    max-width: 700px;
    margin: 40px auto;
    border-radius: 28px;
    padding: 40px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: 25px; right: 25px;
    font-size: 2.5rem; color: #444;
    cursor: pointer; transition: 0.3s;
    line-height: 0.5;
}
.close-modal:hover { color: #fff; }

.order-form h2 { margin-bottom: 35px; font-size: 2.2rem; font-weight: bold; }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; font-weight: bold; }
.form-control {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    transition: 0.3s;
}
.form-control:focus { border-color: var(--accent-blue); outline: none; background: rgba(255,255,255,0.05); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Product Constructor */
.product-row {
    display: grid; grid-template-columns: 2.5fr 1fr 1fr auto;
    gap: 15px; align-items: center;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.02);
    padding: 12px; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.02);
}
.row-sum { font-weight: bold; color: var(--accent-blue); text-align: right; min-width: 70px; }
.remove-row { color: #555; cursor: pointer; font-size: 1.4rem; padding: 0 5px; transition: 0.3s; }
.remove-row:hover { color: #ff4444; }

.add-product-btn {
    background: rgba(255,255,255,0.02); border: 1px dashed #333; color: #666;
    padding: 14px; border-radius: 12px; cursor: pointer;
    width: 100%; margin-top: 5px; transition: 0.3s;
    font-size: 0.95rem; font-weight: 500;
}
.add-product-btn:hover { border-color: var(--accent-blue); color: #fff; background: rgba(0,132,255,0.05); }

.order-summary {
    margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.summary-item { font-size: 1.1rem; color: #888; }
.total-price { font-size: 2.4rem; font-weight: bold; color: var(--accent-blue); text-shadow: 0 0 30px rgba(0,132,255,0.2); }

.submit-order {
    width: 100%; background: var(--accent-blue); color: #fff;
    padding: 22px; border: none; border-radius: 16px;
    font-weight: bold; font-size: 1.2rem; cursor: pointer;
    margin-top: 40px; transition: 0.4s;
    box-shadow: 0 20px 40px rgba(0,132,255,0.2);
}
.submit-order:hover { filter: brightness(1.1); transform: translateY(-3px); box-shadow: 0 25px 50px rgba(0,132,255,0.3); }
.submit-order:disabled { background: #333; color: #666; cursor: not-allowed; box-shadow: none; }

/* Privacy Checkbox */
.checkbox-group { margin-top: 30px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox-label input { width: 20px; height: 20px; margin-top: 2px; }
.checkbox-text { font-size: 0.85rem; color: #888; line-height: 1.4; }
.checkbox-text a { color: var(--accent-blue); text-decoration: none; }

/* Cookie Banner - Premium Floating Card */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-banner a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.cookie-btn {
    width: 100%;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .row-2 { grid-template-columns: 1fr; gap: 10px; }
    .product-row { grid-template-columns: 1fr 80px 80px auto; gap: 10px; padding: 10px; }
    .modal-content { padding: 25px 20px; border-radius: 20px; margin: 20px auto; }
    .order-form h2 { font-size: 1.8rem; }
    .total-price { font-size: 2rem; }

    /* Mobile Cookie adaptation */
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
        max-width: 420px;
        margin: 0 auto;
        padding: 22px;
    }
}
