/* Feature page styles — shared by all 33 individual tool pages */
.fp-hero {
    padding: 140px 0 80px;
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(45,212,168,.08), transparent 60%),
        radial-gradient(40% 40% at 80% 30%, rgba(99,102,241,.06), transparent 70%);
}
.fp-hero-grid {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center;
}
.fp-hero-text { max-width: 560px; }
.fp-tier-badge {
    display: inline-block; padding: 5px 11px; font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    border-radius: 6px; margin-bottom: 18px; margin-right: 6px;
}
.fp-tier-badge.free { background: rgba(45,212,168,.18); color: #2dd4a8; border: 1px solid rgba(45,212,168,.3); }
.fp-tier-badge.new  { background: rgba(99,102,241,.2); color: #a5b4fc; border: 1px solid rgba(99,102,241,.3); }
.fp-tier-badge.beta { background: rgba(167,139,250,.2); color: #c4b5fd; border: 1px solid rgba(167,139,250,.3); }
.fp-hero-title {
    font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px);
    font-weight: 800; line-height: 1.05; color: #fff; margin: 0 0 18px;
    letter-spacing: -.02em;
}
.fp-hero-period { color: #2dd4a8; }
.fp-hero-sub {
    font-size: 17px; color: var(--text-dim); line-height: 1.6; margin-bottom: 24px;
}
.fp-bullets {
    list-style: none; padding: 0; margin: 0 0 32px;
    display: flex; flex-direction: column; gap: 10px;
}
.fp-bullets li {
    position: relative; padding-left: 28px; color: rgba(255,255,255,.75);
    font-size: 15px; line-height: 1.5;
}
.fp-bullets li::before {
    content: ''; position: absolute; left: 0; top: 7px;
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(45,212,168,.18); border: 1px solid rgba(45,212,168,.4);
}
.fp-bullets li::after {
    content: ''; position: absolute; left: 4px; top: 11px;
    width: 8px; height: 4px; border-left: 2px solid #2dd4a8; border-bottom: 2px solid #2dd4a8;
    transform: rotate(-45deg);
}
.fp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fp-cta-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

.fp-hero-media { position: relative; }
.fp-img-placeholder {
    aspect-ratio: 16/9; border-radius: 16px;
    background: linear-gradient(135deg, rgba(45,212,168,.06), rgba(99,102,241,.04));
    border: 1px dashed rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    opacity: 0;
    transition: opacity .45s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
    will-change: transform;
}
.fp-hero-img { aspect-ratio: 16/9; }
.fp-media-img, .fp-media-video {
    aspect-ratio: 16/9; width: 100%; border-radius: 16px;
    object-fit: cover; display: block;
    opacity: 0;
    transition: opacity .45s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
    will-change: transform;
}
body.fp-media-ready .fp-img-placeholder,
body.fp-media-ready .fp-video-placeholder,
body.fp-media-ready .fp-media-img,
body.fp-media-ready .fp-media-video { opacity: 1; }

/* Premium hover — lift, soften, accent glow */
.fp-img-placeholder:hover,
.fp-video-placeholder:hover,
.fp-media-img:hover,
.fp-media-video:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 24px 60px -18px rgba(45,212,168,.35), 0 8px 24px -8px rgba(99,102,241,.25);
    border-color: rgba(45,212,168,.35);
}
.fp-placeholder-label {
    text-align: center; color: rgba(255,255,255,.35);
    font-family: var(--font-display); font-size: 14px; font-weight: 600;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.fp-placeholder-label svg, .fp-placeholder-label i { width: 36px; height: 36px; opacity: .6; }
.fp-placeholder-label small { font-family: monospace; font-size: 10px; opacity: .5; font-weight: 400; }

/* Why-choose / metric */
.fp-why { padding: 80px 0; }
.fp-section-title {
    font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px);
    font-weight: 800; text-align: center; color: #fff; margin: 0 0 12px;
}
.fp-section-sub {
    text-align: center; color: var(--text-dim); font-size: 15px;
    margin: 0 auto 40px; max-width: 600px;
}
.fp-metric-card {
    max-width: 720px; margin: 0 auto;
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
}
.fp-metric-row {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px;
    padding: 18px 28px; align-items: center; font-size: 14px;
}
.fp-metric-head {
    background: rgba(255,255,255,.03);
    text-transform: uppercase; font-size: 11px; letter-spacing: .1em;
    color: var(--text-muted); font-weight: 700;
}
.fp-metric-head .fp-metric-kf { color: #2dd4a8; }
.fp-metric-pill {
    display: inline-block; padding: 6px 14px;
    background: rgba(45,212,168,.14); color: #2dd4a8;
    border: 1px solid rgba(45,212,168,.3); border-radius: 999px;
    font-weight: 700;
}

/* Feature sections */
.fp-section { padding: 80px 0; border-top: 1px solid var(--border); }
.fp-section-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.fp-section-text-right .fp-section-grid { direction: rtl; }
.fp-section-text-right .fp-section-text { direction: ltr; }
.fp-section-text-right .fp-section-media { direction: ltr; }
.fp-kicker {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: #2dd4a8; padding: 5px 11px;
    background: rgba(45,212,168,.12); border-radius: 6px;
    margin-bottom: 16px;
}
.fp-section-h {
    font-family: var(--font-display); font-size: 32px; font-weight: 800;
    color: #fff; margin: 0 0 16px; line-height: 1.2;
}
.fp-section-body {
    color: var(--text-dim); font-size: 15px; line-height: 1.7;
}

/* Video */
.fp-video { padding: 80px 0; border-top: 1px solid var(--border); }
.fp-video-placeholder {
    max-width: 900px; margin: 40px auto 0; aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(45,212,168,.04), rgba(99,102,241,.04));
    border: 1px dashed rgba(255,255,255,.12); border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .45s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
    will-change: transform;
}

/* Scroll reveal — sections + cards fade-in from below */
.fp-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
.fp-reveal.fp-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .fp-reveal { opacity: 1; transform: none; transition: none; }
    .fp-img-placeholder, .fp-video-placeholder,
    .fp-media-img, .fp-media-video { transition: none; }
    .fp-img-placeholder:hover, .fp-video-placeholder:hover,
    .fp-media-img:hover, .fp-media-video:hover { transform: none; box-shadow: none; }
}

/* FAQ */
.fp-faq { padding: 80px 0; border-top: 1px solid var(--border); }
.fp-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.fp-faq-item {
    background: var(--bg-card-solid); border: 1px solid var(--border);
    border-radius: 12px; padding: 0 22px; cursor: pointer;
    transition: border-color .2s ease;
}
.fp-faq-item:hover { border-color: rgba(45,212,168,.2); }
.fp-faq-q {
    padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: #fff; font-size: 15px;
}
.fp-faq-icon {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(45,212,168,.1); color: #2dd4a8;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: transform .2s ease;
}
.fp-faq-item.open .fp-faq-icon { transform: rotate(45deg); }
.fp-faq-a {
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
    color: var(--text-dim); font-size: 14px; line-height: 1.6;
}
.fp-faq-item.open .fp-faq-a { max-height: 400px; padding: 0 0 18px; }

/* CTA */
.fp-cta {
    padding: 100px 0; border-top: 1px solid var(--border);
    background: radial-gradient(60% 60% at 50% 50%, rgba(45,212,168,.06), transparent 70%);
}

/* Footer column links injected by nav.js need styling */
[data-kf-footer-tools] { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
[data-kf-footer-tools] li { list-style: none; }
[data-kf-footer-tools] a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color .2s; }
[data-kf-footer-tools] a:hover { color: #fff; }

@media (max-width: 900px) {
    .fp-hero-grid, .fp-section-grid { grid-template-columns: 1fr; gap: 40px; }
    .fp-section-text-right .fp-section-grid { direction: ltr; }
    .fp-metric-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
}
