/* ==========================================
   SHARED SECTION STYLES
========================================== */

.ma-section {
    padding: 80px var(--page-padding);
}

.ma-section-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--purple);

    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ma-section-title {
    margin: 0 0 40px;

    color: var(--ink);

    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}


/* ==========================================
   SECTION 2 — FEATURED TESTIMONIAL
========================================== */

.ma-testimonial-section {
    padding: 0 var(--page-padding) 80px;
}

.ma-testimonial-card {
    background: #F5F0FF;
    border-radius: 28px;
    padding: 64px 56px;

    box-shadow:
        0 1px 3px rgba(28, 27, 41, 0.06),
        0 24px 64px -12px rgba(28, 27, 41, 0.22);
}

.ma-testimonial-header .ma-section-title {
    margin-bottom: 0;
}

/* Featured quote */

.ma-featured-quote {
    position: relative;
    padding-top: 16px;
}

.ma-quote-mark {
    display: block;

    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;

    color: var(--purple-light);

    margin-bottom: -16px;

    user-select: none;
}

.ma-quote-text {
    color: var(--ink);

    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.7;

    margin: 0 0 28px;

    max-width: 820px;
}

.ma-quote-footer {
    display: flex;
    align-items: center;
    gap: 8px;

    padding-top: 20px;

    border-top: 1px solid rgba(107, 57, 189, 0.12);
}

.ma-quote-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
}

.ma-quote-dot {
    color: var(--ink-soft);
    opacity: 0.4;
}

.ma-quote-institution {
    font-size: 0.88rem;
    color: var(--ink-soft);
}


/* ==========================================
   SECTION 3 — SPEAKING JOURNEY
========================================== */

.ma-journey-section {
    padding: 0 var(--page-padding) 80px;
}

.ma-journey-card {
    background: linear-gradient(
        160deg,
        #3D1E78 0%,
        #6B39BD 45%,
        #8A5BDB 75%,
        #A872FF 100%
    );

    border-radius: 28px;
    padding: 64px 56px;

    box-shadow:
        0 30px 70px -24px rgba(107, 57, 189, 0.45);
}

.ma-journey-card .ma-section-eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.ma-journey-card .ma-section-title {
    color: var(--white);
    margin-bottom: 8px;
}

.ma-journey-header {
    margin-bottom: 36px;
}

.ma-journey-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

/* ==========================================
   TABS — 2x2 grid
========================================== */

.ma-journey-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
    max-width: 560px;
}

.ma-tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;

    padding: 14px 20px;

    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;

    cursor: pointer;
    text-align: left;

    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ma-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.ma-tab.active {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 8px 24px -8px rgba(28, 12, 70, 0.3);
}

.ma-tab-number {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    line-height: 1;
}

.ma-tab.active .ma-tab-number {
    color: var(--purple-light);
}

.ma-tab-label {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
}

.ma-tab.active .ma-tab-label {
    color: var(--purple);
}

/* ==========================================
   STEP PANELS
========================================== */

.ma-journey-content {
    margin-bottom: 40px;
}

.ma-step-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.ma-step-panel.active {
    display: grid;
}

.ma-step-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ma-step-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.ma-step-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.ma-step-screens {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}

.ma-step-screen {
    border-radius: 18px;
    flex-shrink: 0;
    height: 380px;
    width: auto;
    object-fit: cover;
    object-position: top;
    box-shadow:
        0 20px 48px -12px rgba(28, 12, 70, 0.55),
        0 4px 10px rgba(28, 12, 70, 0.2);
}

.ma-step-screen-raised {
    transform: translateY(-20px);
}

.ma-step-screens-single {
    justify-content: center;
}

.ma-step-screens-single .ma-step-screen {
    transform: none;
}

/* ==========================================
   DOWNLOAD BADGES
========================================== */

.ma-journey-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* ==========================================
   SECTION 5 — LANGUAGES & LEVELS
========================================== */

.ma-langs-section {
    padding: 0 var(--page-padding) 80px;
}

.ma-langs-card {
    position: relative;
    background: linear-gradient(
        160deg,
        #3D1E78 0%,
        #6B39BD 45%,
        #8A5BDB 75%,
        #A872FF 100%
    );
    border-radius: 28px;
    padding: 64px 56px;
    box-shadow: 0 30px 70px -24px rgba(107, 57, 189, 0.45);
    overflow: hidden;
}

.ma-langs-card .ma-section-eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.ma-langs-card .ma-section-title {
    color: var(--white);
    margin-bottom: 8px;
}

.ma-langs-header {
    margin-bottom: 48px;
}

.ma-langs-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}

/* Two column grid */

.ma-langs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 56px;
}

/* Levels */

.ma-levels-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ma-level-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 14px 18px;
    transition: background 0.18s ease;
}

.ma-level-card:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ma-level-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.ma-level-badge-top {
    background: var(--green);
    border-color: var(--green);
}

.ma-level-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ma-level-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.ma-level-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Balloons */

.ma-langs-right {
    position: relative;
}

.ma-balloons-stage {
    position: relative;
    height: 440px;
    width: 100%;
}

.ma-balloon {
    position: absolute;
    width: 72px;
    transform: translate(-50%, -50%);
    animation: balloonFloat var(--float-duration, 15s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
    will-change: transform;
}

.ma-balloon-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 12px 20px rgba(36, 12, 75, 0.22));
}

.ma-balloon-flag {
    position: absolute;
    top: 38%;
    left: 50%;
    width: 28px;
    aspect-ratio: 3/2;
    transform: translate(-50%, -50%);
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 3px 6px rgba(31, 12, 70, 0.2);
}

/* CTA */

.ma-langs-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ma-langs-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.ma-langs-cta-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 380px;
}

.ma-langs-cta .ma-journey-badges {
    padding-top: 0;
    border-top: none;
    flex-shrink: 0;
}

/* ==========================================
   SECTION 7 — COMPARISON TABLE
========================================== */

.ma-compare-section {
    padding: 0 var(--page-padding) 80px;
}

.ma-compare-header {
    max-width: 800px;
    margin: 0 auto 48px;
}

.ma-compare-header .ma-section-title {
    color: var(--ink);
    margin-bottom: 10px;
}

/* Card */

.ma-compare-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 40px 48px;

    box-shadow:
        0 1px 3px rgba(28, 27, 41, 0.05),
        0 24px 64px -12px rgba(28, 27, 41, 0.18);
}

/* Table */

.ma-compare-table {
    width: 100%;
}

/* Rows */

.ma-compare-row {
    display: grid;
    grid-template-columns: 1fr 140px 140px;
    align-items: center;
    border-bottom: 1px solid rgba(28, 27, 41, 0.06);
}

.ma-compare-row-alt {
    background: rgba(28, 27, 41, 0.02);
}

/* Header row */

.ma-compare-header-row {
    border-bottom: none;
}

.ma-compare-header-row .ma-compare-col {
    padding: 20px 16px 16px;
    flex-direction: column;
    gap: 8px;
    min-height: 80px;
    border-bottom: none;
}

.ma-compare-header-row .ma-compare-col-app {
    border-radius: 16px 16px 0 0;
    border-top: 1.5px solid rgba(107, 57, 189, 0.25);
}

/* Feature column */

.ma-compare-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
}

.ma-compare-feature svg {
    color: var(--ink-soft);
    flex-shrink: 0;
    opacity: 0.7;
}

/* Value columns */

.ma-compare-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 56px;
}

.ma-compare-col-app {
    background: rgba(107, 57, 189, 0.05);
    border-left: 1.5px solid rgba(107, 57, 189, 0.25);
    border-right: 1.5px solid rgba(107, 57, 189, 0.25);
}

.ma-compare-col-name {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-soft);
    text-align: center;
}

.ma-compare-col-app .ma-compare-col-name {
    color: var(--purple);
}

.ma-compare-logo {
    height: 26px;
    width: auto;
    display: block;
}

/* Close app column borders at bottom */

.ma-compare-row-last .ma-compare-col-app {
    border-bottom: 1.5px solid rgba(107, 57, 189, 0.25);
    border-radius: 0 0 12px 12px;
}

/* Values */

.ma-check {
    width: 28px;
    height: 28px;
    background: var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.ma-cross {
    font-size: 1.1rem;
    color: var(--ink-soft);
    opacity: 0.2;
    font-weight: 400;
    line-height: 1;
}

.ma-dash {
    font-size: 1.1rem;
    color: var(--ink-soft);
    opacity: 0.2;
    font-weight: 400;
    line-height: 1;
}

.ma-check-other {
    width: 28px;
    height: 28px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.ma-price-low {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--purple);
    letter-spacing: -0.01em;
}

.ma-price-high {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-soft);
    opacity: 0.3;
    letter-spacing: 0.08em;
}

/* Note */

.ma-compare-note {
    max-width: 800px;
    margin: 24px auto 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-align: center;
    font-style: italic;
}

/* ==========================================
   SECTION 8 — LEARNER REVIEWS
========================================== */

.ma-reviews-section {
    padding: 0 var(--page-padding) 80px;
}

.ma-reviews-card {
    background: #F5F0FF;
    border-radius: 28px;
    padding: 56px 56px;

    box-shadow:
        0 1px 3px rgba(28, 27, 41, 0.06),
        0 24px 64px -12px rgba(28, 27, 41, 0.22);
}

.ma-reviews-header {
    margin-bottom: 40px;
}

.ma-reviews-header .ma-section-title {
    color: var(--ink);
    margin-bottom: 0;
}

.ma-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ma-review {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 32px;
    border-left: 1px solid rgba(107, 57, 189, 0.15);
}

.ma-review:first-child {
    padding-left: 0;
    border-left: none;
}

.ma-review-stars {
    color: #F59E0B;
    font-size: 1rem;
    letter-spacing: 2px;
    line-height: 1;
}

.ma-review-text {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.ma-review-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(28, 27, 41, 0.07);
}

.ma-review-name {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

.ma-review-dot {
    color: var(--ink-soft);
    opacity: 0.4;
}

.ma-review-date {
    font-size: 0.78rem;
    color: var(--ink-soft);
}


/* ==========================================
   SECTION 9 — FAQ
========================================== */

.ma-faq-section {
    padding: 0 var(--page-padding) 80px;
}

.ma-faq-card {
    background: var(--white);

    border-radius: 28px;
    padding: 64px 56px;
    max-width: 860px;
    margin: 0 auto;

    box-shadow:
        0 1px 3px rgba(28, 27, 41, 0.06),
        0 24px 64px -12px rgba(28, 27, 41, 0.22);
}

.ma-faq-card .ma-section-title {
    color: var(--ink);
    margin-bottom: 0;
}

.ma-faq-header {
    margin-bottom: 40px;
}

/* FAQ list */

.ma-faq-list {
    display: flex;
    flex-direction: column;
}

.ma-faq-item {
    border-top: 1px solid rgba(28, 27, 41, 0.07);
}

.ma-faq-item:last-child {
    border-bottom: 1px solid rgba(28, 27, 41, 0.07);
}

.ma-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 20px 0;

    background: none;
    border: none;
    cursor: pointer;

    text-align: left;

    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);

    transition: color 0.15s ease;
}

.ma-faq-question:hover {
    color: var(--purple);
}

.ma-faq-chevron {
    color: var(--ink-soft);
    opacity: 0.5;
}

.ma-faq-item.open .ma-faq-chevron {
    color: var(--purple);
    opacity: 1;
}

.ma-faq-answer {
    display: none;
    padding-bottom: 20px;
}

.ma-faq-item.open .ma-faq-answer {
    display: block;
}

.ma-faq-answer p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}