/* ============================================================
   FIGMA LANDING PAGE REDESIGN — Fast-site Theme
   ============================================================ */

/* ===== PAGE CANVAS — match the gray navbar ===== */
html,
body,
.legal-page-wrap,
.contact-page-wrapper {
    background: #f7f7f8 !important;
}

/* ===== NAVBAR — consistent gray across all pages ===== */
.admin-bar-wrapper,
.admin-bar {
    background: #f7f7f8 !important;
}

.admin-bar-wrapper {
    border-bottom: 1px solid #e5e7eb !important;
}

/* Yellow decorative arc — top-right of hero */
.fs-deco-arc {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

/* Hero heading — "Welcome To Our Affiliate Program!" */
.fs-welcome-heading {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    line-height: 76.8px !important;
    letter-spacing: -0.04em !important;
    text-align: center !important;
    color: #1A1925 !important;
    margin-bottom: 16px !important;
}

/* Hero description paragraph */
.fs-hero-desc {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 28.8px !important;
    text-align: center !important;
    color: #51515E !important;
    max-width: 768px !important;
    margin: 0 auto !important;
}

/* Partners bar */
.fs-partners-bar {
    background: #f3f4f6;
    border-top: 1px solid #EBEBED;
    border-bottom: 1px solid #EBEBED;
    padding: 32px 0;
    width: 100vw;
    margin: 20px calc(50% - 50vw) 0;
}

.fs-partners-bar-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.fs-partner-bar-logo {
    width: 170px;
    height: 40px;
    object-fit: contain;
    opacity: 0.35;
    filter: grayscale(100%);
}

/* Stats section */
.fs-stats-section {
    padding: 80px 0 60px;
}

.fs-stats-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.fs-stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 270px;
    gap: 24px;
}

.fs-stat-divider {
    width: 1px;
    height: 100px;
    background: #E5E7EB;
    margin: 20px 48px 0;
    flex-shrink: 0;
    align-self: flex-start;
}

.fs-stat-number {
    font-family: 'Funnel Display', sans-serif;
    font-size: 47px;
    font-weight: 500;
    letter-spacing: -0.0077em;
    color: #1A1925;
    line-height: 1;
    display: block;
}

.fs-stat-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.fs-stat-label {
    font-family: 'Funnel Display', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1A1925;
    text-align: center;
    display: block;
}

.fs-stat-desc {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: -0.006em !important;
    color: #51515E !important;
    line-height: 20px !important;
    text-align: center !important;
    max-width: 220px;
    margin: 0 !important;
}

/* Section block wrapper */
.fs-section-block {
    padding: 0 0 80px 0;
}

/* Section heading — 48px Google Sans Flex for new sections */
.fs-section-heading {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    line-height: 56px !important;
    letter-spacing: -0.04em !important;
    text-align: center !important;
    color: #1A1925 !important;
    margin: 0 0 14px 0 !important;
}

/* Program Details cards — Figma style */
.fs-pd-outer {
    position: relative;
    padding-top: 48px;
    overflow: visible;
}

.fs-red-line-deco {
    position: absolute;
    left: -300px;
    top: -200px;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.fs-red-line-deco svg {
    width: 550px;
    height: 580px;
}

.fs-pd-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.fs-pd-card {
    position: relative;
    width: 300px;
    min-height: 257px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(230, 230, 235, 0.8);
    border-radius: 20px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    flex-shrink: 0;
}

.fs-pd-card-gradient {
    position: absolute;
    inset: 1px;
    border-radius: 19px;
    background: linear-gradient(141deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.fs-pd-icon {
    position: absolute;
    top: 58px;
    left: 25px;
    width: 30px;
    height: 30px;
    color: #1A1925;
}

.fs-pd-card-title {
    position: absolute;
    top: 108px;
    left: 25px;
    right: 20px;
    font-family: 'Funnel Display', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    color: #1A1925 !important;
    margin: 0 !important;
    line-height: 24px !important;
}

.fs-pd-card-desc {
    position: absolute;
    top: 140px;
    left: 25px;
    right: 20px;
    bottom: 20px;
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: -0.006em !important;
    color: #51515E !important;
    line-height: 20px !important;
    margin: 0 !important;
    overflow: hidden;
}

/* FAQ / How It Works boxes */
.fs-faq-row {
    display: flex;
    gap: 28px;
    margin-top: 48px;
}

.fs-faq-box {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #EEEEF0;
    border-radius: 16px;
    padding: 20px 21px 24px;
    min-height: 143px;
}

.fs-faq-title {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A1925 !important;
    line-height: 20px !important;
    margin: 0 0 10px 0 !important;
}

.fs-faq-desc {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #73737F !important;
    line-height: 22.75px !important;
    margin: 0 !important;
}

/* Big CTA text */
.fs-cta-big-section {
    text-align: center;
    padding: 60px 0 80px;
}

.fs-cta-big-text {
    font-family: 'Funnel Display', sans-serif !important;
    font-size: 64px !important;
    font-weight: 600 !important;
    line-height: 86.8px !important;
    letter-spacing: -0.03em !important;
    color: #1A1925 !important;
    text-align: center !important;
    max-width: 740px !important;
    margin: 0 auto !important;
}

.fs-cta-blue {
    color: #3E71B6 !important;
}

/* ===== FOOTER REDESIGN ===== */
/* Hide legacy footer markup (old .footer div replaced by fs-footer-new) */
.footer {
    display: none !important;
}

.fs-footer-new {
    background: #FFFFFF !important;
    border-top: 1px solid #E5E7EB !important;
    padding: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    display: block !important;
    clear: both !important;
}

.fs-footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 56px;
    gap: 80px;
}

.fs-footer-brand {
    max-width: 380px;
    flex-shrink: 0;
}

.fs-footer-logo-wrap {
    margin-bottom: 20px;
}

.fs-footer-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

.fs-footer-sitename {
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1A1925;
    display: block;
}

.fs-footer-desc {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #73737F !important;
    line-height: 24px !important;
    letter-spacing: -0.006em !important;
    margin: 0 0 36px 0 !important;
}

.fs-footer-desc strong {
    font-weight: 600;
    color: #1A1925;
}

.fs-footer-copy {
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #73737F;
    line-height: 20px;
    letter-spacing: -0.006em;
    display: block;
}

.fs-footer-links {
    display: flex;
    gap: 100px;
    flex-shrink: 0;
    padding-top: 4px;
}

.fs-footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fs-footer-col-title {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1A1A2E !important;
    letter-spacing: -0.006em !important;
    margin: 0 !important;
    line-height: 20px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.fs-footer-link {
    font-family: 'Google Sans Flex', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #73737F !important;
    line-height: 20px !important;
    letter-spacing: -0.006em !important;
    text-decoration: none !important;
    display: block;
}

.fs-footer-link:hover {
    color: #1A1925 !important;
    text-decoration: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .fs-stats-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .fs-stat-divider { display: none; }
    .fs-stat-block { width: 100%; max-width: 320px; }
    .fs-pd-cards {
        flex-direction: column;
        align-items: center;
    }
    .fs-pd-card { width: 100%; max-width: 360px; }
    .fs-faq-row { flex-direction: column; }
    .fs-cta-big-text { font-size: 40px !important; line-height: 54px !important; }
    .fs-section-heading { font-size: 32px !important; line-height: 40px !important; }
    .fs-welcome-heading { font-size: 34px !important; line-height: 46px !important; }
    .fs-partners-bar-logos { gap: 40px; }
    .fs-footer-inner { flex-direction: column; }
    .fs-footer-links { gap: 40px; }
    .fs-red-line-deco { display: none; }
    .fs-deco-arc { display: none; }
}

@media (max-width: 480px) {
    .fs-cta-big-text { font-size: 28px !important; line-height: 40px !important; }
    .fs-partner-bar-logo { width: 130px; height: 32px; }
    .fs-footer-inner { padding: 56px 20px; }
    .fs-footer-links { flex-direction: column; gap: 32px; }
}
