/* ===== Social Proof & Dynamic Elements ===== */

/* ---------- Live Counter ---------- */
.oc-live-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}
.oc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: oc-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
.oc-live-text { white-space: nowrap; }
.oc-count-num { color: #ef4444; font-weight: 700; font-size: 15px; }
@keyframes oc-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Dark theme variant */
.dark .oc-live-counter,
.theme-dark .oc-live-counter { color: #9a9ab8; }
.dark .oc-count-num,
.theme-dark .oc-count-num { color: #f87171; }

/* ---------- Stat Cards ---------- */
.oc-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 24px 0;
}
.oc-stat-item {
    text-align: center;
    min-width: 100px;
}
.oc-stat-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ef4444, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.oc-stat-label {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

/* ---------- Activity Feed ---------- */
.oc-activity-feed {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.06);
}
.oc-activity-feed::before,
.oc-activity-feed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 2;
    pointer-events: none;
}
.oc-activity-feed::before {
    top: 0;
    background: linear-gradient(to bottom, #fff, transparent);
}
.oc-activity-feed::after {
    bottom: 0;
    background: linear-gradient(to top, #fff, transparent);
}
.oc-feed-track {
    animation: oc-scroll 30s linear infinite;
}
.oc-feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
}
.oc-feed-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.oc-feed-text { color: #4b5563; flex: 1; }
.oc-feed-time { color: #9ca3af; font-size: 11px; white-space: nowrap; }
@keyframes oc-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Dark theme feed */
.dark .oc-activity-feed,
.theme-dark .oc-activity-feed { background: rgba(255,255,255,0.03); border-color: rgba(102,126,234,0.1); }
.dark .oc-activity-feed::before,
.theme-dark .oc-activity-feed::before { background: linear-gradient(to bottom, #0f1029, transparent); }
.dark .oc-activity-feed::after,
.theme-dark .oc-activity-feed::after { background: linear-gradient(to top, #0f1029, transparent); }
.dark .oc-feed-text,
.theme-dark .oc-feed-text { color: #9a9ab8; }
.dark .oc-feed-time,
.theme-dark .oc-feed-time { color: #6b6b8a; }

/* ---------- Toast Notification ---------- */
.oc-toast {
    position: fixed;
    bottom: 80px;
    left: 24px;
    z-index: 200;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13px;
    color: #374151;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px) translateX(-20px);
    transition: opacity 0.4s, transform 0.4s;
    max-width: 360px;
}
.oc-toast-show { opacity: 1; transform: translateY(0) translateX(0); }
.oc-toast-hide { opacity: 0; transform: translateY(20px) translateX(-20px); }
.oc-toast-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* Dark theme toast */
.dark .oc-toast,
.theme-dark .oc-toast { background: #1a1b3e; border-color: rgba(102,126,234,0.2); color: #e8e8f0; }

/* ---------- Breathing Glow Button ---------- */
@keyframes oc-breathe {
    0%, 100% { box-shadow: 0 4px 16px var(--glow-color, rgba(79,70,229,0.35)); }
    50% { box-shadow: 0 4px 28px var(--glow-color, rgba(79,70,229,0.55)), 0 0 48px var(--glow-color, rgba(79,70,229,0.2)); }
}
@keyframes oc-shine {
    0% { left: -80%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

.oc-btn-glow {
    position: relative;
    overflow: hidden;
    animation: oc-breathe 2.5s ease-in-out infinite;
}
.oc-btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(25deg);
    animation: oc-shine 4s ease-in-out infinite;
    pointer-events: none;
}
.oc-btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    animation-play-state: paused;
}

/* Color variants */
.oc-btn-glow--purple { --glow-color: rgba(102,126,234,0.4); }
.oc-btn-glow--red { --glow-color: rgba(239,68,68,0.4); }
.oc-btn-glow--blue { --glow-color: rgba(79,70,229,0.4); }

/* ---------- Enhanced Sticky Bottom Banner ---------- */
.oc-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    backdrop-filter: blur(16px);
}
.oc-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.oc-sticky-logo { width: 28px; height: 28px; flex-shrink: 0; }
.oc-sticky-info { display: flex; align-items: center; gap: 12px; }
.oc-sticky-title { font-size: 14px; font-weight: 600; }
.oc-sticky-live { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.oc-sticky-live .oc-live-dot { width: 6px; height: 6px; }
.oc-sticky-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    animation: oc-breathe 2.5s ease-in-out infinite;
    --glow-color: rgba(102,126,234,0.4);
    transition: transform 0.2s;
}
.oc-sticky-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: rotate(25deg);
    animation: oc-shine 4s ease-in-out infinite;
    pointer-events: none;
}
.oc-sticky-cta:hover { transform: translateY(-1px) scale(1.02); }
.oc-sticky-cta svg { width: 16px; height: 16px; }

/* Light theme sticky */
.oc-sticky-bar--light {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
}
.oc-sticky-bar--light .oc-sticky-title { color: #1e1b4b; }
.oc-sticky-bar--light .oc-sticky-live { color: #6b7280; }

/* Dark theme sticky */
.oc-sticky-bar--dark {
    background: rgba(15,16,41,0.95);
    border-top-color: rgba(102,126,234,0.2);
}
.oc-sticky-bar--dark .oc-sticky-title { color: #e8e8f0; }
.oc-sticky-bar--dark .oc-sticky-live { color: #9a9ab8; }

/* ---------- Social Proof Section ---------- */
.oc-social-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}
.oc-social-proof .oc-activity-feed { height: 280px; }

@media (max-width: 768px) {
    .oc-social-proof { grid-template-columns: 1fr; }
    .oc-stats { gap: 16px; }
    .oc-stat-num { font-size: 22px; }
    .oc-sticky-info { display: none; }
    .oc-toast { left: 12px; right: 12px; max-width: none; bottom: 70px; }
    .oc-sticky-inner { gap: 10px; }
}