/* Імпорт додаткових шрифтів */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Глобальні стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Анімовані частинки на фоні */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Заголовок */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



header .logo {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header a.cta-button {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    position: relative;
    overflow: hidden;
}

header a.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

header a.cta-button:hover::before {
    left: 100%;
}

header a.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

/* Головна секція */
main {
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: slideInFromLeft 1s ease-out 0.3s both;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

main p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #2d3436;
    font-weight: 400;
    animation: slideInFromRight 1s ease-out 0.5s both;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.button-group {
    margin-top: 50px;
    animation: bounceIn 1s ease-out 0.7s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.button-group a {
    background: linear-gradient(45deg, #e17055, #fd79a8);
    color: #fff;
    text-decoration: none;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(225, 112, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.button-group a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #fd79a8, #fdcb6e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.button-group a:hover::before {
    opacity: 1;
}

.button-group a:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(225, 112, 85, 0.4);
}

/* Секція переваг */
.features {
    padding: 100px 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffeaa7 100%);
    text-align: center;
    width: 100%;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    z-index: 1;
}

.features>* {
    position: relative;
    z-index: 2;
}

.features h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    font-weight: 800;
}

.feature-blocks {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature h3 {
    font-size: 26px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature p {
    font-size: 18px;
    color: #555;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Стилі для програми курсу */
.course-lessons {
    margin-top: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.course-lessons h3 {
    font-size: 36px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    font-weight: 700;
}

.lessons-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.lesson-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.lesson-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lesson-item:hover::before {
    transform: scaleX(1);
}

.lesson-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.lesson-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.lesson-content h4 {
    font-size: 20px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: 600;
}

.lesson-content p {
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}


/* Секція цін */
#pricing {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fdcb6e 0%, #ffeaa7 100%);
    width: 100%;
    position: relative;
    overflow: hidden;
}

#pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#pricing>* {
    position: relative;
    z-index: 2;
}

#pricing h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#pricing>p {
    font-size: 20px;
    color: #2d3436;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.course-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.pricing-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 234, 167, 0.3), rgba(253, 203, 110, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-box:hover::before {
    opacity: 1;
}

.pricing-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.tariff-header {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: #fff;
    padding: 15px 0;
    font-weight: 700;
    font-size: 18px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    position: relative;
    z-index: 2;
}

.tag-solo {
    background: linear-gradient(45deg, #00b894, #00cec9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.tag-support {
    background: linear-gradient(45deg, #ffdb4d, #ffeb99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.course-start-note {
    text-align: center;
    margin: 40px auto;
    font-weight: 700;
    font-size: 22px;
    color: #2d3436;
    /* основний текст темно-сірий */
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.course-start-note {
    text-align: center;
    padding: 40px 20px;
    margin: 50px auto;
    max-width: 800px;
}

.course-start-note p {
    font-size: 32px;
    font-weight: 800;
    color: #fd79a8;
    line-height: 1.4;
    margin: 0 auto;
}





.course-details {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.course-details li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-size: 16px;
    color: #2d3436;
}

.course-details li:not(.cross)::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
    font-size: 18px;
}

.course-details .cross {
    text-decoration: line-through;
    color: #636e72;
    opacity: 0.7;
}

.course-details .cross::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #e17055;
    font-weight: bold;
    font-size: 18px;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
    position: relative;
}

.old-price {
    font-size: 24px;
    color: #b2bec3;
    font-weight: 600;
    opacity: 0.85;
    position: relative;
    display: inline-block;
}

.old-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #d63031;
    transform: rotate(-10deg);
    transform-origin: center;
}

.price {
    font-size: 40px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin: 0;
    /* прибрати зайвий відступ */
}

.discount-notice {
    font-size: 16px;
    font-weight: 700;
    color: #e17055;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    margin: 10px 0 0 0;
    display: inline-block;
    border: 2px solid #e17055;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 10px rgba(225, 112, 85, 0.2);
}

.pricing-box .price {
    font-size: 40px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin: 25px 0;
    position: relative;
    z-index: 2;
}

.pricing-box form {
    margin-top: 25px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.pricing-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
}

.pricing-box input {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 15px;
    border: 2px solid rgba(108, 92, 231, 0.3);
    background: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: all 0.3s ease;
}

.pricing-box input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
}

.pricing-box button {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.pricing-box button:hover::before {
    left: 100%;
}

.pricing-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(108, 92, 231, 0.4);
}

.payment-note {
    font-size: 12px;
    color: #636e72;
    margin-top: 10px;
    line-height: 1.4;
    text-align: center;
}

.payment-note a {
    color: #6c5ce7;
    text-decoration: underline;
}

.payment-note strong {
    font-weight: 600;
}

.payment-note a {
    position: relative;
    /* щоб поставити z-index */
    z-index: 10;
    /* щоб бути поверх інших елементів */
    pointer-events: auto;
    /* щоб кліки проходили */
}


/* Футер */
footer {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    font-size: 16px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

footer>* {
    position: relative;
    z-index: 2;
}

footer a {
    color: #fdcb6e;
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s ease;
    font-weight: 500;
}

footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(253, 203, 110, 0.5);
}

/* ============================================
   ДОДАТКОВІ СТИЛІ ДЛЯ КУРСУ РУМУНСЬКОЇ МОВИ
   ============================================ */

/* Секція "Що курс допоможе" */
.about-course {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6e9ff 100%);
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.about-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(162, 155, 254, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.about-course>* {
    position: relative;
    z-index: 2;
}

.about-course h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    font-weight: 800;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.course-benefits {
    display: flex;
    justify-content: center;
    /* по горизонталі */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.benefit-item p {
    font-size: 16px;
    color: #2d3436;
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.benefit-item em {
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
    font-weight: 600;
}

/* Секція "Кому підійде" */
.target-audience {
    padding: 100px 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.target-audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 75%, rgba(225, 112, 85, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(253, 121, 168, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.target-audience>* {
    position: relative;
    z-index: 2;
}

.target-audience h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    font-weight: 800;
}

.audience-grid {
    display: flex;
    /* Вмикаємо Flexbox */
    flex-wrap: wrap;
    /* Дозволяємо елементам переноситись на новий рядок */
    justify-content: center;
    /* Центруємо елементи по горизонталі */
    gap: 30px;
    /* Задаємо відступ між блоками */
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    /* ЗМІНА: Додано для кращого центрування */
}

.audience-item {
    flex-basis: 280px;
    /* Базова ширина елемента */
    flex-grow: 1;
    /* Дозволяє елементу рости, щоб заповнити місце */
    max-width: 380px;
    /* Максимальна ширина, щоб не розтягувались занадто сильно */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.audience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.audience-item:hover::before {
    transform: scaleX(1);
}

.audience-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.audience-icon {
    font-size: 40px;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    border-radius: 50%;
    margin: 0 auto 25px;
    box-shadow: 0 6px 20px rgba(225, 112, 85, 0.3);
}

.audience-item h3 {
    font-size: 30px;
    /* ЗМІНА: Збільшено з 24px */
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
}

.audience-item p {
    font-size: 20px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Секція "Про авторку" */
.about-author {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.about-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.about-author>* {
    position: relative;
    z-index: 2;
}

.about-author h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    font-weight: 800;
}

.about-author p {
    font-size: 20px;
    color: #2d3436;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex: 1;
    margin: 0;
    /* 💥 прибираємо auto-margin */
    max-width: none;
    /* 💥 дозволяємо флекс-ширину */
}

.inline-author-photo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    float: left;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-author strong {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.author-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.side-author-photo {
    width: auto;
    height: auto;
    max-width: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.author-flex-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.author-side-photo {
    height: auto;
    max-width: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    align-self: stretch;
    /* важливо: вирівнює по висоті з <p> */
}

/* адаптивність для мобільних */
@media (max-width: 768px) {
    .author-flex-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-side-photo {
        max-width: 80%;
        height: auto;
        align-self: center;
    }

    .inline-author-photo {
        float: none;
        display: block;
        margin: 0 auto 15px;
    }

    .about-author p {
        text-align: left;
    }
}

/* Контейнер для логотипа та тексту */
.logo-wrapper {
    display: flex;
    align-items: center;
    /* Вирівнює логотип та текст по центру по вертикалі */
    gap: 15px;
    /* Додає відступ між зображенням та текстом */
}

/* Стиль для самого зображення логотипа */
.logo-image {
    height: 50px;
    /* Встановіть висоту логотипа для великих екранів */
    width: auto;
    /* Ширина буде автоматичною для збереження пропорцій */
}
/* ============================================
   СТИЛІ ДЛЯ СЕКЦІЙ "ПРИКЛАД ВІДЕО" ТА "ЗОШИТИ"
   ============================================ */

/* 1. Секція Приклад Відео */
.video-demo-section {
    padding: 100px 20px;
    text-align: center;
    background-color: #f7f7f7; /* Легкий фон */
    position: relative;
    overflow: hidden;
}

.video-demo-section h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    font-weight: 800;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    /* Створення адаптивного контейнера для відео */
    padding-bottom: 56.25%; /* Співвідношення сторін 16:9 */
    height: 0;
    animation: fadeInScale 1s ease-out;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* 2. Секція Приклад Зошитів/Ресурсів */
.resource-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
}

.resource-section h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    font-weight: 800;
}

.resource-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.resource-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: left; /* Вирівнюємо текст по лівому краю */

    /* --- ГОЛОВНЕ ВИПРАВЛЕННЯ ДЛЯ "3 В РЯД" --- */
    /* Базова ширина 300px, максимальна 380px */
    flex: 1 1 300px; 
    max-width: 380px; 
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.resource-card h3 {
    font-size: 24px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative; 
    z-index: 2;
}

.resource-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 0; 
    position: relative;
    z-index: 2;
}

/* Рамка для зображення */
.resource-card .image-frame {
    width: 100%;
    height: 220px; /* Фіксована висота для рамки */
    border-radius: 10px;
    overflow: hidden; 
    background: #e8f2ff; /* Фон-заглушка */
    border: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative; 
}

.resource-card .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрізаємо, щоб заповнити рамку */
    object-position: top; /* Показуємо верх сторінки */
    transition: transform 0.3s ease;
}

/* Додаємо відступ знизу до посилання-рамки */
.resource-card a.image-link {
    margin-bottom: 20px;
}
/* ============================================
   СТИЛІ ДЛЯ СЕКЦІЇ "ІНТЕРАКТИВНІ ВПРАВИ"
   ============================================ */
.interactive-exercises-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%); /* Фон, схожий на resource-section */
    position: relative;
    overflow: hidden;
}

.interactive-exercises-section h2 {
    font-size: 48px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    font-weight: 800;
}

.interactive-demo-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    /* Створення адаптивного контейнера (16:9 або 4:3, якщо це більше підходить для вправ) */
    padding-bottom: 56.25%; /* 16:9 для стандартного відео */
    height: 0;
    animation: fadeInUp 1s ease-out;
}

/* Стилі для вбудованого відео/iframe - як у звичайному відео */
.interactive-demo-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
}

.interactive-note {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 600;
    color: #6c5ce7;
}

/* Адаптивність */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        min-height: auto;
    }

    header .logo {
        font-size: 24px;
    }

    .logo-image {
        height: 40px;
    }

    header a.cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    main {
        padding: 60px 15px 50px;
    }

    .features {
        padding: 60px 15px;
    }

    #pricing {
        padding: 60px 15px;
    }

    .feature-blocks {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .feature {
        max-width: 100%;
        min-width: auto;
        width: 100%;
        padding: 25px;
    }

    .course-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

       .course-lessons {
        margin-top: 60px;
    }

    .course-lessons h3 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .lessons-grid {
        gap: 15px;
        padding: 0 10px;
    }

    .lesson-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .lesson-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .lesson-content h4 {
        font-size: 18px;
        text-align: center;
    }

    .lesson-content p {
        font-size: 15px;
        text-align: center;
    }

    .pricing-box {
        max-width: 100%;
        padding: 25px;
    }

    .table-wrapper {
        margin: 30px 10px;
        padding: 15px;
    }

    .form-container {
        margin: 30px 10px;
        padding: 25px;
    }

    footer {
        padding: 40px 15px;
    }

    footer a {
        margin: 5px;
        display: block;
    }
    .video-demo-section, .resource-section {
        padding: 60px 15px;
    }
    
    .video-demo-section h2, .resource-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .resource-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .resource-card {
        max-width: 100%;
        width: 100%;
        padding: 25px;
    }

    .video-wrapper {
        padding: 10px;
        padding-bottom: 56.25%; 
    }
    interactive-exercises-section {
        padding: 60px 15px;
    }
    
    .interactive-exercises-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .interactive-demo-wrapper {
        padding: 10px;
        padding-bottom: 75%; /* Можна спробувати 4:3 для мобільних (75%) */
    }

    .interactive-note {
        font-size: 16px;
    }
}

/* Розширений адаптив для мобільних пристроїв 480px і менше */
@media (max-width: 480px) {

    /* Загальні стилі */
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Заголовок */
    header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 12px;
        position: relative;
    }

    header .logo {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .logo-image {
        height: 20px;
    }

    header a.cta-button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Головна секція */
    main {
        padding: 60px 15px 40px;
        text-align: center;
    }

    main h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    main p {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .button-group {
        margin-top: 30px;
    }

    .button-group a {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        display: block;
        text-align: center;
        box-sizing: border-box;
    }

    /* Секція переваг */
    .features {
        padding: 50px 15px;
    }

    .features h2 {
        font-size: 32px;
        margin-bottom: 40px;
        line-height: 1.2;
    }

    .feature-blocks {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .feature {
        max-width: 100%;
        min-width: auto;
        width: 100%;
        padding: 25px 20px;
        text-align: center;
    }

    .feature h3 {
        font-size: 22px;
        margin-bottom: 15px;
        text-align: center;
    }

    .feature p {
        font-size: 15px;
        text-align: center;
        line-height: 1.6;
    }

    .course-lessons h3 {
        font-size: 24px;
    }

    .lesson-item {
        padding: 18px 15px;
    }

    .lesson-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lesson-content h4 {
        font-size: 16px;
    }

    .lesson-content p {
        font-size: 14px;
    }

    /* Секція цін */
    #pricing {
        padding: 50px 15px;
    }

    #pricing h2 {
        font-size: 32px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    #pricing>p {
        font-size: 16px;
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .course-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-top: 30px;
    }

    .pricing-box {
        max-width: 100%;
        padding: 25px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .tariff-header {
        font-size: 16px;
        padding: 12px 0;
        margin-bottom: 20px;
    }

    .course-details {
        margin-bottom: 20px;
    }

    .course-details li {
        font-size: 14px;
        padding: 6px 0;
        line-height: 1.5;
    }

    .pricing-box .price {
        font-size: 32px;
        margin: 20px 0;
    }

    .pricing-box label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .pricing-box input {
        padding: 14px;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .pricing-box button {
        padding: 16px;
        font-size: 16px;
        margin-top: 10px;
    }

    /* Таблиця */
    .table-wrapper {
        margin: 30px 10px;
        padding: 15px 10px;
        overflow-x: auto;
    }

    .table-scroll-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 12px;
        min-width: 600px;
        /* Мінімальна ширина для горизонтального скролу */
    }

    th {
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
    }

    td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .status-badge {
        padding: 3px 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* Форма */
    .form-container {
        margin: 30px 10px;
        padding: 25px 20px;
        width: calc(100% - 20px);
        box-sizing: border-box;
    }

    .form-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
        line-height: 1.3;
    }

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

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 14px;
        font-size: 16px;
        border-radius: 12px;
    }

    .input-with-icon input,
    .input-with-icon select {
        padding-left: 40px;
    }

    .input-with-icon .input-icon {
        left: 14px;
        font-size: 14px;
    }

    button.submit-btn {
        padding: 16px;
        font-size: 16px;
        margin-top: 15px;
        border-radius: 12px;
    }

    /* Футер */
    footer {
        padding: 40px 15px;
        font-size: 14px;
    }

    footer a {
        margin: 8px 0;
        display: block;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    footer a:last-child {
        border-bottom: none;
    }

    /* Додаткові покращення для мобільних */

    /* Збільшення області натискання для кнопок */
    .pricing-box button,
    .button-group a,
    header a.cta-button,
    button.submit-btn {
        min-height: 44px;
        /* Мінімальна висота для зручності натискання */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Покращення читабельності тексту */
    .feature p,
    .course-details li,
    main p {
        text-align: left;
    }

    .feature,
    .pricing-box {
        text-align: left;
    }

    .feature h3,
    .pricing-box .price,
    .tariff-header {
        text-align: center;
    }

    /* Анімації для мобільних (менш інтенсивні) */
    .feature:hover,
    .pricing-box:hover {
        transform: translateY(-5px);
    }

    .button-group a:hover,
    .pricing-box button:hover,
    header a.cta-button:hover,
    button.submit-btn:hover {
        transform: translateY(-2px);
    }

    /* Горизонтальний скрол для таблиці з індикатором */
    .table-scroll-container::-webkit-scrollbar {
        height: 8px;
    }

    .table-scroll-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }

    .table-scroll-container::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #6c5ce7, #a29bfe);
        border-radius: 4px;
    }

    .table-scroll-container::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(45deg, #5a4fcf, #9085f7);
    }

    /* Покращення для форм на мобільних */
    .form-group input:focus,
    .form-group select:focus,
    .pricing-box input:focus {
        transform: translateY(-1px);
        box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
    }

    /* Зменшення відступів між елементами */
    .features,
    #pricing,
    main {
        margin-bottom: 0;
    }

    /* Покращення для довгих текстів */
    .course-details li {
        word-wrap: break-word;
        hyphens: auto;
    }

    /* Оптимізація для portrait орієнтації */
    @media (orientation: portrait) {
        .course-grid {
            gap: 20px;
        }

        .feature-blocks {
            gap: 15px;
        }

        main {
            padding: 50px 15px 30px;
        }

        .features,
        #pricing {
            padding: 40px 15px;
        }
    }
}

/* Додаткові анімації */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pricing-box:hover .price {
    animation: pulse 1s ease-in-out;
}

/* Плавний скрол */
html {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------------------------------------------*/
/* --- Стилі для таблиці (оновлено за шаблоном) --- */
.table-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    /* Важливо для заокруглення кутів таблиці */
    animation: fadeInUp 1s ease-out;
    /* Анімація появи з шаблону */
}

/* Обгортка для скролу на мобільних пристроях */
.table-scroll-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    color: #2d3436;
}

th {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: #fff;
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    font-size: 17px;
    border-bottom: 3px solid #6c5ce7;
}

td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(211, 211, 211, 0.5);
    /* #ddd з прозорістю */
}

tbody tr {
    transition: background-color 0.3s ease;
}

tbody tr:hover {
    background-color: rgba(253, 203, 110, 0.3);
    /* Використовуємо колір з фону шаблону */
}

tbody tr:last-child td {
    border-bottom: none;
}

/* --- Стилі для форми (оновлено за шаблоном) --- */
.form-container {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.form-container h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    border: 2px solid rgba(108, 92, 231, 0.3);
    background: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #2d3436;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
    transform: translateY(-2px);
}

button.submit-btn {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(45deg, #e17055, #fd79a8);
    /* Акцентний градієнт з шаблону */
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(225, 112, 85, 0.3);
    position: relative;
    overflow: hidden;
}

button.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

button.submit-btn:hover::before {
    left: 100%;
}

button.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(225, 112, 85, 0.4);
}

/***********************************************************************************/
/* --- Додаткові стилі для покращення дизайну --- */

/* 1. Стилі для бейджів статусу */
.status-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.status-paid {
    background: linear-gradient(45deg, #2ed573, #1dd1a1);
    /* Яскравий зелений */
    box-shadow: 0 4px 10px rgba(46, 213, 115, 0.3);
}

.status-pending {
    background: linear-gradient(45deg, #ff9f43, #ffb142);
    /* Теплий помаранчевий */
    box-shadow: 0 4px 10px rgba(255, 159, 67, 0.3);
}

/* 2. Стилі для полів вводу з іконками */
.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #a29bfe;
    /* Колір іконки в тон дизайну */
    font-size: 16px;
    transition: color 0.3s ease;
}

/* Зміщуємо текст вправо, щоб не накладався на іконку */
.input-with-icon input,
.input-with-icon select {
    padding-left: 45px;
}

.form-group:focus-within .input-icon {
    color: #6c5ce7;
    /* Зміна кольору іконки при фокусі */
}

/* 3. Покращення для кнопок та посилань */
th i,
.action-links i,
.submit-btn i {
    margin-right: 8px;
    /* Відступ для іконок */
}

/* 4. Покращення для таблиці */
tbody tr:hover {
    transform: translateY(-3px) scale(1.01);
    /* Більш плавний ефект підняття */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 768px) {

    .about-course,
    .target-audience,
    .about-author {
        padding: 60px 15px;
    }

    .author-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .inline-author-photo {
        float: none;
        display: block;
        margin: 0 auto 15px;
    }

    .author-side-photo {
        width: 80%;
        max-width: 300px;
    }

    .author-wrapper p {
        text-align: left;
    }

    .about-course h2,
    .target-audience h2,
    .about-author h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .course-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        padding: 25px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 24px;
        margin: 0 auto;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .audience-item {
        padding: 30px 25px;
    }

    .audience-icon {
        width: 60px;
        height: 60px;
        font-size: 35px;
    }

    .audience-item h3 {
        font-size: 22px;
    }

    .about-author p {
        font-size: 16px;
        padding: 25px;
    }
}

@media (max-width: 480px) {

    .about-course,
    .target-audience,
    .about-author {
        padding: 40px 15px;
    }

    .author-wrapper {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 25px;
        max-width: 1000px;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .author-side-photo {
        width: 160px;
        height: auto;
        border-radius: 15px;
        object-fit: cover;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        flex-shrink: 0;
    }

    .inline-author-photo {
        float: left;
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 50%;
        margin-right: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .author-wrapper p {
        font-size: 20px;
        color: #2d3436;
        line-height: 1.7;
        margin: 0;
        background: rgba(255, 255, 255, 0.85);
        padding: 20px;
        border-radius: 15px;
        flex: 1;
    }

    .about-course h2,
    .target-audience h2,
    .about-author h2 {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .benefit-item p {
        font-size: 15px;
    }

    .audience-item {
        padding: 25px 20px;
    }

    .audience-icon {
        width: 55px;
        height: 55px;
        font-size: 30px;
    }

    .audience-item h3 {
        font-size: 20px;
    }

    .audience-item p {
        font-size: 15px;
    }

    .about-author p {
        font-size: 15px;
        padding: 20px;
    }
}

/* Додаткові анімації для нових секцій */
.benefit-item,
.audience-item {
    animation: fadeInUp 0.8s ease-out;
}

.benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-item:nth-child(4) {
    animation-delay: 0.4s;
}

.audience-item:nth-child(1) {
    animation-delay: 0.1s;
}

.audience-item:nth-child(2) {
    animation-delay: 0.2s;
}

.audience-item:nth-child(3) {
    animation-delay: 0.3s;
}

.audience-item:nth-child(4) {
    animation-delay: 0.4s;
}

.about-author p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Анімації для уроків */
.lesson-item {
    animation: fadeInUp 0.6s ease-out;
}

.lesson-item:nth-child(1) { animation-delay: 0.1s; }
.lesson-item:nth-child(2) { animation-delay: 0.15s; }
.lesson-item:nth-child(3) { animation-delay: 0.2s; }
.lesson-item:nth-child(4) { animation-delay: 0.25s; }
.lesson-item:nth-child(5) { animation-delay: 0.3s; }
.lesson-item:nth-child(6) { animation-delay: 0.35s; }
.lesson-item:nth-child(7) { animation-delay: 0.4s; }

/* Плавний скрол */
html {
    scroll-behavior: smooth;
}