/* --- Variables y Estilos Globales --- */
:root {
    --bg-dark: #010203;
    --bg-light: #0B0C0E;
    --primary-accent: #00E676;
    --secondary-accent: #818CF8; /* Se mantiene por si se usa en otro lado */
    --text-light: #FFFFFF;
    --text-medium: #A0A0A0;
    --text-dark: #010203;
    --border-color: #1c1c1c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    background-image: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(0, 230, 118, 0.1), rgba(255, 255, 255, 0));
    background-repeat: no-repeat;
}

/* --- Header y Navegación --- */
.main-header {
    background-color: rgba(1, 2, 3, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--bg-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    /* Invertir colores si el fondo es oscuro y el logo es negro */
    /* filter: invert(1); */ 
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-accent);
}

.cta-button {
    background-color: var(--primary-accent);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #33ff99; /* Un verde un poco más claro al pasar el mouse */
    transform: scale(1.05);
}

#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

/* --- Secciones Generales --- */
section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* --- Hero Section --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--text-light), var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin: 1.5rem 0 2.5rem 0;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* --- Problem Section --- */
.problem-section {
    background-color: transparent;
    border-radius: 20px;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, #00E676 0deg, #00E676 90deg, transparent 120deg, transparent 360deg);
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(360deg);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-medium);
}

.card-icon-wrapper {
    display: none; /* Ocultamos el ícono original */
}


/* --- Solution Section --- */
.steps-container { 
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
    background: transparent;
    padding: 1.5rem;
    border-radius: 0;
    border: 1px solid #2c3a50;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-accent);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.step-text h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.step-text p { color: var(--text-medium); }


/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}
.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.benefit-icon { font-size: 2rem; color: var(--secondary-accent); }

/* --- Use Cases Section --- */
.use-cases-section {
    background-color: transparent;
    border-radius: 20px;
}

.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: transparent;
    border-radius: 0;
    border: 1px solid #2c3a50;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-medium);
}

/* --- Process Section --- */
.process-section { text-align: left; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.process-step {
    background-color: transparent;
    padding: 2rem;
    border-radius: 0;
    border: 1px solid #2c3a50;
}
.process-icon { font-size: 2.5rem; color: var(--secondary-accent); margin-bottom: 1rem; }
.process-step h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-medium); }

/* --- Testimonial & Final CTA --- */
.testimonial-section { background-color: var(--bg-light); border-radius: 20px; text-align: center; }
blockquote { font-size: 1.5rem; font-style: italic; max-width: 800px; margin: 0 auto 1rem auto; }
cite { color: var(--text-medium); }
.final-cta-section { text-align: center; }
.final-cta { margin-top: 2rem; display: inline-block; }

/* --- Footer --- */ 
.main-footer {
    background-color: var(--bg-light);
    padding: 3rem 5%;
    border-top: 1px solid #2c3a50;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; }
.footer-links a { color: var(--text-medium); text-decoration: none; margin: 0 1rem; }
.footer-links {
    flex-grow: 1;
    text-align: center;
}
.footer-links a:hover { color: var(--primary-accent); }
.footer-bottom { 
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem; color: var(--text-medium); font-size: 0.9rem; }

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    .nav-links.active { display: flex; }
    #mobile-menu-btn { display: block; }
    .nav-cta { display: none; }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image-container { grid-row: 1; margin-bottom: 2rem; }
    .hero-title { font-size: 2.5rem; }

    .section-title { font-size: 2rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; }
}