﻿/* =========================================================
   SAGE STORE — TERMOS & FAQ
========================================================= */

.tf-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 95px 20px 70px;
    background: radial-gradient(circle at 50% -10%, rgba(61, 202, 233, .10), transparent 35%), linear-gradient(180deg, #071017 0%, #060c12 45%, #050a0f 100%);
    color: #eef9fc;
}

.tf-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tf-orb {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(125px);
    opacity: .16;
}

.tf-orb-left {
    left: -290px;
    top: 120px;
    background: #2bc7e9;
}

.tf-orb-right {
    right: -320px;
    top: 570px;
    background: #2f6f9d;
}

.tf-line {
    position: absolute;
    width: 900px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(93, 224, 249, .22), transparent);
    transform: rotate(-40deg);
}

.tf-line-one {
    top: 250px;
    left: -180px;
}

.tf-line-two {
    right: -220px;
    top: 880px;
}

.tf-shell {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.tf-hero {
    max-width: 820px;
    margin: 0 auto 58px;
    text-align: center;
}

.tf-eyebrow,
.tf-section-heading > span {
    display: inline-block;
    color: #7ee7f6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

    .tf-eyebrow b {
        color: #4e8290;
    }

.tf-hero h1 {
    margin: 15px 0 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(54px, 8vw, 92px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -2px;
    color: #fff;
}

    .tf-hero h1 span {
        color: #62d9ef;
        text-shadow: 0 0 38px rgba(98, 217, 239, .18);
    }

.tf-hero > p {
    max-width: 670px;
    margin: 0 auto;
    color: #a3b9c3;
    font-size: 13px;
    line-height: 1.85;
}

.tf-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 28px;
}

.tf-primary-link,
.tf-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 19px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.tf-primary-link {
    background: linear-gradient(115deg, #4bc6de, #83e8f6);
    color: #07151c;
    box-shadow: 0 10px 30px rgba(69, 199, 224, .12);
}

.tf-secondary-link {
    border: 1px solid rgba(126, 231, 246, .18);
    background: rgba(15, 31, 40, .70);
    color: #d7f3f8;
}

    .tf-primary-link:hover,
    .tf-secondary-link:hover {
        transform: translateY(-2px);
    }

.tf-primary-link:hover {
    box-shadow: 0 13px 32px rgba(69, 199, 224, .22);
}

.tf-secondary-link:hover {
    border-color: rgba(126, 231, 246, .45);
}

.tf-account-guide,
.tf-faq-section,
.tf-terms-section {
    scroll-margin-top: 105px;
}

.tf-account-guide {
    margin-bottom: 72px;
}

.tf-section-heading {
    margin-bottom: 22px;
}

    .tf-section-heading h2 {
        margin: 8px 0 0;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: clamp(32px, 4vw, 46px);
        line-height: 1;
        color: #fff;
    }

    .tf-section-heading p {
        max-width: 700px;
        margin: 12px 0 0;
        color: #91a9b5;
        font-size: 12px;
        line-height: 1.75;
    }

.tf-section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

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

.tf-account-card {
    position: relative;
    min-height: 255px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(116, 220, 241, .15);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(17, 35, 45, .86), rgba(9, 18, 25, .94));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

    .tf-account-card::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -95px;
        top: -105px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(93, 221, 245, .16), transparent 68%);
        pointer-events: none;
    }

    .tf-account-card:hover {
        transform: translateY(-6px);
        border-color: rgba(116, 220, 241, .36);
        box-shadow: 0 24px 55px rgba(0, 0, 0, .24), 0 0 25px rgba(84, 209, 236, .06);
    }

.tf-account-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(112, 225, 246, .18);
    border-radius: 12px;
    background: rgba(92, 216, 239, .07);
    color: #7ce8f8;
}

.tf-account-kicker {
    color: #75ddef;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.tf-account-card h3 {
    margin: 6px 0 11px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px;
    line-height: 1;
    color: #fff;
}

.tf-account-card p,
.tf-account-note {
    color: #a4b7c0;
    font-size: 11px;
    line-height: 1.7;
}

.tf-account-note {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: #7f9aa6;
}

.tf-faq-section {
    margin-bottom: 78px;
}

.tf-faq-search {
    width: min(330px, 100%);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid rgba(121, 213, 235, .16);
    border-radius: 12px;
    background: rgba(14, 28, 37, .82);
    color: #7adff0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .tf-faq-search:focus-within {
        border-color: rgba(121, 226, 246, .55);
        box-shadow: 0 0 0 3px rgba(93, 214, 239, .06);
    }

    .tf-faq-search input {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #e9f7fb;
        font: inherit;
        font-size: 11px;
    }

        .tf-faq-search input::placeholder {
            color: #718993;
        }

.tf-faq-list {
    display: grid;
    gap: 9px;
}

.tf-faq-item {
    overflow: hidden;
    border: 1px solid rgba(119, 210, 231, .13);
    border-radius: 14px;
    background: rgba(13, 26, 34, .82);
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

    .tf-faq-item.is-open {
        border-color: rgba(116, 226, 246, .34);
        background: rgba(16, 34, 44, .92);
        box-shadow: 0 15px 38px rgba(0, 0, 0, .14);
    }

    .tf-faq-item[hidden] {
        display: none !important;
    }

.tf-faq-question {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 17px;
    border: 0;
    background: transparent;
    color: #edf9fc;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

    .tf-faq-question > span {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.45;
    }

        .tf-faq-question > span > i {
            width: 26px;
            color: #6fe0f2;
            text-align: center;
        }

.tf-faq-plus {
    color: #7e9aa5;
    transition: transform .25s ease, color .25s ease;
}

.tf-faq-item.is-open .tf-faq-plus {
    transform: rotate(45deg);
    color: #7be5f5;
}

.tf-faq-answer {
    padding: 0 55px 18px;
    color: #a4b8c1;
    font-size: 11px;
    line-height: 1.8;
}

    .tf-faq-answer p {
        margin: 0;
    }

        .tf-faq-answer p + p {
            margin-top: 10px;
        }

.tf-faq-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 170px;
    padding: 25px;
    border: 1px dashed rgba(114, 215, 236, .20);
    border-radius: 16px;
    color: #879da7;
    text-align: center;
}

    .tf-faq-empty i {
        margin-bottom: 5px;
        color: #6eddf0;
        font-size: 24px;
    }

    .tf-faq-empty strong {
        color: #e8f7fa;
        font-size: 12px;
    }

    .tf-faq-empty span {
        font-size: 11px;
    }

.tf-terms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tf-term-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    min-height: 175px;
    padding: 19px;
    border: 1px solid rgba(118, 211, 233, .13);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(14, 29, 38, .84), rgba(8, 18, 24, .93));
}

    .tf-term-card > span {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(108, 222, 243, .18);
        border-radius: 11px;
        background: rgba(86, 203, 227, .06);
        color: #69dcef;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 17px;
        font-weight: 900;
    }

    .tf-term-card h3 {
        margin: 2px 0 8px;
        color: #eef9fc;
        font-size: 13px;
    }

    .tf-term-card p {
        margin: 0;
        color: #91a9b4;
        font-size: 11px;
        line-height: 1.75;
    }

.tf-terms-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(112, 225, 246, .22);
    border-radius: 15px;
    background: rgba(27, 75, 88, .14);
}

    .tf-terms-highlight > i {
        margin-top: 2px;
        color: #78e7f6;
    }

    .tf-terms-highlight strong {
        display: block;
        margin-bottom: 4px;
        color: #effbfe;
        font-size: 12px;
    }

    .tf-terms-highlight p {
        margin: 0;
        color: #9bb0b9;
        font-size: 11px;
        line-height: 1.7;
    }

@media (max-width: 850px) {
    .tf-account-grid {
        grid-template-columns: 1fr;
    }

    .tf-account-card {
        min-height: 0;
    }

    .tf-section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tf-faq-search {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .tf-page {
        padding: 82px 14px 55px;
    }

    .tf-hero {
        margin-bottom: 45px;
    }

        .tf-hero h1 {
            font-size: 58px;
        }

    .tf-hero-actions {
        flex-direction: column;
    }

    .tf-primary-link,
    .tf-secondary-link {
        width: 100%;
        max-width: 330px;
    }

    .tf-terms-grid {
        grid-template-columns: 1fr;
    }

    .tf-faq-answer {
        padding: 0 17px 18px 55px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tf-account-card,
    .tf-primary-link,
    .tf-secondary-link,
    .tf-faq-item,
    .tf-faq-plus {
        transition: none !important;
    }
}
