:root {
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary: #4f46e5;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; background-color: var(--darker); color: var(--light); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Backgrounds */
.mesh-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.75)), url('assets/login_bg.png') no-repeat center center / cover; z-index: -1; }

/* Navbar */
nav { height: 140px; display: flex; align-items: center; border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 100; background: transparent; transition: all 0.4s ease; }
nav.scrolled { height: 80px; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.nav-content { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 120px; width: auto; filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.5)); transition: all 0.4s ease; }
nav.scrolled .logo-img { height: 55px; }
.logo-img:hover { transform: scale(1.05); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--light); font-weight: 600; font-size: 0.95rem; opacity: 0.8; transition: 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--primary); }
.btn-nav { background: var(--primary); padding: 0.6rem 1.2rem; border-radius: 12px; opacity: 1 !important; box-shadow: 0 4px 15px var(--primary-glow); transition: 0.3s; color: white !important; }
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); }

/* Hero */
.hero { padding: 8rem 0 6rem; min-height: 80vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(37, 99, 235, 0.3); color: #60a5fa; padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 1.5rem; }
h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -2px; }
.gradient-text { background: linear-gradient(to right, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; opacity: 0.8; margin-bottom: 2.5rem; max-width: 500px; font-weight: 300; }
.hero p strong { color: white; font-weight: 600; }
.hero-btns { display: flex; gap: 1rem; margin-bottom: 2rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 1.2rem 2.5rem; border-radius: 16px; text-decoration: none; font-weight: 800; box-shadow: 0 10px 30px var(--primary-glow); transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1); display: inline-flex; flex-direction: column; align-items: center; }
.btn-primary span { font-size: 0.8rem; font-weight: 400; opacity: 0.8; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 40px var(--primary-glow); }
.trust-marks { font-size: 0.85rem; opacity: 0.6; }
.trust-marks strong { color: white; margin: 0 5px; }

/* Mascot */
.hero-image { position: relative; display: flex; justify-content: center; perspective: 1000px; }
.mascot-container { width: 100%; max-width: 450px; transform-style: preserve-3d; }
.floating-mascot { width: 100%; height: auto; animation: floatMascot3D 8s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6)); }

@keyframes floatMascot3D {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-15px) rotateX(5deg) rotateY(5deg); }
    50% { transform: translateY(-25px) rotateX(0deg) rotateY(10deg); }
    75% { transform: translateY(-15px) rotateX(-5deg) rotateY(5deg); }
}

/* Benefits Section */
.benefits-section { padding: 6rem 0; background: rgba(2, 6, 23, 0.4); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); margin: 4rem 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.benefit-card { background: var(--glass); padding: 2.5rem 2rem; border-radius: 24px; border: 1px solid var(--glass-border); text-align: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.benefit-card:hover { transform: translateY(-10px); border-color: rgba(37, 99, 235, 0.4); box-shadow: 0 15px 30px rgba(0,0,0,0.3); background: rgba(37, 99, 235, 0.05); }
.benefit-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: inline-block; filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.4)); animation: floatMascot 4s infinite ease-in-out; }
.benefit-card:nth-child(even) .benefit-icon { animation-delay: 1s; }
.benefit-card h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: #60a5fa; }
.benefit-card p { font-size: 0.95rem; opacity: 0.7; }

/* Info Section (How it works) */
.info-section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 3rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; opacity: 0.7; }

.row { display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.row.reverse { flex-direction: row-reverse; }
.row-text { flex: 1; }
.row-text h3 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; color: #60a5fa; }
.row-text p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 1.5rem; }
.check-list { list-style: none; }
.check-list li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; opacity: 0.9; }
.check-list li::before { content: '✓'; color: var(--primary); position: absolute; left: 0; font-weight: bold; }

.row-img-box { flex: 1; display: flex; justify-content: center; }
.glass-mockup { width: 100%; max-width: 400px; height: 250px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; display: flex; flex-direction: column; padding: 1.5rem; align-items: center; justify-content: center; backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative; overflow: hidden; }

/* Diagram 1: AI Chat */
.chat-bubble { width: 100%; padding: 1rem; border-radius: 12px; margin-bottom: 0.8rem; font-size: 0.85rem; font-weight: 600; opacity: 0; animation: fadeInChat 6s infinite; }
.chat-bubble.user { background: rgba(255,255,255,0.05); align-self: flex-start; animation-delay: 0s; }
.chat-bubble.ai { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; align-self: flex-end; box-shadow: 0 5px 15px rgba(37,99,235,0.3); }
.chat-bubble.ai.typing { animation-delay: 1.5s; display: flex; gap: 4px; width: fit-content; padding: 0.6rem 1rem; }
.chat-bubble.ai.response { animation-delay: 3s; }
.dot { width: 6px; height: 6px; background: white; border-radius: 50%; animation: bounceDot 1.4s infinite ease-in-out; }
.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes fadeInChat { 0%, 5% { opacity: 0; transform: translateY(10px); } 10%, 90% { opacity: 1; transform: translateY(0); } 95%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes bounceDot { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* Diagram 2: Anti-Troll Shield */
.shield-container { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.shield-icon { font-size: 4.5rem; z-index: 2; animation: floatMascot3D 4s infinite; filter: drop-shadow(0 0 20px rgba(37,99,235,0.5)); }
.shield-pulse { position: absolute; width: 80px; height: 80px; border: 2px solid var(--primary); border-radius: 50%; animation: pulseShield 3s infinite; z-index: 1; }
.bad-review { position: absolute; background: #ef4444; color: white; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 800; font-size: 0.8rem; right: -80px; animation: attackShield 3s infinite; z-index: 3; box-shadow: 0 10px 20px rgba(239,68,68,0.3); }

@keyframes pulseShield { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes attackShield { 0% { transform: translateX(80px); opacity: 0; } 30% { transform: translateX(-40px); opacity: 1; } 45% { transform: translateX(-30px) scale(1); opacity: 1; } 50%, 100% { transform: translateX(-10px) scale(0); opacity: 0; } }

/* Diagram 3: Radar Chart */
.bar-chart { display: flex; align-items: flex-end; gap: 15px; height: 150px; width: 100%; justify-content: center; border-bottom: 2px solid var(--glass-border); padding-bottom: 10px; }
.bar { width: 35px; background: rgba(255,255,255,0.08); border-radius: 6px 6px 0 0; animation: growBar 4s infinite alternate; height: var(--h); transition: 0.3s; }
.bar.my-bar { background: linear-gradient(to top, var(--primary), #a78bfa); box-shadow: 0 0 25px rgba(37,99,235,0.5); animation: growMyBar 4s infinite alternate; position: relative; }
.bar.my-bar::after { content: 'TÚ'; position: absolute; top: -25px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; font-weight: 900; color: white; }

@keyframes growBar { 0% { height: 10%; } 100% { height: var(--h); } }
@keyframes growMyBar { 0% { height: 20%; } 100% { height: var(--h); filter: brightness(1.2); } }

/* Unified Pricing Table */
.pricing-section { padding: 6rem 0; margin-top: 2rem; }
.unified-pricing-table { display: flex; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--glass-border); border-radius: 32px; backdrop-filter: blur(20px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }

.pricing-col { flex: 1; padding: 3rem 2rem; display: flex; flex-direction: column; border-right: 1px solid var(--glass-border); position: relative; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.pricing-col:first-child { border-top-left-radius: 32px; border-bottom-left-radius: 32px; }
.pricing-col:last-child { border-right: none; border-top-right-radius: 32px; border-bottom-right-radius: 32px; }
.pricing-col:hover { background: rgba(255,255,255,0.03); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); z-index: 5; }

.pricing-col.premium { background: rgba(37, 99, 235, 0.05); transform: scale(1.05); box-shadow: 0 0 50px rgba(37, 99, 235, 0.15); z-index: 10; border-radius: 32px; border: 1px solid rgba(37, 99, 235, 0.4); margin: -20px 0; padding: 4rem 2rem; }
.pricing-col.premium:hover { transform: scale(1.08) translateY(-5px); box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3); }

.popular-tag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: linear-gradient(to right, var(--primary), var(--secondary)); color: white; font-size: 0.8rem; font-weight: 900; padding: 0.5rem 1.5rem; border-radius: 100px; letter-spacing: 1px; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4); border: 1px solid rgba(255,255,255,0.2); }

.col-header { text-align: center; margin-bottom: 2rem; }
.col-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.price { font-size: 3.5rem; font-weight: 900; color: white; line-height: 1; margin-bottom: 0.5rem; }
.price span { font-size: 1rem; opacity: 0.5; font-weight: 600; }
.col-header p { font-size: 0.9rem; opacity: 0.6; }

.features-list { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.features-list li { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; opacity: 0.9; }
.features-list li:last-child { border-bottom: none; }
.features-list li.disabled { opacity: 0.3; text-decoration: line-through; }
.features-list strong { color: #60a5fa; }

.col-footer { margin-top: auto; }
.btn-outline, .btn-solid, .btn-solid-elite { display: block; width: 100%; text-align: center; padding: 1rem; border-radius: 12px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.05); }
.btn-solid { background: var(--primary); color: white; border: 1px solid transparent; box-shadow: 0 10px 20px var(--primary-glow); }
.btn-solid:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-solid-elite { background: var(--dark); border: 1px solid var(--glass-border); color: white; }
.btn-solid-elite:hover { border-color: var(--primary); }

/* FAQ Section */
.faq-section { padding: 6rem 0; background: rgba(2, 6, 23, 0.6); border-top: 1px solid var(--glass-border); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
.faq-item { background: rgba(255,255,255,0.02); padding: 2rem; border-radius: 16px; border: 1px solid var(--glass-border); transition: 0.3s; }
.faq-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(37, 99, 235, 0.3); transform: translateY(-5px); }
.faq-item h4 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.8rem; display: flex; align-items: flex-start; gap: 10px; }
.faq-item h4::before { content: 'Q.'; color: var(--primary); font-weight: 900; }
.faq-item p { font-size: 0.95rem; opacity: 0.7; padding-left: 1.5rem; }

/* Footer */
.footer-flex { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; border-top: 1px solid var(--glass-border); margin-top: 4rem; }
.footer-brand p { opacity: 0.5; font-size: 0.9rem; }
.footer-links p { opacity: 0.5; font-size: 0.9rem; }

@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .row, .row.reverse { flex-direction: column; gap: 2rem; }
    .unified-pricing-table { flex-direction: column; }
    .pricing-col { border-right: none; border-bottom: 1px solid var(--glass-border); }
    .pricing-col.premium { transform: none; border-radius: 0; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .benefits-grid { grid-template-columns: 1fr; }
}
