/*
 * Home page.
 *
 * Follows the house landing-page style set by ai-for-education.css and
 * tutoring.css: the same blue/teal palette, 28px cards on soft blue shadows,
 * centred section titles, the gradient accent band, the gradient primary button
 * and the same 136/118/108 hero rhythm that clears the fixed navbar. Keep them
 * in step — where a value here differs from tutoring.css it should be because
 * the content differs, not by accident.
 *
 * Fonts come from the shared typography custom properties; never hard-code a
 * family.
 */

.home-page {
    background:
        radial-gradient(circle at top left, rgba(72, 128, 255, 0.22), transparent 38%),
        linear-gradient(180deg, #f4f8ff 0%, #ffffff 48%, #f7fbff 100%);
    color: #14233f;
    /* `clip` rather than `hidden`: contains the gradient bleed without turning
       this box into a scroll container for everything inside it. */
    overflow-x: clip;
}

.home-page .container {
    max-width: 1200px;
}

/*
 * The press strip sits below the reviews, i.e. outside the main page wrapper,
 * so it gets its own .home-page for the container width. Suppressing the
 * background stops the page gradient restarting halfway down the document.
 */
.home-page--tail {
    background: none;
}

.home-page__hero,
.home-page__section {
    position: relative;
}

/* ---------------------------------------------------------------- headings */

.home-page__title,
.home-page__section-title,
.home-page__group-title,
.home-page__step-title,
.home-page__plan-name,
.home-page__compliance-title,
.home-page__audience-title {
    color: #182845;
    font-family: var(--font-heading);
}

.home-page__lead,
.home-page__intro-text,
.home-page__feature-text,
.home-page__step-text,
.home-page__faq-answer,
.home-page__plan-limit,
.home-page__compliance-text,
.home-page__certificate-text {
    color: #4b5b79;
    font-family: var(--font-body);
}

.home-page__section-title {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 0 28px;
    /* The section centres its children, but the Zoho SalesIQ widget injects a
       cross-origin stylesheet that sets text-align on bare heading elements, and
       a rule on the element beats an inherited value. Every centred heading on
       this page has to declare it. */
    text-align: center;
}

.home-page__section-title--light {
    color: #ffffff;
}

.home-page__intro-text {
    font-size: 18px;
    line-height: 1.8;
    margin: 0 auto 36px;
    max-width: 980px;
    text-align: center;
}

.home-page__intro-text--light {
    color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------------------------- hero */

.home-page__hero {
    padding: 136px 0 76px;
}

.home-page__hero-grid {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
}

.home-page__hero-copy {
    max-width: 620px;
}

.home-page__eyebrow {
    color: #2f6bd8;
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.home-page__title {
    font-size: clamp(38px, 5.2vw, 58px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.02;
    margin: 0 0 24px;
    /* See the note on __section-title: the Zoho stylesheet targets bare
       headings, so the alignment is declared rather than inherited. */
    text-align: left;
}

.home-page__title em {
    background: linear-gradient(135deg, #5677ea 0%, #1ac6aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

.home-page__lead {
    font-size: 19px;
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 560px;
}

.home-page__hero-visual {
    position: relative;
}

.home-page__hero-visual::before {
    background: radial-gradient(circle, rgba(58, 110, 223, 0.15) 0%, rgba(58, 110, 223, 0) 70%);
    content: '';
    inset: -10% -12%;
    position: absolute;
}

.home-page__hero-image {
    display: block;
    /* The markup carries width/height attributes to reserve space and avoid
       layout shift; without `height: auto` the height attribute wins and the
       image renders at its full intrinsic height. */
    height: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    width: 100%;
}

/* ---------------------------------------------------------------- buttons */

.home-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.home-page__button {
    align-items: center;
    border-radius: 16px;
    border: 1px solid transparent;
    box-shadow: 0 18px 45px rgba(38, 74, 153, 0.18);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-width: 220px;
    padding: 18px 28px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-page__button:hover,
.home-page__button:focus {
    box-shadow: 0 24px 45px rgba(38, 74, 153, 0.22);
    text-decoration: none;
    transform: translateY(-2px);
}

.home-page__button--primary {
    background: linear-gradient(135deg, #18c7a3 0%, #17b78f 100%);
    color: #ffffff;
}

.home-page__button--primary:hover,
.home-page__button--primary:focus {
    color: #ffffff;
}

.home-page__button--secondary {
    background: #ffffff;
    border-color: #b9c8f2;
    color: #20365d;
}

.home-page__button--secondary:hover,
.home-page__button--secondary:focus {
    color: #20365d;
}

.home-page__link {
    background: none;
    border: 0;
    color: #2f6bd8;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    padding: 0;
}

.home-page__link::after {
    content: ' \2192';
}

.home-page__link:hover,
.home-page__link:focus {
    color: #1d4fae;
    text-decoration: underline;
}

/* ---------------------------------------------------------------- sections */

.home-page__section {
    padding: 84px 0;
}

.home-page__section--accent {
    background: linear-gradient(90deg, #5677ea 0%, #1ac6aa 100%);
}

.home-page__section--soft {
    background:
        radial-gradient(circle at top left, rgba(72, 128, 255, 0.18), transparent 36%),
        linear-gradient(180deg, #edf4ff 0%, #ffffff 100%);
}

.home-page__section--trust {
    padding: 56px 0;
}

.home-page__section--faq {
    padding-top: 72px;
}

/* -------------------------------------------------------- shared card shell */

.home-page__group,
.home-page__step,
.home-page__plan,
.home-page__faq-item,
.home-page__certificate,
.home-page__compliance,
.home-page__audience {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(185, 202, 240, 0.72);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(30, 54, 101, 0.12);
}

/* ------------------------------------------------------------ trust strip */

.home-page__press {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    justify-content: center;
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
}

.home-page__press li {
    line-height: 0;
}

.home-page__press img {
    height: 34px;
    opacity: 0.62;
    transition: opacity 0.2s ease;
    width: auto;
}

.home-page__press a:hover img,
.home-page__press a:focus img {
    opacity: 1;
}

.home-page__press-title {
    color: #4b5b79;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 26px;
    text-align: center;
    text-transform: uppercase;
}

.home-page__certificates {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 980px;
}

.home-page__certificate {
    display: grid;
    gap: 20px;
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 24px;
}

.home-page__certificate img {
    border-radius: 14px;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.home-page__certificate-text {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* -------------------------------------------------------------- compliance */

.home-page__compliances {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-page__compliance {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 22px;
    text-align: center;
}

.home-page__compliance-name {
    background: linear-gradient(135deg, #5677ea 0%, #1ac6aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-page__compliance-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    text-align: center;
}

.home-page__compliance-text {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ----------------------------------------------------------- platform video */

.home-page__platform {
    align-items: center;
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

.home-page__video {
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(31, 70, 140, 0.18);
    overflow: hidden;
    /* 16:9 without the Bootstrap embed-responsive helpers, which are not part
       of the head bundle's critical subset. */
    padding-top: 56.25%;
    position: relative;
}

.home-page__video iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.home-page__platform-copy .home-page__section-title {
    margin-bottom: 20px;
    text-align: left;
}

.home-page__platform-text {
    color: #4b5b79;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 24px;
}

/* ------------------------------------------------------- capabilities (accent) */

.home-page__groups {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page__group {
    padding: 32px 28px;
}

.home-page__group-header {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.home-page__group-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(86, 119, 234, 0.16) 0%, rgba(26, 198, 170, 0.16) 100%);
    border-radius: 18px;
    display: inline-flex;
    flex: none;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.home-page__group-icon img {
    height: 30px;
    width: 30px;
}

.home-page__group-title {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.16;
    margin: 0;
}

.home-page__features {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-page__feature-title {
    color: #20365d;
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
}

.home-page__feature-text {
    display: block;
    font-size: 14px;
    line-height: 1.7;
}

/* ---------------------------------------------------------------- audience */

.home-page__audiences {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 44px;
    padding: 0;
}

.home-page__audience {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 20px;
    text-align: center;
}

.home-page__audience img {
    height: 56px;
    width: 56px;
}

.home-page__audience-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.home-page__advantages {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-page__advantage {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(185, 202, 240, 0.72);
    border-radius: 18px;
    color: #38537c;
    display: flex;
    font-family: var(--font-body);
    font-size: 15px;
    gap: 14px;
    line-height: 1.55;
    padding: 16px 20px;
}

.home-page__advantage img {
    flex: none;
    height: 28px;
    width: 28px;
}

/* --------------------------------------------------------------- how to start */

.home-page__steps {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page__step {
    padding: 32px 28px;
}

.home-page__step-number {
    background: linear-gradient(135deg, #5677ea 0%, #1ac6aa 100%);
    border-radius: 999px;
    color: #ffffff;
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    padding: 6px 14px;
}

.home-page__step-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0;
}

.home-page__steps-note {
    color: #4b5b79;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    margin: 26px auto 0;
    max-width: 820px;
    text-align: center;
}

/* --------------------------------------------------------------- pricing */

.home-page__plans {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 860px;
}

.home-page__plan {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    text-align: center;
}

.home-page__plan--featured {
    border-color: #1ac6aa;
    box-shadow: 0 24px 60px rgba(26, 198, 170, 0.2);
}

.home-page__plan img {
    height: 56px;
    margin: 0 auto 18px;
    width: 56px;
}

.home-page__plan-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 12px;
    text-align: center;
}

.home-page__plan-price {
    color: #17b78f;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
}

.home-page__plan-limit {
    font-size: 15px;
    margin: 0 0 24px;
}

.home-page__plan-button {
    margin-top: auto;
    min-width: 0;
    width: 100%;
}

/* ------------------------------------------------------------------- FAQ */

.home-page__faq-list {
    display: grid;
    gap: 18px;
    margin: 0 auto;
    max-width: 920px;
}

.home-page__faq-item {
    overflow: hidden;
}

.home-page__faq-question {
    color: #20365d;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
    padding: 24px 72px 24px 28px;
    position: relative;
}

.home-page__faq-question::-webkit-details-marker {
    display: none;
}

.home-page__faq-question::after {
    color: #5687ff;
    content: '+';
    font-size: 28px;
    font-weight: 400;
    position: absolute;
    right: 28px;
    top: 18px;
}

.home-page__faq-item[open] .home-page__faq-question::after {
    content: '\2212';
}

.home-page__faq-answer {
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 16px;
    padding: 0 28px;
}

.home-page__faq-answer:last-child {
    margin-bottom: 0;
    padding-bottom: 24px;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1199px) {
    .home-page__hero-grid,
    .home-page__platform {
        grid-template-columns: 1fr;
    }

    .home-page__hero-copy {
        max-width: none;
    }

    .home-page__hero-visual {
        max-width: 720px;
        width: 100%;
    }

    .home-page__hero-image {
        margin: 0 auto;
    }

    .home-page__platform-copy .home-page__section-title {
        text-align: center;
    }

    .home-page__compliances,
    .home-page__audiences {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page__advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-page__hero {
        padding-top: 118px;
    }

    .home-page__section {
        padding: 72px 0;
    }

    .home-page__groups,
    .home-page__certificates,
    .home-page__steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .home-page__hero {
        padding: 108px 0 56px;
    }

    .home-page__section {
        padding: 56px 0;
    }

    .home-page__title {
        font-size: 34px;
    }

    .home-page__lead,
    .home-page__intro-text,
    .home-page__platform-text {
        font-size: 16px;
    }

    .home-page__actions {
        flex-direction: column;
    }

    .home-page__button {
        min-width: 0;
        width: 100%;
    }

    .home-page__group,
    .home-page__step,
    .home-page__plan,
    .home-page__compliance,
    .home-page__audience {
        padding: 24px 20px;
    }

    .home-page__group-title {
        font-size: 21px;
    }

    .home-page__certificate {
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .home-page__certificate img {
        margin: 0 auto;
        max-width: 160px;
    }

    .home-page__compliances,
    .home-page__audiences,
    .home-page__advantages,
    .home-page__plans {
        grid-template-columns: 1fr;
    }

    .home-page__press img {
        height: 26px;
    }

    .home-page__faq-question {
        font-size: 16px;
        padding: 20px 56px 20px 20px;
    }

    .home-page__faq-question::after {
        right: 20px;
        top: 14px;
    }

    .home-page__faq-answer {
        padding: 0 20px;
    }

    .home-page__faq-answer:last-child {
        padding-bottom: 20px;
    }
}
