/*
Theme Name: SocialPulse
Theme URI: https://socialmedia.biz.pl
Author: SocialPulse Team
Author URI: https://socialmedia.biz.pl
Description: Trendy, magazine-style WordPress theme for comparing social media follower services. Pink-purple gradient aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: socialpulse
Tags: magazine, comparison, social-media, pink, purple, gradient
*/

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

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

body {
    font-family: 'DM Sans', sans-serif;
    background: #fafafa;
    color: #212121;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #9c27b0;
}

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.3;
    color: #212121;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   GRADIENT UTILITIES
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
}

.gradient-bg-soft {
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
}

.gradient-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    z-index: -1;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: #e91e63;
    border: 2px solid #e91e63;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    border-color: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-radius: 2px;
    margin: 15px auto 0;
}

/* ============================================
   HEADER
   ============================================ */
.sp-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0;
}

.sp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.sp-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: #212121;
    letter-spacing: -0.5px;
}

.sp-logo span {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.sp-nav ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sp-nav ul li a {
    display: block;
    padding: 8px 18px;
    color: #212121;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.sp-nav ul li a:hover,
.sp-nav ul li.current-menu-item a {
    color: #e91e63;
    background: #fce4ec;
}

.sp-nav .nav-cta {
    margin-left: 10px;
}

.sp-nav .nav-cta a {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
}

.sp-nav .nav-cta a:hover {
    background: linear-gradient(135deg, #c2185b, #7b1fa2);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

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

.sp-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #212121;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.sp-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.sp-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sp-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.sp-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, #fce4ec 50%, #f3e5f5 100%);
    position: relative;
    overflow: hidden;
}

.sp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(233, 30, 99, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(156, 39, 176, 0.05) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.sp-hero-content {
    position: relative;
    z-index: 2;
}

.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e91e63;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(233, 30, 99, 0.1);
}

.sp-hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sp-hero p.hero-desc {
    font-size: 1.2rem;
    color: #555;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.sp-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Stats Counter */
.sp-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(233, 30, 99, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.sp-stat {
    text-align: center;
}

.sp-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.sp-stat-label {
    font-size: 0.85rem;
    color: #777;
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================
   FEATURED SERVICE (#1)
   ============================================ */
.sp-featured {
    padding: 60px 0 40px;
}

.sp-featured-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 60px rgba(233, 30, 99, 0.08);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.sp-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e91e63, #9c27b0);
}

.sp-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.sp-featured-left h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.sp-featured-left p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.sp-featured-score {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.sp-featured-score-num {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.sp-featured-score-bar {
    flex: 1;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.sp-featured-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    border-radius: 5px;
    transition: width 1s ease;
}

.sp-featured-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sp-featured-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fce4ec;
    border-radius: 16px;
}

.sp-featured-highlight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sp-featured-highlight h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.sp-featured-highlight p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ============================================
   RANKING ALTERNATING LAYOUT
   ============================================ */
.sp-ranking {
    padding: 60px 0;
}

.sp-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sp-ranking-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.sp-ranking-item:hover {
    box-shadow: 0 8px 40px rgba(233, 30, 99, 0.1);
    transform: translateY(-3px);
}

.sp-ranking-item:nth-child(even) {
    direction: rtl;
}

.sp-ranking-item:nth-child(even) > * {
    direction: ltr;
}

.sp-ranking-item.is-competitor {
    border-left: 4px solid #ff9800;
}

.sp-ranking-item.is-competitor:nth-child(even) {
    border-left: none;
    border-right: 4px solid #ff9800;
}

.sp-ranking-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.sp-ranking-position.own {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
}

.sp-ranking-position.competitor {
    background: #fff3e0;
    color: #ff9800;
}

.sp-ranking-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.sp-ranking-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.sp-ranking-info .competitor-warn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff3e0;
    color: #e65100;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.sp-ranking-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sp-ranking-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    position: relative;
}

.sp-ranking-score-circle.own {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    color: #e91e63;
    border: 3px solid #e91e63;
}

.sp-ranking-score-circle.competitor {
    background: #fff3e0;
    color: #ff9800;
    border: 3px solid #ff9800;
}

.sp-ranking-score-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.sp-ranking-stars {
    color: #e91e63;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.sp-ranking-stars.competitor {
    color: #ff9800;
}

/* ============================================
   COMPARISON HORIZONTAL SCROLL
   ============================================ */
.sp-comparison {
    padding: 60px 0;
    background: linear-gradient(180deg, #fafafa, #fce4ec, #fafafa);
}

.sp-comparison-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e91e63 #f0f0f0;
}

.sp-comparison-scroll::-webkit-scrollbar {
    height: 6px;
}

.sp-comparison-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.sp-comparison-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    border-radius: 3px;
}

.sp-comparison-card {
    flex: 0 0 280px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    scroll-snap-align: start;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.sp-comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(233, 30, 99, 0.12);
}

.sp-comparison-card.is-own {
    border-top: 3px solid #e91e63;
}

.sp-comparison-card.is-competitor {
    border-top: 3px solid #ff9800;
    opacity: 0.85;
}

.sp-comparison-card-rank {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    color: #fff;
}

.sp-comparison-card-rank.own {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
}

.sp-comparison-card-rank.competitor {
    background: #ff9800;
}

.sp-comparison-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.sp-comparison-card-score {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1;
}

.sp-comparison-card-score.own {
    color: #e91e63;
}

.sp-comparison-card-score.competitor {
    color: #ff9800;
}

.sp-comparison-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.sp-comparison-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.sp-comparison-card-features li .check {
    color: #4caf50;
    font-weight: 700;
}

.sp-comparison-card-features li .cross {
    color: #ef5350;
    font-weight: 700;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.sp-features {
    padding: 70px 0;
}

.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sp-feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.sp-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(233, 30, 99, 0.1);
}

.sp-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.sp-feature-card h4 {
    margin-bottom: 10px;
}

.sp-feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ============================================
   BLOG MAGAZINE GRID
   ============================================ */
.sp-blog-section {
    padding: 70px 0;
    background: #fff;
}

.sp-blog-magazine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 25px;
}

.sp-blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.sp-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 35px rgba(233, 30, 99, 0.1);
}

.sp-blog-card.featured {
    grid-row: span 2;
}

.sp-blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.sp-blog-card.featured .sp-blog-card-image {
    height: 100%;
    min-height: 300px;
}

.sp-blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sp-blog-card-body {
    padding: 25px;
}

.sp-blog-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.sp-blog-card:hover .sp-blog-card-body h3 {
    color: #e91e63;
}

.sp-blog-card.featured .sp-blog-card-body h3 {
    font-size: 1.5rem;
}

.sp-blog-card-body p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

.sp-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.sp-faq {
    padding: 70px 0;
}

.sp-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-faq-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.sp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: #212121;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
}

.sp-faq-question:hover {
    color: #e91e63;
}

.sp-faq-question .faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fce4ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #e91e63;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sp-faq-item.active .sp-faq-question .faq-icon {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    transform: rotate(45deg);
}

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sp-faq-answer-inner {
    padding: 0 25px 20px;
    color: #555;
    line-height: 1.8;
}

.sp-faq-item.active .sp-faq-answer {
    max-height: 500px;
}

/* ============================================
   FOOTER
   ============================================ */
.sp-footer {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 60px 0 0;
}

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

.sp-footer-brand .sp-logo {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.sp-footer-brand p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.7;
}

.sp-footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #212121;
    position: relative;
    padding-bottom: 10px;
}

.sp-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    border-radius: 2px;
}

.sp-footer-col ul li {
    margin-bottom: 10px;
}

.sp-footer-col ul li a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.sp-footer-col ul li a:hover {
    color: #e91e63;
}

.sp-footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
}

/* ============================================
   COOKIE BAR
   ============================================ */
.sp-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #212121;
    color: #ccc;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.sp-cookie-bar.visible {
    transform: translateY(0);
}

.sp-cookie-bar a {
    color: #e91e63;
}

.sp-cookie-accept {
    padding: 10px 24px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

/* ============================================
   SERVICE PAGE (page-serwis-demo)
   ============================================ */
.sp-service-header {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #fce4ec, #fafafa);
    position: relative;
}

.sp-service-header-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.sp-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.sp-service-badge.own {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
}

.sp-service-badge.competitor {
    background: #fff3e0;
    color: #e65100;
}

.sp-service-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.sp-service-header p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sp-service-score-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(233, 30, 99, 0.08);
}

.sp-service-score-big {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.sp-service-score-big.own {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-service-score-big.competitor {
    color: #ff9800;
}

/* Pros / Cons */
.sp-service-proscons {
    padding: 50px 0;
}

.sp-proscons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.sp-pros, .sp-cons {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.sp-pros h3 {
    color: #4caf50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-cons h3 {
    color: #ef5350;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-pros ul li, .sp-cons ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #555;
}

.sp-pros ul li::before {
    content: "\2713";
    color: #4caf50;
    font-weight: 700;
    flex-shrink: 0;
}

.sp-cons ul li::before {
    content: "\2717";
    color: #ef5350;
    font-weight: 700;
    flex-shrink: 0;
}

/* Service Description */
.sp-service-content {
    padding: 50px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.sp-service-main {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.sp-service-main h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.sp-service-main p {
    color: #444;
    line-height: 1.9;
}

/* Platforms */
.sp-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.sp-platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #fce4ec;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e91e63;
}

/* Sidebar */
.sp-service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sp-sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.sp-sidebar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fce4ec;
}

.sp-sidebar-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.sp-sidebar-card ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #444;
    font-size: 0.9rem;
    font-weight: 500;
}

.sp-sidebar-card ul li a:hover {
    color: #e91e63;
}

.sp-sidebar-card ul li a .score {
    font-weight: 700;
    color: #e91e63;
}

/* Related comparison */
.sp-related-services {
    padding: 50px 0;
    background: #fafafa;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sp-related-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    text-align: center;
    transition: all 0.3s ease;
}

.sp-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.1);
}

.sp-related-card h4 {
    margin-bottom: 8px;
}

.sp-related-card .score {
    font-size: 1.5rem;
    font-weight: 900;
    color: #e91e63;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.sp-blog-header {
    padding: 50px 0 30px;
    background: linear-gradient(180deg, #fce4ec, #fafafa);
    text-align: center;
}

.sp-blog-layout {
    padding: 50px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.sp-blog-post-content {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.sp-blog-post-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.sp-blog-post-content h2 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.sp-blog-post-content p {
    color: #444;
    line-height: 1.9;
}

.sp-blog-post-content a {
    color: #e91e63;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(233, 30, 99, 0.3);
    text-underline-offset: 3px;
}

.sp-blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #fce4ec;
    color: #999;
    font-size: 0.85rem;
}

.sp-blog-cta {
    margin: 35px 0;
    padding: 30px;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 20px;
    text-align: center;
    border-left: 4px solid #e91e63;
}

.sp-blog-cta h3 {
    margin-bottom: 10px;
}

.sp-blog-cta p {
    color: #555;
    margin-bottom: 15px;
}

/* Blog Listing Grid */
.sp-blog-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.sp-blog-list-grid .sp-blog-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sp-blog-list-grid .sp-blog-card.featured .sp-blog-card-image {
    height: 100%;
    border-radius: 20px 0 0 20px;
}

/* ============================================
   404 & SEARCH
   ============================================ */
.sp-error-page, .sp-search-page {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
}

.sp-error-page h1 {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.sp-search-form {
    display: flex;
    max-width: 500px;
    margin: 30px auto;
    gap: 10px;
}

.sp-search-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.sp-search-form input:focus {
    border-color: #e91e63;
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.sp-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sp-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sp-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 999;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sp-mobile-menu.active {
    right: 0;
}

.sp-mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-mobile-menu ul li a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212121;
    border-bottom: 1px solid #f5f5f5;
}

.sp-mobile-menu ul li a:hover {
    color: #e91e63;
}

/* ============================================
   RESPONSIVE: 1024px
   ============================================ */
@media (max-width: 1024px) {
    .sp-featured-card {
        grid-template-columns: 1fr;
        padding: 35px;
    }

    .sp-ranking-item {
        grid-template-columns: 1fr;
        padding: 30px;
        text-align: center;
    }

    .sp-ranking-item:nth-child(even) {
        direction: ltr;
    }

    .sp-ranking-meta {
        order: -1;
    }

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

    .sp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .sp-service-header-inner {
        grid-template-columns: 1fr;
    }

    .sp-service-content {
        grid-template-columns: 1fr;
    }

    .sp-blog-layout {
        grid-template-columns: 1fr;
    }

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

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

    .sp-menu-toggle {
        display: flex;
    }

    .sp-nav {
        display: none;
    }

    .sp-hero {
        padding: 60px 0 40px;
    }

    .sp-hero h1 {
        font-size: 2.2rem;
    }

    .sp-stats {
        gap: 30px;
    }

    .sp-stat-number {
        font-size: 2rem;
    }

    .sp-blog-magazine {
        grid-template-columns: 1fr;
    }

    .sp-blog-card.featured {
        grid-row: span 1;
    }

    .sp-proscons-grid {
        grid-template-columns: 1fr;
    }

    .sp-blog-list-grid {
        grid-template-columns: 1fr;
    }

    .sp-blog-list-grid .sp-blog-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .sp-blog-list-grid .sp-blog-card.featured .sp-blog-card-image {
        border-radius: 20px 20px 0 0;
    }

    .sp-blog-post-content {
        padding: 25px;
    }
}

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

    .container {
        padding: 0 15px;
    }

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

    .sp-hero h1 {
        font-size: 1.8rem;
    }

    .sp-hero p.hero-desc {
        font-size: 1rem;
    }

    .sp-hero-cta {
        flex-direction: column;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .sp-stats {
        flex-direction: column;
        gap: 20px;
    }

    .sp-featured-card {
        padding: 25px;
    }

    .sp-ranking-item {
        padding: 25px;
    }

    .sp-comparison-card {
        flex: 0 0 250px;
    }

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

    .sp-footer-grid {
        grid-template-columns: 1fr;
    }

    .sp-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .sp-service-header h1 {
        font-size: 1.8rem;
    }

    .sp-service-main {
        padding: 25px;
    }

    .sp-related-grid {
        grid-template-columns: 1fr;
    }

    .sp-cookie-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   TOUCH & SAFE AREAS
   ============================================ */
@media (pointer: coarse) {
    .sp-nav ul li a,
    .sp-faq-question,
    .sp-mobile-menu ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn-primary, .btn-outline {
        min-height: 48px;
    }
}

@supports (padding: env(safe-area-inset-bottom)) {
    .sp-cookie-bar {
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

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

    .sp-mobile-menu {
        padding-left: calc(30px + env(safe-area-inset-left));
        padding-right: calc(30px + env(safe-area-inset-right));
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-hover:hover {
    animation: pulse 0.8s ease infinite;
}

/* Print */
@media print {
    .sp-header, .sp-footer, .sp-cookie-bar, .sp-mobile-menu, .sp-mobile-overlay {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
