:root {
    --primary: #4e54c8;
    --secondary: #8f94fb;
    --accent: #ff6b6b;
    --light: #f8f9fa;
    --dark: #343a40;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/img/bg-masthead.jpg?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
}

.module-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.module-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 28px;
}

.module-card:hover .module-icon {
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
}

.download-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    margin: 10px;
}

.contact-telegram {
    background-color: #0088cc;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

.contact-telegram:hover {
    background-color: #006da3;
    color: white;
}

footer {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

.modules-section {
    background: linear-gradient(to bottom, #f9f9ff, #f1f4ff);
    padding: 80px 0;
}

.module-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-body {
    padding: 30px;
}

.module-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.module-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.module-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.terms-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.terms-modal .modal-header {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.terms-content {
    height: 60vh;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 20px;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.terms-link:hover {
    text-decoration: underline;
}

.pdf-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.pdf-icon {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.pdf-download-btn {
    margin-top: 20px;
    background-color: #e74c3c;
    border: none;
}

.pdf-download-btn:hover {
    background-color: #c0392b;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    min-height: 60vh;
    border: 1px solid #ddd;
    border-radius: 5px;
}