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

html {
    scroll-behavior: smooth; 
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Banner Section */
.banner-section {
    width: 100%;
    position: relative;
}

.banner-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Text Content Section */
.text-section {
    background-color: #FFFFFF;
    padding: 80px 20px;
    width: 100%;
}

.text-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* Main Title Styling - Extra Bold */
.main-title {
    font-family: 'Monument Extended', 'Russo One', 'Bebas Neue', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
    text-align: center;
}

.title-line {
    display: block;
    font-weight: 400;
    text-transform: none;
}

/* Only uppercase for specific words */
.highlight-purple {
    color: #7E71FF;
    font-weight: 400;
    text-transform: uppercase;
}

/* Description Text */
.description-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    line-height: 1.5;
    color: #000000;
    font-weight: 400;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.description-text strong {
    font-weight: 700;
}

/* Bases y Condiciones in Text Section */
.bases-condiciones-text-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.bases-condiciones-text-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700; /* Negrita */
    color: #7E71FF; /* Color celeste/p¨²rpura */
    text-decoration: none;
    transition: opacity 0.3s ease, text-decoration 0.3s ease;
}

.bases-condiciones-text-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Printers Exchange Section */
.printers-section {
    background-color: #FFFFFF;
    padding: 60px 20px 100px;
    width: 100%;
}

.printers-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Single Printer Image Container */
.printer-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    width: 100%;
}

.printer-main-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
}

/* Bottom Labels */
.bottom-labels {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    text-align: center;
    flex-wrap: wrap;
}

.label-purple {
    font-family: 'Monument Extended', 'Russo One', 'Bebas Neue', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: -0.02em;
    color: #7E71FF;
    text-transform: uppercase;
}

.label-green {
    font-family: 'Monument Extended', 'Russo One', 'Bebas Neue', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: -0.02em;
    color: #000000;
    background-color: #A2FF00;
    padding: 4px 30px;
    display: inline-block;
    border-radius: 0;
    text-transform: uppercase;
    border: none;
    line-height: 1.2;
}

/* Force Monument Extended if available */
@supports (font-family: 'Monument Extended') {
    .main-title,
    .label-purple,
    .label-green {
        font-family: 'Monument Extended', sans-serif !important;
        font-weight: 400 !important;
    }
}

/* Fallback for bold display */
.main-title,
.label-purple,
.label-green {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-title {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .main-title {
        font-size: 40px;
    }
    
    .printer-main-image {
        max-width: 700px;
    }
    
    .bottom-labels {
        gap: 30px;
    }
    
    .label-purple,
    .label-green {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .text-section {
        padding: 50px 20px;
    }
    
    .main-title {
        font-size: 32px;
        margin-bottom: 35px;
    }
    
    .description-text {
        font-size: 18px;
        line-height: 1.7;
    }
    
    .printer-main-image {
        max-width: 500px;
    }
    
    .label-purple,
    .label-green {
        font-size: 24px;
    }
    
    .bottom-labels {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .text-section {
        padding: 40px 15px;
    }
    
    .main-title {
        font-size: 24px;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    .description-text {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .printers-section {
        padding: 40px 15px 60px;
    }
    
    .printer-main-image {
        max-width: 350px;
    }
    
    .label-purple,
    .label-green {
        font-size: 20px;
    }
    
    .label-green {
        padding: 4px 20px;
        border-radius: 0;
        line-height: 1.2;
    }
}

/* Hover Effects */
.label-green {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.label-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(162, 255, 0, 0.3);
}

/* Plan Canje Section */
.plan-canje-section {
    position: relative;
    width: 100%;
    background-color: #27003D;
    padding: 80px 20px;
    overflow: visible; /* Cambiado para permitir que las impresoras se salgan */
    margin-top: 120px; /* Agregado para dar espacio a las impresoras */
}

.plan-canje-background {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Canje Decorative Printers */
.canje-printers-decoration {
    position: absolute;
    width: 100vw; /* Ancho completo del viewport */
    height: 100%;
    top: -80px;
    left: 50%; /* Centrar */
    transform: translateX(-50%); /* Centrar */
    pointer-events: none;
    z-index: 1;
}

.canje-printer-left,
.canje-printer-right {
    position: absolute;
    width: 350px;
    height: auto;
    opacity: 1;
}

.canje-printer-left {
    left: 0; /* Pegado al borde izquierdo del viewport */
    top: 35%;
    transform: translateY(-50%);
}

.canje-printer-right {
    right: 0; /* Pegado al borde derecho del viewport */
    top: 35%;
    transform: translateY(-50%);
}

/* Canje Content */
.canje-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px; /* Increased padding */
}

/* Button Group Container */
.canje-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Espacio entre texto y bot¨®n */
}

/* Button Description Text */
.canje-button-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    max-width: 600px;
    line-height: 1.4;
}

/* Canje Buttons */
.canje-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px; /* Increased gap between buttons */
    margin-bottom: 80px; /* Increased margin before logo */
}

.canje-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 45px;
    font-family: 'Monument Extended', 'Russo One', 'Bebas Neue', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px; /* Changed from 50px to more rectangular */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 450px;
    letter-spacing: -0.02em;
}

.button-green {
    background-color: #A2FF00;
    color: #000000;
}

.button-white {
    background-color: #7E71FF;
    color: #000000;
}

.canje-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Bases y Condiciones Link */
.bases-condiciones-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.bases-condiciones-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: underline;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.bases-condiciones-link:hover {
    color: #FFFFFF;
    opacity: 0.9;
}

/* Canje Logo */
.canje-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.canje-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* Responsive adjustments for Plan Canje */
@media (max-width: 1200px) {
    .canje-printer-left,
    .canje-printer-right {
        width: 250px; /* Smaller on medium screens */
    }
    
    .canje-printer-left {
        left: -80px;
    }
    
    .canje-printer-right {
        right: -80px;
    }
}

@media (max-width: 992px) {
    .plan-canje-section {
        padding: 60px 20px;
    }
    
    .canje-printer-left,
    .canje-printer-right {
        width: 220px;
    }
    
    .canje-printer-left {
        left: -70px;
    }
    
    .canje-printer-right {
        right: -70px;
    }
    
    .canje-printers-decoration {
        top: -80px; /* Adjust 3D offset */
    }
    
    .canje-content {
        padding: 60px 20px;
    }
    
    .canje-buttons {
        gap: 25px;
        margin-bottom: 60px;
    }
    
    .canje-button {
        min-width: 380px;
        font-size: 18px;
    }
    
    .canje-logo {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .plan-canje-section {
        padding: 50px 15px;
    }
    
    .canje-printer-left,
    .canje-printer-right {
        width: 180px;
        opacity: 0.7; /* Slightly reduce opacity on smaller screens */
    }
    
    .canje-printer-left {
        left: -60px;
    }
    
    .canje-printer-right {
        right: -60px;
    }
    
    .canje-printers-decoration {
        top: -60px; /* Less 3D offset on mobile */
    }
    
    .canje-content {
        padding: 50px 15px;
    }
    
    .canje-buttons {
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .canje-button {
        min-width: 300px;
        font-size: 16px;
        padding: 12px 30px;
        border-radius: 50px; /* Slightly smaller radius on mobile */
    }
    
    .canje-logo {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .plan-canje-section {
        padding: 40px 10px;
    }
    
    .canje-printer-left,
    .canje-printer-right {
        width: 150px;
        opacity: 0.5; /* Further reduce opacity */
    }
    
    .canje-printer-left {
        left: -70px;
    }
    
    .canje-printer-right {
        right: -70px;
    }
    
    .canje-printers-decoration {
        top: -40px; /* Minimal 3D offset on small screens */
    }
    
    .canje-content {
        padding: 40px 10px;
    }
    
    .canje-buttons {
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .canje-button {
        min-width: 260px;
        max-width: 100%;
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 50px;
    }
    
    .canje-logo {
        max-width: 250px;
    }
}

/* Animation Effects for printer cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.printer-card {
    animation: float 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purple-card {
    animation-delay: 0s;
}

.green-card {
    animation-delay: 2s;
}

.printer-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for printers section */
@media (max-width: 992px) {
    .exchange-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .logo-3d {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 20px;
    }
    
    .printer-card {
        width: 350px;
        height: 400px;
    }
    
    .exchange-arrow {
        position: relative;
        top: auto;
        left: auto;
        transform: rotate(90deg);
        margin: -20px 0;
    }
}

@media (max-width: 768px) {
    .printer-card {
        width: 300px;
        height: 350px;
        border-radius: 40px;
        padding: 30px;
    }
    
    .logo-3d {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .printer-card {
        width: 250px;
        height: 300px;
        border-radius: 30px;
        padding: 20px;
    }
    
    .exchange-arrow {
        width: 100px;
        height: 70px;
    }
}

/* Footer Section */
.footer-section {
    background-color: #FFFFFF;
    padding: 20px 20px; /* Reducido de 30px a 20px */
    margin-top: 30px; /* Reducido de 40px a 30px */
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #7E71FF;
    margin-bottom: 15px; /* Reduced from 20px to 15px */
    font-weight: 600; /* Increased from 500 to 600 for bolder text */
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px; /* Reduced from 25px to 20px */
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* Removed black background */
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: scale(1.1);
    opacity: 0.7;
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%); /* Makes icons black if they're not already */
}

.social-link:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(38%) sepia(84%) saturate(1739%) hue-rotate(234deg) brightness(106%) contrast(101%); /* Purple on hover */
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.logo-tp3d {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 30px 20px; /* Reduced from 40px */
        margin-top: 40px; /* Reduced from 60px */
    }
    
    .footer-text {
        font-size: 16px;
        margin-bottom: 20px; /* Reduced from 25px */
    }
    
    .social-icons {
        gap: 15px;
        margin-bottom: 20px; /* Reduced from 30px */
    }
    
    .social-link,
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-tp3d {
        height: 50px;
    }
    
    .canje-printer-left,
    .canje-printer-right {
        display: none; /* Ocultar en tablets y mÃ³viles */
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding: 25px 15px; /* Reduced from 30px */
        margin-top: 30px; /* Reduced from 40px */
    }
    
    .footer-text {
        font-size: 14px;
        margin-bottom: 15px; /* Reduced from 20px */
    }
    
    .social-icons {
        gap: 12px;
        margin-bottom: 15px; /* Added margin-bottom */
    }
    
    .social-link,
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-tp3d {
        height: 45px;
    }
    
    .canje-printer-left,
    .canje-printer-right {
        display: none; /* Ocultar en tablets y mÃ³viles */
    }
}