.home-page {
    --home-ink: #302b54;
    --home-muted: #676a7d;
    --home-purple: #5d5688;
    --home-purple-soft: #f0eef9;
    --home-mint: #d9f7f3;
    --home-mint-strong: #91ddd3;
    background: #fff;
    color: var(--home-ink);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    overflow: hidden;
}

.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page h1, .home-page h2, .home-page h3, .home-page p { letter-spacing: normal; }
.home-page .container { max-width: 1180px; }

.navbar {
    min-height: 68px;
    padding: 6px 24px;
    background: rgba(233, 255, 253, .94) !important;
    border-bottom: 1px solid rgba(83, 83, 111, .08);
    box-shadow: 0 5px 20px rgba(48, 43, 84, .06);
    backdrop-filter: blur(10px);
}

.navbar > .container-fluid { max-width: 1320px; }
.navbar img { width: 178px; height: auto; }

.navbar-nav .nav-link {
    height: auto;
    margin: 3px 4px;
    padding: 9px 13px;
    color: #3a3558 !important;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(58, 53, 88, .13);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #302b54 !important;
    background: #d8f7f2;
    border-color: #aee5dc;
}

.home-hero {
    padding: 68px 0 0;
    background: #fff;
}

.home-page .home-hero .container {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.home-hero__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 470px;
    overflow: hidden;
    background: linear-gradient(130deg, #c9f5ef 0%, #e9efff 54%, #f7e8f2 100%);
    border-top: 1px solid #dfe7eb;
    border-bottom: 1px solid #dfe7eb;
}

.home-hero__card::before,
.home-hero__card::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.home-hero__card::before {
    top: -120px;
    right: -70px;
    width: 330px;
    height: 330px;
    background: rgba(255, 255, 255, .42);
}

.home-hero__card::after {
    bottom: -100px;
    left: 34%;
    width: 220px;
    height: 220px;
    background: rgba(145, 221, 211, .22);
}

.home-hero__identity,
.home-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.home-hero__identity {
    padding-left: max(48px, calc((100vw - 1180px) / 2 + 48px));
}

.home-hero__content {
    padding-right: max(48px, calc((100vw - 1180px) / 2 + 48px));
}

.home-hero__identity { border-right: 1px solid rgba(93, 86, 136, .10); }

.home-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--home-purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-hero__logo {
    width: 100%;
    max-width: 390px;
    height: auto;
    margin: 12px 0 24px;
}

.home-hero__author {
    margin: 0;
    color: var(--home-ink);
    font-size: 18px;
    font-weight: 700;
}

.home-hero__typed {
    min-height: 26px;
    margin: 4px 0 0;
    color: #4d4771;
    font-size: 16px;
    font-weight: 600;
}

.home-hero__typed #cursor {
    color: #2b9b89;
    font-weight: 800;
}

.home-hero__content h1 {
    max-width: 530px;
    margin: 0 0 16px;
    color: var(--home-ink);
    font-size: clamp(38px, 4.3vw, 56px);
    font-weight: 800;
    line-height: 1.04;
}

.home-hero__content > p {
    max-width: 580px;
    margin: 0 0 24px;
    color: #555a70;
    font-size: 17px;
    line-height: 1.65;
}

.home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: normal;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-button:hover { text-decoration: none; transform: translateY(-2px); }
.home-button--primary { color: #fff; background: var(--home-purple); box-shadow: 0 8px 20px rgba(93, 86, 136, .22); }
.home-button--primary:hover { color: #fff; background: #4c466f; }
.home-button--secondary { color: var(--home-ink); background: rgba(255, 255, 255, .72); border-color: rgba(48, 43, 84, .18); }
.home-button--secondary:hover { color: var(--home-ink); background: #fff; }

.home-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.home-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5b6075;
    font-size: 12px;
    font-weight: 700;
}

.home-benefits i { color: #268c7b; }

.home-section { padding: 66px 0; }

.home-about__card {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 34px;
    background: #fff;
    border: 1px solid #e6e7ed;
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(48, 43, 84, .07);
}

.home-about__photo {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

.home-about__photo::before {
    position: absolute;
    inset: -10px;
    content: "";
    background: linear-gradient(135deg, var(--home-mint-strong), #d8d2f2);
    border-radius: 28px;
    transform: rotate(-4deg);
}

.home-about__photo img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 24px;
}

.home-about__content h2 {
    margin: 0 0 4px;
    color: var(--home-ink);
    font-size: 32px;
    font-weight: 800;
}

.home-about__role { margin: 0 0 16px; color: #268c7b; font-size: 15px; font-weight: 700; }
.home-about__content > p:last-child { max-width: 650px; margin: 0; color: var(--home-muted); font-size: 15px; line-height: 1.7; }

.home-course { background: linear-gradient(180deg, #f7f6fc 0%, #f1fbfa 100%); }

.home-section-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 0 0 9px;
    color: var(--home-ink);
    font-size: clamp(28px, 3.3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
}

.home-section-heading p { margin: 0 auto; color: var(--home-muted); font-size: 16px; line-height: 1.6; }

.home-video-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e3ea;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(48, 43, 84, .12);
}

.home-video-card .embed-responsive { overflow: hidden; background: #24232c; border-radius: 14px; }

.home-paths {
    position: relative;
    isolation: isolate;
    padding: 128px 0;
    overflow: hidden;
    background-color: #eadbe8;
    background-image:
        linear-gradient(120deg, rgba(255, 171, 197, .56), rgba(185, 242, 238, .50)),
        url('../img/discount-bg.png');
    background-attachment: fixed;
    background-position: center 25%;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-paths::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: radial-gradient(ellipse at center, transparent 35%, rgba(48, 43, 84, .14) 100%);
    pointer-events: none;
}

.home-paths__content {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 50px;
    align-items: center;
    padding: 34px 42px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .17));
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(48, 43, 84, .10);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
}

.home-paths .home-kicker,
.home-paths h2,
.home-paths p { text-shadow: 0 1px 2px rgba(255, 255, 255, .70); }

.home-paths .home-kicker { color: #46406f; }
.home-paths h2 { margin: 0; color: #211d43; font-size: 32px; font-weight: 800; line-height: 1.2; }
.home-paths p { margin: 0; color: #302d49; font-size: 16px; font-weight: 700; line-height: 1.7; }

.home-pricing { padding-top: 56px; background: linear-gradient(180deg, #fff 0%, #fbf9fd 100%); }
.home-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 850px; margin: 0 auto; }

.home-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid #e0e2e9;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(48, 43, 84, .07);
}

.home-plan-card.is-premium { border: 2px solid var(--home-purple); box-shadow: 0 18px 44px rgba(93, 86, 136, .14); }
.home-plan-card:first-child { background: linear-gradient(155deg, #fff 50%, #effbf9 100%); }
.home-plan-card.is-premium { background: linear-gradient(155deg, #fff 50%, #f3f0fa 100%); }

.home-plan-card__badge {
    position: absolute;
    top: -1px;
    right: -1px;
    padding: 8px 12px;
    color: #fff;
    background: var(--home-purple);
    border-radius: 0 19px 0 13px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.home-plan-card__name { display: block; margin-bottom: 7px; color: var(--home-purple); font-size: 15px; font-weight: 800; }
.home-plan-card__header h3 { margin: 0 0 6px; color: var(--home-ink); font-size: 39px; font-weight: 800; }
.home-plan-card__header h3 small { font-size: 19px; font-weight: 700; }
.home-plan-card__header p { min-height: 44px; margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.5; }

.home-plan-card ul { display: grid; gap: 12px; margin: 23px 0 26px; padding: 0; list-style: none; }
.home-plan-card li { display: flex; align-items: flex-start; gap: 9px; color: #505469; font-size: 14px; line-height: 1.45; }

.home-plan-card li i {
    display: flex;
    flex: 0 0 21px;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    margin-top: 1px;
    color: #208674;
    background: var(--home-mint);
    border-radius: 50%;
    font-size: 9px;
}

.home-button--plan { width: 100%; margin-top: auto; color: var(--home-ink); background: var(--home-mint); }
.home-button--plan:hover { color: var(--home-ink); background: #c2eee8; }
.home-button--plan.is-premium { color: #fff; background: var(--home-purple); }
.home-button--plan.is-premium:hover { color: #fff; background: #4c466f; }

.home-testimonials { background: linear-gradient(180deg, #f5f6fb 0%, #fdf6f9 100%); }
.home-testimonial-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.home-testimonial-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 245px;
    padding: 21px;
    background: #fff;
    border: 1px solid #e4e5eb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(48, 43, 84, .05);
}

.home-testimonial-card__quote { margin-bottom: 12px; color: var(--home-mint-strong); font-size: 22px; }
.home-testimonial-card:nth-child(2n) { border-top: 3px solid #d9d3f2; }
.home-testimonial-card:nth-child(2n + 1) { border-top: 3px solid #aee8df; }
.home-testimonial-card blockquote { margin: 0 0 20px; color: #55596c; font-size: 14px; font-style: italic; line-height: 1.65; }

.home-testimonial-card__author { display: flex; gap: 11px; align-items: center; margin-top: auto; }
.home-testimonial-card__author img { flex: 0 0 46px; width: 46px; height: 46px; object-fit: cover; border: 3px solid var(--home-mint); border-radius: 50%; }
.home-testimonial-card__author strong, .home-testimonial-card__author span { display: block; }
.home-testimonial-card__author strong { color: var(--home-ink); font-size: 14px; }
.home-testimonial-card__author span { margin-top: 1px; color: var(--home-muted); font-size: 12px; }
.home-empty-testimonials { grid-column: 1 / -1; padding: 35px; color: var(--home-muted); background: #fff; border-radius: 18px; text-align: center; }

.footer { margin-top: 0; }
.footer .container-fluid { padding-top: 58px; }
.footer .footer-info img { width: 250px; max-width: 70%; }
.footer .footer-social { margin-top: 24px !important; }
.footer .copyright { margin-top: 40px; }

@media (max-width: 991.98px) {
    .home-hero__identity, .home-hero__content { padding: 36px; }
    .home-hero__content h1 { font-size: 39px; }
    .home-about__card { grid-template-columns: 240px minmax(0, 1fr); gap: 35px; }
    .home-about__photo { width: 210px; height: 210px; }
    .home-testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .navbar { min-height: 62px; padding: 6px 14px; }
    .navbar img { width: 155px; }
    .navbar-collapse { padding: 8px 0 4px; }
    .navbar-nav .nav-link { margin: 3px 0; text-align: center; }
    .home-hero { padding: 62px 0 0; }
    .home-hero__card { grid-template-columns: 1fr; }
    .home-hero__identity { padding: 30px 28px 20px; border-right: 0; border-bottom: 1px solid rgba(93, 86, 136, .10); }
    .home-hero__content { padding: 25px 28px 30px; }
    .home-hero__logo { max-width: 310px; margin: 8px 0 16px; }
    .home-hero__content h1 { font-size: 34px; }
    .home-hero__content > p { font-size: 15px; }
    .home-section { padding: 48px 0; }
    .home-about__card { grid-template-columns: 1fr; gap: 28px; padding: 28px; text-align: center; }
    .home-about__photo { width: 190px; height: 190px; }
    .home-about__content h2 { font-size: 27px; }
    .home-paths { padding: 52px 0; background-attachment: fixed; background-position: 58% 28%; }
    .home-paths__content { grid-template-columns: 1fr; gap: 14px; padding: 28px; text-align: center; }
    .home-plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .home-page .container { padding-right: 12px; padding-left: 12px; }
    .home-hero__identity, .home-hero__content { padding-right: 22px; padding-left: 22px; }
    .home-hero__content h1 { font-size: 31px; }
    .home-hero__actions { display: grid; grid-template-columns: 1fr; }
    .home-benefits { gap: 10px 14px; }
    .home-section-heading { margin-bottom: 22px; }
    .home-section-heading h2 { font-size: 28px; }
    .home-video-card { padding: 6px; border-radius: 17px; }
    .home-plan-card { padding: 23px; }
    .home-testimonial-grid { grid-template-columns: 1fr; }
    .home-testimonial-card { min-height: 0; }
}
