/**
 * Landing page custom styles
 * Extracted from inline styles for CSP compliance
 */

* {
    font-family: 'Inter', sans-serif;
}

/* Font variants for different pages */
.font-outfit * {
    font-family: 'Outfit', sans-serif;
}

a[href],
button:not(:disabled) {
    cursor: pointer;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.gradient-bg {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    animation: blob 8s ease-in-out infinite;
}

@keyframes blob {
    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Custom classes for inline style replacements */
.font-quicksand {
    font-family: 'Quicksand', sans-serif;
}

.blob-delay {
    animation-delay: -4s;
}

.pricing-subtitle {
    font-size: 16px;
}

.bg-primary-button {
    background-color: #4F46E5;
}

/* Animation delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Mode cards */
.mode-card {
    transition: all 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
}

/* Contact overlay */
#contact-overlay {
    transition: opacity 0.3s ease;
}

#contact-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Dashboard screenshots */
.dashboard-shot {
    position: relative;
    isolation: isolate;
}

.dashboard-shot::before {
    content: "";
    position: absolute;
    inset: 10% -8% -8%;
    border-radius: 1.5rem;
    background: radial-gradient(circle at 20% 15%, rgba(99, 102, 241, 0.45), rgba(15, 23, 42, 0.04) 60%),
        radial-gradient(circle at 85% 85%, rgba(14, 165, 233, 0.3), rgba(15, 23, 42, 0.03) 60%);
    filter: blur(24px);
    z-index: -1;
}

.dashboard-shot-frame {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.18), 0 12px 28px rgba(79, 70, 229, 0.18);
}

.dashboard-shot-toolbar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.92));
}

.dashboard-shot-dot {
    width: 0.66rem;
    height: 0.66rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.dashboard-shot-dot--red {
    background: #f87171;
}

.dashboard-shot-dot--yellow {
    background: #fbbf24;
}

.dashboard-shot-dot--green {
    background: #4ade80;
}

.dashboard-shot-title {
    margin-left: 0.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    font-weight: 600;
    color: #475569;
}

.dashboard-shot-screen {
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.dashboard-shot-image {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-shot-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0) 35%, rgba(148, 163, 184, 0.16) 100%);
}

.dashboard-shot-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    padding: 1rem;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(140deg, #0f172a 0%, #1e293b 45%, #334155 100%);
}

.dashboard-shot-caption {
    margin-top: 0.8rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
}

@media (max-width: 1024px) {
    .dashboard-shot {
        max-width: 36rem;
        margin: 0 auto;
    }
}
