/* Reset & Base Styles */
:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 25, 0.6);
    --primary: #00f2ff;
    --secondary: #7000ff;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Glow Effects */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.bg-glow-1 {
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 0 0 16px 16px;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-sm,
.btn-block {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary,
.btn-primary-sm {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    margin-top: 1rem;
}

.btn-block:hover {
    background: var(--primary);
    color: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-btns {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.card {
    position: absolute;
    padding: 1.5rem;
    width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card:nth-child(1) {
    top: 50px;
    left: 0;
    z-index: 2;
}

.card:nth-child(2) {
    bottom: 50px;
    right: 0;
    z-index: 1;
}

/* Services */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.03);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* SaaS Catalog */
.bg-darker {
    background: rgba(0, 0, 0, 0.3);
}

.badge-outline {
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.saas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.product-card:hover {
    border-color: var(--primary);
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

.gradient-1 {
    background: linear-gradient(45deg, #1cb5e0, #000851);
}

.gradient-2 {
    background: linear-gradient(45deg, #f857a6, #ff5858);
}

.gradient-3 {
    background: linear-gradient(45deg, #11998e, #38ef7d);
}

.gradient-4 {
    background: linear-gradient(45deg, #FF8008, #FFC837);
}

/* Naranja para Geo */
.gradient-5 {
    background: linear-gradient(45deg, #8E2DE2, #4A00E0);
}

/* Morado para RRHH */

/* Gris oscuro/Plata para Movilidad corporativa */
.gradient-6 {
    background: linear-gradient(45deg, #232526, #414345);
}

/* Cian/Púrpura para IA RAG */
.gradient-7 {
    background: linear-gradient(45deg, #00d2ff, #928DAB);
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-desc {
    margin: 1rem 0;
    flex-grow: 1;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-list i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.price-option {
    text-align: center;
}

.price-option .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.price-option .amount {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.divider-vertical {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

/* Contact / CTA */
.cta-box {
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    margin: 2rem auto;
    max-width: 500px;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.input-group input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: #fff;
    outline: none;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    background: #000;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-bottom {
    text-align: right;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.delay-500 {
    animation-delay: 2.5s;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Simplificado para movil */
    }

    .nav-links {
        display: none;
        /* Requires JS toggle logic for full mobile menu */
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.pricing-note p {
    font-size: 0.9rem;
}