/* Assets adicionales y SVGs inline para The Data Seed Company */

/* SVG Icons como CSS Background Images */
.icon-growth {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234CAF50'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z'/%3E%3C/svg%3E");
}

.icon-seed {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300BCD4'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.icon-data {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232D5A87'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
}

/* Patrones de fondo decorativos */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(45, 90, 135, 0.05) 0%, transparent 50%);
}

/* Efectos de glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-dark {
    background: rgba(45, 90, 135, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(45, 90, 135, 0.2);
}

/* Efectos de neomorphism */
.neomorph-light {
    background: #f0f0f0;
    border-radius: 20px;
    box-shadow: 
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
}

.neomorph-dark {
    background: #2D5A87;
    border-radius: 20px;
    box-shadow: 
        20px 20px 60px #1e3a5a,
        -20px -20px 60px #3c7ab4;
}

/* Gradientes adicionales */
.gradient-text {
    background: linear-gradient(135deg, #2D5A87 0%, #4CAF50 50%, #00BCD4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-border {
    position: relative;
    background: white;
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #2D5A87, #4CAF50, #00BCD4);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

/* Animaciones de carga */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    90%, 100% { content: ''; }
}

/* Efectos de hover mejorados */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hover-glow:hover {
    box-shadow: 
        0 0 20px rgba(76, 175, 80, 0.3),
        0 0 40px rgba(0, 188, 212, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Indicadores de scroll */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2D5A87, #4CAF50, #00BCD4);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.3s ease;
}

/* Botón flotante de WhatsApp/Contacto */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-contact 2s infinite;
}

.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-contact {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Tooltip personalizado */
.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Efectos de texto typewriter */
.typewriter {
    overflow: hidden;
    border-right: 3px solid;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Partículas flotantes */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    animation: float-particle 15s infinite linear;
}

.particle:nth-child(1) { 
    width: 8px; height: 8px; 
    background: #4CAF50; 
    left: 10%; 
    animation-delay: 0s; 
}

.particle:nth-child(2) { 
    width: 6px; height: 6px; 
    background: #00BCD4; 
    left: 20%; 
    animation-delay: 2s; 
}

.particle:nth-child(3) { 
    width: 10px; height: 10px; 
    background: #2D5A87; 
    left: 30%; 
    animation-delay: 4s; 
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: block !important; }
    
    .floating-contact {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
    .show-desktop { display: block !important; }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1a202c;
        --white: #2d3748;
        --dark-color: #f7fafc;
        --gray-color: #a0aec0;
    }
    
    .glass-effect {
        background: rgba(45, 55, 72, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles para accesibilidad */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Estilos específicos para el logo de la empresa */
.logo-img,
.main-logo-img,
.footer-logo-img {
    transition: all 0.3s ease;
}

.logo-img:hover,
.main-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Efecto de brillo en el logo principal */
.main-logo-img {
    position: relative;
    transition: all 0.3s ease;
}

.main-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

/* Logo con efecto de rotación sutil */
.main-logo:hover .main-logo-img {
    animation: logoRotate 2s ease-in-out;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* Optimización para diferentes formatos de logo */
.logo-img,
.main-logo-img,
.footer-logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

/* Fallback para logos con fondo transparente */
.logo-icon,
.logo-circle,
.footer-logo-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
}

/* Efectos para la tarjeta de diagnóstico */
.diagnostic-points .point {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
}

.diagnostic-points .point:hover {
    background: rgba(76, 175, 80, 0.05);
    transform: translateX(5px);
}

.diagnostic-points .point:hover .checkmark {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.profile-card h3 {
    position: relative;
    overflow: hidden;
}

.profile-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.profile-card:hover h3::after {
    width: 100%;
}

/* Animación de aparición para los puntos */
.diagnostic-points .point {
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.diagnostic-points .point:nth-child(1) { animation-delay: 0.1s; }
.diagnostic-points .point:nth-child(2) { animation-delay: 0.2s; }
.diagnostic-points .point:nth-child(3) { animation-delay: 0.3s; }

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

/* Efectos para la sección de metodología */
.step {
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.05), transparent);
    transition: left 0.6s ease;
}

.step:hover::before {
    left: 100%;
}

.step-number {
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.step-features li {
    transition: all 0.3s ease;
}

.step-features li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.step-features li:hover::before {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* Animación de aparición para los pasos */
.step {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

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

/* Efectos para el texto de filosofía */
.philosophy-content-text p {
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.philosophy-content-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.philosophy-content-text p:hover::before {
    opacity: 1;
}

.philosophy-content-text p:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* Animación de aparición para el texto */
.philosophy-content-text p {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.philosophy-content-text p:nth-child(1) { animation-delay: 0.1s; }
.philosophy-content-text p:nth-child(2) { animation-delay: 0.2s; }
.philosophy-content-text p:nth-child(3) { animation-delay: 0.3s; }

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

/* Reduce motion para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .main-logo:hover .main-logo-img {
        animation: none;
    }
}
