/* index.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-darker: #040812;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent: #8b5cf6;
    --accent-hover: #7c3aed;
    --secondary: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --surface: rgba(30, 41, 59, 0.6);
    --surface-solid: #1e293b;
    --surface-border: rgba(255, 255, 255, 0.1);
    --gradient-glow: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-darker); color: var(--text-main); line-height: 1.6; position: relative; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Utilities */
.glass { 
    background: var(--surface); 
    backdrop-filter: blur(12px); 
    border: 1px solid var(--surface-border); 
}
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-primary {
    background: var(--gradient-glow);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--surface-border);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; color: #fff;}
.logo span { background: var(--gradient-glow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.mobile-menu-btn { display: none; background: transparent; color: #fff; border: none; font-size: 1.5rem; cursor: pointer; }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; background-color: var(--surface-solid);
    min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5); z-index: 1;
    border-radius: 8px; overflow: hidden; right: 0; top: 110%; border: 1px solid var(--surface-border);
}
.dropdown-content a { color: var(--text-main); padding: 12px 16px; display: block; }
.dropdown-content a:hover { background-color: var(--primary); color: #fff;}
.dropdown:hover .dropdown-content { display: block; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -20vh; left: 50%; transform: translateX(-50%);
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(4,8,18,0) 70%);
    z-index: -1;
}
.badge {
    background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--secondary); padding: 0.5rem 1rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; display: inline-block; margin-bottom: 1.5rem;
}
.hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 span { background: var(--gradient-glow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 2.5rem; }
.hero-cta { display: flex; gap: 1.5rem; justify-content: center; }

/* Features */
.features { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { padding: 2rem; border-radius: 16px; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.card p { color: var(--text-muted); }

/* Pricing */
.pricing { padding: 5rem 0; background: rgba(59, 130, 246, 0.02); }
.pricing-group { margin-bottom: 4rem; }
.pricing-group h3 { text-align: center; font-size: 1.8rem; margin-bottom: 0.5rem; color: #fff;}
.pricing-group-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 0.95rem;}
.grid-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.price-card { padding: 2.5rem; border-radius: 16px; position: relative; display: flex; flex-direction: column;}
.price-card.popular { border-color: var(--primary); box-shadow: 0 0 30px rgba(59, 130, 246, 0.15); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.price-header { margin-bottom: 2rem; text-align: center;}
.price { font-size: 3rem; font-weight: 800; margin: 1rem 0; color: #fff;}
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.features-list { margin-bottom: 2.5rem; flex-grow: 1;}
.features-list li { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; color: var(--text-muted); }
.features-list li i { color: var(--secondary); }

/* Footer */
.site-footer { border-top: 1px solid var(--surface-border); padding: 4rem 0 2rem; background: var(--bg-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem;}
.footer-col h4 { margin-bottom: 1.5rem; color: #fff; }
.footer-col ul li { margin-bottom: 0.8rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; padding-top: 2rem; border-top: 1px solid var(--surface-border); }

/* Floating Buttons */
.floating-contact { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 100; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: transform 0.3s; }
.float-btn.wa { background: #25D366; }
.float-btn.tg { background: #0088cc; }
.float-btn:hover { transform: scale(1.1); }

/* Cookies Banner */
#cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 600px; padding: 1.5rem; z-index: 1000; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 12px;}
#cookie-banner p { font-size: 0.9rem; margin: 0; flex: 1; }
.cookie-buttons { display: flex; gap: 0.5rem; }

/* Pages: Legales y Bloques Texto */
.page-header { padding: 8rem 0 3rem; text-align: center; border-bottom: 1px solid var(--surface-border); margin-bottom: 3rem;}
.content-area { max-width: 800px; margin: 0 auto; padding-bottom: 5rem; color: var(--text-muted); }
.content-area h2, .content-area h3 { color: var(--text-main); margin: 2rem 0 1rem; }

/* Responsive */
@media (max-width: 900px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .cookie-buttons { flex-direction: column; }
    #cookie-banner { flex-direction: column; text-align: center; }
}
