/**
 * Login System Styles
 * Professional authentication interface
 * Author: System Development Team
 * Version: 2.0
 */

/* ========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ======================================== */
:root {
    /* Layout Variables */
    --altura-barra-superior-lancamento: 50px;
    --width-checkout: 640px;
    --width-checkout-mobile: 100vw;
    --height-tabs-principal: 55px;
    --height-card-2x2: 100px;
    --height-card-2x4: 210px;
    --card-margin: 5px;

    /* Color Palette */
    --bg-body: #131218;
    --bg-body-secundary: #212529;
    --bg-content-default: #26272C;
    --bg-card: #26272C;
    --bg-input-filtro: #26272C;
    --bg-checkout-header: #35363c;
    --bg-checkout-grid: #26272C;
    --bg-checkout-footer: #26272C;
    --bg-rodape-sistema: #26272C;
    --bg-resultado-filtro-launcher: #26272C;
    --bg-resultado-filtro-launcher-selected: #00527f;
    --bg-espelho-impressao: #e7dec3;
    --bg-categoria-ativa: #009946;
    --bg-dashed: #3f4043;

    /* Brand Colors */
    --primary: #009946 !important;
    --primary-light: #36d26b !important;
    --primary-light2: #61de8b !important;
    --primary-dark: #009946 !important;
    --bg-button-primary: #36d26b;
    --color-text-button-primary: #000000;

    /* Card Colors */
    --card-green-1: #53b847;
    --card-green-2: #2f6a54;
    --card-blue-1: #31a8de;
    --card-blue-2: #008c9a;
    --card-blue-3: #00527f;
    --card-blue-4: #006fbe;
    --card-dark-1: #7f7f7f;
    --card-yellow: #ffdb7c;
    --card-atendimento: #8E44AD;
    --card-autoAtendimento: #1a3e3b;

    /* Status Colors */
    --green_color-light: #38F075;
    --green_color-dark: rgba(56, 240, 117, 0.50);
    --yelow_color: #FFA228;
    --red_color: #ff0000;
    --orange_color: #FF4141;
    --orange_color2: #e38000;
    --inative_color: #6800ff;

    /* Text Colors */
    --text-default: #ffffff;
    --text-input-filtro: #ffffff;
    --text-placeholder-filtro: rgba(255, 255, 255, 0.51);
    --text-light: #686869;
    --text-medio-light: #adadad;
    --text-tab: #ffffff;
    --text-tab-ativa: #36d26b;
    --text-options-checkout: #FFFFFF;
    --text-resultado-filtro-launcher: #FFFFFF;
    --cl-checkout-atalhos: #ffffff;
    --color-text-rodape-sistema: #FFFFFF;

    /* Utility Colors */
    --white: #ffffff !important;
    --black: #000000;
    --transparent: rgba(0, 0, 0, 0);
    --red: #ff0000;

    /* Gradients */
    --bg-circle: linear-gradient(131.92deg, #131218 14.55%, rgba(48, 48, 48, 0.5) 95.62%);
    --bg-grid-adicionais: linear-gradient(0deg, #1e1e1e 14.55%, rgb(38 39 44) 95.62%);

    /* Effects */
    --shadow-blue: #008de3;
    --shadow-green: #009946;
    --opacity-logo: 0.2;
    --moldura-card-mesa-comanda: 255,255,255;

    /* Dimensions */
    --height-rodape-sistema: 25px;
    --padding-rodape-sistema: 0px;
    --size-text-rodape-sistema: 1rem;
}

/* ========================================
   RESET AND BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-body);
    color: var(--text-default);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   LAYOUT STRUCTURE
   ======================================== */
.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ========================================
   MARKETING SECTION
   ======================================== */
.marketing-section {
    flex: 1;
    background: linear-gradient(135deg, #131218 0%, #1e1e1e 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.marketing-content {
    width: 100%;
    max-width: none;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
    height: 100vh;
    overflow-y: auto;
    padding: 60px 80px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.marketing-content::-webkit-scrollbar {
    width: 6px;
}

.marketing-content::-webkit-scrollbar-track {
    background: transparent;
}

.marketing-content::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
    text-align: left;
    max-width: 100%;
    position: relative;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-light2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-medio-light);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 10px;
    position: absolute;
    top: -10px;
    right: 0;
    margin-bottom: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    opacity: 0.8;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
}

.social-link.youtube {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid rgba(255, 0, 0, 0.4);
    color: #ff4444;
}

.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.2);
    border: 2px solid rgba(225, 48, 108, 0.4);
    color: #e1306c;
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.3);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

/* Updates Section */
.updates-section {
    margin-bottom: 40px;
}

.updates-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--text-default);
    font-weight: 700;
    text-align: left;
}

/* News Cards */
.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.news-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(54, 210, 107, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card.featured {
    border: 2px solid var(--primary-light);
    background: linear-gradient(135deg, rgba(54, 210, 107, 0.1) 0%, rgba(97, 222, 139, 0.05) 100%);
    transform: scale(1.02);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(54, 210, 107, 0.1), transparent);
    transition: left 0.6s;
}

.news-card:hover::before {
    left: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 15px 40px rgba(54, 210, 107, 0.4);
}

.news-card.featured:hover {
    transform: translateY(-5px) scale(1.02);
}

.news-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 15px 0 12px 0;
    color: var(--text-default);
    line-height: 1.4;
}

.news-card p {
    font-size: 0.95rem;
    color: var(--text-medio-light);
    margin: 0 0 15px 0;
    line-height: 1.6;
}

/* News Tags */
.news-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 2px solid transparent;
    background: var(--primary-light);
    color: var(--color-text-button-primary);
}

.news-tag.new {
    background: linear-gradient(135deg, #36d26b, #61de8b);
    color: #000;
}

.news-tag.update {
    background: linear-gradient(135deg, #31a8de, #008c9a);
    color: #fff;
}

.news-tag.coming-soon {
    background: linear-gradient(135deg, #ffdb7c, #FFA228);
    color: #000;
}

.news-tag.performance {
    background: linear-gradient(135deg, #ff4141, #e38000);
    color: #fff;
}

.news-tag.tool {
    background: linear-gradient(135deg, #8E44AD, #9b59b6);
    color: #fff;
}

/* Card Features */
.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.card-features span {
    background: rgba(54, 210, 107, 0.1);
    color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(54, 210, 107, 0.3);
}

/* Card Meta */
.card-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-meta span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.card-meta a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-meta a:hover {
    color: var(--primary-light2);
    text-decoration: underline;
}

/* Version Info */
.version-info {
    text-align: left;
    margin-top: 60px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.version-info p {
    color: var(--text-medio-light);
    font-size: 0.9rem;
    margin: 0;
}

.version-info strong {
    color: var(--primary-light);
}

/* ========================================
   ANIMATED BACKGROUND ELEMENTS
   ======================================== */
.bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-light);
    animation: float 20s infinite ease-in-out;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.shape3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

/* ========================================
   LOGIN SECTION
   ======================================== */
.login-section {
    width: 500px;
    background: var(--bg-content-default);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.login-container {
    width: 100%;
    max-width: 400px;
    animation: fadeInRight 1s ease-out;
}

/* ========================================
   LOGO AREA
   ======================================== */
.logo-area {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.logo img {
    /*width: 100%;*/
    height: auto;
    /*max-height: 80px;*/
    object-fit: contain;
    /*filter: drop-shadow(0 0 10px rgba(54, 210, 107, 0.3));*/
    /*transition: transform 0.3s ease;*/
}

.logo:hover img {
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: radial-gradient(circle, transparent 30%, var(--primary-light) 70%);*/
    opacity: 0;
    animation: pulse 2s infinite;
}

.system-name {
    font-size: 1.5rem;
    color: var(--text-default);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========================================
   FORM STYLES
   ======================================== */
.login-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-medio-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-wrapper {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-input-filtro);
    border: none;
    border-radius: 8px;
    color: var(--text-input-filtro);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 400;
}

.form-group input:focus {
    background: rgba(54, 210, 107, 0.05);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.form-group input::placeholder {
    color: var(--text-placeholder-filtro);
    font-weight: 300;
}

/* ========================================
   CHECKBOX STYLES
   ======================================== */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-light);
}

.checkbox-group label {
    color: var(--text-medio-light);
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--bg-button-primary);
    color: var(--color-text-button-primary);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(54, 210, 107, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--primary-light2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(54, 210, 107, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(54, 210, 107, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    width: 100%;
    padding: 16px;
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--color-text-button-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(54, 210, 107, 0.4);
}

/* ========================================
   PASSWORD TOGGLE
   ======================================== */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    user-select: none;
    font-size: 1.2rem;
    z-index: 10;
}

.password-toggle:hover {
    opacity: 1;
}

/* ========================================
   MESSAGE AREA
   ======================================== */
.message-area {
    margin: 20px 0;
    padding: 12px 16px;
    border-radius: 8px;
    min-height: 20px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    font-weight: 500;
}

.message-area.show {
    opacity: 1;
    transform: translateY(0);
}

.message-area.success {
    background: rgba(54, 210, 107, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(54, 210, 107, 0.3);
}

.message-area.error {
    background: rgba(255, 65, 65, 0.1);
    color: #ff4141;
    border: 1px solid rgba(255, 65, 65, 0.3);
}

.message-area.info {
    background: rgba(49, 168, 222, 0.1);
    color: #31a8de;
    border: 1px solid rgba(49, 168, 222, 0.3);
}

/* ========================================
   LOADING ANIMATION
   ======================================== */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-text-button-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.btn-primary.loading .btn-text {
    display: none;
}

.btn-primary.loading .loading-spinner {
    display: block;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    33% { 
        transform: translate(30px, -30px) rotate(120deg); 
    }
    66% { 
        transform: translate(-20px, 20px) rotate(240deg); 
    }
}

@keyframes glow {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.8; 
    }
}

@keyframes pulse {
    0% { 
        transform: scale(0.8); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.3; 
    }
    100% { 
        transform: scale(1.4); 
        opacity: 0; 
    }
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* ========================================
   LARGE SCREENS OPTIMIZATION
   ======================================== */
@media (min-width: 1600px) {
    .marketing-content {
        padding: 60px 120px;
    }

    .news-cards {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 40px;
    }

    .hero-section h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        max-width: 80%;
    }

    .updates-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
}

@media (min-width: 1920px) {
    .marketing-content {
        padding: 60px 100px;
    }

    .news-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

/* ========================================
   MOBILE ACCESS STRATEGY
   ======================================== */

/* Mobile Access Button */
.mobile-access-btn {
    /*position: fixed;*/
    bottom: 20px;
    z-index: 1000;
    display: none;
    width: calc(100vw - 40px);
    margin: 10px 10px;
}

.btn-mobile-access {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-light2));
    color: var(--color-text-button-primary);
    border: none;
    border-radius: 5px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(54, 210, 107, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.btn-mobile-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(54, 210, 107, 0.6);
}

.btn-mobile-access:active {
    transform: translateY(0);
}

/* Mobile Login Modal */
.mobile-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-login-modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.mobile-login-content {
    position: relative;
    background: var(--bg-content-default);
    margin: auto;
    width: 95%;
    max-width: 400px;
    max-height: 95vh;
    border-radius: 16px;
    overflow-y: auto;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.mobile-login-modal.show .mobile-login-content {
    transform: translateY(0);
}

.mobile-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-login-header h3 {
    color: var(--text-default);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.btn-close-mobile {
    background: none;
    border: none;
    color: var(--text-medio-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.btn-close-mobile:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-default);
}

.mobile-login-body {
    padding: 20px 25px 30px;
}

.mobile-login-body .logo-area {
    text-align: center;
    margin-bottom: 30px;
}

.mobile-login-body .logo {
    padding: 10px;
}

.mobile-login-body .logo img {
    max-height: 60px;
}

.mobile-login-form {
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
}

.mobile-login-form .form-group {
    margin-bottom: 20px;
}

.mobile-login-form .form-group input {
    padding: 12px 15px;
    font-size: 0.95rem;
}

.mobile-login-form .btn-primary,
.mobile-login-form .btn-secondary {
    margin-bottom: 15px;
    padding: 14px;
    font-size: 0.95rem;
}

/* Desktop Only Class */
.desktop-only {
    display: block;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1400px) {
    .marketing-content {
        padding: 40px 50px;
    }

    .news-cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    .marketing-content {
        padding: 30px 40px;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .news-cards {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .marketing-section {
        min-height: 60vh;
        padding: 30px 20px;
    }

    .marketing-content {
        height: auto;
        max-width: 100%;
        padding: 40px 30px;
    }

    .hero-section {
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .social-links {
        position: static;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 30px;
    }

    .social-link {
        justify-content: center;
    }

    .updates-section h2 {
        font-size: 2rem;
        text-align: center;
    }

    .news-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    /* Mobile Strategy Activation */
    .desktop-only {
        display: none;
    }

    .mobile-access-btn {
        display: block;
    }

    .login-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .marketing-section {
        padding: 20px 15px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .news-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-card {
        padding: 20px;
    }

    .news-card h3 {
        font-size: 1.2rem;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .login-section {
        padding: 20px;
    }

    .login-form {
        padding: 20px;
    }

    .form-group input {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .btn-primary, 
    .btn-secondary {
        padding: 14px;
        font-size: 1rem;
    }

    .logo {
        /*width: 100px;*/
        /*height: 100px;*/
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .marketing-section {
        padding: 15px 10px;
    }

    .updates-section h2 {
        font-size: 1.6rem;
    }

    .news-card {
        padding: 15px;
    }

    .news-card h3 {
        font-size: 1.1rem;
    }

    .news-card p {
        font-size: 0.9rem;
    }

    .social-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .card-features {
        gap: 6px;
    }

    .card-features span {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .version-info {
        padding: 15px;
        margin-top: 30px;
    }

    .version-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .marketing-section {
        padding: 10px 8px;
    }

    .social-link {
        font-size: 0.75rem;
    }

    .login-section {
        padding: 15px;
    }

    .login-form {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .logo {
        width: 80px;
        height: 80px;
        padding: 15px;
    }

    .news-card {
        padding: 12px;
    }

    .news-card h3 {
        font-size: 1rem;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.form-group input:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.checkbox-group input:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bg-body: #000000;
        --bg-content-default: #1a1a1a;
        --text-default: #ffffff;
        --primary-light: #00ff00;
        --text-placeholder-filtro: #cccccc;
    }
}