/* ═══════════════════════════════════════════════════════════
   SocialPulse Landing & Static Pages — Unified Stylesheet
   ═══════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }

/* ── Hero Orbital Design ──────────────────────── */
.hero-section {
    position: relative; padding: 90px 0 32px; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; overflow: hidden;
    background: linear-gradient(160deg, #fef9f6 0%, #ffffff 35%, #f4f0ff 65%, #eef5ff 100%);
}
.hero-glow { display: none; }

/* Floating decorative dots */
.hero-float-dot {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-float-dot--1 { width: 8px; height: 8px; background: rgba(99,102,241,0.25); top: 18%; left: 8%; animation-delay: 0s; }
.hero-float-dot--2 { width: 12px; height: 12px; background: rgba(139,92,246,0.18); top: 30%; right: 12%; animation-delay: 1.5s; }
.hero-float-dot--3 { width: 6px; height: 6px; background: rgba(59,130,246,0.2); top: 65%; left: 15%; animation-delay: 3s; }
.hero-float-dot--4 { width: 10px; height: 10px; background: rgba(16,185,129,0.18); top: 75%; right: 8%; animation-delay: 4.5s; }
.hero-float-dot--5 { width: 14px; height: 14px; background: rgba(99,102,241,0.12); top: 45%; left: 3%; animation-delay: 2s; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-18px); opacity: 1; }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    z-index: 5; opacity: 0; animation: scrollFadeIn 1s ease 2s forwards;
}
.hero-scroll-indicator__text {
    font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    color: var(--sl-text-muted);
}
.hero-scroll-indicator__line {
    width: 1px; height: 28px; background: linear-gradient(to bottom, var(--sl-text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollFadeIn { to { opacity: 1; } }
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}
@media (max-width: 767px) { .hero-scroll-indicator { display: none; } }

/* Orbit container — right side */
.orbit-container {
    position: relative; width: 100%; aspect-ratio: 1; max-width: 460px; margin: 0 auto;
}
.orbit-ring {
    position: absolute; border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    border: 1.5px dashed rgba(0,0,0,0.08);
}
.orbit-ring--1 { width: 94%; height: 94%; border-color: rgba(99,102,241,0.15); border-style: solid; }
.orbit-ring--2 { width: 66%; height: 66%; border-color: rgba(59,130,246,0.12); border-style: dashed; }
.orbit-ring--3 { width: 38%; height: 38%; border-color: rgba(139,92,246,0.12); border-style: solid; }

/* Central stat hub */
.orbit-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; z-index: 5;
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--sl-bg-card);
    border: 2px solid rgba(99,102,241,0.2);
    box-shadow: 0 0 0 8px rgba(99,102,241,0.05), 0 8px 32px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.orbit-center__number {
    font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 900;
    background: linear-gradient(135deg, #6366F1, #1E1B4B);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1;
}
.orbit-center__label {
    font-size: 11px; color: var(--sl-text-secondary); margin-top: 2px; font-weight: 600;
}

/* ── Rotating orbit tracks ────────────────────── */
.orbit-track {
    position: absolute; border-radius: 50%;
    top: 50%; left: 50%; z-index: 4;
}
.orbit-track--outer {
    width: 94%; height: 94%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 40s linear infinite;
}
.orbit-track--middle {
    width: 66%; height: 66%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 30s linear infinite reverse;
}
.orbit-track--inner {
    width: 38%; height: 38%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 20s linear infinite;
}
@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-node {
    position: absolute;
    display: flex; align-items: center; justify-content: center;
}
.orbit-track--outer .orbit-node__inner  { animation: orbitCounterSpin 40s linear infinite; }
.orbit-track--middle .orbit-node__inner { animation: orbitCounterSpin 30s linear infinite reverse; }
.orbit-track--inner .orbit-node__inner  { animation: orbitCounterSpin 20s linear infinite; }
@keyframes orbitCounterSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* Outer ring positions */
.orbit-node--o1 { top: -25px; left: 50%; transform: translateX(-50%); }
.orbit-node--o2 { top: 50%; right: -25px; transform: translateY(-50%); }
.orbit-node--o3 { bottom: -25px; left: 50%; transform: translateX(-50%); }
.orbit-node--o4 { top: 50%; left: -25px; transform: translateY(-50%); }
/* Middle ring positions */
.orbit-node--m1 { top: -24px; left: 50%; transform: translateX(-50%); }
.orbit-node--m2 { top: 75%; left: 93.3%; transform: translate(-50%, -50%); }
.orbit-node--m3 { top: 75%; left: 6.7%; transform: translate(-50%, -50%); }
/* Inner ring position */
.orbit-node--i1 { top: -24px; left: 50%; transform: translateX(-50%); }

/* Icon shapes */
.orbit-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
}
.orbit-icon {
    width: 48px; height: 48px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.orbit-avatar--glow { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* Cursor tag */
.hero-cursor-tag {
    position: absolute; bottom: 22%; left: 26%; z-index: 6;
    display: flex; align-items: center; gap: 5px; opacity: 0;
}
.hero-cursor-tag__arrow { width: 12px; height: 12px; color: #6366F1; }
.hero-cursor-tag__name {
    padding: 5px 12px; border-radius: 7px;
    background: #6366F1; color: #fff;
    font-size: 11px; font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Hero title */
.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; line-height: 1.1; letter-spacing: -0.025em;
    color: var(--sl-text-primary); margin-bottom: 18px;
}
.hero-title span {
    background: linear-gradient(135deg, #6366F1 0%, #818CF8 50%, #1E1B4B 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; position: relative;
}
.hero-title span::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #6366F1, #1E1B4B, transparent);
    border-radius: 2px; opacity: 0.5;
}

/* Hero decorative grid */
.hero-grid-pattern {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 65% 65% at 55% 45%, black 15%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse 65% 65% at 55% 45%, black 15%, transparent 65%);
}

/* Pause orbit on hover */
.orbit-container:hover .orbit-track,
.orbit-container:hover .orbit-node__inner { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .orbit-track, .orbit-node__inner { animation: none !important; }
}

@media (min-width: 1024px) { .hero-section { padding: 90px 0 24px; } }
@media (max-width: 1023px) {
    .orbit-container { max-width: 360px; margin-top: 32px; }
    .orbit-avatar { width: 42px; height: 42px; font-size: 15px; }
    .orbit-icon { width: 40px; height: 40px; font-size: 15px; border-radius: 11px; }
}
@media (max-width: 640px) {
    .orbit-container { max-width: 290px; }
    .orbit-avatar { width: 36px; height: 36px; font-size: 13px; }
    .orbit-icon { width: 34px; height: 34px; font-size: 13px; border-radius: 9px; }
    .orbit-center { width: 80px; height: 80px; }
    .orbit-center__number { font-size: 1.3rem; }
    .hero-cursor-tag { display: none; }
    .hero-title { font-size: 1.7rem; }
    .orbit-node--o1 { top: -18px; left: 50%; transform: translateX(-50%); }
    .orbit-node--o2 { top: 50%; right: -18px; left: auto; transform: translateY(-50%); }
    .orbit-node--o3 { bottom: -18px; top: auto; left: 50%; transform: translateX(-50%); }
    .orbit-node--o4 { top: 50%; left: -18px; right: auto; transform: translateY(-50%); }
}

/* ── Platform cards ──────────────────────────── */
.platform-card {
    background: var(--sl-bg-card);
    border: 1px solid var(--sl-border);
    border-radius: 16px; padding: 28px 20px;
    text-align: center; transition: transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.platform-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--sl-shadow-lg); }
.platform-card__icon {
    width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff;
}
.platform-card__name { font-size: 15px; font-weight: 700; color: var(--sl-text-primary); margin-bottom: 4px; }
.platform-card__detail { font-size: 12px; color: var(--sl-text-secondary); }
.platform-card__glow { display: none; }

/* ── Feature cards ───────────────────────────── */
.feature-card {
    background: var(--sl-bg-card);
    border: 1px solid var(--sl-border);
    border-radius: 16px; padding: 32px 24px;
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366F1, #1E1B4B);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.15); }
.feature-card__icon {
    width: 50px; height: 50px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 16px; transition: transform 0.3s;
}
.feature-card:hover .feature-card__icon { transform: scale(1.08); }
.feature-card__title { font-size: 17px; font-weight: 700; color: var(--sl-text-primary); margin-bottom: 8px; }
.feature-card__desc { font-size: 14px; color: var(--sl-text-secondary); line-height: 1.6; }

/* ── Step cards ──────────────────────────────── */
.step-card {
    text-align: center; position: relative; padding: 20px 16px;
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 16px; transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--sl-shadow-md); }
.step-card__number {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #1E1B4B);
    color: #fff; font-weight: 800; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}
.step-card__icon { font-size: 28px; color: #6366F1; margin-bottom: 12px; }
.step-card__title { font-size: 16px; font-weight: 700; color: var(--sl-text-primary); margin-bottom: 6px; }
.step-card__desc { font-size: 13px; color: var(--sl-text-secondary); line-height: 1.6; }

/* ── Showcase mockups ────────────────────────── */
.showcase-mock {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 18px; padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    position: relative; overflow: hidden;
}
.showcase-mock::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366F1, #8b5cf6, #3b82f6);
    border-radius: 18px 18px 0 0;
}
.inbox-item {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border-radius: 10px; transition: background 0.2s, transform 0.2s;
    border-bottom: 1px solid var(--sl-border);
}
.inbox-item:last-child { border-bottom: none; }
.inbox-item:hover { background: var(--sl-bg-card-hover); transform: translateX(4px); }
.inbox-item__avatar {
    width: 38px; height: 38px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.inbox-item__text { flex: 1; min-width: 0; }
.inbox-item__name { font-size: 13px; font-weight: 600; color: var(--sl-text-primary); }
.inbox-item__preview { font-size: 12px; color: var(--sl-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-item__badge { font-size: 10px; font-weight: 600; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.inbox-item__badge--positive { background: rgba(16,185,129,0.1); color: #10b981; }
.inbox-item__badge--negative { background: rgba(244,63,94,0.1); color: #f43f5e; }
.inbox-item__badge--lead { background: rgba(99,102,241,0.1); color: #6366F1; }
.inbox-item__badge--inquiry { background: rgba(59,130,246,0.1); color: #3b82f6; }

/* ── Why cards ───────────────────────────────── */
.why-card {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 16px; padding: 28px 24px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative; overflow: hidden;
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: rgba(99,102,241,0.15); }
.why-card__icon {
    width: 48px; height: 48px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 14px; transition: transform 0.3s;
}
.why-card:hover .why-card__icon { transform: scale(1.08); }

/* ── FAQ section ─────────────────────────────── */
.faq-item {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 14px; overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.faq-item.open { border-color: rgba(99,102,241,0.2); box-shadow: 0 4px 16px rgba(99,102,241,0.06); }
.faq-item__q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px; cursor: pointer; gap: 12px;
    font-size: 15px; font-weight: 600; color: var(--sl-text-primary);
    user-select: none; transition: color 0.2s;
}
.faq-item.open .faq-item__q { color: #6366F1; }
.faq-item__q i {
    color: var(--sl-text-muted); font-size: 13px; transition: transform 0.35s, color 0.2s;
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: rgba(99,102,241,0.06); display: flex; align-items: center; justify-content: center;
}
.faq-item.open .faq-item__q i { transform: rotate(180deg); color: #6366F1; background: rgba(99,102,241,0.1); }
.faq-item__a {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
}
.faq-item.open .faq-item__a { max-height: 300px; padding: 0 22px 20px; }
.faq-item__a p { font-size: 14px; color: var(--sl-text-secondary); line-height: 1.7; }

.cta-section__orb { display: none; }

/* ── Stat counter ────────────────────────────── */
.stat-counter { text-align: center; }
.stat-counter__number { font-size: 2.5rem; font-weight: 800; color: #6366F1; line-height: 1; }
.stat-counter__label { font-size: 13px; color: var(--sl-text-secondary); margin-top: 6px; }

/* ── 3D Globe badge floating animations ─────── */
.globe-badge {
    animation: globeBadgeFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}
.globe-badge:hover {
    transform: scale(1.15) !important;
}
.globe-badge--fb  { animation-delay: 0s; }
.globe-badge--ig  { animation-delay: 0.6s; }
.globe-badge--yt  { animation-delay: 1.2s; }
.globe-badge--x   { animation-delay: 1.8s; }
.globe-badge--li  { animation-delay: 2.4s; }
.globe-badge--g   { animation-delay: 3.0s; }

@keyframes globeBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Globe canvas container */
#heroOrbit {
    filter: drop-shadow(0 0 40px rgba(99,102,241,0.12));
}

/* Stat overlay cards responsive */
@media (max-width: 767px) {
    .hero-stat-overlay {
        max-width: 200px !important;
        gap: 6px !important;
        top: 10px !important;
        right: 10px !important;
    }
    .hero-stat-overlay > div {
        padding: 8px 10px !important;
        border-radius: 10px !important;
    }
    .hero-stat-overlay > div > div:first-child {
        font-size: 16px !important;
    }
}
@media (max-width: 480px) {
    .hero-stat-overlay { display: none !important; }
}

/* Globe reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
    .globe-badge { animation: none !important; }
    #globeCanvas { opacity: 0.6; }
}

/* Globe responsive */
@media (max-width: 767px) {
    .globe-badge > div {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }
}
@media (max-width: 480px) {
    .globe-badge > div {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
}

/* ── GSAP initial states ─────────────────────── */
.gs-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.gs-fade-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.gs-fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }

/* Hero section elements should be visible immediately (above the fold) */
.hero-section .gs-fade,
.hero-section .gs-fade-left,
.hero-section .gs-fade-right {
    opacity: 1;
    transform: none;
    animation: heroFadeIn 0.7s ease-out backwards;
}
.hero-section .gs-fade:nth-child(1) { animation-delay: 0.05s; }
.hero-section .gs-fade:nth-child(2) { animation-delay: 0.15s; }
.hero-section .gs-fade:nth-child(3) { animation-delay: 0.25s; }
.hero-section .gs-fade:nth-child(4) { animation-delay: 0.35s; }
.hero-section .gs-fade:nth-child(5) { animation-delay: 0.45s; }

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
.gs-scale { opacity: 0; transform: scale(0.9); }

/* ── Connector line between steps ────────────── */
@media (min-width: 768px) {
    .steps-connector {
        position: absolute; top: 42px; left: 22px; right: 22px; height: 2px;
        background: linear-gradient(90deg, transparent 5%, #6366F1, #1E1B4B, transparent 95%);
        z-index: 0; opacity: 0.4;
    }
}

/* ══════════════ MOBILE RESPONSIVE ══════════════ */
@media (max-width: 767px) {
    .section-features, .section-showcase-inbox, .section-showcase-sentiment,
    .section-platforms, .section-how-it-works, .section-why, .section-faq { padding: 48px 0 !important; }
    #showcaseGrid1, #showcaseGrid2 { gap: 28px !important; }
    .showcase-mock { padding: 14px !important; }
    .section-features h2, .section-showcase-inbox h3, .section-showcase-sentiment h3,
    .section-platforms h2, .section-how-it-works h2, .section-why h2, .section-faq h2 { font-size: 1.5rem !important; }
    .hero-stats-strip .stat-counter__number { font-size: 1.5rem; }
    #statsGrid { grid-template-columns: repeat(2, 1fr) !important; }
    .section-platforms .sp-landing-container > div:last-child { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-card { padding: 20px 16px; }
    .step-card__icon { font-size: 22px; }
    .sp-footer { padding: 40px 0 20px !important; }
    .sp-footer__brand { margin-bottom: 24px !important; padding-bottom: 20px !important; }
    .sp-footer__links { gap: 16px !important; margin-bottom: 24px !important; }
    .sp-footer__links h4 { font-size: 11px !important; margin-bottom: 8px !important; }
    .sp-footer__links a { font-size: 12px !important; }
}
@media (max-width: 480px) {
    .sp-landing-container { padding: 0 16px !important; }
    .section-features, .section-showcase-inbox, .section-showcase-sentiment,
    .section-platforms, .section-how-it-works, .section-why, .section-faq { padding: 36px 0 !important; }
    .hero-section { padding: 80px 0 16px !important; min-height: auto !important; }
    .section-platforms .sp-landing-container > div:last-child { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .platform-card { padding: 18px 12px; }
    .platform-card__icon { width: 44px; height: 44px; font-size: 20px; }
    .inbox-item { padding: 8px; gap: 8px; }
    .inbox-item__avatar { width: 30px; height: 30px; font-size: 12px; }
}

/* ══════════════ SECTION BACKGROUNDS ══════════════ */
.section-features { background: #ffffff; }
.section-features .feature-card { border-left: none; }

.section-showcase-inbox { background: #faf6f4; }

.section-showcase-sentiment { background: #f5f1ef; }
.section-showcase-sentiment .showcase-mock { background: var(--sl-bg-card); border-color: var(--sl-border); }

.section-platforms { background: linear-gradient(135deg, #6366F1 0%, #1E1B4B 50%, #6366F1 100%); }
.section-platforms, .section-platforms h2, .section-platforms p, .section-platforms span { color: #fff; }
.section-platforms .platform-card { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); }
.section-platforms .platform-card__name { color: #fff; }
.section-platforms .platform-card__detail { color: rgba(255,255,255,0.75); }
.section-platforms .platform-card:hover { background: rgba(255,255,255,0.18); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.section-platforms .platform-card__icon { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.section-how-it-works { background: #ffffff; }

.section-why { background: #f5f1ef; }

.section-faq { background: #ffffff; }

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #1a1520 0%, #1E1B4B 50%, #0c0a14 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; left: -20%; width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(99,102,241,0.06), transparent 65%);
    pointer-events: none;
}
.cta-section::after {
    content: ''; position: absolute; bottom: -50%; right: -20%; width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(139,92,246,0.05), transparent 65%);
    pointer-events: none;
}

/* ── Hero stats strip (inside hero) ──────────────────────── */
.hero-stats-strip { padding: 8px 0 0; margin-top: 8px; }
.hero-stats-strip .stat-counter {
    background: rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.05);
    border-radius: 14px; padding: 18px 12px;
    backdrop-filter: saturate(1.2); transition: transform 0.25s, box-shadow 0.25s;
}
.hero-stats-strip .stat-counter:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99,102,241,0.1); }
.hero-stats-strip .stat-counter__number { font-size: 2rem; font-weight: 800; color: #6366F1; line-height: 1; }
.hero-stats-strip .stat-counter__label { font-size: 12px; color: #64748b; margin-top: 6px; font-weight: 500; }

/* Section divider */
.section-divider {
    height: 1px; width: 100%; position: relative;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), rgba(139,92,246,0.15), transparent);
}

/* Section badge pill */
.section-badge {
    display: inline-block; padding: 5px 14px; border-radius: 20px;
    background: rgba(99,102,241,0.1); color: #6366F1;
    font-size: 12px; font-weight: 600; margin-bottom: 12px;
    position: relative;
}
.section-badge::before {
    content: ''; position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: #6366F1;
}


/* Pulse animation */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ══════════════ STATIC PAGES (About, Help, Contact, Privacy, Cookies) ══════════════ */

/* Hero banner for static pages */
.static-hero-banner {
    position: relative; padding: 130px 0 60px; overflow: hidden;
    background: linear-gradient(160deg, #fef9f6 0%, #ffffff 35%, #f4f0ff 65%, #eef5ff 100%);
}
.static-hero-inner {
    position: relative; z-index: 1; text-align: center;
    max-width: 680px; margin: 0 auto;
}
.static-hero-inner .badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: rgba(99,102,241,0.1); color: #6366F1;
    font-size: 12px; font-weight: 600; margin-bottom: 14px;
    position: relative;
}
.static-hero-inner .badge::before {
    content: ''; position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: #6366F1;
}
.static-hero-inner h1 {
    font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900;
    color: var(--sl-text-primary); line-height: 1.15; margin-bottom: 14px;
}
.static-hero-inner p {
    font-size: 16px; color: var(--sl-text-secondary);
    line-height: 1.7; max-width: 560px; margin: 0 auto;
}

/* Hero decorative grid for static pages */
.static-hero-banner .hero-grid-pattern {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 60%);
}

/* Static page content */
.static-page-content {
    padding: 60px 0 80px; min-height: 50vh;
    background: var(--sl-bg-primary);
}
.static-page-content h2 {
    font-size: 1.5rem; font-weight: 700; color: var(--sl-text-primary);
    margin-top: 36px; margin-bottom: 12px;
}
.static-page-content h3 {
    font-size: 1.15rem; font-weight: 600; color: var(--sl-text-primary);
    margin-top: 24px; margin-bottom: 8px;
}
.static-page-content p, .static-page-content li {
    font-size: 15px; color: var(--sl-text-secondary); line-height: 1.7;
}
.static-page-content ul { list-style: none; padding: 0; }
.static-page-content ul li { padding: 6px 0 6px 20px; position: relative; }
.static-page-content ul li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 6px; height: 6px; border-radius: 50%; background: #6366F1;
}
.static-page-content a { color: #6366F1; text-decoration: none; }
.static-page-content a:hover { text-decoration: underline; }
.static-page-content a.sp-btn-primary,
.static-cta-block a.sp-btn-primary {
    color: #fff;
    text-decoration: none;
}
.static-page-content a.sp-btn-primary:hover,
.static-cta-block a.sp-btn-primary:hover {
    text-decoration: none;
}
.static-page-content a.sp-btn-secondary,
.static-cta-block a.sp-btn-secondary {
    color: var(--sp-text);
    background: #fff;
    border: 1.5px solid var(--sp-border);
    text-decoration: none;
}
.static-page-content a.sp-btn-secondary:hover,
.static-cta-block a.sp-btn-secondary:hover {
    background: var(--sp-bg-subtle);
    border-color: var(--sp-border-strong);
    text-decoration: none;
}

/* Static card (shared across static pages) */
.static-card {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 16px; padding: 28px 24px; margin-bottom: 20px;
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    position: relative; overflow: hidden;
}
.static-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366F1, #1E1B4B);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s ease;
}
.static-card:hover::before { transform: scaleX(1); }
.static-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.15); }
.static-card__icon {
    width: 50px; height: 50px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 16px; transition: transform 0.3s;
}
.static-card:hover .static-card__icon { transform: scale(1.08); }
.static-card__title { font-size: 17px; font-weight: 700; color: var(--sl-text-primary); margin-bottom: 8px; }
.static-card__desc { font-size: 14px; color: var(--sl-text-secondary); line-height: 1.6; }

/* Contact form */
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--sl-border); border-radius: 10px;
    background: var(--sl-bg-card); color: var(--sl-text-primary);
    font-size: 14px; font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.contact-form label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--sl-text-primary); margin-bottom: 6px;
}

/* CTA blocks in static pages */
.static-cta-block {
    text-align: center; margin-top: 48px; padding: 40px;
    background: linear-gradient(135deg, #fef9f6, #f4f0ff);
    border-radius: 18px; border: 1px solid var(--sl-border);
    position: relative; overflow: hidden;
}
.static-cta-block::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366F1, #8b5cf6, #3b82f6);
}
.static-cta-block h3 {
    font-size: 1.3rem; font-weight: 700; color: var(--sl-text-primary); margin-bottom: 8px; margin-top: 0;
}
.static-cta-block p { margin-bottom: 20px; }

/* Static page buttons */
.sp-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px;
    background: linear-gradient(135deg, #6366F1, #1E1B4B);
    color: #fff; font-weight: 600; font-size: 14px;
    text-decoration: none; border: none; cursor: pointer;
    box-shadow: 0 4px 16px rgba(99,102,241,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}
.sp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.4); }
.sp-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px;
    border: 1.5px solid rgba(99,102,241,0.25); color: #1E1B4B;
    font-weight: 600; font-size: 14px; text-decoration: none;
    background: transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sp-btn-secondary:hover { border-color: rgba(99,102,241,0.5); background: rgba(99,102,241,0.04); }

/* Related links block */
.static-related-block {
    margin-top: 32px; padding: 20px;
    background: var(--sl-bg-card); border-radius: 12px;
    border: 1px solid var(--sl-border);
}
.static-related-block p { margin: 0; font-size: 13px; }

/* Platform mini cards for about page */
.platform-mini-card {
    text-align: center; padding: 20px;
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 14px; transition: transform 0.3s, box-shadow 0.3s;
}
.platform-mini-card:hover { transform: translateY(-3px); box-shadow: var(--sl-shadow-md); }

/* Social follow links */
.social-follow-link {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.social-follow-link:hover { transform: translateY(-2px); box-shadow: var(--sl-shadow-sm); border-color: rgba(99,102,241,0.2); }

/* Flash messages */
.flash-message {
    padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px;
}
.flash-message--success { background: rgba(16,185,129,0.1); color: #10b981; border: 1px solid rgba(16,185,129,0.2); }
.flash-message--error { background: rgba(244,63,94,0.1); color: #f43f5e; border: 1px solid rgba(244,63,94,0.2); }

/* Static pages mobile */
@media (max-width: 640px) {
    .static-hero-banner { padding: 100px 0 40px; }
    .static-page-content { padding: 40px 0 60px; }
}

/* ══════════════ BLOG PAGES ══════════════ */

/* Blog hero section */
.blog-hero-section {
    position: relative; padding: 100px 0 40px; overflow: hidden;
    background: linear-gradient(160deg, #fef9f6 0%, #ffffff 35%, #f4f0ff 65%, #eef5ff 100%);
}

/* Hero featured card */
.blog-hero-card {
    position: relative; border-radius: 20px; overflow: hidden;
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease;
}
.blog-hero-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(0,0,0,0.15); }
.blog-hero-card__img-wrap { position: relative; overflow: hidden; }
.blog-hero-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--sl-bg-card); display: block; transition: transform 0.5s ease; }
.blog-hero-card:hover .blog-hero-card__img { transform: scale(1.04); }
.blog-hero-card__img-wrap::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent); pointer-events: none;
}
.blog-hero-card__featured-badge {
    position: absolute; top: 16px; left: 16px;
    background: linear-gradient(135deg, #6366F1, #1E1B4B); color: #fff;
    font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px;
    z-index: 2; display: flex; align-items: center; gap: 6px;
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}
.blog-hero-card__placeholder {
    width: 100%; aspect-ratio: 16/9;
    background: linear-gradient(135deg, #6366F1, #1E1B4B);
    display: flex; align-items: center; justify-content: center;
}
.blog-hero-card__body { padding: 28px; }

/* Trending sidebar */
.trending-banner {
    background: linear-gradient(135deg, #6366F1, #1E1B4B); border-radius: 14px;
    padding: 18px 22px; margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 24px rgba(99,102,241,0.25);
}
.trending-banner__icon {
    width: 40px; height: 40px; background: rgba(255,255,255,0.2);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 17px;
}
.trending-banner__text { color: #fff; font-weight: 700; font-size: 16px; }
.trending-banner__sub { color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 400; }

/* Trending post card */
.trending-card {
    display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--sl-border);
    transition: all 0.2s ease; text-decoration: none; border-radius: 8px;
    margin: 0 -8px; padding-left: 8px; padding-right: 8px;
}
.trending-card:last-child { border-bottom: none; }
.trending-card:hover { background: rgba(0,0,0,0.03); }
.trending-card__num {
    width: 28px; height: 28px; border-radius: 8px;
    background: rgba(99,102,241,0.1); color: #6366F1;
    font-size: 13px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; align-self: center;
}
.trending-card__img { width: 80px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; display: block; transition: transform 0.3s; }
.trending-card:hover .trending-card__img { transform: scale(1.05); }
.trending-card__img-wrap { width: 80px; height: 60px; border-radius: 10px; flex-shrink: 0; overflow: hidden; }
.trending-card__placeholder {
    width: 80px; height: 60px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    display: flex; align-items: center; justify-content: center;
}
.trending-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.trending-card__title {
    font-size: 13px; font-weight: 600; color: var(--sl-text-primary); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px;
}
.trending-card__meta { font-size: 11px; color: var(--sl-text-secondary); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Category pill */
.cat-pill {
    font-size: 10px; padding: 3px 10px; border-radius: 20px;
    background: linear-gradient(135deg, #6366F1, #1E1B4B); color: #fff;
    font-weight: 600; display: inline-block; white-space: nowrap;
    letter-spacing: 0.02em; text-transform: uppercase;
}

/* Author row */
.author-row { display: flex; align-items: center; gap: 10px; }
.author-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #1E1B4B);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-name { font-size: 13px; font-weight: 600; color: var(--sl-text-primary); }
.author-role { font-size: 11px; color: var(--sl-text-secondary); }

/* Blog grid card */
.blog-grid-card {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 16px; overflow: hidden;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease;
    height: 100%; display: flex; flex-direction: column;
    position: relative;
}
.blog-grid-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366F1, #1E1B4B);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s ease; z-index: 3;
}
.blog-grid-card:hover::before { transform: scaleX(1); }
.blog-grid-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.blog-grid-card__img-wrap { position: relative; overflow: hidden; }
.blog-grid-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--sl-bg-card); display: block; transition: transform 0.4s ease; }
.blog-grid-card:hover .blog-grid-card__img { transform: scale(1.05); }
.blog-grid-card__img-wrap::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
    pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.blog-grid-card:hover .blog-grid-card__img-wrap::after { opacity: 1; }
.blog-grid-card__badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 20px;
    z-index: 2; display: flex; align-items: center; gap: 4px;
}
.blog-grid-card__placeholder {
    width: 100%; aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    display: flex; align-items: center; justify-content: center;
}
.blog-grid-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

/* Blog detail page */
.blog-detail-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #fef9f6 0%, #ffffff 35%, #f4f0ff 65%, #eef5ff 100%);
}
.blog-detail-hero .hero-glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; }
.blog-detail-hero .hero-glow--1 { width: 500px; height: 500px; filter: blur(100px); background: rgba(99,102,241,0.1); top: -20%; right: -5%; }
.blog-detail-hero .hero-glow--2 { width: 350px; height: 350px; filter: blur(90px); background: rgba(59,130,246,0.06); bottom: -15%; left: 15%; }

/* Blog content styles */
.blog-content { max-width: 100%; line-height: 1.8; color: var(--sl-text-primary); }
.blog-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--sl-text-primary); scroll-margin-top: 80px; }
.blog-content h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--sl-text-primary); scroll-margin-top: 80px; }
.blog-content p { margin-bottom: 1rem; }
.blog-content ul, .blog-content ol { margin: 0 0 1rem 1.5rem; }
.blog-content li { margin-bottom: 0.25rem; }
.blog-content a { color: #6366F1; text-decoration: underline; }
.blog-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; display: block; object-fit: contain; }
.blog-content blockquote { border-left: 3px solid #6366F1; padding-left: 1rem; margin: 1rem 0; color: var(--sl-text-secondary); font-style: italic; }
.blog-content code { background: var(--sl-bg-card); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
.blog-content pre { background: var(--sl-bg-card); padding: 1rem; border-radius: 8px; overflow-x: auto; margin: 1rem 0; }
.blog-content table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.blog-content td, .blog-content th { border: 1px solid var(--sl-border); padding: 0.5rem; }
.blog-content th { background: var(--sl-bg-card); font-weight: 600; }
.toc-link { display: block; padding: 4px 0; color: var(--sl-text-secondary); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.toc-link:hover { color: #6366F1; }
.toc-link.toc-h3 { padding-left: 16px; font-size: 12px; }

/* Blog detail layout */
.blog-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.blog-detail-breadcrumb { font-size: 13px; }
.blog-detail-breadcrumb a { color: var(--sl-text-secondary); text-decoration: none; transition: color 0.2s; }
.blog-detail-breadcrumb a:hover { color: #6366F1; }

/* Blog detail FAQ */
.blog-detail-faq { background: var(--sl-bg-card); border: 1px solid var(--sl-border); border-radius: 16px; padding: 28px; }
.blog-detail-faq details { border: 1px solid var(--sl-border); border-radius: 12px; overflow: hidden; margin-bottom: 10px; transition: all 0.2s; }
.blog-detail-faq summary {
    padding: 16px 18px; font-weight: 600; color: var(--sl-text-primary); cursor: pointer;
    font-size: 14px; list-style: none; display: flex; justify-content: space-between;
    align-items: center; gap: 12px;
}
.blog-detail-faq summary::-webkit-details-marker { display: none; }

/* Blog sidebar card */
.blog-sidebar-card {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 16px; padding: 20px; margin-bottom: 20px;
    position: relative; overflow: hidden;
}
.blog-sidebar-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366F1, #1E1B4B);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s ease;
}
.blog-sidebar-card:hover::before { transform: scaleX(1); }

/* Blog author card */
.blog-author-card { text-align: center; padding: 24px; }
.blog-author-card__banner {
    position: absolute; top: 0; left: 0; right: 0; height: 48px;
    background: linear-gradient(135deg, #6366F1, #1E1B4B);
}
.blog-author-card__avatar {
    position: relative; z-index: 1; width: 56px; height: 56px;
    border-radius: 50%; background: linear-gradient(135deg, #6366F1, #1E1B4B);
    display: flex; align-items: center; justify-content: center;
    margin: 8px auto 12px; font-size: 20px; font-weight: 700; color: #fff;
    border: 3px solid var(--sl-bg-card); box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

/* Share button */
.blog-share-btn {
    cursor: pointer; width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; transition: all 0.2s; border: none;
}
.blog-share-btn:hover { transform: scale(1.08); }

/* Related post in sidebar */
.blog-related-link {
    display: flex; gap: 12px; padding: 10px 8px; margin: 0 -8px;
    border-radius: 10px; text-decoration: none; transition: background 0.2s;
}
.blog-related-link:hover { background: rgba(0,0,0,0.03); }

/* Blog pagination */
.blog-pagination {
    display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 48px;
}
.blog-pagination__btn {
    padding: 10px 20px; border-radius: 12px; text-decoration: none;
    font-size: 13px; font-weight: 500; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
}
.blog-pagination__prev {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border); color: var(--sl-text-primary);
}
.blog-pagination__prev:hover { border-color: rgba(99,102,241,0.3); }
.blog-pagination__next {
    background: linear-gradient(135deg, #6366F1, #1E1B4B); color: #fff;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.blog-pagination__next:hover { transform: translateY(-1px); }

/* Blog tag */
.blog-tag {
    font-size: 11px; padding: 5px 14px; border-radius: 20px;
    background: rgba(99,102,241,0.08); color: #6366F1;
    font-weight: 500; transition: all 0.2s;
}
.blog-tag:hover { background: rgba(99,102,241,0.14); }

/* Blog responsive */
@media (max-width: 899px) {
    .blog-detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .blog-detail-grid aside { position: static !important; }
}
@media (max-width: 767px) {
    .blog-hero-card__body { padding: 18px; }
    .blog-hero-card__body h2 { font-size: 1.2rem !important; }
    .blog-hero-card__body p { font-size: 13px !important; -webkit-line-clamp: 2 !important; }
    .blog-hero-card__featured-badge { top: 10px; left: 10px; font-size: 10px; padding: 4px 10px; }
    .trending-card__img-wrap, .trending-card__img, .trending-card__placeholder { width: 64px; height: 48px; }
    .blog-grid-card__body { padding: 14px; }
    .blog-grid-card__body h3 { font-size: 0.95rem !important; }
    .blog-detail-hero { padding: 80px 0 32px !important; }
    .blog-detail-hero h1 { font-size: 1.5rem !important; }
    .blog-detail-hero .blog-excerpt { font-size: 0.95rem !important; }
    .blog-content h2 { font-size: 1.25rem; }
    .blog-content h3 { font-size: 1.05rem; }
    .blog-detail-breadcrumb { font-size: 12px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .blog-detail-faq { padding: 18px !important; }
}

/* ══════════════ WEB STORIES PAGES ══════════════ */

/* Stories hero section */
.stories-hero-section {
    position: relative; padding: 100px 0 50px; overflow: hidden;
    background: linear-gradient(160deg, #fef9f6 0%, #ffffff 35%, #f4f0ff 65%, #eef5ff 100%);
}

/* Story card */
.story-card {
    position: relative; border-radius: 16px; overflow: hidden;
    aspect-ratio: 9/16; max-height: 340px; cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
}
.story-card:hover { transform: scale(1.03); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-card__overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.story-card__title { color: #fff; font-weight: 600; font-size: 14px; line-height: 1.3; }
.story-card__meta { color: rgba(255,255,255,0.7); font-size: 11px; margin-top: 4px; }
.story-card__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #6366F1, #1E1B4B);
    display: flex; align-items: center; justify-content: center;
}

/* Stories pagination */
.stories-pagination {
    display: flex; justify-content: center; gap: 8px; margin-top: 40px;
}
.stories-pagination__btn {
    padding: 10px 20px; border-radius: 12px; text-decoration: none;
    font-size: 13px; font-weight: 500; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
}

/* Story viewer (detail page) */
.story-viewer { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; }
.story-frame { position: relative; width: 100%; max-width: 420px; height: 100vh; max-height: 750px; overflow: hidden; border-radius: 0; }
@media (min-width: 768px) { .story-frame { border-radius: 16px; height: 90vh; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; display: flex; flex-direction: column; justify-content: flex-end; }
.slide.active { opacity: 1; z-index: 2; }
.slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide__overlay { position: absolute; inset: 0; }
.slide__content { position: absolute; inset: 0; z-index: 3; padding: 24px 20px 32px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.slide__text { font-size: 1.15rem; font-weight: 600; line-height: 1.4; margin-bottom: 12px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.slide__cta { display: inline-block; padding: 10px 24px; border-radius: 30px; background: #6366F1; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.progress-bar { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 10; display: flex; gap: 4px; }
.progress-seg { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.3); overflow: hidden; }
.progress-seg__fill { height: 100%; background: #fff; width: 0; transition: width 0.1s linear; }
.progress-seg.done .progress-seg__fill { width: 100%; }
.progress-seg.active .progress-seg__fill { width: var(--progress, 0%); }
.nav-zone { position: absolute; top: 60px; bottom: 80px; z-index: 5; cursor: pointer; }
.nav-zone--left { left: 0; width: 30%; }
.nav-zone--right { right: 0; width: 70%; }
.story-close { position: absolute; top: 20px; right: 16px; z-index: 15; color: #fff; font-size: 20px; cursor: pointer; opacity: 0.8; text-decoration: none; }
.story-close:hover { opacity: 1; }
.story-header { position: absolute; top: 24px; left: 16px; z-index: 10; display: flex; align-items: center; gap: 10px; }
.story-header__avatar {
    width: 32px; height: 32px; border-radius: 50%; background: #6366F1;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff; border: 2px solid rgba(255,255,255,0.5);
}
.story-header__name { color: #fff; font-size: 13px; font-weight: 600; }

/* Empty state */
.empty-state {
    text-align: center; padding: 60px 0;
}
.empty-state__icon { font-size: 3rem; color: var(--sl-border); margin-bottom: 16px; }
.empty-state__title { color: var(--sl-text-primary); font-size: 1.25rem; margin-bottom: 4px; font-weight: 700; }
.empty-state__desc { color: var(--sl-text-secondary); font-size: 14px; }

/* Category filter pills */
.cat-filter {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 500; text-decoration: none;
    transition: all 0.2s;
}
.cat-filter--active { background: linear-gradient(135deg, #6366F1, #1E1B4B); color: #fff; }
.cat-filter--inactive {
    background: var(--sl-bg-card); color: var(--sl-text-secondary); border: 1px solid var(--sl-border);
}
.cat-filter--inactive:hover { border-color: rgba(99,102,241,0.3); color: var(--sl-text-primary); }

