/*
Theme Name: DevStudio
Theme URI: https://tusitio.com/
Author: Tu Nombre
Author URI: https://tusitio.com/
Description: Tema personalizado basado en tu landing page con colores de Instagram y diseño moderno.
Version: 1.0
*/

/* Importar Tailwind CSS */
@import url('https://cdn.tailwindcss.com');

/* Configuración de Tailwind */
@layer base {
    :root {
        --instagram-pink: #E1306C;
        --instagram-purple: #833AB4;
        --instagram-orange: #F56040;
        --instagram-yellow: #FCCC63;
    }
}

/* Estilos base */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Gradientes */
.gradient-bg {
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040, #FCCC63);
}

.gradient-text {
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Efectos de hover para cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(131, 58, 180, 0.2);
}

/* Animación flotante */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-25px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-10px) rotate(-1deg); 
    }
}

/* Efecto de pulso con brillo */
.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(131, 58, 180, 0.3); 
    }
    50% { 
        box-shadow: 0 0 40px rgba(225, 48, 108, 0.4), 0 0 60px rgba(131, 58, 180, 0.2); 
    }
}

/* Animación de deslizamiento desde la izquierda */
.slide-in-left {
    animation: slideInLeft 1.2s ease-out;
}

@keyframes slideInLeft {
    0% { 
        transform: translateX(-100px); 
        opacity: 0; 
    }
    100% { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Animación de deslizamiento desde la derecha */
.slide-in-right {
    animation: slideInRight 1.5s ease-out;
}

@keyframes slideInRight {
    0% { 
        transform: translateX(100px); 
        opacity: 0; 
    }
    100% { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Animación de aparición desde abajo */
.fade-in-up {
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    0% { 
        transform: translateY(30px); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* Efecto de pantalla mockup */
.mockup-screen {
    animation: screenGlow 4s ease-in-out infinite;
}

@keyframes screenGlow {
    0%, 100% { 
        background: linear-gradient(135deg, #833AB4, #E1306C); 
    }
    33% { 
        background: linear-gradient(135deg, #E1306C, #F56040); 
    }
    66% { 
        background: linear-gradient(135deg, #F56040, #FCCC63); 
    }
}

/* Animación flotante con retraso */
.float-delayed {
    animation: floatDelayed 6s ease-in-out infinite;
}

@keyframes floatDelayed {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    33% { 
        transform: translateY(-10px) scale(1.02); 
    }
    66% { 
        transform: translateY(-20px) scale(1); 
    }
}

/* Colores de Instagram */
.instagram-pink { color: #E1306C; }
.instagram-purple { color: #833AB4; }
.instagram-orange { color: #F56040; }
.instagram-yellow { color: #FCCC63; }

.bg-instagram-pink { background-color: #E1306C; }
.bg-instagram-purple { background-color: #833AB4; }
.bg-instagram-orange { background-color: #F56040; }
.bg-instagram-yellow { background-color: #FCCC63; }

.border-instagram-pink { border-color: #E1306C; }
.border-instagram-purple { border-color: #833AB4; }
.border-instagram-orange { border-color: #F56040; }
.border-instagram-yellow { border-color: #FCCC63; }

/* Estilos para el navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Estilos para botones */
.btn-gradient {
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040, #FCCC63);
    color: white;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #833AB4;
    color: #833AB4;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: #833AB4;
    color: white;
    transform: scale(1.05);
    text-decoration: none;
}

/* Estilos para secciones */
.section-hero {
    background: linear-gradient(135deg, #faf5ff, #fdf2f8);
    padding: 80px 0 64px;
}

.section-white {
    background: white;
    padding: 80px 0;
}

.section-gray {
    background: #f9fafb;
    padding: 80px 0;
}

/* Estilos para cards */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(131, 58, 180, 0.2);
}

/* Estilos para iconos */
.icon-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040, #FCCC63);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-container svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Estilos para badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin: 2px;
}

.badge-purple { background-color: #833AB4; }
.badge-pink { background-color: #E1306C; }
.badge-orange { background-color: #F56040; }
.badge-yellow { 
    background-color: #FCCC63; 
    color: #374151;
}

/* Estilos para formularios */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #E1306C;
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.1);
}

/* Estilos para el footer */
.footer {
    background: #111827;
    color: white;
    padding: 48px 0;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

/* Estilos para redes sociales */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
    color: white;
}

/* Estilos para estadísticas */
.stats-container {
    background: linear-gradient(135deg, #faf5ff, #fdf2f8);
    border-radius: 24px;
    padding: 32px;
}

.stats-number {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilos para precios */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(131, 58, 180, 0.2);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #E1306C;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.pricing-price {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Estilos para contact info */
.contact-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040, #FCCC63);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .section-hero,
    .section-white,
    .section-gray {
        padding: 40px 0;
    }
    
    .stats-number {
        font-size: 36px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Estilos para WordPress específicos */
.wp-block-image img {
    border-radius: 12px;
}

.wp-block-quote {
    border-left: 4px solid #E1306C;
    padding-left: 20px;
    font-style: italic;
    color: #6b7280;
}

.wp-block-button .wp-block-button__link {
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040, #FCCC63);
    color: white;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover {
    opacity: 0.9;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

/* Estilos para el logo */
.logo-container {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #833AB4, #E1306C, #F56040, #FCCC63);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

/* Estilos para el menú móvil */
.mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Estilos para loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Estilos para tooltips */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #374151;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Estilos para scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #833AB4, #E1306C);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #E1306C, #F56040);
} 