/* --- Hero --- */
.programs-hero-bg {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.5)), url('/images/main/ali.jpg');
    background-size: cover;
    background-position: center;
}

/* --- Steps Section --- */
.program-steps { padding: 80px 0; background: #000; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: 0.3s;
}

.step-card:hover { border-color: var(--red); transform: translateY(-5px); }

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(230, 57, 70, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
}

.step-card h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 15px; color: #fff; position: relative; }
.step-card p { color: #888; font-size: 0.95rem; line-height: 1.6; }

/* --- Pricing Preview --- */
.pricing-preview { padding: 100px 0; }
.price-box {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1a1a, #0b0b0b);
    padding: 60px 40px;
    border-radius: 40px;
    border: 2px solid var(--red);
    text-align: center;
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.1);
}

.price-box i { font-size: 3rem; color: var(--red); margin-bottom: 25px; }
.price-box h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 15px; }
.price-box p { color: #aaa; margin-bottom: 30px; }
.price-tag { font-size: 2.5rem; font-weight: 900; margin-bottom: 30px; color: #fff; }

/* --- Mobile Fix --- */
@media (max-width: 768px) {
    .price-box { padding: 40px 20px; }
    .price-tag { font-size: 2rem; }
}


/* --- Program Popup Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none; /* Sākumā paslēpts */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.program-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-header {
    background: linear-gradient(135deg, var(--red), #a32932);
    padding: 30px;
    color: #fff;
}

.modal-header h3 {
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
    background: none;
    border: none;
}

.modal-close:hover { color: #fff; }

.modal-body { padding: 30px; }

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

.form-group label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.modal-body input, 
.modal-body textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 15px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.modal-body input:focus, 
.modal-body textarea:focus {
    border-color: var(--red);
}

.btn-submit {
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

/* Paldies ziņojums */
.thanks-msg {
    text-align: center;
    padding: 40px 20px;
}

.thanks-msg i {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 20px;
}