/* ==========================================================================
   home.css — Styles specific to the Meii Academy landing page
   ========================================================================== */

.eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9a9488;
    display: block;
    margin-bottom: 14px;
}

.section-pad {
    padding-top: 96px;
    padding-bottom: 96px;
}

@media (max-width: 767.98px) {
    .section-pad {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

.bg-cream {
    background-color: #f4f1ea;
}

.bg-ink {
    background-color: #14140f;
}

/* ------------------------------------------------------------ Hero -- */
.hero {
    position: relative;
    min-height: 92vh;
    /* margin-top: -92px; */
    padding-top: 160px;
    padding-bottom: 60px;
    display: flex;
    align-items: end;
    background-color: #302a14;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 9, 5, 0.55) 0%, rgba(10, 9, 5, 0.25) 40%, rgba(10, 9, 5, 0.75) 100%);
    z-index: 0;
}

.hero .container-xl {
    position: relative;
    z-index: 1;
}

.hero-heading {
    color: #fff;
    font-size: clamp(3rem, 7vw, 4rem);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.hero-heading em {
    font-style: italic;
    font-weight: 400;
}

.hero-copy {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    /* max-width: 480px; */
    margin: 28px 0 34px;
    line-height: 1.6;
}

.hero-actions .btn {
    border-radius: 30px;
    padding: 13px 26px;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-actions .btn-cream {
    background-color: #eef0e6;
    color: #14140f;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-actions .btn-cream:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    color: #14140f;
}

.hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Floating transcription card in hero */
.hero-float-card {
    background: rgba(35, 33, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 15px;
    /* max-width: 320px; */
    margin-left: auto;
    color: #fff;
    animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card img {
    border-radius: 24px;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-float-card .float-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background-color: #fff;
    color: #14140f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.3rem;
}

.hero-float-card .float-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-float-card .float-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 6px 12px;
    margin: 0 5px 8px 0;
}

.hero-float-card .float-pill.light {
    background-color: #fff;
    color: #14140f;
}

/* ------------------------------------------------------ Intro split -- */
.intro-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
}

.intro-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.intro-media:hover img {
    transform: scale(1.04);
}

.badge-pill-row {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-pill {
    background-color: rgba(20, 20, 15, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.76rem;
    padding: 7px 14px;
    border-radius: 20px;
}

/* --------------------------------------------------- Confidence cards -- */
.confidence-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    padding: 30px 26px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.confidence-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 8, 0.55) 0%, rgba(10, 10, 8, 0.05) 30%, rgba(10, 10, 8, 0.75) 100%);
    z-index: 0;
}

.confidence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.confidence-card>* {
    position: relative;
    z-index: 1;
    min-height: 110px;
}

.confidence-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.confidence-card .tag-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
}

.confidence-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0;
    line-height: 1.55;
}

/* -------------------------------------------------------- Domain accordion -- */
.domain-accordion .accordion-item {
    border: none;
    border-radius: 18px !important;
    margin-bottom: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.domain-accordion .accordion-button {
    font-size: 1.15rem;
    font-weight: 500;
    padding: 22px 24px;
    box-shadow: none;
    background-color: #fff;
}

.domain-accordion .accordion-button:not(.collapsed) {
    color: #14140f;
    background-color: #fff;
}

.domain-accordion .accordion-button::after {
    background-image: none;
    content: "+";
    font-size: 1.4rem;
    font-family: 'Inter', sans-serif;
    width: 28px;
    height: 28px;
    background-color: #f4f1ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.domain-accordion .accordion-button:not(.collapsed)::after {
    content: "\2715";
    font-size: 0.9rem;
    background-color: #dceefb;
}

.domain-accordion .accordion-body {
    padding: 0 24px 26px;
}

.domain-accordion .accordion-body p {
    color: #6b6b63;
    font-size: 1rem;
}

.domain-check-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
}

.domain-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
}

.domain-check-list li i {
    color: #4fb0e4;
    margin-top: 3px;
}

.domain-progress {
    height: 4px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.domain-progress span {
    display: block;
    height: 100%;
    width: 35%;
    background-color: #4fb0e4;
    border-radius: 4px;
}

.course-meta .btn-cream {
    background-color: #2881b0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    font-size: 14px;
    color: #fff;
}

.course-meta .btn-cream i {
    color: #fff;
}

/* Right side lesson-planner mock panel */
.planner-panel {
    background-color: #e7e2d8;
    border-radius: 24px;
    padding: 26px;
    height: 100%;
}

.planner-card {
    background-color: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.planner-card .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #dceefb;
    color: #14140f;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planner-sub {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-top: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.planner-sub .planner-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #f6d543;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.planner-input-box {
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px;
    margin-top: 16px;
    min-height: 90px;
    font-size: 0.85rem;
    color: #9a9a9a;
    position: relative;
}

.planner-input-box .planner-generate {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background-color: #f6d543;
    border: none;
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 0.78rem;
    font-weight: 700;
}

.planner-prompt-tips {
    font-size: 0.78rem;
    color: #9a9a9a;
    margin-top: 14px;
}

.planner-ghost-line {
    height: 10px;
    background-color: #f1f1ef;
    border-radius: 20px;
    margin-top: 12px;
}

#plannerPanel {
    position: relative;
}

.domain-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
}

.domain-image.active {
    display: block;
    position: relative;
}

/* -------------------------------------------------------- Ambitious cards -- */
.ambitious-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    /* height: 230px; */
}

.physical-class .ambitious-card {
    height: 230px;
}

.ambitious-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ambitious-card:hover img {
    transform: scale(1.06);
}

.ambitious-card::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(180deg, rgba(10, 10, 8, 0.15) 0%, rgba(10, 10, 8, 0.5) 100%); */
}

.ambitious-title {
    font-weight: 600;
    font-size: 1.10rem;
    margin: 18px 0 6px;
}

.ambitious-text {
    color: #6b6b63;
    font-size: 0.95rem;
    line-height: 1.55;
}

.ambitious-text p {
    font-size: 1rem;
}

/* -------------------------------------------------- Planner CTA (blue) -- */
.planner-cta {
    background: radial-gradient(120% 160% at 50% 0%, #eaf7ff 0%, #a9dbf5 45%, #57b7ea 100%);
    padding: 100px 0 130px;
    text-align: center;
    position: relative;
}

.planner-cta h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    color: #14140f;
}

.planner-cta p {
    color: #2f4b57;
    margin: 16px 0 34px;
}

.planner-search {
    max-width: 640px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 40px;
    padding: 8px 8px 8px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 20px 50px rgba(20, 80, 110, 0.18);
}

.planner-search input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.95rem;
    padding: 10px 0;
}

.planner-search button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background-color: #f4f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.planner-search button:hover {
    background-color: #e5e1d6;
}

/* -------------------------------------------------------- Journey cards -- */
.journey-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.journey-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.journey-card .journey-desc {
    color: #6b6b63;
    font-size: 1rem;
    margin-bottom: 20px;
}

.journey-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journey-check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
}

.journey-check-list li .chk {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background-color: #14140f;
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.journey-card.highlight {
    background: radial-gradient(140% 160% at 100% 0%, #eaf7ff 0%, #bfe6f8 60%, #8fd3f0 100%);
}

.journey-card.highlight em {
    font-style: italic;
}

.journey-card.highlight .btn {
    border-radius: 30px;
    border: 1px solid #14140f;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    background: transparent;
    margin-top: 18px;
    transition: background-color 0.25s ease, color 0.25s ease;
    width: fit-content;
}

.journey-card.highlight .btn:hover {
    background-color: #14140f;
    color: #fff;
}

/* ---------------------------------------------------- Comparison table -- */
.compare-table-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th {
    font-weight: 500;
    font-size: 0.92rem;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd8cc;
}

.compare-table td {
    padding: 22px 10px;
    border-bottom: 1px solid #ddd8cc;
    font-size: 1rem;
}

.compare-table .col-brand {
    background-color: #cdeaf9;
    text-align: center;
    width: 170px;
    border-radius: 14px 14px 0 0;
}

.compare-table thead .col-brand {
    padding-top: 18px;
}

.compare-table tbody tr:last-child .col-brand {
    border-radius: 0 0 14px 14px;
}

.compare-table .col-other {
    text-align: center;
    width: 170px;
    color: #9a9488;
}

.compare-table .brand-cell-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.compare-table .brand-logo-sm {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #cdeaf9, #57b7ea);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compare-table .icon-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #14140f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.compare-table .icon-x {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #e4e0d4;
    color: #a29c8f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* --------------------------------------------------------- Mentors -- */
.mentor-media {
    border-radius: 22px;
    overflow: hidden;
}

.mentor-media img {
    width: 100%;
    display: block;
}

.mentor-copy p {
    color: #4a4a44;
    font-size: 1rem;
    line-height: 1.7;
}

/* --------------------------------------------------- Support section -- */
.support-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.support-media img {
    width: 100%;
    display: block;
}

.support-check-item {
    background-color: #fff;
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-check-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.support-check-item i {
    color: #4fb0e4;
    font-size: 1.1rem;
}

/* ------------------------------------------------------- Contact form -- */
.contact-form label {
    font-size: 1rem;
    color: #6b6b63;
    margin-bottom: 6px;
}

.contact-form .form-control {
    border: none;
    border-bottom: 1px solid #ddd8cc;
    border-radius: 0;
    padding: 10px 2px;
    background: transparent;
    /* color: #6b6b63; */
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-bottom-color: #14140f;
}

.contact-form .btn-dark-pill {
    background-color: #14140f;
    color: #fff;
    border-radius: 30px;
    padding: 14px 0;
    width: 100%;
    font-weight: 600;
    border: none;
    transition: transform 0.2s ease;
}

.contact-form .btn-dark-pill:hover {
    transform: translateY(-2px);
    background-color: #000;
    color: #fff;
}

/* ------------------------------------------------------ Misc utility -- */
.italic {
    font-style: italic;
}

.text-muted-soft {
    color: #7c7c73;
}

.btn-pill-dark {
    background-color: #14140f;
    color: #fff;
    border-radius: 30px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-pill-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    color: #fff;
}

@media (max-width: 991px) {

    .hero-float-card {
        margin-top: 35px;
        animation: unset
    }

    .badge-pill-row {
        display: none;
    }

    .ambitious-text {
        margin-bottom: 0;
    }

    .planner-cta {
        padding: 50px 0 70px
    }

    .journey-card {
        padding: 30px 25px 20px;
    }

    .journey-check-list li:last-child {
        margin-bottom: 0;
    }

    .site-footer {
        padding-top: 20px;
    }

    .footer-bottom {
        margin-top: 20px;
    }

    .hero-copy br, .planner-cta h2 br {
        display: none;
    }

}