/* =========================================================
   FUKEY EDUCATION - PYQ LANDING PAGE
   Theme: Red + Blue + White
========================================================= */

:root {
    --blue: #173b8f;
    --blue-dark: #102b68;
    --blue-light: #eef4ff;

    --red: #e5232f;
    --red-dark: #c71925;
    --red-light: #fff1f2;

    --white: #ffffff;
    --bg: #f7f9fc;
    --bg-alt: #f1f5fb;

    --text: #14213d;
    --muted: #667085;

    --border: #e1e6ef;

    --shadow-sm: 0 5px 18px rgba(20, 33, 61, 0.06);
    --shadow-md: 0 14px 40px rgba(20, 33, 61, 0.11);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

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

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav {
    min-height: 76px;

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

    gap: 24px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--blue);

    font-size: 21px;
    font-weight: 850;
}

.brand-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--blue),
            #2b5ccc
        );

    font-size: 22px;
    font-weight: 900;

    box-shadow:
        0 7px 20px rgba(23, 59, 143, 0.23);
}

.brand-name {
    letter-spacing: -0.4px;
}

.brand-name span {
    color: var(--red);
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 28px;
}

.desktop-nav a {
    color: #475467;

    font-size: 14px;
    font-weight: 650;

    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--blue);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--white);

    color: var(--blue);

    font-size: 22px;

    cursor: pointer;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    padding: 8px 20px 18px;

    background: var(--white);

    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.mobile-menu a {
    padding: 12px 8px;

    color: var(--text);

    font-size: 15px;
    font-weight: 650;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    padding: 80px 0 86px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(229, 35, 47, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 20%,
            rgba(23, 59, 143, 0.10),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9ff 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -120px;
    bottom: -150px;

    border-radius: 50%;

    border: 40px solid rgba(23, 59, 143, 0.035);

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        470px;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding: 8px 13px;

    border-radius: 999px;

    background: var(--red-light);

    border: 1px solid rgba(229, 35, 47, 0.14);

    color: var(--red);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 0.9px;
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--red);
}

.hero h1 {
    max-width: 700px;

    margin-bottom: 20px;

    color: var(--blue-dark);

    font-size: clamp(
        42px,
        5.5vw,
        68px
    );

    line-height: 1.05;

    letter-spacing: -2.5px;

    font-weight: 900;
}

.hero h1 span {
    color: var(--red);
}

.hero-content > p {
    max-width: 600px;

    margin-bottom: 25px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 20px;
}

.hero-points span {
    color: #475467;

    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   FINDER CARD
========================================================= */

.finder-card {
    padding: 30px;

    border-radius: 22px;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-md);
}

.finder-top {
    margin-bottom: 22px;
}

.finder-kicker {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--red);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 1px;
}

.finder-top h2 {
    margin-bottom: 4px;

    color: var(--blue-dark);

    font-size: 28px;

    line-height: 1.2;

    letter-spacing: -0.7px;
}

.finder-top p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #344054;

    font-size: 13px;
    font-weight: 750;
}

.form-group select {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid #d7deea;
    border-radius: 11px;

    background: var(--white);

    color: var(--text);

    font-size: 14px;

    outline: none;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group select:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(23, 59, 143, 0.10);
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.primary-btn {
    width: 100%;
    min-height: 51px;

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

    gap: 10px;

    margin-top: 5px;

    padding: 0 20px;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--red-dark)
        );

    color: var(--white);

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(229, 35, 47, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(229, 35, 47, 0.28);
}

.primary-btn:active {
    transform: translateY(0);
}


/* =========================================================
   FINDER RESULT
========================================================= */

.finder-result {
    display: none;

    margin-top: 12px;

    padding: 11px 13px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 650;

    line-height: 1.5;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
    background: var(--blue);

    color: var(--white);
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.trust-item {
    min-height: 105px;

    display: flex;
    flex-direction: column;

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

    padding: 15px;

    text-align: center;

    border-right:
        1px solid rgba(255, 255, 255, 0.13);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item strong {
    margin-bottom: 2px;

    font-size: 22px;
    font-weight: 850;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 82px 0;

    background: var(--white);
}

.section-alt {
    background: var(--bg);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 750px;

    margin-bottom: 35px;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--red);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 1.2px;
}

.section-heading h2 {
    margin-bottom: 9px;

    color: var(--blue-dark);

    font-size: clamp(
        30px,
        4vw,
        42px
    );

    line-height: 1.15;

    letter-spacing: -1px;

    font-weight: 850;
}

.section-heading p {
    max-width: 650px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================================
   BOARD GRID
========================================================= */

.board-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.board-card {
    display: flex;
    align-items: center;

    gap: 15px;

    min-height: 115px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.board-card:hover {
    transform: translateY(-4px);

    border-color: #c7d3eb;

    box-shadow: var(--shadow-md);
}

.board-icon {
    width: 53px;
    height: 53px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 14px;
    font-weight: 900;
}

.board-info {
    min-width: 0;

    flex: 1;
}

.board-info strong {
    display: block;

    margin-bottom: 2px;

    color: var(--blue-dark);

    font-size: 17px;
    font-weight: 800;
}

.board-info span {
    display: block;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.45;
}

.card-arrow {
    flex: 0 0 auto;

    color: var(--red);

    font-size: 21px;
    font-weight: 800;

    transition:
        transform 0.2s ease;
}

.board-card:hover .card-arrow {
    transform: translateX(4px);
}


/* =========================================================
   CLASS GRID
========================================================= */

.class-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.class-card {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 19px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.class-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow-md);
}

.class-number {
    width: 48px;
    height: 48px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--red-light);

    color: var(--red);

    font-size: 14px;
    font-weight: 900;
}

.class-card div {
    flex: 1;
}

.class-card strong {
    display: block;

    color: var(--blue-dark);

    font-size: 16px;
    font-weight: 800;
}

.class-card div span {
    display: block;

    color: var(--muted);

    font-size: 12px;
}

.class-card > span:last-child {
    color: var(--blue);

    font-size: 18px;
}


/* =========================================================
   BENEFITS
========================================================= */

.benefit-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.benefit-card {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}

.benefit-number {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 11px;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 12px;
    font-weight: 900;
}

.benefit-card h3 {
    margin-bottom: 8px;

    color: var(--blue-dark);

    font-size: 17px;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 30px 0 80px;

    background: var(--white);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 42px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    box-shadow:
        0 18px 45px rgba(16, 43, 104, 0.22);

    overflow: hidden;
}

.cta-card .section-kicker {
    color: #ff6b73;
}

.cta-card h2 {
    max-width: 650px;

    margin-bottom: 8px;

    color: var(--white);

    font-size: clamp(
        27px,
        4vw,
        40px
    );

    line-height: 1.15;

    letter-spacing: -0.8px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
}

.cta-btn {
    flex: 0 0 auto;

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

    gap: 10px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 11px;

    background: var(--white);

    color: var(--blue);

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   FAQ
========================================================= */

.faq-container {
    max-width: 850px;
}

.faq-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--white);

    overflow: hidden;
}

.faq-list summary {
    position: relative;

    padding: 18px 50px 18px 20px;

    color: var(--blue-dark);

    font-size: 15px;
    font-weight: 750;

    cursor: pointer;

    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";

    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--red);

    font-size: 21px;
    font-weight: 500;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    padding: 0 20px 19px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 43px 0 22px;

    background: var(--blue-dark);

    color: rgba(255, 255, 255, 0.72);
}

.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 40px;

    padding-bottom: 30px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--white);

    font-size: 21px;
    font-weight: 850;
}

.footer-brand span {
    color: #ff6b73;
}

.footer-content p {
    max-width: 430px;

    font-size: 13px;

    line-height: 1.65;
}

.footer-links {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 22px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;
    font-weight: 650;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 20px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            410px;

        gap: 40px;
    }

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

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

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 800px) {

    .desktop-nav {
        display: none;
    }

    .menu-btn {
        display: grid;
        place-items: center;
    }

    .hero {
        padding: 55px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .hero-content {
        max-width: none;
    }

    .hero h1 {
        font-size: clamp(
            40px,
            9vw,
            58px
        );
    }

    .finder-card {
        max-width: 600px;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.13);
    }

    .cta-card {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }

    .nav {
        min-height: 68px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;

        border-radius: 10px;

        font-size: 19px;
    }

    .hero {
        padding: 42px 0 48px;
    }

    .hero-badge {
        font-size: 9px;
    }

    .hero h1 {
        font-size: 39px;

        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-points {
        flex-direction: column;

        gap: 6px;
    }

    .finder-card {
        padding: 22px 18px;

        border-radius: 18px;
    }

    .finder-top h2 {
        font-size: 25px;
    }

    .trust-item {
        min-height: 92px;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .class-grid {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 15px 0 58px;
    }

    .cta-card {
        padding: 28px 22px;

        border-radius: 18px;
    }

    .cta-btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;

        gap: 25px;
    }

    .footer-links {
        gap: 14px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .brand-name {
        display: none;
    }

    .hero h1 {
        font-size: 34px;
    }

    .finder-card {
        padding: 20px 15px;
    }

}

/* =========================================================
   FIX: CONTENT SECTIONS
   ========================================================= */

/* WHY USE FUKEY */
.features {
    padding: 82px 0;
    background: var(--white);
}

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

.feature-card {
    position: relative;
    padding: 28px;
    min-height: 210px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: var(--white);
    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #c7d3eb;
    box-shadow: var(--shadow-md);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    margin-bottom: 20px;

    border-radius: 11px;

    background: var(--blue-light);
    color: var(--blue);

    font-size: 12px;
    font-weight: 900;
}

.feature-card h3 {
    margin-bottom: 8px;

    color: var(--blue-dark);

    font-size: 18px;
    line-height: 1.3;
}

.feature-card p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   BOARDS SECTION
   ========================================================= */

.boards-section {
    padding: 82px 0;
    background: var(--bg);
}


/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-section {
    padding: 82px 0;
    background: var(--white);
}


/* =========================================================
   MOBILE FIX
   ========================================================= */

@media (max-width: 800px) {

    .features,
    .boards-section,
    .faq-section {
        padding: 60px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .features,
    .boards-section,
    .faq-section {
        padding: 55px 0;
    }

    .feature-card {
        padding: 22px;
        min-height: auto;
    }

}