/* features.html: the product tour (Find -> Read -> Write -> Work together). Builds on style.css tokens. */

.f-hero {
    padding: 9rem 5% 4rem;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.f-hero .hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 2rem;
}

.f-hero .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* The four steps as chips that jump to their section */
.f-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 2.5rem;
}

.f-steps a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: border-color .2s, transform .2s;
}

.f-steps a:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.f-steps .num {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: .75rem;
}

.f-steps .arrow {
    color: var(--text-muted);
    align-self: center;
}

/* A step: text on one side, a screenshot on the other; every other one is mirrored */
.f-step {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: var(--section-padding);
    scroll-margin-top: 80px;
}

.f-step.flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.f-step.flip .f-text {
    order: 2;
}

.f-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .8rem;
}

.f-text h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1.15;
}

.f-text > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
}

.f-list {
    list-style: none;
    display: grid;
    gap: .9rem;
}

.f-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: .7rem;
    align-items: start;
    color: var(--text-muted);
}

.f-list li strong {
    color: var(--text-main);
}

.f-list svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    margin-top: 2px;
}

/* Screenshot in a simple window frame */
.f-shot {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}

.light-theme .f-shot {
    box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .3);
}

.f-shot .bar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--glass-border);
}

.f-shot .bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
}

.f-shot img {
    display: block;
    width: 100%;
    height: auto;
}

/* The highlight: one feature told big (open access PDFs) */
.f-spotlight {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(16, 185, 129, .14));
    border: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.f-spotlight .icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
}

.f-spotlight .icon-box svg {
    width: 36px;
    height: 36px;
}

.f-spotlight h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: .5rem;
}

.f-spotlight p {
    color: var(--text-muted);
}

.f-wrap {
    padding: 0 5%;
}

/* Trust cards and the Türkiye band */
.f-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: var(--section-padding);
}

.f-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.f-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1.8rem;
}

.f-card svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.f-card p {
    color: var(--text-muted);
}

.f-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.f-chips span {
    padding: .45rem .9rem;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    font-weight: 600;
    font-size: .92rem;
}

/* Plans at a glance */
.f-plans {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.f-plans th,
.f-plans td {
    padding: .85rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.f-plans th {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}

.f-plans td:not(:first-child),
.f-plans th:not(:first-child) {
    text-align: center;
    white-space: nowrap;
}

.f-plans tr:last-child td {
    border-bottom: 0;
}

.f-plans .pro {
    color: var(--accent);
    font-weight: 700;
}

.f-center {
    text-align: center;
    margin-top: 1.5rem;
}

/* FAQ */
.f-faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: .8rem;
}

.f-faq details {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
}

.f-faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.f-faq summary::after {
    content: '+';
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1;
}

.f-faq details[open] summary::after {
    content: '–';
}

.f-faq details p {
    color: var(--text-muted);
    margin-top: .7rem;
}

.f-final {
    text-align: center;
    padding: 5rem 5% 6rem;
}

.f-final .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.f-lang {
    min-width: 44px;
}

@media (max-width: 900px) {

    .f-step,
    .f-step.flip {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .f-step.flip .f-text {
        order: 0;
    }

    .f-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .f-spotlight {
        grid-template-columns: minmax(0, 1fr);
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .f-hero {
        padding-top: 7rem;
    }

    .f-plans th,
    .f-plans td {
        padding: .7rem .6rem;
        font-size: .9rem;
    }

    .f-plans td:not(:first-child),
    .f-plans th:not(:first-child) {
        white-space: normal;
    }
}
