@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════
   BOSS Landing Page — Production Stylesheet
   myboss.app — Business Operating System & Suite
   ═══════════════════════════════════════════════════════════ */

/* ─── Base Reset ──────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8fafc;
}

/* ─── Hero Background Glow ────────────────────────────────── */
.bg-hero-glow {
    background-image: 
        radial-gradient(circle at top center, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% top, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.bg-dot-pattern {
    background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ─── Glassmorphism Navigation ────────────────────────────── */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ─── Glass Card ──────────────────────────────────────────── */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05), 
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* ─── Glow Effect (Pricing Card) ──────────────────────────── */
.glow-effect {
    box-shadow: 0 0 60px -15px rgba(79, 70, 229, 0.5);
}

/* ─── Scroll Reveal Animations ────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* ─── Gradient Text ───────────────────────────────────────── */
.text-gradient-primary {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #004de6 0%, #003399 100%);
}

.text-gradient-gold {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #ffbe00 0%, #e6a800 100%);
}

.text-gradient-light {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
}

/* ─── Hero CTA Pulse Glow ─────────────────────────────────── */
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(10, 59, 139, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(10, 59, 139, 0); }
}

.cta-pulse {
    animation: ctaPulse 2.5s ease-in-out infinite;
}

/* ─── Urgency Banner Pulse ────────────────────────────────── */
@keyframes bannerShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.banner-shimmer {
    background-size: 200% 100%;
    animation: bannerShimmer 3s linear infinite;
}

/* ─── Floating Animation (Dashboard) ──────────────────────── */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: gentleFloat 6s ease-in-out infinite;
}

/* ─── Social Proof Toast Notification ─────────────────────── */
@keyframes toastSlideIn {
    0% { transform: translateX(-120%); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-120%); opacity: 0; }
}

.social-toast {
    position: fixed;
    bottom: 2rem;
    left: 1.5rem;
    z-index: 80;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1rem;
    padding: 0.875rem 1.25rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 340px;
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}

.social-toast.show {
    animation: toastSlideIn 5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: auto;
}

.social-toast .toast-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.social-toast .toast-text {
    font-size: 0.8125rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

.social-toast .toast-text strong {
    color: #0f172a;
    font-weight: 700;
}

.social-toast .toast-time {
    font-size: 0.6875rem;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
}

/* ─── Sticky Mobile CTA Bar ───────────────────────────────── */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-mobile-cta.visible {
    transform: translateY(0);
}

.sticky-mobile-cta a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    background: #081023;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(8, 16, 35, 0.3);
    transition: all 0.2s ease;
}

.sticky-mobile-cta a:hover {
    background: #0A3B8B;
}

/* ─── Testimonial Cards ───────────────────────────────────── */
.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: rgba(10, 59, 139, 0.3);
    box-shadow: 0 12px 32px -8px rgba(10, 59, 139, 0.12);
    transform: translateY(-4px);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(10, 59, 139, 0.15);
}

/* ─── Animated Counter ────────────────────────────────────── */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.stat-counter {
    animation: countUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

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

/* ─── How It Works Steps ──────────────────────────────────── */
.step-card {
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-6px);
}

.step-connector {
    position: absolute;
    top: 2.5rem;
    right: -2rem;
    width: 4rem;
    height: 2px;
    background: linear-gradient(to right, #e2e8f0, #0066FF, #e2e8f0);
    opacity: 0.4;
}

/* ─── Cookie Consent Banner ───────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    max-width: 380px;
    transform: translateY(200%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ─── Urgency Countdown ──────────────────────────────────── */
.countdown-digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    padding: 0.125rem 0.375rem;
    font-weight: 800;
    min-width: 1.75rem;
    font-variant-numeric: tabular-nums;
}

/* ─── Selection Color ─────────────────────────────────────── */
::selection {
    background: #dbeafe;
    color: #1e3a8a;
}

/* ─── Smooth Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ─── Focus Accessibility ─────────────────────────────────── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #0066FF;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Print Styles ────────────────────────────────────────── */
@media print {
    .glass-nav, .social-toast, .sticky-mobile-cta, .cookie-banner { display: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* ─── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; }
    .float-anim { animation: none; }
    .cta-pulse { animation: none; }
    .social-toast.show { animation: none; transform: translateX(0); opacity: 1; }
}
