/*
Theme Name: FollowBoost
Theme URI: https://socialmedia.biz.pl
Author: FollowBoost Team
Description: Energetyczny motyw WordPress do porownywania serwisow social media - jasny, boldowy design z pomaranczowo-fioletowa kolorystyka.
Version: 1.0.0
Text Domain: followboost
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fb-white: #ffffff;
    --fb-orange: #ff6b35;
    --fb-orange-dark: #e55a2b;
    --fb-orange-light: #ff8c5a;
    --fb-purple: #2d1b69;
    --fb-purple-dark: #1e1148;
    --fb-purple-light: #4a3580;
    --fb-gray-light: #f8f7ff;
    --fb-gray: #e8e6f0;
    --fb-text: #1a1a2e;
    --fb-text-muted: #6b6b80;
    --fb-success: #22c55e;
    --fb-warning: #f59e0b;
    --fb-danger: #ef4444;
    --fb-radius: 12px;
    --fb-radius-sm: 8px;
    --fb-radius-lg: 20px;
    --fb-shadow: 0 4px 20px rgba(45, 27, 105, 0.08);
    --fb-shadow-lg: 0 8px 40px rgba(45, 27, 105, 0.12);
    --fb-shadow-orange: 0 4px 20px rgba(255, 107, 53, 0.3);
    --fb-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fb-font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--fb-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--fb-text);
    background: var(--fb-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--fb-orange);
    text-decoration: none;
    transition: color var(--fb-transition);
}

a:hover {
    color: var(--fb-orange-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--fb-text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.fb-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.fb-header {
    background: var(--fb-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--fb-gray);
    transition: box-shadow var(--fb-transition);
}

.fb-header.scrolled {
    box-shadow: var(--fb-shadow-lg);
    border-bottom-color: transparent;
}

.fb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.fb-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--fb-text);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.fb-logo span {
    color: var(--fb-orange);
}

.fb-logo svg {
    width: 28px;
    height: 28px;
    margin-right: 6px;
}

.fb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fb-text);
    border-radius: var(--fb-radius-sm);
    transition: all var(--fb-transition);
    white-space: nowrap;
}

.fb-nav__link:hover,
.fb-nav__link.active {
    color: var(--fb-orange);
    background: rgba(255, 107, 53, 0.08);
}

.fb-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--fb-orange);
    color: var(--fb-white) !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--fb-transition);
    box-shadow: var(--fb-shadow-orange);
}

.fb-header__cta:hover {
    background: var(--fb-orange-dark);
    transform: translateY(-1px);
    color: var(--fb-white) !important;
}

/* Category Tabs */
.fb-category-tabs {
    background: var(--fb-gray-light);
    border-bottom: 1px solid var(--fb-gray);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fb-category-tabs::-webkit-scrollbar {
    display: none;
}

.fb-category-tabs__inner {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    min-width: max-content;
}

.fb-category-tab {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fb-text-muted);
    border-radius: 50px;
    transition: all var(--fb-transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.fb-category-tab:hover {
    color: var(--fb-purple);
    background: var(--fb-white);
}

.fb-category-tab.active {
    color: var(--fb-white);
    background: var(--fb-purple);
    border-color: var(--fb-purple);
}

/* Mobile Menu */
.fb-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.fb-hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--fb-text);
    border-radius: 2px;
    transition: all var(--fb-transition);
}

.fb-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.fb-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.fb-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.fb-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fb-white);
    z-index: 999;
    padding: 30px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fb-mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-mobile-menu a {
    display: block;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fb-text);
    border-radius: var(--fb-radius-sm);
    transition: all var(--fb-transition);
}

.fb-mobile-menu a:hover {
    background: rgba(255, 107, 53, 0.08);
    color: var(--fb-orange);
}

/* ============================================
   HERO SECTION
   ============================================ */
.fb-hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, var(--fb-white) 0%, var(--fb-gray-light) 50%, rgba(255, 107, 53, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.fb-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fb-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fb-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--fb-orange);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-hero__title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.fb-hero__title .highlight {
    color: var(--fb-orange);
    position: relative;
}

.fb-hero__title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 3px;
}

.fb-hero__desc {
    font-size: 1.15rem;
    color: var(--fb-text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.fb-hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--fb-font);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--fb-transition);
    text-align: center;
    justify-content: center;
}

.fb-btn--primary {
    background: var(--fb-orange);
    color: var(--fb-white);
    box-shadow: var(--fb-shadow-orange);
}

.fb-btn--primary:hover {
    background: var(--fb-orange-dark);
    transform: translateY(-2px);
    color: var(--fb-white);
}

.fb-btn--secondary {
    background: var(--fb-purple);
    color: var(--fb-white);
}

.fb-btn--secondary:hover {
    background: var(--fb-purple-dark);
    transform: translateY(-2px);
    color: var(--fb-white);
}

.fb-btn--outline {
    background: transparent;
    color: var(--fb-purple);
    border: 2px solid var(--fb-purple);
}

.fb-btn--outline:hover {
    background: var(--fb-purple);
    color: var(--fb-white);
}

/* Hero Stats */
.fb-hero__stats {
    position: relative;
}

.fb-hero__stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fb-stat-card {
    background: var(--fb-white);
    border-radius: var(--fb-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--fb-shadow);
    text-align: center;
    transition: transform var(--fb-transition);
    border: 1px solid var(--fb-gray);
}

.fb-stat-card:hover {
    transform: translateY(-4px);
}

.fb-stat-card:nth-child(1) {
    border-top: 4px solid var(--fb-orange);
}

.fb-stat-card:nth-child(2) {
    border-top: 4px solid var(--fb-purple);
    transform: translateY(20px);
}

.fb-stat-card:nth-child(3) {
    border-top: 4px solid var(--fb-success);
    transform: translateY(-10px);
}

.fb-stat-card:nth-child(4) {
    border-top: 4px solid var(--fb-warning);
    transform: translateY(10px);
}

.fb-stat-card__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fb-orange);
    line-height: 1;
    margin-bottom: 6px;
}

.fb-stat-card__label {
    font-size: 0.85rem;
    color: var(--fb-text-muted);
    font-weight: 600;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.fb-section {
    padding: 80px 0;
}

.fb-section--gray {
    background: var(--fb-gray-light);
}

.fb-section--purple {
    background: linear-gradient(135deg, var(--fb-purple) 0%, var(--fb-purple-dark) 100%);
    color: var(--fb-white);
}

.fb-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.fb-section__label {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--fb-orange);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.fb-section__title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.fb-section__subtitle {
    font-size: 1.05rem;
    color: var(--fb-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   RANKING CARDS GRID
   ============================================ */
.fb-ranking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fb-rank-card {
    background: var(--fb-white);
    border-radius: var(--fb-radius-lg);
    overflow: hidden;
    box-shadow: var(--fb-shadow);
    transition: all var(--fb-transition);
    border: 1px solid var(--fb-gray);
    position: relative;
}

.fb-rank-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fb-shadow-lg);
}

.fb-rank-card__top {
    height: 6px;
    width: 100%;
}

.fb-rank-card__top--gold {
    background: linear-gradient(90deg, #ff6b35, #ffa726);
}

.fb-rank-card__top--silver {
    background: linear-gradient(90deg, #7c4dff, #b388ff);
}

.fb-rank-card__top--bronze {
    background: linear-gradient(90deg, #2d1b69, #5c4a9e);
}

.fb-rank-card__top--neutral {
    background: linear-gradient(90deg, #ccc, #eee);
}

.fb-rank-card__top--warning {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.fb-rank-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--fb-white);
}

.fb-rank-card__badge--1 { background: var(--fb-orange); }
.fb-rank-card__badge--2 { background: var(--fb-purple-light); }
.fb-rank-card__badge--3 { background: var(--fb-purple); }
.fb-rank-card__badge--default { background: var(--fb-text-muted); }

.fb-rank-card__body {
    padding: 28px 24px;
}

.fb-rank-card__name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--fb-text);
}

.fb-rank-card__score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.fb-rank-card__score--high {
    color: var(--fb-success);
}

.fb-rank-card__score--mid {
    color: var(--fb-warning);
}

.fb-rank-card__score--low {
    color: var(--fb-danger);
}

.fb-rank-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.fb-rank-card__star {
    color: var(--fb-warning);
    font-size: 1rem;
}

.fb-rank-card__star--empty {
    color: var(--fb-gray);
}

.fb-rank-card__desc {
    font-size: 0.9rem;
    color: var(--fb-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-rank-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.fb-rank-card__tag {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--fb-gray-light);
    color: var(--fb-text-muted);
}

.fb-rank-card__tag--own {
    background: rgba(255, 107, 53, 0.1);
    color: var(--fb-orange);
}

.fb-rank-card__tag--warn {
    background: rgba(239, 68, 68, 0.1);
    color: var(--fb-danger);
}

.fb-rank-card__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--fb-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fb-rank-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--fb-transition);
}

.fb-rank-card__link--primary {
    background: var(--fb-orange);
    color: var(--fb-white) !important;
}

.fb-rank-card__link--primary:hover {
    background: var(--fb-orange-dark);
    color: var(--fb-white) !important;
}

.fb-rank-card__link--review {
    background: var(--fb-gray-light);
    color: var(--fb-purple);
}

.fb-rank-card__link--review:hover {
    background: var(--fb-gray);
}

.fb-rank-card__warning {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: var(--fb-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fb-danger);
    margin-top: 8px;
}

/* ============================================
   COMPARISON TABS
   ============================================ */
.fb-comparison {
    padding: 80px 0;
    background: var(--fb-gray-light);
}

.fb-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.fb-tab-btn {
    padding: 12px 28px;
    font-family: var(--fb-font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fb-text-muted);
    background: var(--fb-white);
    border: 2px solid var(--fb-gray);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--fb-transition);
}

.fb-tab-btn:hover {
    border-color: var(--fb-orange);
    color: var(--fb-orange);
}

.fb-tab-btn.active {
    background: var(--fb-orange);
    color: var(--fb-white);
    border-color: var(--fb-orange);
}

.fb-tab-panel {
    display: none;
}

.fb-tab-panel.active {
    display: block;
    animation: fbFadeIn 0.4s ease;
}

@keyframes fbFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fb-compare-table {
    width: 100%;
    background: var(--fb-white);
    border-radius: var(--fb-radius-lg);
    overflow: hidden;
    box-shadow: var(--fb-shadow);
    border-collapse: collapse;
}

.fb-compare-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fb-white);
    background: var(--fb-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-compare-table tbody tr {
    border-bottom: 1px solid var(--fb-gray);
    transition: background var(--fb-transition);
}

.fb-compare-table tbody tr:hover {
    background: var(--fb-gray-light);
}

.fb-compare-table tbody tr.own-portal {
    background: rgba(255, 107, 53, 0.04);
}

.fb-compare-table tbody td {
    padding: 14px 20px;
    font-size: 0.9rem;
}

.fb-compare-table .portal-name {
    font-weight: 700;
    color: var(--fb-text);
}

.fb-compare-table .portal-name a {
    color: var(--fb-orange);
}

.fb-compare-table .score-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.score-badge--high {
    background: rgba(34, 197, 94, 0.1);
    color: var(--fb-success);
}

.score-badge--mid {
    background: rgba(245, 158, 11, 0.1);
    color: var(--fb-warning);
}

.score-badge--low {
    background: rgba(239, 68, 68, 0.1);
    color: var(--fb-danger);
}

/* ============================================
   FEATURES
   ============================================ */
.fb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fb-feature-card {
    background: var(--fb-white);
    border-radius: var(--fb-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--fb-shadow);
    transition: all var(--fb-transition);
    border: 1px solid var(--fb-gray);
    text-align: center;
}

.fb-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fb-shadow-lg);
}

.fb-feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
}

.fb-feature-card__icon--orange {
    background: rgba(255, 107, 53, 0.1);
    color: var(--fb-orange);
}

.fb-feature-card__icon--purple {
    background: rgba(45, 27, 105, 0.1);
    color: var(--fb-purple);
}

.fb-feature-card__icon--green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--fb-success);
}

.fb-feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.fb-feature-card__desc {
    font-size: 0.9rem;
    color: var(--fb-text-muted);
    line-height: 1.6;
}

/* ============================================
   AUDIENCE SECTION
   ============================================ */
.fb-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fb-audience-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--fb-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform var(--fb-transition);
}

.fb-audience-card:hover {
    transform: translateY(-4px);
}

.fb-audience-card__icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.fb-audience-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fb-white);
    margin-bottom: 8px;
}

.fb-audience-card__desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* ============================================
   BLOG GRID
   ============================================ */
.fb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fb-blog-card {
    background: var(--fb-white);
    border-radius: var(--fb-radius-lg);
    overflow: hidden;
    box-shadow: var(--fb-shadow);
    transition: all var(--fb-transition);
    border: 1px solid var(--fb-gray);
}

.fb-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fb-shadow-lg);
}

.fb-blog-card__image {
    height: 200px;
    background: linear-gradient(135deg, var(--fb-orange), var(--fb-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--fb-white);
    position: relative;
}

.fb-blog-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: var(--fb-white);
    color: var(--fb-orange);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

.fb-blog-card__body {
    padding: 24px;
}

.fb-blog-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--fb-text);
}

.fb-blog-card__title a {
    color: var(--fb-text);
}

.fb-blog-card__title a:hover {
    color: var(--fb-orange);
}

.fb-blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--fb-text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--fb-text-muted);
}

.fb-blog-card__read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--fb-orange);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ============================================
   FAQ
   ============================================ */
.fb-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.fb-faq-item {
    background: var(--fb-white);
    border-radius: var(--fb-radius);
    margin-bottom: 12px;
    box-shadow: var(--fb-shadow);
    border: 1px solid var(--fb-gray);
    overflow: hidden;
}

.fb-faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--fb-text);
    cursor: pointer;
    transition: color var(--fb-transition);
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--fb-font);
}

.fb-faq-item__question:hover {
    color: var(--fb-orange);
}

.fb-faq-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--fb-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all var(--fb-transition);
}

.fb-faq-item.open .fb-faq-item__icon {
    background: var(--fb-orange);
    color: var(--fb-white);
    transform: rotate(45deg);
}

.fb-faq-item__answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.fb-faq-item.open .fb-faq-item__answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.fb-faq-item__answer p {
    font-size: 0.95rem;
    color: var(--fb-text-muted);
    line-height: 1.7;
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.fb-service-header {
    padding: 60px 0;
    position: relative;
    color: var(--fb-white);
}

.fb-service-header--high {
    background: linear-gradient(135deg, var(--fb-orange), #ff8c5a);
}

.fb-service-header--mid {
    background: linear-gradient(135deg, var(--fb-warning), #fbbf24);
}

.fb-service-header--low {
    background: linear-gradient(135deg, var(--fb-danger), #f87171);
}

.fb-service-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.fb-service-header__score {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.fb-service-header__score small {
    font-size: 1.5rem;
    opacity: 0.8;
}

.fb-service-content {
    padding: 60px 0;
}

.fb-service-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.fb-service-main {}

.fb-service-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.fb-sidebar-box {
    background: var(--fb-white);
    border-radius: var(--fb-radius-lg);
    padding: 28px;
    box-shadow: var(--fb-shadow);
    border: 1px solid var(--fb-gray);
    margin-bottom: 24px;
}

.fb-sidebar-box__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fb-gray);
}

.fb-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.fb-pros, .fb-cons {
    background: var(--fb-white);
    border-radius: var(--fb-radius);
    padding: 24px;
    box-shadow: var(--fb-shadow);
    border: 1px solid var(--fb-gray);
}

.fb-pros {
    border-top: 4px solid var(--fb-success);
}

.fb-cons {
    border-top: 4px solid var(--fb-danger);
}

.fb-pros__title, .fb-cons__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-pros__list li, .fb-cons__list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--fb-text-muted);
    padding-left: 22px;
    position: relative;
}

.fb-pros__list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--fb-success);
    font-weight: 800;
}

.fb-cons__list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--fb-danger);
    font-weight: 800;
}

.fb-service-desc {
    font-size: 1rem;
    color: var(--fb-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.fb-service-desc h2, .fb-service-desc h3 {
    margin-top: 28px;
    margin-bottom: 14px;
}

.fb-service-desc p {
    margin-bottom: 16px;
}

.fb-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.fb-platform-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--fb-gray-light);
    border-radius: var(--fb-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fb-text);
    transition: all var(--fb-transition);
}

.fb-platform-badge:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--fb-orange);
}

/* ============================================
   BLOG DETAIL
   ============================================ */
.fb-article-header {
    padding: 60px 0 40px;
    background: var(--fb-gray-light);
    border-bottom: 1px solid var(--fb-gray);
}

.fb-article-header__cat {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--fb-orange);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 14px;
}

.fb-article-header__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.fb-article-header__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--fb-text-muted);
}

.fb-article-content {
    padding: 50px 0;
}

.fb-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.fb-article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--fb-text);
}

.fb-article-body h2 {
    font-size: 1.75rem;
    margin-top: 36px;
    margin-bottom: 16px;
}

.fb-article-body h3 {
    font-size: 1.3rem;
    margin-top: 28px;
    margin-bottom: 12px;
}

.fb-article-body p {
    margin-bottom: 18px;
}

.fb-article-body ul, .fb-article-body ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.fb-article-body ul {
    list-style: disc;
}

.fb-article-body ol {
    list-style: decimal;
}

.fb-article-body li {
    margin-bottom: 6px;
}

.fb-article-body a {
    color: var(--fb-orange);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.fb-article-body a:hover {
    border-bottom-color: var(--fb-orange);
}

.fb-cta-box {
    background: linear-gradient(135deg, var(--fb-orange), var(--fb-purple));
    border-radius: var(--fb-radius-lg);
    padding: 36px;
    color: var(--fb-white);
    text-align: center;
    margin: 36px 0;
}

.fb-cta-box__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--fb-white);
}

.fb-cta-box__desc {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.fb-cta-box .fb-btn {
    background: var(--fb-white);
    color: var(--fb-orange) !important;
}

.fb-cta-box .fb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Blog listing */
.fb-blog-list-header {
    padding: 60px 0 40px;
    background: var(--fb-gray-light);
    text-align: center;
}

.fb-blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0;
}

/* ============================================
   FOOTER
   ============================================ */
.fb-footer {
    background: linear-gradient(135deg, var(--fb-purple) 0%, var(--fb-purple-dark) 100%);
    color: var(--fb-white);
    padding: 60px 0 0;
}

.fb-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.fb-footer__brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.fb-footer__brand span {
    color: var(--fb-orange);
}

.fb-footer__desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 340px;
}

.fb-footer__heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fb-white);
    margin-bottom: 16px;
}

.fb-footer__links li {
    margin-bottom: 10px;
}

.fb-footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--fb-transition);
}

.fb-footer__links a:hover {
    color: var(--fb-orange);
}

.fb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.fb-footer__copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.fb-footer__bottom-links {
    display: flex;
    gap: 20px;
}

.fb-footer__bottom-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.fb-footer__bottom-links a:hover {
    color: var(--fb-orange);
}

/* ============================================
   COOKIE NOTICE
   ============================================ */
.fb-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fb-purple-dark);
    color: var(--fb-white);
    padding: 18px 24px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.fb-cookie.show {
    display: block;
    animation: fbSlideUp 0.5s ease;
}

@keyframes fbSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.fb-cookie__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.fb-cookie__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.fb-cookie__btn {
    padding: 10px 28px;
    background: var(--fb-orange);
    color: var(--fb-white);
    border: none;
    border-radius: 50px;
    font-family: var(--fb-font);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--fb-transition);
    white-space: nowrap;
}

.fb-cookie__btn:hover {
    background: var(--fb-orange-dark);
}

/* ============================================
   404 PAGE
   ============================================ */
.fb-404 {
    text-align: center;
    padding: 120px 20px;
}

.fb-404__code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--fb-orange);
    line-height: 1;
    margin-bottom: 16px;
}

.fb-404__title {
    font-size: 2rem;
    margin-bottom: 14px;
}

.fb-404__desc {
    font-size: 1.1rem;
    color: var(--fb-text-muted);
    margin-bottom: 30px;
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.fb-search {
    padding: 60px 0;
}

.fb-search__title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.fb-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    max-width: 600px;
}

.fb-search-form__input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--fb-gray);
    border-radius: 50px;
    font-family: var(--fb-font);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--fb-transition);
}

.fb-search-form__input:focus {
    border-color: var(--fb-orange);
}

.fb-search-form__btn {
    padding: 14px 28px;
    background: var(--fb-orange);
    color: var(--fb-white);
    border: none;
    border-radius: 50px;
    font-family: var(--fb-font);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--fb-transition);
}

.fb-search-form__btn:hover {
    background: var(--fb-orange-dark);
}

/* ============================================
   RESPONSIVE - 1024px
   ============================================ */
@media (max-width: 1024px) {
    .fb-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fb-hero__title {
        font-size: 2.5rem;
    }

    .fb-ranking-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fb-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fb-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fb-blog-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .fb-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .fb-service-layout,
    .fb-article-layout {
        grid-template-columns: 1fr;
    }

    .fb-service-sidebar {
        position: static;
    }
}

/* ============================================
   RESPONSIVE - 768px
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .fb-nav {
        display: none;
    }

    .fb-header__cta {
        display: none;
    }

    .fb-hamburger {
        display: flex;
    }

    .fb-hero {
        padding: 50px 0 60px;
    }

    .fb-hero__title {
        font-size: 2rem;
    }

    .fb-hero__buttons {
        flex-direction: column;
    }

    .fb-hero__stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fb-stat-card:nth-child(2),
    .fb-stat-card:nth-child(3),
    .fb-stat-card:nth-child(4) {
        transform: none;
    }

    .fb-section {
        padding: 50px 0;
    }

    .fb-section__title {
        font-size: 1.75rem;
    }

    .fb-ranking-grid {
        grid-template-columns: 1fr;
    }

    .fb-features-grid {
        grid-template-columns: 1fr;
    }

    .fb-compare-table {
        display: block;
        overflow-x: auto;
    }

    .fb-pros-cons {
        grid-template-columns: 1fr;
    }

    .fb-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fb-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .fb-article-header__title {
        font-size: 1.75rem;
    }
}

/* ============================================
   RESPONSIVE - 480px
   ============================================ */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .fb-container {
        padding: 0 16px;
    }

    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.4rem; }

    .fb-hero__title {
        font-size: 1.65rem;
    }

    .fb-hero__stats-grid {
        grid-template-columns: 1fr;
    }

    .fb-stat-card {
        padding: 20px 16px;
    }

    .fb-stat-card__number {
        font-size: 2rem;
    }

    .fb-blog-grid,
    .fb-blog-masonry {
        grid-template-columns: 1fr;
    }

    .fb-audience-grid {
        grid-template-columns: 1fr;
    }

    .fb-tabs {
        flex-direction: column;
    }

    .fb-tab-btn {
        width: 100%;
        text-align: center;
    }

    .fb-rank-card__body {
        padding: 20px 16px;
    }

    .fb-rank-card__footer {
        padding: 12px 16px;
        flex-direction: column;
        gap: 8px;
    }

    .fb-rank-card__link {
        width: 100%;
        justify-content: center;
    }

    .fb-cookie__inner {
        flex-direction: column;
        text-align: center;
    }

    .fb-service-header__inner {
        flex-direction: column;
        text-align: center;
    }

    .fb-404__code {
        font-size: 5rem;
    }
}

/* Touch & Safe Areas */
@supports (padding: env(safe-area-inset-bottom)) {
    .fb-cookie {
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .fb-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .fb-mobile-menu {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}

@media (hover: none) and (pointer: coarse) {
    .fb-rank-card:hover,
    .fb-blog-card:hover,
    .fb-feature-card:hover,
    .fb-stat-card:hover,
    .fb-audience-card:hover {
        transform: none;
    }

    .fb-rank-card:active {
        transform: scale(0.98);
    }

    .fb-nav__link,
    .fb-category-tab,
    .fb-tab-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-orange { color: var(--fb-orange); }
.text-purple { color: var(--fb-purple); }
.text-muted { color: var(--fb-text-muted); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
