* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}
main, footer { margin: 0; padding: 0; }

/* ===== HERO ===== */
#hero {
    background: linear-gradient(160deg, #4a07b5 0%, #6810d6 55%, #7b22e8 100%);
    position: relative;
    padding: 20px 20px 50px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    padding-top: 148px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
}

.hero-headline {
    color: white;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0 0 22px;
    line-height: 1.6;
}

/* Price circle */
.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}
.text_circle {
    position: absolute;
    width: 140px;
    height: 140px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    animation: textRotation 12s linear infinite;
}
@keyframes textRotation { to { transform: rotate(360deg); } }
.text_circle span {
    position: absolute;
    left: 70px;
    font-size: 1em;
    transform-origin: 0 70px;
}
.price { color: white; margin: 0; font-size: 38px; font-weight: 700; text-align: center; }
.currency { color: white; margin: 0; text-align: center; font-size: 13px; }

/* Course name chip */
.course {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 10px 24px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 22px;
}

/* Instructor face photo in hero */
.face {
    width: 155px;
    height: 165px;
    object-fit: cover;
    display: block;
    margin: 0 auto 26px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

/* ===== CTA BUTTON (shared) ===== */
.buy_course_btn {
    display: block;
    width: fit-content;
    min-width: 260px;
    margin: 0 auto 10px;
    padding: 18px 28px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.5px;
}
.buy_course_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.buy_course_btn:active { transform: translateY(0); }

/* ===== COURSE FEATURES ===== */
.course_description {
    background-color: #5f09de;
    border-radius: 20px;
    padding: 4px 12px 16px;
    margin: 16px 12px;
}
.what_you_get {
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: 18px 0 10px;
    margin: 0;
    font-size: 20px;
}
.card {
    background-color: #fff;
    display: flex;
    align-items: flex-start;
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 16px 14px;
}
.check_img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin: 2px 12px 0 2px;
    flex-shrink: 0;
}
.right_card_column { flex: 1; }
.card_title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 6px;
    color: #5f09de;
}
.card_description {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #333;
    line-height: 1.55;
}

/* ===== INSTRUCTOR ===== */
.instructor-section {
    margin: 24px 12px;
}
.instructor-photo {
    display: block;
    margin: 0 auto 20px;
    width: 220px;
    object-fit: contain;
    border-radius: 20px;
}
.about_me {
    padding: 24px 20px;
    box-shadow: 0 6px 24px rgba(95, 9, 222, 0.18);
    border-radius: 20px;
    background: white;
}
.about_me_title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #5f09de;
    margin: 0 0 4px;
}
.about_me_subtitle {
    font-size: 15px;
    color: #777;
    margin: 0 0 16px;
}
.about_me_list {
    padding-left: 22px;
    margin: 0 0 16px;
}
.about_me_list li {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #333;
}
.about_me_list li::marker { color: #5f09de; }
.about_me_footer {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #5f09de;
    margin: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    margin: 30px 0 0;
    padding: 0 0 10px;
}
.feedback_title {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 20px;
    color: #222;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    height: 140px;
}
.mySlides { display: none; height: 140px; }
.slide_img {
    object-fit: contain;
    height: 130px;
    display: block;
    margin: 0 auto;
    width: 100%;
}
.numbertext {
    color: #999;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    z-index: 5;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(95, 9, 222, 0.1);
    color: #5f09de;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50%;
    user-select: none;
    text-decoration: none;
    transition: background-color 0.3s;
    z-index: 5;
}
.prev { left: 8px; }
.next { right: 8px; }
.prev:hover, .next:hover { background-color: rgba(95, 9, 222, 0.2); }
.fade { animation: fade 1.2s ease; }
@keyframes fade { from { opacity: 0.4 } to { opacity: 1 } }
.dots-container {
    text-align: center;
    padding: 14px 0 6px;
}
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.4s;
}
.dot.active, .dot:hover { background-color: #5f09de; }

/* ===== PRICING ===== */
.pricing-section {
    text-align: center;
    padding: 30px 20px 24px;
    background: linear-gradient(180deg, #f7f3ff 0%, #fff 100%);
    margin: 20px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(95, 9, 222, 0.1);
}
.pricing-title {
    font-size: 22px;
    font-weight: 700;
    color: #5f09de;
    margin: 0 0 16px;
    text-transform: uppercase;
}
.old_price {
    font-size: 18px;
    text-align: center;
    text-decoration: line-through;
    color: #aaa;
    margin: 0;
}
.new_price {
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    color: #4CAF50;
    margin: 4px 0 10px;
    line-height: 1;
}
.urgency-text {
    font-size: 14px;
    color: #e53935;
    font-weight: 600;
    margin: 0 0 20px;
    letter-spacing: 0.3px;
}
.guarantee {
    display: inline-block;
    background: #f0faf0;
    border: 1px solid #4CAF50;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
    margin: 14px auto 8px;
}
.payment-note {
    font-size: 12px;
    color: #aaa;
    margin: 8px 0 0;
}

/* ===== FAQ ===== */
.faq-section {
    margin: 24px 12px 30px;
}
.faq-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin: 0 0 20px;
    text-transform: uppercase;
}
.faq-item {
    border: 1px solid #e5d9ff;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
}
.faq-question:hover { background: #f9f6ff; }
.faq-icon {
    flex-shrink: 0;
    font-size: 22px;
    color: #5f09de;
    font-weight: 400;
    transition: transform 0.3s;
    line-height: 1;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 15px;
    color: #444;
    line-height: 1.65;
    background: white;
}

/* ===== FLOATING BUTTON ===== */
.buy_course_float {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 100;
    text-align: center;
    transition: opacity 500ms linear;
}
.buy_course_float_btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 18px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    animation: pulse 4s infinite;
    letter-spacing: 0.5px;
}
@keyframes pulse {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.04); }
}
.is_hidden { opacity: 0; pointer-events: none; }
.is_visible { opacity: 1; pointer-events: auto; }

/* ===== FOOTER ===== */
.footer_background {
    background-image: linear-gradient(white, #5f09de);
    text-align: center;
    padding: 40px 20px 80px;
    font-size: 13px;
}
.footer_background p { margin: 6px 0; }
.footer_background a { color: #333; }
.fab {
    font-size: 30px;
    width: 34px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}
.fa-tiktok {
    color: #111;
    filter: drop-shadow(2px 0px 0px #FD3E3E) drop-shadow(-2px -2px 0px #4DE8F4);
    margin: 0 14px;
}
.fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-right: 14px;
}
.fa-telegram {
    color: transparent;
    background: #1c92d2;
    -webkit-background-clip: text;
    background-clip: text;
    margin-left: 14px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 480px) {
    .hero-headline { font-size: 28px; }
    .course { font-size: 26px; }
    .face { width: 175px; height: 185px; }
    .card_title { font-size: 16px; }
    .card_description { font-size: 15px; }
    .slideshow-container { height: 170px; }
    .mySlides { height: 170px; }
    .slide_img { height: 160px; }
    .buy_course_float_btn { max-width: 380px; }
}

@media (min-width: 768px) {
    #hero { padding: 40px 40px 60px; }
    .hero-content {
        max-width: 680px;
        margin: 0 auto;
        padding-top: 155px;
    }
    .hero-headline { font-size: 32px; }
    .hero-subtitle { font-size: 17px; }
    .face { width: 190px; height: 200px; }

    .course_description {
        max-width: 720px;
        margin: 20px auto;
    }
    .card { padding: 20px 16px; }
    .card_title { font-size: 17px; }
    .card_description { font-size: 15px; }

    .instructor-section {
        max-width: 720px;
        margin: 30px auto;
        display: flex;
        align-items: flex-start;
        gap: 24px;
    }
    .instructor-photo {
        width: 200px;
        flex-shrink: 0;
        margin: 0;
    }
    .about_me { flex: 1; }

    .slideshow-container { height: 200px; max-width: 680px; }
    .mySlides { height: 200px; }
    .slide_img { height: 190px; }

    .pricing-section { max-width: 520px; margin: 30px auto; }
    .faq-section { max-width: 720px; margin: 30px auto; }
    .feedback_title { font-size: 28px; }
}

@media (min-width: 1024px) {
    #hero { padding: 50px 60px 70px; min-height: 520px; }
    .hero-content {
        max-width: 760px;
        padding-top: 60px;
    }
    .circle { top: 44px; left: 60px; }
    .hero-headline { font-size: 38px; }

    .course_description { max-width: 800px; }
    .instructor-section { max-width: 800px; }
    .faq-section { max-width: 800px; }

    .slideshow-container { height: 230px; max-width: 800px; }
    .mySlides { height: 230px; }
    .slide_img { height: 220px; }
}
