/* ==========================================
   SHARED SECTION HEADER
========================================== */

.gms-section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--purple);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gms-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 — TESTIMONIALS
========================================== */

.gms-testimonials-section {
    padding: 0 var(--page-padding) 80px;
}

.gms-testimonials-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);
}

.gms-testimonials-header {
    margin-bottom: 40px;
}

.gms-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.gms-testimonial {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 0 32px;
    border-left: 1px solid rgba(107, 57, 189, 0.15);
}

.gms-testimonial:first-child {
    padding-left: 0;
    border-left: none;
}

.gms-testimonial-mark {
    display: block;
    font-family: Georgia, serif;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--purple-light);
    margin-bottom: -8px;
    user-select: none;
}

.gms-testimonial-text {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.gms-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;

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

.gms-testimonial-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    background: var(--purple);
    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
}

.gms-testimonial-person {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.gms-testimonial-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.gms-testimonial-institution {
    font-size: 0.8rem;
    color: var(--ink-soft);
}

/* ==========================================
   SECTION 3 — SHOULD I TAKE THIS COURSE?
========================================== */

.gms-qualify-section {
    padding: 0 var(--page-padding) 80px;
}

.gms-qualify-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);
}

.gms-qualify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}


/* Left column — header + questions */

.gms-qualify-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.gms-qualify-card .gms-section-title {
    color: var(--white);
    margin: 0;
}

.gms-qualify-questions {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.gms-qualify-question {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.gms-qualify-question-num {
    flex-shrink: 0;
    width: 24px;

    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.gms-qualify-question-text {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.4;
}


/* Right column — problem / reality / solution flow */

.gms-qualify-flow {
    display: flex;
    flex-direction: column;
}

.gms-flow-connector {
    align-self: center;
    color: rgba(255, 255, 255, 0.4);
    margin: 4px 0;
}

.gms-flow-panel {
    border-radius: 20px;
    padding: 26px 28px;
}

.gms-flow-panel.problem {
    background: rgba(61, 30, 120, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gms-flow-panel.reality {
    background: rgba(168, 114, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.gms-flow-panel.solution {
    background: linear-gradient(135deg, #8A5BDB 0%, #A872FF 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.gms-flow-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.problem .gms-flow-title {
    color: rgba(255, 255, 255, 0.85);
}

.reality .gms-flow-title {
    color: var(--white);
}

.solution .gms-flow-title {
    color: var(--white);
}

.gms-flow-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.problem .gms-flow-text {
    color: rgba(255, 255, 255, 0.75);
}

.reality .gms-flow-text {
    color: rgba(255, 255, 255, 0.92);
}

.solution .gms-flow-text {
    color: rgba(255, 255, 255, 0.92);
}

.gms-flow-solution-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    margin: 0 0 6px;
}

/* Qualify section CTA — dedicated block, avoids overriding .gms-hero-cta */

.gms-qualify-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    margin-top: 48px;
    margin-left: -56px;
    margin-right: -56px;

    padding: 32px 56px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gms-qualify-cta-text {
    flex-shrink: 0;
    max-width: 380px;
}

.gms-qualify-cta-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

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

/* ==========================================
   SECTION 4 — GMS VS. A PRIVATE TEACHER
========================================== */

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

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

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

.gms-compare-header p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Card */

.gms-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 */

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

/* Rows */

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

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

/* Header row */

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

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

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

/* Feature column */

.gms-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;
}

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

/* Value columns */

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

.gms-compare-col-gms {
    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);
}

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

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

/* Close gms column borders at bottom */

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

/* Values */

.gms-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;
}

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

.gms-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;
}

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

.gms-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;
}


/* ==========================================
   SECTION 5 — FAQ
========================================== */

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

.gms-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);
}

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

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

/* FAQ list */

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

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

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

.gms-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;
}

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

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

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

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

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

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

/* ==========================================
   SECTION — RISK-FREE GUARANTEE
========================================== */

.gms-guarantee-section {
    padding: 0 var(--page-padding) 80px;
}

.gms-guarantee-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);
}

.gms-guarantee-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
}

.gms-guarantee-badge {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;

    background: var(--purple);

    display: flex;
    align-items: center;
    justify-content: center;
}

.gms-guarantee-badge svg {
    color: var(--white);
}

.gms-guarantee-text .gms-section-title {
    margin-bottom: 8px;
}

.gms-guarantee-subtitle {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 640px;
}

.gms-guarantee-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

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

.gms-guarantee-cta-text {
    flex-shrink: 0;
    max-width: 380px;
}

.gms-guarantee-cta-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}

.gms-guarantee-cta-subtitle {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.gms-guarantee-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

    padding: 14px 26px;
    background: var(--purple);
    color: var(--white);

    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;

    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;

    transition: background 0.18s ease, transform 0.18s ease;
}

.gms-guarantee-button:hover {
    background: #5a2fa8;
    transform: translateY(-2px);
}