/* === Features Page === */
.fp { padding: 100px 0 0; }
.fp-container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.fp-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.fp-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
    line-height: 1.2;
}
.fp-hero p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

.fp-section {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 80px;
}
.fp-section.fp-reverse { flex-direction: row-reverse; }
.fp-text { flex: 1; min-width: 0; }
.fp-visual { flex: 0 0 340px; }

.fp-badge {
    display: inline-block;
    background: #EEF2FF;
    color: #4F46E5;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.fp-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
    line-height: 1.3;
}
.fp-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 16px;
}
.fp-text code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #4F46E5;
}
.fp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fp-list li {
    font-size: 0.88rem;
    color: #475569;
    padding: 5px 0 5px 22px;
    position: relative;
    line-height: 1.5;
}
.fp-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

/* Phone mockup */
.fp-phone {
    width: 220px;
    margin: 0 auto;
    border: 3px solid #d1d5db;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}
.fp-phone-screen {
    position: relative;
    background: #1e293b;
    aspect-ratio: 9/16;
}
.fp-phone-video {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fp-phone-video::after {
    content: '\25B6';
    color: rgba(255,255,255,0.3);
    font-size: 32px;
}
.fp-phone-btns {
    position: absolute;
    bottom: 36px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.fp-phone-btn {
    background: #4F46E5;
    color: #fff;
    text-align: center;
    padding: 7px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}
.fp-phone-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    font-size: 10px;
}
.fp-phone-progress {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}
.fp-phone-progress-fill {
    width: 35%;
    height: 100%;
    background: #4F46E5;
    border-radius: 2px;
}

/* Branding demo */
.fp-brand-demo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fp-color-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.fp-color-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: default;
}
.fp-style-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.fp-style-box {
    background: #4F46E5;
    color: #fff;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 500;
}
.fp-position-grid {
    position: relative;
    width: 120px;
    height: 80px;
    background: #e2e8f0;
    border-radius: 8px;
    margin: 0 auto;
}
.fp-pos-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #94a3b8;
}
.fp-pos-dot.active { background: #4F46E5; box-shadow: 0 0 0 3px rgba(79,70,229,0.3); }

/* Rules demo */
.fp-rules-demo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fp-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.fp-rule-default { border-style: dashed; }
.fp-rule-pattern {
    font-family: monospace;
    font-size: 13px;
    color: #4F46E5;
    background: #EEF2FF;
    padding: 4px 10px;
    border-radius: 4px;
    flex: 1;
}
.fp-rule-arrow { color: #94a3b8; font-size: 16px; }
.fp-rule-bot {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

/* Chat demo */
.fp-chat-demo {
    width: 260px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.fp-chat-header {
    background: #4F46E5;
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
}
.fp-chat-msgs {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 140px;
}
.fp-chat-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
}
.fp-chat-bot {
    background: #f1f5f9;
    color: #334155;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.fp-chat-visitor {
    background: #4F46E5;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.fp-chat-input {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid #e2e8f0;
}
.fp-chat-input-field {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 11px;
    color: #94a3b8;
}
.fp-chat-send {
    width: 28px;
    height: 28px;
    background: #4F46E5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Stats demo */
.fp-stats-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.fp-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.fp-stat-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4F46E5;
}
.fp-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* Code demo */
.fp-code-demo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}
.fp-code-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.fp-code-block {
    background: #1e293b;
    color: #a5b4fc;
    padding: 14px 16px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.6;
}

/* CTA */
.fp-cta {
    text-align: center;
    padding: 64px 0 80px;
    margin-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.fp-cta h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.fp-cta p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 24px;
}

/* Gallery demo */
.fp-gallery-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.fp-gallery-item {
    background: #1e293b;
    border-radius: 8px;
    aspect-ratio: 16/9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fp-gallery-img { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.fp-gallery-play {
    color: rgba(255,255,255,0.5);
    font-size: 20px;
}
.fp-gallery-label {
    position: absolute;
    bottom: 4px;
    left: 6px;
    font-size: 9px;
    color: rgba(255,255,255,0.6);
    font-family: monospace;
}

/* Security demo */
.fp-security-demo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fp-sec-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.fp-sec-icon { font-size: 18px; flex-shrink: 0; }
.fp-sec-row strong { font-size: 13px; color: #1e293b; display: block; }
.fp-sec-sub { font-size: 11px; color: #64748b; }

/* Plans demo */
.fp-plans-demo {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-end;
}
.fp-plan-mini {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    min-width: 90px;
    position: relative;
}
.fp-plan-pop {
    border-color: #4F46E5;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(79,70,229,0.15);
}
.fp-plan-price {
    font-size: 22px;
    font-weight: 700;
    color: #4F46E5;
    margin-top: 4px;
}
.fp-addons-demo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}
.fp-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: #475569;
}
.fp-addon-item strong {
    color: #4F46E5;
    font-weight: 700;
}

.fp-plan-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4F46E5;
    color: #fff;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* === FAQ Page === */
.faq-page { padding: 100px 0 80px; }

.faq-hero {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}
.faq-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}
.faq-hero p {
    font-size: 1.1rem;
    color: #64748b;
}
.faq-sections {
    max-width: 640px;
    margin: 0 auto;
}
.faq-section {
    margin-bottom: 28px;
}
.faq-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4F46E5;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #4F46E5;
    display: inline-block;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}
.faq-item:hover { border-color: #94a3b8; }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    user-select: none;
}
.faq-question.open { color: #4F46E5; }
.faq-arrow {
    font-size: 0.65rem;
    color: #94a3b8;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-answer {
    padding: 0 16px 14px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.7;
}
.faq-answer code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #4F46E5;
}
.faq-answer strong { color: #1e293b; }
.faq-cta {
    text-align: center;
    max-width: 640px;
    margin: 40px auto 0;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}
.faq-cta h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.faq-cta p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 20px;
}

/* === Roadmap Page === */
.roadmap-page { padding: 100px 0 80px; }

.roadmap-hero {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}
.roadmap-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}
.roadmap-hero p {
    font-size: 1.1rem;
    color: #64748b;
}

.roadmap-sections {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.roadmap-section-header {
    margin-bottom: 14px;
}
.roadmap-status {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.roadmap-status-shipped { background: #DCFCE7; color: #15803D; }
.roadmap-status-soon { background: #ECFDF5; color: #059669; }
.roadmap-status-planned { background: #EEF2FF; color: #4F46E5; }
.roadmap-status-exploring { background: #FEF3C7; color: #D97706; }

.roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.roadmap-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.roadmap-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}
.roadmap-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.roadmap-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.roadmap-item p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.roadmap-cta {
    text-align: center;
    max-width: 720px;
    margin: 48px auto 0;
    padding-top: 48px;
    border-top: 1px solid #e2e8f0;
}
.roadmap-cta h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.roadmap-cta p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .fp-hero h1, .faq-hero h1 { font-size: 1.6rem; }
    .fp-section { flex-direction: column !important; gap: 24px; margin-bottom: 48px; }
    .fp-visual { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
    .fp-text h2 { font-size: 1.25rem; }
}
