﻿/* Стили для страницы курса "AI для финансистов" */

:root {
    --primary-color: #007BFF;
    --secondary-color: #0056b3;
}

.course-hero {
  background: linear-gradient(rgba(0, 27, 58, 0.8), rgba(0, 27, 58, 0.8)), url('../img/ai/ai.png') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 120px 0;
  text-align: center;
}

.course-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #e7f3ff; /* Светло-голубой цвет для лучшего контраста */
}

.course-hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.course-section {
  padding: 80px 0;
}

.course-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.program-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.program-card h3 {
  color: #0056b3;
  margin-bottom: 15px;
}

.cta-section {
    background-color: #f8f9fa;
    text-align: center;
}

/* Меняем цвет заголовка в CTA-секции, чтобы он был более выразительным */
.cta-section .section-title {
    color: #191b45; /* Темно-синий цвет для контраста на светлом фоне */
}

/* --- Стили для блока с ценами --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

.pricing-card:hover, .pricing-card.popular {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.15);
}

.pricing-card.popular {
    border: 2px solid #0056b3;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0056b3;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.8rem;
    font-weight: bold;
    color: #0056b3;
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: normal;
    color: #6c757d;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-card ul li i {
    color: #28a745;
    margin-right: 10px;
}

.highlight {
    color: #007BFF;
    font-weight: bold;
}

/* --- Form (from well.html) --- */
.payment-form {
    max-width: 500px; margin: 40px auto 0; background: #fff; padding: 50px;
    border-radius: 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.02);
}
.form-group {
    margin-bottom: 20px;
}
.payment-form input {
    width: 100%; padding: 0 25px; height: 55px;
    border: 2px solid transparent; border-radius: 10px;
    font-size: 1rem; transition: all 0.3s; background: #f4f6f8;
    box-sizing: border-box;
    margin-bottom: 0; /* Убираем отступ, наследуемый из styles.css, чтобы уменьшить расстояние */
    color: #333; font-weight: 500;
}
.payment-form input:focus {
    border-color: var(--primary-color); background: #fff; outline: none;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}
.iti { width: 100%; }

.btn-submit {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); color: white;
    font-size: 1.1rem; padding: 18px; border: none; border-radius: 10px;
    cursor: pointer; font-weight: 700; letter-spacing: 0.5px; transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3); width: 100%;
    margin-top: 10px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 15px 25px rgba(0, 123, 255, 0.4); }

/* --- Form Success Message (from well.html) --- */
.form-success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInScale 0.5s ease-out;
}
.form-success-message .success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}
.form-success-message h3 {
    color: #191b45;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.form-success-message p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
