/* =========================================
   LANDING PAGE STYLES - CLEAN LIGHT THEME
   ========================================= */

/* Variables (Light Theme) */
:root {
    --bg-page: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --text-heading: #0F172A;
    --text-body: #475569;
    --primary: #1E82D0;
    /* Tory Blue */
    --primary-hover: #1666A8;
    --border-light: #E2E8F0;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   HEADER (White & Solid)
   ========================================= */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background-color: #FFFFFF;
    /* Fondo blanco sólido */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    /* Separación sutil */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Left: Logo */
.header-logo {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    /* Enlarge logo */
    width: auto;
    object-fit: contain;
}

/* Center: Navigation */
.header-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-heading);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

/* Right: Auth Buttons */
/* Right: Auth Buttons */
.header-auth {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-right: 80px;
    /* Mucho mas a la izquierda */
}

.btn-link {
    color: var(--text-heading);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
}

.btn-link:hover {
    color: var(--primary);
    background-color: var(--bg-subtle);
    border-radius: 6px;
}

.btn-cta {
    background-color: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    /* Bordes ligeramente redondeados */
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 130, 208, 0.2);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding: 180px 40px 100px;
    /* Mas espacio arriba por el header fijo */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-tagline {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    background: #e0f2fe;
    /* Azul muy suave */
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    /* Extra bold */
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-heading);
    letter-spacing: -1px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-hero {
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary-hero {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(30, 130, 208, 0.15);
}

.btn-primary-hero:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(30, 130, 208, 0.25);
}

.btn-secondary-hero {
    background-color: white;
    border: 1px solid var(--border-light);
    color: var(--text-heading);
}

.btn-secondary-hero:hover {
    border-color: #cbd5e1;
    background-color: var(--bg-subtle);
}

/* Hero Visual (Placeholder) */
.hero-visual {
    flex: 1;
    height: 480px;
    background-color: var(--bg-subtle);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border-light);
}

/* Simulación de UI Dashboard en el Hero */
.mockup-card {
    width: 80%;
    height: 60%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Sombra suave elegante */
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 40px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
}

.dot.red {
    background: #fee2e2;
}

.dot.yellow {
    background: #fef3c7;
}

.dot.green {
    background: #dcfce7;
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-bg {
    background-color: var(--bg-subtle);
    /* Fondo gris muyyy claro para alternar secciones */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: #f0f9ff;
    /* Azul muy claro */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.feature-desc {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 60px 40px;
    margin-top: auto;
    background-color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: var(--text-body);
    font-size: 14px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
        gap: 40px;
    }

    .header-nav {
        display: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}