/* =========================================
   VARIABLES & SETUP (Minimalist Light Theme)
========================================= */
:root {
    --bg-color: #f9fafb; /* Fondo principal gris muy claro */
    --bg-surface: #ffffff; /* Fondo blanco para tarjetas */
    --primary-color: #3b82f6; /* Azul simple */
    --primary-hover: #2563eb;
    --text-main: #1f2937; /* Texto oscuro principal */
    --text-muted: #6b7280; /* Texto secundario */
    --border-color: #e5e7eb; /* Bordes suaves */
    
    /* Tipografía */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Efectos suaves */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1000px; /* Un poco más estrecho para estilo limpio */
    margin: 0 auto;
}

/* =========================================
   BOTONES
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: #f3f4f6;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* =========================================
   HEADER & NAVEGACIÓN
========================================= */
.header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    font-weight: 400;
    color: var(--text-muted);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

.btn-nav {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-nav:hover {
    color: var(--primary-hover);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    padding: 5rem 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f3f4f6;
    color: var(--text-muted);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.mockup-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.placeholder-image {
    background: #f9fafb;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* =========================================
   SECCIONES GENERALES
========================================= */
section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* =========================================
   FEATURES SECTION
========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.feature-icon {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   SHOWCASE GALLERY
========================================= */
.showcase {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.25rem;
    background: white;
}

/* =========================================
   DOWNLOAD CTA SECTION
========================================= */
.download-cta {
    text-align: center;
    padding: 5rem 0;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
========================================= */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-list {
        display: none;
    }
    
    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        gap: 1rem;
        align-items: flex-start;
    }
}
