:root {
    /* Nueva paleta de colores más sofisticada */
    --primary: #6366F1; /* Indigo vibrante */
    --primary-light: #818CF8;
    --primary-dark: #4F46E5;
    --secondary: #10B981; /* Verde esmeralda */
    --accent: #F59E0B; /* Ámbar */
    --accent-pink: #EC4899;
    --dark: #0F172A; /* Slate oscuro */
    --dark-lighter: #1E293B;
    --dark-card: #1E293B;
    --light: #F8FAFC;
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-bg: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
}

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

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

body {
    background: var(--dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: var(--gradient-primary);
}

.gradient-secondary-bg {
    background: var(--gradient-secondary);
}

.glass-effect {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: translateY(-2px);
}

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

@keyframes floating {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.glow-effect {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.section-spacing {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.card-modern {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
    transform: translateY(-8px);
}

.feature-icon-modern {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.nav-blur {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-pattern {
    background-image:
        radial-gradient(at 20% 30%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(236, 72, 153, 0.12) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(139, 92, 246, 0.08) 0px, transparent 50%);
}

.brand-logo {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brand-logo::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6, #EC4899);
    border-radius: 34px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

.integration-logo {
    width: 80px;
    height: 80px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s ease;
}

.integration-logo:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.pattern-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.text-balance {
    text-wrap: balance;
}

@media (max-width: 768px) {
    .section-spacing {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Animations */
@keyframes data-flow {
    0% { transform: translateX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(200%); opacity: 0; }
}
