/* Smartketing.tech - Modern AI Startup Design */

/* ============================================ */
/* BASE STYLES - Minimalist & Clean */
/* ============================================ */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ============================================ */
/* REVEAL ANIMATIONS */
/* ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================ */
/* 3D CARD EFFECT */
/* ============================================ */

.card-3d {
    position: relative;
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
}

.card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    z-index: -1;
}

.card-3d:hover::before {
    opacity: 1;
}

/* ============================================ */
/* RIPPLE EFFECT */
/* ============================================ */

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================ */
/* GRADIENT TEXT */
/* ============================================ */

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

.gradient-text-animated {
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #6366f1 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ============================================ */
/* MODERN BUTTONS */
/* ============================================ */

.btn-primary {
    @apply px-8 py-4 bg-gradient-to-r from-indigo-600 to-purple-600 text-white font-bold rounded-2xl
    shadow-lg shadow-indigo-200 hover:shadow-xl hover:shadow-indigo-300
    hover:scale-105 transition-all duration-300;
}

.btn-secondary {
    @apply px-8 py-4 bg-white text-slate-900 font-bold rounded-2xl border-2 border-slate-200
    hover:border-indigo-600 hover:shadow-lg transition-all duration-300;
}

/* ============================================ */
/* SCROLLBAR */
/* ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #a855f7);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4f46e5, #9333ea);
}

/* ============================================ */
/* SELECTION */
/* ============================================ */

::selection {
    background: rgba(99, 102, 241, 0.2);
    color: #1e293b;
}

/* ============================================ */
/* FOCUS STATES */
/* ============================================ */

*:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 4px;
}

/* ============================================ */
/* DATA COUNT NUMBERS */
/* ============================================ */

[data-count] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
    .big-number {
        font-size: 3rem;
    }
}
