/* css/index.css - AidaSys V6 (Final Complete) */

:root {
    /* --- PALETA AIDASYS --- */
    --brand-cyan: #06b6d4;   
    --brand-green: #10b981;  
    --brand-dark: #0f172a;   
    --brand-gradient: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    
    /* Colores Base */
    --bg-body: #f8fafc;      
    --text-main: #1e293b;
    --text-body: #475569;
    --white: #ffffff;
    
    /* Efectos */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-card: 0 10px 30px -5px rgba(0,0,0,0.06);
    --radius-lg: 24px;
    --radius-md: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
h1, h2, h3, h4, .btn, .nav-link { font-family: 'Outfit', sans-serif; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
}

/* --- FONDO ANIMADO --- */
.morph-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; background: #f8fafc; overflow: hidden; }
.blob { position: absolute; filter: blur(90px); opacity: 0.4; animation: float 20s infinite alternate; }
.blob-1 { top: -10%; left: -10%; width: 50vh; height: 50vh; background: rgba(6, 182, 212, 0.25); }
.blob-2 { bottom: -10%; right: -10%; width: 60vh; height: 60vh; background: rgba(16, 185, 129, 0.25); animation-delay: -5s; }
@keyframes float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 50px); } }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 0.8rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.logo-img { height: 50px; width: auto; transition: 0.3s; }
.nav-menu { display: flex; gap: 2rem; }
.nav-link { text-decoration: none; color: var(--brand-dark); font-weight: 600; position: relative; font-size: 0.95rem; }
.nav-link:hover { color: var(--brand-cyan); }

/* --- BOTONES --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 0.8rem 2rem; border-radius: 50px; font-weight: 700;
    text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; font-size: 1rem;
}
.btn-primary { background: var(--brand-gradient); color: white; box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5); }
.btn-outline { background: white; color: var(--brand-cyan); border: 2px solid var(--brand-cyan); }
.btn-outline:hover { background: var(--brand-cyan); color: white; transform: translateY(-2px); }

/* --- HERO --- */
.hero { padding: 150px 5% 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 800; color: var(--brand-dark); margin-bottom: 1.5rem; letter-spacing: -1px; }
.text-gradient { background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-body); margin-bottom: 2.5rem; max-width: 550px; line-height: 1.7; }
.mockup-container {
    background: rgba(255,255,255,0.5); backdrop-filter: blur(10px); padding: 10px;
    border-radius: 20px; border: 1px solid white; transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: 0.5s; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
}
.mockup-container:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.mockup-container img { width: 100%; border-radius: 12px; }

/* --- SECCIONES DIVIDIDAS --- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; padding: 100px 5%; }
.split-content h2 { font-size: 2.8rem; color: var(--brand-dark); margin-bottom: 1.5rem; line-height: 1.1; }
.split-content p { font-size: 1.15rem; color: var(--text-body); margin-bottom: 2rem; line-height: 1.6; }
.split-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.split-image img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.split-image:hover img { transform: scale(1.03); }
.reverse { direction: rtl; } .reverse > * { direction: ltr; }

/* Lista de beneficios */
.benefit-list { list-style: none; margin-top: 1rem; }
.benefit-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 1.2rem; font-size: 1.1rem; color: var(--text-main); }
.benefit-list i { color: var(--brand-green); font-size: 1.3rem; margin-top: 2px; background: #ecfdf5; padding: 8px; border-radius: 50%; min-width: 35px; text-align: center; }
.benefit-list strong { color: var(--brand-dark); font-weight: 700; }

/* --- GRID MÓDULOS --- */
.features { padding: 80px 5%; background: white; }
.section-header { text-align: center; max-width: 750px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.8rem; color: var(--brand-dark); margin-bottom: 1rem; }
.subtitle { color: var(--brand-green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; display: block; margin-bottom: 10px; }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.glass-card {
    background: #f8fafc; border-radius: var(--radius-lg); padding: 2.5rem;
    box-shadow: var(--shadow-card); border: 1px solid #f1f5f9;
    transition: all 0.4s ease; display: flex; flex-direction: column;
}
.glass-card:hover { transform: translateY(-8px); background: white; border-color: rgba(6,182,212,0.3); }
.icon-box { width: 50px; height: 50px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; color: var(--brand-cyan); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.glass-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--brand-dark); }
.glass-card p { font-size: 0.95rem; color: var(--text-body); margin-bottom: 1.5rem; flex-grow: 1; }
.card-img { width: 100%; height: 180px; border-radius: 12px; overflow: hidden; margin-top: auto; border: 1px solid #e2e8f0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.span-2 { grid-column: span 2; }

/* --- PRECIOS --- */
.pricing { padding: 100px 5%; background: linear-gradient(to bottom, #f8fafc, #e0f2fe); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.price-card { background: white; padding: 3rem 2rem; border-radius: var(--radius-lg); border: 2px solid transparent; box-shadow: var(--shadow-card); transition: all 0.4s ease; position: relative; }
.price-card:hover { transform: translateY(-15px); border-color: var(--brand-cyan); box-shadow: 0 20px 40px rgba(6,182,212,0.1); }
.plan-name { font-size: 1.5rem; font-weight: 800; color: var(--brand-dark); }
.price { font-size: 3.5rem; font-weight: 800; color: var(--brand-cyan); margin: 1rem 0; }
.price span { font-size: 1rem; color: var(--text-body); font-weight: 500; }
.users-badge { display: inline-block; background: #ecfdf5; color: var(--brand-green); padding: 5px 15px; border-radius: 20px; font-weight: 700; margin-bottom: 2rem; }
.check-list li { margin-bottom: 0.8rem; display: flex; gap: 10px; color: var(--text-body); font-size: 0.95rem; }
.check-list li i { color: var(--brand-green); }
.more-features { color: var(--brand-cyan); font-weight: 600; margin-top: 10px; display: block; text-align: center; opacity: 0.8; }

/* --- TESTIMONIOS --- */
.testimonials { padding: 80px 5%; background: white; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 40px; }
.testimonial-card { background: #f8fafc; padding: 2rem; border-radius: var(--radius-md); border: 1px solid #e2e8f0; }
.stars { color: #fbbf24; margin-bottom: 1rem; }
.quote { font-style: italic; color: var(--text-main); margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.6; }
.author { display: flex; align-items: center; gap: 15px; }
.author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.author-info h5 { font-weight: 700; color: var(--brand-dark); }
.author-info span { font-size: 0.85rem; color: var(--text-body); }

/* --- FAQ --- */
.faq-section { padding: 80px 5%; max-width: 900px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 1rem; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; transition: 0.3s; }
.faq-question { padding: 1.5rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--brand-dark); list-style: none; font-size: 1.1rem; }
.faq-question::-webkit-details-marker { display: none; } 
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--brand-cyan); font-weight: 300; }
details[open] .faq-question::after { content: '-'; }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-body); line-height: 1.6; border-top: 1px solid #f1f5f9; padding-top: 1rem; }
.faq-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.03); }

/* --- PÁGINAS LEGALES (NUEVO) --- */
.legal-content { max-width: 800px; margin: 120px auto 60px; padding: 0 5%; flex-grow: 1; }
.legal-content h1 { font-size: 2.5rem; color: var(--brand-dark); margin-bottom: 1rem; }
.legal-content h3 { font-size: 1.5rem; color: var(--brand-dark); margin-top: 2rem; margin-bottom: 1rem; }
.legal-content p, .legal-content ul { color: var(--text-body); font-size: 1.1rem; line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }

/* --- FOOTER --- */
.footer { background: var(--brand-dark); color: white; padding: 60px 5% 30px; margin-top: auto; }
.footer-logo { height: 40px; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.footer h4 { margin-bottom: 1.5rem; color: white; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.8rem; }
.footer a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: white; }

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); z-index: 999; transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; }
    .nav-menu { display: none; }
    .split-section { grid-template-columns: 1fr; gap: 3rem; text-align: center; padding: 60px 5%; }
    .split-content { text-align: center; } 
    .reverse { direction: ltr; }
    .bento-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .benefit-list li { justify-content: flex-start; text-align: left; }
}