/* =========================================================================
   RESTBAR - Estilos Globales (Landing y Autenticación)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    --color-primary: #3B82F6; /* Azul corporativo base */
    --color-primary-hover: #2563EB;
    --bg-body: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --radius-md: 0.5rem;

    /* Landing Premium Colors */
    --premium-dark: #0F0F11;
    --premium-light: #F9F9F9;
    --premium-gold: #C5A059;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* =========================================================================
   Landing Page Premium
   ========================================================================= */
.navbar-premium {
    background-color: transparent;
    transition: background-color 0.3s ease;
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar-premium.scrolled {
    background-color: rgba(15, 15, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
}

.nav-link-premium {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-link-premium:hover {
    color: #FFF !important;
}

.btn-premium-login {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    color: #FFF !important;
    transition: all 0.3s ease;
}

.btn-premium-login:hover {
    background-color: #FFF;
    color: var(--premium-dark) !important;
}

/* Hero Section */
.hero-premium {
    background-color: var(--premium-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero-premium-content {
    text-align: center;
    z-index: 2;
    margin-bottom: 2rem;
}

.hero-premium-title {
    color: #FFF;
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-premium-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-pizza-img {
    max-width: 100%;
    width: 800px;
    height: auto;
    z-index: 1;
    transform: translateY(20%); /* Asoma desde abajo */
}

.circle-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-decoration: none;
    position: absolute;
    right: 10%;
    top: 50%;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.circle-btn:hover {
    background-color: #FFF;
    color: var(--premium-dark);
}

/* Modules Section */
.modules-section {
    background: #f7f7f4;
    color: #111;
    padding: 120px 0;
}

    .modules-section .container {
        width: min(1180px, 92%);
        margin: 0 auto;
    }

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b58a42;
    font-weight: 700;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 24px;
    color: #111;
}

.section-header p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #4b5563;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.module-card {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 28px;
    padding: 34px;
    min-height: 330px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .module-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
    }

.module-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.module-card h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    color: #111;
}

.module-card p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 22px;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #222;
    font-size: 0.95rem;
}

    .module-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #b58a42;
        font-weight: 800;
    }

@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .modules-section {
        padding: 80px 0;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .module-card {
        padding: 28px;
        min-height: auto;
    }
}

/* About Section */
.about-section {
    background-color: var(--premium-light);
    padding: 8rem 0;
    text-align: center;
}

.about-text-large {
    font-size: 3.5rem;
    line-height: 1.3;
    color: var(--premium-dark);
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.about-text-large span {
    display: inline-block;
    padding: 0 1rem;
    vertical-align: middle;
}

.about-img-inline {
    width: 140px;
    height: 60px;
    object-fit: cover;
    border-radius: 30px;
    margin: 0 0.5rem;
}

.about-img-large {
    width: 100%;
    height: 600px;
    object-fit: cover;
    margin-top: 4rem;
}

/* Beneficios Section */
.beneficio-section {
    background-color: var(--premium-dark);
    padding: 8rem 0;
    color: #FFF;
}

.beneficio-section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.beneficio-section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05); /* Ligeramente más clara que el fondo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    color: #FFF;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(197, 160, 89, 0.3); /* Acento dorado en borde */
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--premium-gold); /* Acento dorado suave */
    margin-bottom: 1.5rem;
}

.benefit-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.benefit-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--premium-gold);
    font-size: 1.2rem;
    line-height: 1;
}

/* Footer Premium */
.footer-premium {
    background-color: #0A0A0B;
    color: rgba(255, 255, 255, 0.5);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-dark {
    color: #FFF;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-icon-dark:hover {
    color: var(--premium-gold);
}

/* =========================================================================
   Login (Auth)
   ========================================================================= */
.auth-body {
    background-color: #2563EB; /* Azul corporativo sólido del login */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
}

.auth-icon-container {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.input-icon-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
}

.input-icon-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-control-auth {
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem 0.75rem 2.75rem; /* Espacio extra para el icono */
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
}

.form-control-auth:focus {
    background-color: #FFFFFF;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    outline: none;
}

.form-control-auth::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.btn-auth-primary {
    background-color: #3B82F6;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: none;
    width: 100%;
    transition: background-color 0.2s;
}

.btn-auth-primary:hover {
    background-color: #2563EB;
}

.auth-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

/* =========================================================================
   Login Rediseñado (Split Layout)
   ========================================================================= */

.login-wrapper {
    min-height: 100vh;
    width: 100%;
}

.login-left {
    background-color: #0E0E0E;
    background-image: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.1) 0%, rgba(14, 14, 14, 1) 60%);
    color: #F8F8F8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-right {
    background-color: #F8F8F8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-form-card {
    background-color: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border: 1px solid #E7E2D8;
}

.login-benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    color: #B9B9B9;
    font-size: 1.05rem;
}

.login-benefit-item i {
    color: var(--premium-gold);
    font-size: 1.25rem;
    margin-right: 1rem;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
}

.password-toggle-btn:focus {
    outline: none;
}

.form-control-auth {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    font-size: 0.95rem;
    color: #1C1C1C;
    transition: all 0.2s;
}

.form-control-auth:focus {
    background-color: #FFFFFF;
    border-color: #2F6FED;
    box-shadow: 0 0 0 0.2rem rgba(47, 111, 237, 0.15);
}

.btn-auth-primary {
    background-color: #2F6FED;
    color: white;
    font-weight: 600;
    padding: 0.85rem;
    border-radius: 0.5rem;
    border: none;
    width: 100%;
    transition: background-color 0.2s;
}

.btn-auth-primary:hover {
    background-color: #2459C7;
}

.btn-auth-secondary {
    background-color: transparent;
    color: #6B7280;
    font-weight: 500;
    padding: 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid #D1D5DB;
    width: 100%;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-auth-secondary:hover {
    background-color: #F3F4F6;
    color: #1C1C1C;
}

@media (max-width: 991.98px) {
    .login-left {
        min-height: auto;
        padding: 3rem 2rem !important;
    }
    .login-right {
        min-height: auto;
        padding: 3rem 1rem !important;
    }
    .login-form-card {
        padding: 2rem;
    }
}