/**
 * Bikri AI - Main Stylesheet
 * Professional styles for the Bikri AI marketing website
 */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== BASE STYLES ===== */
body {
    font-family: 'Inter', sans-serif;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

/* ===== GLASSMORPHISM ===== */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== GRADIENT TEXT ===== */
.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TYPING INDICATOR ===== */
.typing-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    margin-right: 6px;
    opacity: 0.4;
    background: currentColor;
}

.typing-dot:nth-child(1) {
    animation: typingBounce 1s infinite ease-in-out 0s;
}

.typing-dot:nth-child(2) {
    animation: typingBounce 1s infinite ease-in-out 0.15s;
}

.typing-dot:nth-child(3) {
    animation: typingBounce 1s infinite ease-in-out 0.3s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-blob {
    animation: blob 7s infinite;
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.dark .hover-lift:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

/* Card hover with glow effect */
.hover-glow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hover-glow:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.3);
}

.dark .hover-glow:hover {
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Pricing card special hover */
.hover-pricing {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-pricing:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.dark .hover-pricing:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

/* Feature card hover */
.hover-feature {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.dark .hover-feature:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Icon container hover */
.hover-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-feature:hover .hover-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px -5px currentColor;
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Secondary button */
.btn-secondary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    background-color: rgba(37, 99, 235, 0.05);
    border-color: #2563eb;
    color: #2563eb;
}

.dark .btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

/* White Action Button (for dark backgrounds) */
.btn-white-action {
    background: white;
    color: #2563eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-white-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: #f8fafc;
}

.btn-white-action:active {
    transform: translateY(-1px) scale(1.01);
}

/* ===== CARD STYLES ===== */
.card {
    background: white;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .card {
    background: #1e293b;
    border-color: #334155;
}

.card:hover {
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.dark .card:hover {
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
}

/* ===== LINK HOVER EFFECTS ===== */
.link-hover {
    position: relative;
    transition: color 0.3s ease;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #9333ea);
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
}

/* ===== PULSE EFFECT FOR CTA ===== */
.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
}

/* ===== IMAGE/MEDIA HOVER ===== */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img,
.hover-zoom>div {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-zoom:hover img,
.hover-zoom:hover>div {
    transform: scale(1.08);
}

/* ===== SOCIAL ICON HOVER ===== */
.social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.2);
    color: #2563eb;
}

/* ===== NAV LINK HOVER ===== */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== TESTIMONIAL CARD HOVER ===== */
.hover-testimonial {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-testimonial:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ===== BLOG CARD HOVER ===== */
.hover-blog {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-blog:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hover-blog:hover .blog-image {
    transform: scale(1.05);
}

.blog-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}