@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --yoca-bg: #F1E6DB;
    --yoca-accent: #C29886;
    --yoca-text-primary: #35302b;
    --yoca-text-secondary: rgba(53, 48, 43, 0.7);
    --yoca-purple: #6366F1;
    --yoca-purple-light: #8B5CF6;
    --yoca-success: #6D9E7A;
    --yoca-warning: #D8A24C;
    --yoca-error: #B84A44;
}

::-webkit-scrollbar { 
    display: none;
}

body {
    font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
    background-color: var(--yoca-bg);
    color: var(--yoca-text-primary);
}

.primary-btn {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    padding: 1rem 2rem;
    border-radius: 26px;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7C7FF6 0%, #9D6EFA 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

.primary-btn:hover::before {
    opacity: 1;
}

.primary-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.primary-btn span,
.primary-btn i {
    position: relative;
    z-index: 1;
}

.secondary-btn {
    background: white;
    color: #6366F1;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card-shadow {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.floating-shadow {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--yoca-purple), var(--yoca-purple-light));
}

.text-gradient {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .8; }
}

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

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

/* Hide scrollbar for mobile swiper */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}
