/* =============================================
   QARYE.COM - Plataforma de Alojamiento Web
   Creado por: Franz Luque
   Versión: 2.0 - Diseño Moderno y Atractivo
   ============================================= */

/* Reseteo y Fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Variables CSS */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --accent: #ec4899;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* =========================================
   ESTILOS COMPARTIDOS (Login, Registro, Panel)
   ========================================= */
.formulario-pantalla {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--gradient-1);
}

.contenedor-app {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.contenedor-app h2 {
    margin-bottom: 24px;
    color: var(--dark);
}

.contenedor-app input,
.contenedor-app select {
    width: 100%;
    padding: 14px 16px;
    margin: 10px 0;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.2s;
}

.contenedor-app input:focus,
.contenedor-app select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.btn-app {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-app:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   ESTILOS DE LA LANDING PAGE (index.php)
   ========================================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Navegación mejorada */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-ingresar {
    background: var(--light);
    color: var(--primary) !important;
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid #bfdbfe;
}

.btn-ingresar:hover {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
}

.btn-registro {
    background: var(--gradient-2);
    color: white !important;
    padding: 8px 24px;
    border-radius: 40px;
    transition: all 0.2s;
}

.btn-registro:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section mejorada */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%233b82f6" fill-opacity="0.05" d="M100 0L200 200H0L100 0z"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-badge {
    background: rgba(59,130,246,0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-image img {
    max-width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 10px 18px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 2s ease-in-out infinite;
}

.floating-card i {
    color: var(--success);
}

.card-1 {
    top: 10%;
    left: -10%;
}

.card-2 {
    bottom: 15%;
    right: -10%;
    background: var(--gradient-2);
    color: white;
}

.card-2 i {
    color: white;
}

/* Características / Servicios mejorada */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(59,130,246,0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 2.8rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Cómo funciona */
.how-it-works {
    padding: 80px 0;
    background: var(--light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 24px;
    position: relative;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.step-card p {
    color: var(--gray);
}

/* Sección de estadísticas */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-1);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.stat-number-counter {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Testimonios */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--gray);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Sección de precios */
.pricing {
    padding: 80px 0;
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-2);
    color: white;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.pricing-features li i {
    width: 20px;
}

.pricing-features li .fa-check {
    color: var(--success);
}

.pricing-features li .fa-times {
    color: #ef4444;
}

.btn-pricing {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-pricing-primary {
    background: var(--gradient-2);
    color: white;
    border: none;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* CTA Final */
.cta-final {
    padding: 80px 0;
    background: var(--gradient-1);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-content p {
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-note {
    margin-top: 16px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Footer mejorado */
footer {
    background: var(--dark);
    color: var(--gray);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand i {
    font-size: 2rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--gray);
    font-size: 1.2rem;
    transition: all 0.2s;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 20px 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-icon {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-outline {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}